Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

0
votes
0answers
30 views

Why is solaris auditing not working after adding new class entry

I have setup a new class entry in the audit_control, audit_class and audit_event files as below: $ grep pf /etc/security/audit_control flags:pf $ grep pf /etc/security/audit_event 6:AUE_UNLINK:...
2
votes
0answers
119 views

Is there a way to audit file deletion on Solaris?

Can the timestamp and user+process that performed the file delete be tracked? I have now setup solaris auditing and have made the following audit_control, audit_class and audit_event entries: $ grep ...
0
votes
0answers
17 views

What are the parameters that affect orphan process handling behaviour in solaris?

For example: Is there a system-wide setting that will allow for orphans to be immediately killed? Under what conditions, will an orphan survive a parent death? Is this a fixed or a default behaviour?...
0
votes
1answer
134 views

Cannot remove an empty folder with no user using by rm -rf

This is a solaris machine (unix) I have a folder contains some subfolders, but there is no file in it. root # ls -al `find trash` trash: total 6 drwxrwxrwx 3 root root 512 Aug 6 07:37 ...
-3
votes
1answer
57 views

how to verify if target host is linux/solaris or switch/router/else [closed]

I have hosts file in my master linux machine and this host file include more then 1000 IP address that defined many components as Linux and solaris machine and switches and routers and EMC port and so ...
2
votes
1answer
40 views

Why are some disks and some are LUNs?

Question at the bottom. I would like to use a Sun StorageTek 6100 as JBOD for ZFS, and so I have connected it to OmniOS over FC with a QLC2462 HBA. The disk array doesn't have a controller tray, just ...
1
vote
2answers
64 views

existing zpool assigned disk from datastore how to increase the zpool and increase the file system

First disk c1t0d0 is in syspool which is root file system. This disk is from datastore from esx host. If they increase existing disk for this Solaris VM server of syspool disk c1t0d0. How do I ...
-1
votes
1answer
48 views

Removing all hw raid from Sun server

This post is about the same server as this post, where multiple disks were in a LUN, and then ZFS was used to make the ZFS pools. I would like to use the 6140 disk arrays as JBOD's on either Linux or ...
0
votes
1answer
126 views

Solaris: socket listening on a port (/etc/xinetd.d equivalent on Linux)

I've prepared a script that accepts a request on a server port, then process user input, provides an output through the same port and then dies. The script is not always running but starts when a a ...
0
votes
1answer
24 views

Can Solaris filter SCTP heartbeat messages?

Does Solaris provide a tool for detecting and filtering SCTP Heartbeat chunks? flowadm can detect SCTP traffic but not specific types of SCTP packets. Is there anything else?
0
votes
0answers
140 views

mt reports “drive offline” but tape is in drive

Strange behaviour with mt on Sparc Solaris 10. After issuing mt -f /dev/rmt/0 offline I see that tape is still in drive. But now I cannot do anything with that tape until I unload it manually from ...
0
votes
0answers
11 views

Sun/Oracle X4270M3 Server showing 2 disks instead of 4 from cfadm command

I have an sun/oracle X4270M3 server which has 4 internal SAS disks. I only see two disks presented to the Solaris when I run cfgadm -al and format comamnds namely c0t0d0 and c0t3d0. I cant see the ...
2
votes
1answer
352 views

How to trace file access with dtrace on solaris

I would like to find out how can I trace (show) file access on Solaris. I already found the dtrace toolkit in a hope that voptrace will fit the bill. I ran it with voptrace -t /my/path if I ls or cat ...
0
votes
0answers
94 views

Limit negative cache timeout on dns bind 9? (dig +trace works, otherwise couple seconds delay & timeout)

I've experienced an issue where dig a.example.com (which uses local BIND 9.2.4) fails for a particular A record. connection timed out; no servers could be reached after a couple seconds delay. The ...
2
votes
1answer
71 views

Lot of duplicate sshd daemons getting created in Solaris

I have a Solaris server where I found lot of sshd services running: ps -ef | grep 23492 root 25449 23492 0 15:27:17 ? 0:00 /usr/sbin/sshd2 -oPidFile=/var/run/sshd2_22.pid -R ...
2
votes
1answer
71 views

lsof returns “can't read vnode” error

On a Solaris 10 box, I am getting errors from lsof: can't read vnode at 0x7d900000000 can't read vnode at 0x7b But I have the same lsof binary in another similar Solaris 10 box where it doesn't ...
15
votes
4answers
941 views

SSH into NAT'd servers on the same public IP address

I am trying to SSH from in office X to a few Linux boxes in office Y. The Linux boxes in office Y are behind NAT and each run on their own ports. I can successfully reach all of them through SSH, but ...
0
votes
1answer
64 views

Cannot run passwd through plink

This is my situation. I am trying to run the following command in WINDOWS 7 plink.exe user@ip.add.re.ss -pw password "passwd user" to change the password for a particular user. it keeps giving ...
1
vote
1answer
101 views

Automating user password creation and User privileges restriction in solaris 8

I have couple of questions. Here is the first one We are trying to automate the creation of a user in solaris 8. We provide a default password and then force the user to change the password at first ...
0
votes
0answers
29 views

Installing identd on Solaris 11 (or how to enable it)

I'm trying to install an IRC server on a Solaris 11 box. However, identd isn't install by default and I can't see how I can install or enable it. I also can't seem to find any documentation on this. ...
0
votes
1answer
28 views

Cannot change default shell in solaris 8

I have a situation. We have Solaris 8 machines. For every users we have to change the shell from /bin/sh to .../sdshell. So far we have been doing it by editing the /etc/passwd file manually. Is ...
2
votes
2answers
76 views

Passwordless SSH Solaris->RHEL without ever prompting for password

I need make a script to SSH from a Solaris machine (A) to an RHEL machine (B) (actually it's Oracle Linux). Is it necessary to enter B's password at some point? I want to automate the process with ...
0
votes
0answers
112 views

Solaris 10 Update 8, ZFS boot/root zpool and moving disks around

One of my OLD machines is running solaris 10 Update 8 (x86). It has a mirrored ZFS I use for "root zpool". Both disks are failing so I plugged a new disk in a USB port and attached the new disk to ...
0
votes
2answers
82 views

Updating Java with Solaris zones

I am running a server with a global zone and four local zones. The global zone provides the database server, and the four local zones run instances of Tomcat with a client application (different one ...
0
votes
1answer
113 views

Hostname changes history in unix systems

I've been trying to find a command or file that contains all the previous hostnames a Linux/Solaris machine has had, but I can't seem to find any way to do this. The question is really about the ...
4
votes
1answer
231 views

ZFS permanent error; options for recovery

Background: small personal server, email, web, shell, etc, for family and friends. SunOS 5.11, snv_113 from November 2008. Server built in 2009. I believe that was either opensolaris or Solaris early ...
1
vote
1answer
82 views

Solaris + date + what is the same equivalent for Solaris

on Linux the syntax for date with seconds is: date +%s 1438587288 from MAN PAGE - %s seconds since 1970-01-01 00:00:00 UTC what is the same equivalent for Solaris?
0
votes
2answers
247 views

top command + how to verify iowait value for one hour

my target is to check iowait value that not higher than 50 from top command and if value is higher than 50 for more then one hour , then need to give alarm about this ( by script or other option ) ...
0
votes
0answers
69 views

Solaris run rsync after logadm

I'm trying to get this logadm configuration running. '/dir1/*/*/alert*.log' -C 8 -c -s 10m -t '$file_%Y-%m-%d' -z 0 -a '/usr/bin/rsync -qp /dir1/*/*/alert*.gz root@192.168.0.10::alert_logs/$(...
0
votes
0answers
58 views

Is there a solaris setting for making secondary group rights effective for subshells and subprocesses?

We have got a solaris server farm that runs lavastorm application. Each server on the form runs a lavastorm instance, and that instance takes care of creating subprocesses to run various work tasks. ...
0
votes
0answers
201 views

Solaris 5.10 telnet connection closed by foreign host

I try to connect to a Solaris 5.10 server using telnet, but I only see: $ telnet xxx.xxx.xxx.xxx Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. Connection closed by ...
0
votes
0answers
14 views

ERR TFS001: ID 604114 local2.error filesystem is 100% full MTS - what is causing these messages?

I'm seeing a lot of items in /var/adm/messages that say: Jul 23 10:31:01 server9008 *ERR TFS001: [ID 604114 local2.error] /mnt filesystem is 100% full (MTS) And they appear about every 15 ...
1
vote
1answer
86 views

Solaris “crontab -e” locking via vi

I ran into an issue yesterday with locking on Solaris and crontab editing that has me wondering what the best way to protect multiple concurrent edits of the same crontab are on Solaris. I've ...
1
vote
0answers
18 views

What is involved in adding ZFS cache stats to orca?

I am interested in looking to add ZFS cache stats into existing orca performance monitoring that we have. Particularly, I am interested in the output of echo ::memstat | mdb -k Am still in the early ...
0
votes
1answer
397 views

performing `cat` results in `Value too large for defined data type error`

I performed cat on a file in /proc/(pid)/map and got the error Value too large for defined data type error Of course the file is binary and I suppose its not the best idea to output a binary file ...
0
votes
1answer
160 views

Total of RSS items much greater than physical memory + swap in solaris

Can the total of all rss values of active processes (state is S or O) be ever much greater than total physical memory + swap? By physical memory, I refer to the result of prtdiag | grep Memory And ...
0
votes
0answers
21 views

Orca yearly graph is not showing correct results

We are using Orca for performance monitoring on a number of solaris servers. We've got plots for hourly, daily, weekly, monthly, quarterly and yearly. However, the yearly plot is displaying hour ...
0
votes
2answers
165 views

What are the best ways to monitor and report disk usage on solaris?

df and du provides a total view of usage but the problem with these is that they are not broken down per user. Is there a tool that does this? I found quot but that only works on ufs. Is there an ...
0
votes
1answer
77 views

ZFS: what does it mean if all disks are ONLINE but resilvering takes place?

I have a pool of four raidz1 on Solaris 10, three of which look like this: state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, ...
0
votes
1answer
115 views

What are the ways to control banners on solaris 10 for scp?

I work with a farm of solaris 10 servers with some inconsistent behaviors in terms of displaying banners/motd. This time, I am trying to do scp from one server to another. Between some servers I get ...
3
votes
0answers
217 views

Tomcap APR native libraries

I have a Solaris 10 box on which I have successfully built the tomcat native libraries from source which include apr-1.5.2.tar.gz, openssl-1.0.2a.tar.gz, and tomcat-native-1.1.33-src.tar.gz. I can ...
-2
votes
3answers
198 views

how to check how much memory take process

As all know in Linux machines we have RAM memory and swap memory. My first question is: What the reason that the swap memory is increasing – because high level of RAM usage or something else? ...
1
vote
2answers
191 views

Having trouble mapping solaris drive paths to physical disks

I have a supermicro box with 24 drives in front and 12 drives in back. It's running x86 solaris 10 with zfs. Here is the output of zpool status: NAME STATE READ WRITE ...
0
votes
3answers
425 views

Create tar file on Solaris and untar the file on Linux is it right?

I want to create tar file on Solaris (Solaris 10 ) as Kit.tar and untar the Kit.tar on Linux machine ( linux red-hat 3/4/5 ) Can we be safe with that untar process on Linux machine? , I want to be ...
0
votes
0answers
156 views

snoop: cannot open “vnet0”: Permission denied

Getting the error when tried to take a capture on a solaris machine. I have tried to run the snoop command $ /usr/sbin/snoop -o file.pcap snoop: cannot open "vnet0": Permission denied $ uname -a ...
1
vote
0answers
44 views

weird DNS issue when looking up a service provider's services [closed]

I came across an interesting issue today. I was looking up node1.ar.service.com from the one of the 3 DNS servers exposed to the internet. These 3 servers act as authoritative servers at my ...
3
votes
2answers
407 views

Why does a ZFS resilver scan the entire pool?

I have a zpool where I have just replaced a failed disk, and started a resilvering to the new disk. What I don't understand is, why zpool status says it want to scan 129TB, when the size of the vdev ...
0
votes
1answer
111 views

What is causing visudo to fail with: “visudo: can't stat <filename>: Bad file number”?

We use the #include feature in the sudoers file for organizing our sudo rules on a per-application basis. Our sudoers set up looks kinda like this: /etc/sudoers -> #include /usr/local/etc/sudo/...
1
vote
0answers
333 views

ZFS (Solaris 11) - SAS controller died & was replaced - pool is suspended

(Note I will amend with zpool status for clarity, when I return to the server) I have a 6x2TB disk raidz2 ZFS pool which I am hosting in Solaris 11 My original M1015 (flashed to IT mode) installed 2 ...
0
votes
1answer
153 views

Can I download Solaris packages directly from OpenCSW?

With Linux Debian and RPM package repositories, I can easily download packages via HTTP using a browser. Is there a way I can do this for Solaris OpenCSW packages? I don't have administrator ...