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
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 ...
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 ...
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
101 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....
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
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
167 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
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
97 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?
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 ...
0
votes
2answers
90 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
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 ...
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 ...
0
votes
0answers
19 views

How to change default shell on Solaris? [duplicate]

I am a user of a Solaris system which I log into as a standard user with no root or administrative privileges. The default shell for me appears to be bash. How can I change this to tcsh? I only ...
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.
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 ...
0
votes
3answers
55 views

what is the equivalent of du -s --si * in a Solaris box?

I have a Solaris box that is blowing up right now because a disk is very close to filling up. I need to know what subdirectory on that disk is hogging up the space, but Solaris doesn't like du -s --...
3
votes
3answers
100 views

how to monitor a unix directory and if any new file in directory it will be copied to another directory

I want to monitor a unix(Solaris 10) directory and if there is any new file i want to copy immediately. Tried: I have shown inotifywait and incron package in linux for it but i don't know whether it ...
3
votes
0answers
48 views

Changing LDAP server preference on Solaris 10

I've recently inherited a new environment running Solaris 10 and I was looking for information on how to change the LDAP server preference on an LDAP client, namely through modifying the ...
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 ...
3
votes
3answers
62 views

Using find in Solaris 10 to search a single directory but not its subdirectories

I'm trying to use find on Solaris 10 to list the contents of one directory, excluding subdirectories from the search. I tried a command based on the solution suggested by sdaau: find /tmp -type d ! -...
0
votes
0answers
87 views

Unable to mount NFS share in Solaris Local zone

I am trying to mount one NFS share in my Solaris Local zone.But I am getting error like below. showmount -e hostname showmount: hostname: RPC: Rpcbind failure - RPC: Timed out. I tried to ping the ...
4
votes
1answer
62 views

Finding out binary's compiling computer name

We have recently in our workplace stumbled upon a really old binary file that originates from unknown old computer. However in order to run this binary we need to get some local resources and ...
3
votes
1answer
55 views

What is the purpose of the uucico shell on HP-UX, Solaris, and possibly other Unix varieties?

For my work, I review Unix and Linux server configurations for compliance with security guidelines. So I'm not a Unix admin myself, but I work with Unix servers on a regular basis and am fairly ...
1
vote
1answer
67 views

Read ahead setting on Solaris

How to get the current read ahead setting on Solaris? On Linux it can be retrieved like this: # echo $(($(blockdev --getra /dev/sda)*512/1024)) (Assuming that blockdev always returns the read-head ...
1
vote
1answer
105 views

Disable null password for root user on Sunsolaris machine?

Currently i am using a SunSolaris machine: bash-3.00# uname -a SunOS labxxxx 5.10 Generic_144488-17 sun4u sparc SUNW,Netra-240 bash-3.00# When i try to set null(blank) password for root, it let me ...
2
votes
3answers
217 views

Where to check ntp related logs on Sun Solaris?

Can you please guide, where on solaris i can check NTP related logs? If there is any issue related to NTP on solaris, which is the right place to check for the root cause? Thanks
3
votes
1answer
43 views

Where do I find prebuilt binutils and compilers for obsolete operating systems?

I just obtained a Sun SPARCstation 20 and installed SunOS 4.1.4 on it. I'd like to build some software on it with something a little more modern than its stock pre-ANSI C compiler, and without the ...
-1
votes
1answer
20 views

Solaris 10: how to run correct tcp wrappers?

I want to deny ftp access on solaris10 For experiment i use only one host Tcp wrapper is enabled inetadm -l ftp | grep tcp_wrappers default tcp_wrappers=TRUE /etc/hosts.deny ftpd: 192.168.0.2 in....
-1
votes
1answer
58 views

Solaris 10,print only banner

I have a remote printer by cups on linux server. BSD,Hp-ux and linux works fine,on solaris 10 i have this problem,print the banner only,not the text of file. I have configured the printer like this ...
1
vote
1answer
120 views

How to print the total available space percentage on a specific file system in both linux and solaris?

I've searched for an answer to this question and I found that this command: df /dev/sda1 | awk {print '{(100 -$5 )}' | tail -1 | sed '/s/$/%/g' does the job pretty well on my linux system but I ...
3
votes
1answer
131 views

Finding empty directories recursively

How can I find every empty directory, let's say, on the /home/.../Desktop. Because I am on Solaris, I can't use the find . -empty -type d command. Is there any other way?
0
votes
0answers
73 views

Unable to setup ipv6 on solaris 11.3

I am having some difficulty after moving to Solaris 11.3 and setting up IPv6 addressing. The interface I am using is net2. I have created an IPv4 address already on this. So to do this I would have ...
0
votes
0answers
33 views

vxlist volume and vxlist disk stuck on Solaris 10

On Solaris 10 i have installed symantec storage foundation for lvm. Enable all daemons,create volumes and groups ok but if i want to see the size of disk and volumes with vxlist volume or vxlist ...
2
votes
1answer
61 views

How to know log the full script name executed by user?

I want to log the full name of the script executed by the user including the options/arguments he provided to that script. I was able to achieve some success using basename and whoami but it does not ...