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)

0
votes
1answer
12 views

Permanently modify boot menu on another drive (Solaris 11.2)

I'm running Solaris 11.2 on a HP Proliant Microserver Gen8. Because of a limited number of hard drive slots, I have installed a SSD in the optical drive bay. Unfortunately, this SATA slot is not ...
2
votes
3answers
42 views

Assigning “awk” or “nawk” to a variable in a shell script [on hold]

I have a script to be run on both Solaris and Red Hat systems. I want to use "nawk" in Solaris and "awk" in Red Hat systems as text processing tool. For that, I have a code snippet as below in my ...
2
votes
2answers
26 views

Restarting LDAP client service

I have modified ldap.conf and slapd.conf. I'm wondering how I can restart the ldap/client service, filesystem/autofs and name-service/cache. OS: Solaris 11 but advice on linux should help too
-2
votes
0answers
32 views

df and du differences too large [duplicate]

-bash-3.2$ df -h | grep /mnt/opt /mnt/opt 197G **163G** 32G 84% /mnt/opt -bash-3.2$ du -sh /mnt/opt **74G** /mnt/opt More then 1/2 the differences between df and du. ...
2
votes
1answer
30 views

Wipe a Solaris Disk

Looking for something similar to Eraser for Solaris 9-10-11 Anything?
0
votes
0answers
41 views

password aging policy, the passwd command and /etc/shadow

I came across this phrase in the link below http://brandonhutchinson.com/wiki/Solaris_Password_Policy /usr/bin/passwd is used to modify password aging on existing accounts. passwd does not ...
2
votes
0answers
45 views

Can file handles be translated to filenames?

Is there a tool for translating file handles to file names on Solaris 10? I've looked around and found several scripts including the one at: http://heim.ifi.uio.no/kjetilho/hacks/fhfind.perl ...
5
votes
1answer
46 views

Exclude directory in (native Solaris) find command

I'm trying to exclude the directory /zones in my find command. I don't have GNU find available, just the native Solaris find. I tried something like this: find / -type d ! -name zones The problem ...
0
votes
1answer
41 views

IPCS command for Shared memory and semaphore in Solaris, HP-UX and AIX

I know ipcs command for linux system, but now I'm looking for ipcs command for solaris, hp-ux and aix system, I have searched lot in websites, almost everyone suggest ipcs -am, ipcs -as or ipcs -a. ...
2
votes
3answers
197 views

How can I exclude all “permission denied” messages from “find” in Solaris

Hi previous questions on this topic contain answers for Linux but does not work for Solaris 10. find . ! -readable -prune Does not work in solaris since -readable is not POSIX. What is the POSIX ...
1
vote
2answers
39 views

umask permission - where it work, where it doesn't - ftp vs scp

Src = SJOAM Dest = sjoam2 Connecting to a ftp server, get a file from it. On ftp server side. [oracle@SJOAM ~]$ ls -l total.zip -rwxrwxr-x. 1 oracle oinstall 412 Aug 8 09:03 total.zip On ...
2
votes
1answer
23 views

Reading the device tree for ide disks

On Solaris I know disk are c0d0p0 or c0d0s0 for ide, c1t1d1s0 for scsi. I see there are links on pci devices,for example: ls -lh /dev/dsk/c0d0s7 lrwxrwxrwx 1 root root 50 ago 1 22:53 ...
1
vote
2answers
44 views

How to forcibly update a file if left unchanged after 55 minutes? [closed]

I need a log file to be updated if it has been left unchanged during 55 minutes. For example, say it is now 19:00 and IOstatDisk2.log hasn't changed since 18:00: solaris1a:/var/tmp ROOT # ls -ltr ...
0
votes
1answer
24 views

Viewing file in Chinese on Solaris without changing locale

Use Case: I have a client server setup where server is a Solaris machine and client can be any windows, linux, etc. Client while coming up needs to create a resource bundle object based on client's ...
0
votes
1answer
46 views

WGET Continue without --no-check-certificate

I'm using wget to check if several boxes have access to other servers. The problem is sometimes the servers attempt to self-sign and the script hangs when this happens. It simply stops on the line ...
0
votes
0answers
42 views

How to set mail subject using variable and ensure attachment is not included in email body

I have the following shell script fragment. var_name='ZZPCI' for emailadd in `cat /tmp/email_list.tmp` do subject_text="Subject with Var Name "$var_name subj_text_novar="Subject without Var ...
2
votes
1answer
27 views

Recovering a lost file in Solaris 5.10

I accidentally removed a file in Solaris Version 5.10 using rm. Can I recover this file in some way or another?
0
votes
5answers
93 views

List only the count of all files/directories for the directory tree of present directory

I want to list the number of directories under each subdirectory tree of the present directory. As there are too many directories, I can't go into individual directory and check. Something like the ...
1
vote
0answers
42 views

logadm permission issue in Solaris

Facing the following issue in a solaris box while using logadm tool . It is showing me permission denied error . -> logadm -w princelog /html/web/www.log -C 3 -s 500m -z 0 logadm: Error: ...
1
vote
1answer
59 views

How to make awk work in a while loop

input.txt: /usr/dir1/file1 /usr/dir1/file2 /usr/dir2/file4 /usr/dir3/file5 Script: cat input.txt |while read FILENAME do nawk '{print $1}' ${FILENAME} >> output.txt done Expected output: all ...
6
votes
3answers
181 views

How to print a line if that line or the next line do not contain a particular string

Input.txt: 8B0C remove 8B0D remove 8B0E remove 8B0F 8B10 remove 8B14 remove 8B15 remove 8B16 remove 8B17 remove 8AC0 8AC1 ...
0
votes
2answers
69 views

Telnet check in bash script

I want to run following commands in bash script form in Solaris 10: $ telnet localhost 25 debug quit How I handle this?
1
vote
4answers
75 views

Problem with entire function in a script

I want to detect online network/shell services in my Solaris. I write following script for this purpose: compare_ser() { if [ "$1" != "" ]; then echo "True" >> Solaris.txt fi } export -f ...
1
vote
2answers
44 views

Stat substitution command to capture numeric file permission in Solaris 10

There is no stat command in Solaris 10. Is there any way to get numeric file permission?
1
vote
1answer
47 views

What does this find error mean: “find: stat() error /hgfs: Operation not applicable”?

When I use the find command on Solaris 10, I get the following error message: find: stat() error /hgfs: Operation not applicable What does this error mean? NOTE: the output from mount: $ mount -v ...
0
votes
1answer
48 views

Change terminal color in solaris 10

I installed Solaris 10, but I want change the background terminal color to black. Is there any way to see my text in color mode with vi editor too?
2
votes
1answer
21 views

Is there a process logging tool for solaris?

Is there an existing tool for solaris/unix that keeps a history trail of the list of running processes. I'd like to be able to review backwards in time what processes were active/running. I can ...
0
votes
1answer
35 views

How do I test or verify ZFS encryption is working?

How do I test or verify that the ZFS encryption is working, especially when running as a Samba share? Like if I create a ZFS pool with encryption=on, how can I tell whether a file is being properly ...
0
votes
0answers
18 views

Solaris and Sendmail

I am receiving below messages in the logs and the application/user is unable to send the mails: 450 4.7.0 Encryption too weak 112 less than 128 Does any one know how to solve this in solaris.
0
votes
1answer
21 views

Solaris 11 acpi “button” on Virtualbox

On Solaris 11 guest running in Virtualbox linux host,i click on menu "shutdown with acpi" but nothing happen. On centos i had to enable acpid daemon,is there something similar on Solaris11?
0
votes
1answer
51 views

kstat in Solaris 11+

I'm writing a kernel-level program in Solaris that monitors the workload of the system and reports the stats --something similar to netstats in linux and kstat in Solaris. Where the source code for ...
2
votes
1answer
50 views

How to figure out which network interface is used by NFS on Solaris 10?

I have a server with 8 network interfaces configured. From it, I share some directories and export nfs mounts to other servers. My question is how do I figure out which of the 8 interfaces is used ...
3
votes
3answers
79 views

Solaris 11 and zfs, i don't understand space used

This is the situation. Solaris11 virtual machine on VirtualBox as guest. Virtual disk is 55GB df report Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-8 55G ...
0
votes
1answer
18 views

OracleSolaris 11.2 - setting MANPATH variable

What is the right way to extend MANPATH in Solaris? Currently it is empty for a user session, so I get to do it manually in $HOME/.bash_profile: ...
5
votes
0answers
102 views

Peculiar Solaris integer comparison behaviour

This one caught me unawares! We have a Solaris machine (version: SunOS 5.8) hosting a pivotal script/process which has been running for many years without complaint. We recently had cause to have a ...
0
votes
0answers
22 views

OracleSolaris 11.2 — installing SolarisStudio

I would like to install SolarisStudio and follow steps at https://pkg-register.oracle.com/register/product_info/6/ I obtained necessary certificates, configured pkg and solarisstudio repository. ...
0
votes
2answers
45 views

Can all OSS for Linux be built to run on an Illumos based OS like OpenIndiana?

I like trying different OSs, but I have yet to try a Illumos-based OS. Can I run all or most Linux Software, just by building from source?
0
votes
1answer
30 views

Change requirements for passwords on Oracle Solaris 11.2

Is it possible to change strict requirements for user passwords, including root, e.g. I'd like not include numbers in the password as required, since this is a home machine, and I'm the only user?
0
votes
1answer
26 views

OracleSolaris 11.2 - delete a directory which is mount point

I removed a user from the syste, with userdel -r user however it still keeps its homedirectory /export/home/user, although the contents has been removed. The directory is mounted, but I don't know ...
0
votes
1answer
107 views

changing timezone in OracleSolaris 11.2

I'm confused, what is the right way to change TZ on a freshly installed Solaris 11.2, http://docs.oracle.com/cd/E36784_01/html/E39134/gljcw.html or ...
0
votes
2answers
42 views

OracleSolaris 11.2 hostname change

I changed the hostname using svccfg and svcadm restart as described in https://blogs.oracle.com/VDIpier/entry/solaris_11_changing_the_hostname however it didn't update /etc/inet/hosts and ...
0
votes
0answers
13 views

OracleSolaris 11.2 and DHCP configuration failure

I want to have IP address assigned by DHCP, so I set: % netadm enable -p ncp Automatic It seems that after this the dhcp agent has been initiated, and throwing errors: ip: WARNING: net0 has ...
0
votes
1answer
75 views

pkgadd -d give illegal option error on SUN Solaris 10

I'm trying to add a package in SUN Solaris 10. Using following command. pkgadd -d SomePackage.pkg Which throw following error /usr/sadm/install/bin/pkginstall: illegal option -- o usage: ...
3
votes
2answers
27 views

Is there a way to combine formatted output and full command arguments in one ps command?

In solaris, /usr/ucb/ps auxww gives full commandline arguments (without truncating long commands+arguments). And ps has -o option that provides formatted output. Is there a single command (or ...
0
votes
1answer
51 views

OracleSolaris 11.2 and dual boot with Linux

I've read through different documents describing dual-boot configuration Solaris+Linux, however I'm still struggling with it. I first installed Fedora12, and then OracleSolaris 11.2, which of course ...
0
votes
0answers
85 views

Oracle Solaris 11.2 hangs during installation

I'm in the process of installing OracleSolaris 11.2 (taken from http://www.oracle.com/technetwork/server-storage/solaris11/downloads/install-2245079.html) on PC with the following spec: Intel Core2 ...
0
votes
1answer
56 views

Convert particular lines in a text file to bold [closed]

I have a text file with 100 lines in it. I want to convert particular lines, lets say line1, line6 , line27, line 48, line 86, line99 to bold. I am using solaris 5.10, with KSH. Is there a way I can ...
0
votes
1answer
61 views

Writing drivers for Oracle Solaris

I understand that Oracle doesn't provide sources for Solaris any more, as was done via OpenSolaris in the past. However, they do offer live CD images. How much does a system installed with such ...
0
votes
1answer
36 views

Solaris 11 remove the old “entire”

pkg list -af entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.2.11.0.5.0 i-- entire ...
0
votes
0answers
21 views

How do I identify which disk(s) make up a vxfs disk group?

In case it matters, system in question is Solaris installed on SPARC. System contains two HDDs, same make/model/capacity. On one HDD are the root and var partitions/slices. /etc/mnttab shows me that ...