Solaris is a Unix operating system originally developed by Sun Microsystems (currently owned by Oracle) as a rebranding of SunOS 4.1.x in 1991.

learn more… | top users | synonyms (1)

1
vote
1answer
50 views

egrep doesn't work as expected on SunOS system

Here is what I want to achieve on SunOS: Only pattern like [text_text=text], [text=text], [text] or text are valid patterns, where by text I mean anything in 0-9,a-z,A-Z, space, newline, tab, enter. ...
1
vote
1answer
35 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
1
vote
1answer
36 views

Verify why a process went down accidentally on Solaris 11

I want to know what reasons could have caused a process to be killed automatically by a system or taken down. What file do I need to verify, or how do I know why the process crashes accidentally? Is ...
0
votes
0answers
23 views

SunOS 5.10 gives invalid terminal

While I login to SunOS 5.10 through putty it shows as terminal vt100: Then what ever command I type it says invalid terminal with the command. For example if i type ls the display will be. ...
-1
votes
1answer
41 views

for loop to evaluate multiple directories and execute command

I was editing a shell script and I want to know how can use for to use all directories listed by a list or variables and then execute a command. Example: I have this directories: /dirname1/app1 /...
0
votes
1answer
200 views

Manual network setting on Solaris 10

I am using Solaris 10 on VirtualBox. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with ...
0
votes
1answer
41 views

xclock not runnnig for another user

I have install new solaris 10 in Virtual box in my pc. I have set below command as a root user. bash-3.2#export DISPLAY=":0.0" DISPLAY bash-3.2#xclock It is working fine for root user but I have ...
2
votes
4answers
121 views

Solaris 10 - changing default gateway and netmask

We have a Sunfire V240 server with Solaris 10,I need to change the subnetmask and gateway. I was able to change the subnetmask and gateway by editing the files /etc/subnetmasks and /etc/...
1
vote
1answer
227 views

How to kill inactive user logins on Solaris?

On a Solaris 10 server if i do a w, I get this: 12:26pm up 85 day(s), 1:13, 6 users, load average: 0.38, 0.36, 0.38 User tty login@ idle JCPU PCPU what blah pts/1 ...
5
votes
1answer
678 views

“The entry is a door” in Solaris “ls” man page

I found this in a man page for ls in solaris linux. http://www.unix.com/man-page/opensolaris/1/ls/ What does it mean when it says: D the entry is a door?
-1
votes
1answer
41 views

How to recover password in Solaris on vmware

I have Solaris 11 installed on VMware workstation 10 and I forgot my login password. I tried a lot but not able to login. How can I recover the Solaris 11 login password installed on VMware 10 ...
-1
votes
2answers
92 views

Detect automatically a network interface for each one in Solaris 11 [closed]

I'm working currently in a shell script to monitor a Solaris system. The main purpose of the script is show info like: Memory, Network, etc. In the Network part, it will show info like arp table, ...
1
vote
2answers
51 views

Solaris tar: “symbolic link failed: Not a directory”

When unpacking a tar archive with a symlink under Solaris 10, I get this error: tar: lib/jre/: symbolic link failed: Not a directory The lib/jre symlink points to lib/jre1.8.0_46 which is in the ...
2
votes
3answers
138 views

Solaris 10 - Is zone isolation sufficient for segregating high and low security servers?

Let's consider the typical scenario of a Web application that has a web server, application server and database server. All servers are located in different network zones separated by firewalls. From ...
0
votes
1answer
57 views

Null pointer exception: installing glassfish4 on Solaris 11.3

I'm trying to install glassfish4 on Solaris 11.3 machine by using glassfish-4.0-unix.sh file. After sh ./glassfish-4.0-unix.sh command the graphical installer starts. Then at JDK selection page - no ...
0
votes
1answer
68 views

How to turn off SMTP port in Solaris

I want to turn off SMTP port in Solaris server. I am getting follwing Message. /var/adm/messages:Mar 10 06:18:08 sendmail[20024]: [ID 702911 mail.alert] /var/adm/messages:Mar 11 06:18:08 sendmail[...
0
votes
1answer
51 views

How do I check Memory leakage in solaris server? [closed]

I am new in here. I need to check memory leakage on my Solaris server. Kindly help me. Best Regards, Wasila
1
vote
2answers
52 views

Why does Solaris 10 find / -exec sh -c “echo {}” \; print “{}” instead of filenames?

I do not generally use Solaris, but today I need to craft a find command to execute an operation on identified files using the shell. I am finding that the {} characters are not getting substituted ...
1
vote
0answers
24 views

Surge CP overload but low CPU usage. Got log in issue on web application when it happens. why?

I am unable to login to solaris server via GUI mode. We have checked and found that the DB/oracle session was hung up. GUI was not able to connect to Oracle DB . After clearing the hung counters from ...
2
votes
1answer
54 views

Find device ID for partition in Solaris 11?

I have a laptop I'm setting up to multi-boot between Win 7, Solaris 11, Ubuntu 14.04, and CentOS 7. I have a common FAT32 partition for all of them to save data to. I'm less familiar with Solaris ...
1
vote
1answer
53 views

Dedicated CPU allocation to zone in Solaris 11

I have created a zone called web in Solaris 11. Now I want to allocate one dedicated CPU resource to that zone. But it's throwing an error: "No such entry". I did the following... zonecfg:web> ...
0
votes
1answer
44 views

Keyboard layout with Solaris in VirtualBox

Today I've installed Solaris 11.2 on Oracle VM VirtualBox. After that when I type the | symbol at the command prompt, it's wrongly displaying a ~ symbol. Could someone help me any fix / correction ...
0
votes
1answer
46 views

what is unit of time in kstat time

I am using kstat to get read time and write time for a partition. kstat -T u -p -c partition sample output: sd:1:sd1,r:class partition sd:1:sd1,r:crtime 190.732758214 sd:1:sd1,r:nread ...
0
votes
2answers
50 views

Parent process always printing output after child

Consider the following code running under Solaris 11.3: int main(void) { pid_t pid = fork(); if (pid > 0) { printf("[%ld]: Writing from parent process\n", getpid()); } if (...
0
votes
2answers
102 views

Number of Seconds since epoch in solaris 10

I am trying to get the number of seconds since the epoch in both Solaris 10 and Solaris 11. On Solaris 11, "date +%s" is giving me the output (from bash), but the same is failing on Solaris 10. What ...
0
votes
1answer
48 views

root role not getting reassigned to normal user (ex. tushar)

I want to reassign root role to user tushar,i had used : usermod -R -root tushar usermod -R +root tushar . The output: /usr/lib/passmgmt: Permission denied. Cannot set roles, requires solaris....
1
vote
2answers
118 views

Can't get user $HOME over su on Solaris and AIX

I'm trying to get user $HOME variable over su. Solaris # su oracle $ echo $HOME /root AIX # su oracle $ echo $HOME / Linux # su oracle $ echo $HOME /home/oracle Can someone explain why on ...
3
votes
2answers
168 views

default netmask in Solaris

On a Solaris local zone, what is the default netmask? I have a blank /etc/netmasks file, but if I run ifconfig I can see that the netmask is set to ffffff00 . [username@servername]# /usr/sbin/...
1
vote
4answers
63 views

How to use printf with awk to designate the columns separated command output

I want to extract the manufacturer name, card's firmware version and status from the output of fcinfo hba-port, which looks like: root-#> fcinfo hba-port HBA Port WWN: 10000000c96a53c5 OS ...
1
vote
1answer
92 views

How to start a command every 5 seconds on Solaris?

How to start a command for example ls -la every 5 seconds on Solaris ? . I'm searching for something like watch -n 5 ls -la
3
votes
2answers
98 views

How can I kill process by specific name and exclude root processes

Not a long time ago we found out about pkill and we had in mind to start using it in a setuid (for root) script for global clean-up of processes. This could save us lots of stupid maintenance where ...
0
votes
0answers
97 views

How To Get the Environment Temperature on Observium Using SNMP for Solaris server?

We have enabled SNMP for our sun Solaris server. Now I need to add sensors for voltage, current & temperature. For this, I need to modify the /etc/snmp/conf file. How can I enable the sensors?
0
votes
2answers
91 views

Memory usage and space disk on Solaris 11

How can I monitor Memory Usage: 33/512MB (6%) Disk usage: 4.2/20GB (23%) CPU Load: 0.01 on a Solaris 11 System? I want to make a script to monitor my desktop resources.
0
votes
1answer
37 views

Issue with grep, egrep in solaris

I have an issue when I execute this command in Solaris: grep -Ev "(^#|^EBM_SERVER|^$)" ${EBM_CONF} | awk -F, '{print $2"|"}' | tr -d "\n" | sed 's/|$//g' I got this error message: egrep:illegal ...
0
votes
1answer
44 views

Getting averageReadTime and averageWriteTime in solaris(disk I/O)

I am working on getting 'Average read time (ms)' and 'Average write time(ms)' from "iostat -xnp" command. In linux there is a '/proc/diskstats" command, which gives me 'Time spent in reading millis' ...
2
votes
1answer
109 views

Bring process to 'foreground'? [duplicate]

I am using an SSH client to connect to a Solaris server. I had a process running but my connection disconnected. I reconnected and can see the process running when I do ps -al. How can I bring this ...
2
votes
0answers
59 views

Permissions (ACL) to allow creation of new files only - are extended attributes also needed?

I want to use a directory as a sort of drop-off point, similar to the Public folder in each Mac OS X home directory, that is: certain users (or everyone) should be able to create new files inside this ...
-2
votes
1answer
130 views

Uptime on solaris

I have logged into school server which is running Solaris. I am to print the number of minutes from booting the server. I am using uptime and recieve this output 8:05pm up 12 day(s), 1:56, 11 ...
3
votes
5answers
23k views

What is a good X application I can use to test the X server on Solaris?

I am using Solaris, and I want to test if the I can use the X server after setting the DISPLAY environment variable. On Linux, I usually use xeyes, xclock or xterm. But none of these seem to ...
3
votes
3answers
121 views

How to use cp -u on a Solaris system which does not support the -u option?

I am new in here. I am facing problem in Solaris system.I want to copy only when the SOURCE file is newer than the destination file or when the destination file is missing. As you know, this feature ...
0
votes
2answers
46 views

Allow null password for file transfer from Sunsolaris machine to linux mchine?

I m trying to pull a file from a Solaris server to my Linux server and I did it successfully by using scp.I want to run this below command as a cronjob, How can I save password for this automation ...
1
vote
1answer
61 views

syslog configuration - repeated alert?

i am using solaris 10 and saw this line in /etc/syslog.conf *.err;kern.debug;daemon.notice;mail.crit;auth.debug;local2.notice /var/adm/messages Does it mean that, if I have a auth.err, the ...
0
votes
1answer
64 views

Solaris: Spooling filesystem is full

I have a Solaris 5.8 machine that will no longer print. print job that come from the terminal say: "See if spooling file system is full" I had a look around /var/spool but it isn’t particularly ...
0
votes
1answer
55 views

Do I need to backup the files in /opt directory when upgrading Solaris 11 to Solaris 11.3?

Do I need to backup the files in /opt directory when upgrading Solaris 11 to Solaris 11.3? The upgrade can be done by pkg update --accept like it is described here.
2
votes
1answer
3k views

How to configure OpenIndiana(151a8 aka “hipster”) for development?

I saw a similar post about Solaris and thought of a similar howto. I've heard of recent news (as in 2013) with the distribution and I learned I could easily update my initial OpenIndiana 151a7 release ...
1
vote
1answer
111 views

How to update NTP (Network Time Protocol) on Solaris 11? Fighting with DDoS attacks

At the moment lots of servers suffers from denial of service attacks targeting NTP protocol on port 123 by issuing MONLIST requests to victims computers. Victims computers answer with large list of ...
1
vote
1answer
50 views

Syntax error removing duplicate lines via awk '!x[$0]++' file

The file contains cat file a b c b d Trying to remove duplicate lines on SunOS via awk '!x[$0]++' file (as found in another postings) results in a syntax error awk: syntax error near line 1 awk:...
4
votes
3answers
161 views

How can I rename a directory with name made of non-printable characters only

On SunOS I have directories with names containing only non-printable characters. The command ls -ldb * returns the following (some spaces deleted) drwxr-xr-x 3 user1 group1 3 Feb 4 18:10 \0122011\...
1
vote
1answer
92 views

How replace disks on an existing striped zpool?

I have the following zpool: pool: mypool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 ...
3
votes
2answers
85 views

DNS on SUNOS 4.1.4 / Solaris

On SUNOS(not solaris) the dns works only with nis enabled(sic!) I have did so modified yp Makefile and added B=-b and put # on next B ypinit -m OK route add default 10.0.0.1 OK ypwhich ok ypcat ...