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
57 views

In a Sun Disk Label scheme, what are partitions of type E and F?

I am working with an image (dd) of an HDD removed from a Sun server that was in use circa 2006. Using fdisk on a Debian system to view the partition table it shows 3 partitions: Partition 2: A type ...
0
votes
2answers
28 views

Unable to perform a simple multiplication in script

I am havingf trouble performing a simple multiplication in my script. while read A B C do tmp=$A\*$C/100 echo $tmp >> out1.txt done < foo.txt foo.txt: 13721725 99 100 ...
0
votes
1answer
64 views

Unable to access OS using start /SP/console eventhough eeprom console=ttya

I have a system with solaris 10 update 11. I am trying to access the OS via ILOM using start /SP/console. When i fire eeprom command in OS I was able to find console=ttya When I did a reboot I ...
0
votes
0answers
34 views

Is there any way to decrypt/read /var/nfs/v4_state logs?

Right at the time our NFS server (Solaris) had an outage lasting a couple of minutes, 3 files popped up in the NFS file server's /var/nfs/v4_state directory. If I cat them, I get a few bits of ...
1
vote
1answer
117 views

How to check firmware version in solaris?

I have searched in /usr/platform/sun4u/sbin path. But not sure how to get the firmware version.
2
votes
1answer
77 views

How to configure a global zone along with two non-global zones in solaris 10?

I have a SUN M3000 server. I want to configure this as a global zone (named z1dms) which will have two non-global zone (named zu9dms and zu10dms). Please tell me how to configure.
2
votes
5answers
126 views

Adjust gap between 2 columns to make them look straight

file1.txt: hi wonderful amazing sorry superman superhumanwith loss file2.txt : 1 2 3 4 5 6 7 When i try to combine using paste -d" " file1.txt file2.txt > actualout.txt actualout.txt : hi 1 ...
1
vote
2answers
27 views

Addition of values

foo.txt: Lillypaul_sg 204803 204803 204803 Ammy_sg 3 ramaswamy_sg 3 33 tommy_sg 3 3 137374 100 Desired Out.txt : Lillypaul_sg 614409 Ammy_sg 3 ramaswamy_sg 36 tommy_sg 137480 The output is a sum ...
0
votes
1answer
40 views

How to remove certain number of lines every time particular string is found in file

I want to remove 1 previous line and 10 following lines every time a string was found in the file. foo.txt: } Name: john Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 Line 12 ...
1
vote
0answers
58 views

How can I check or fix broken hardware links? “mount: no such device”

I have a SunBlade1000 running SunOS5.8 and I have a usb cradle from StarTech.com attached to it with a 1TB and a 2TB HDD from Seagate. The 1TB mounted just fine and is currently being written to. The ...
1
vote
1answer
42 views

ZPool export/import error

A backup/clone script of ours was recently ran. It normally only clones the rpool and renames in rpoolA. Something must've changed as it found another one of our pools that it shouldn't have. It ...
4
votes
3answers
199 views

How to insert multiple blank lines after every line

I want to insert 5 blank lines after every line in my input file. foo.txt: line 1 line 2 line 3 out.txt: line 1 line 2 line 3 ... Solaris 5.10, nawk or sed.
1
vote
0answers
143 views

File descriptor limits in /etc/system vs /etc/sysctl.conf vs /etc/security/limits.conf on Solaris

Let me explain first what I understood. In Solaris 10, rlim_fd_max and rlim_fd_cur in /etc/system set the hard and soft limits at the system level. And /etc/security/limits.conf sets the limits for ...
1
vote
0answers
46 views

Why is there no basic limit in prctl - n process.max-file-descriptors for some processes?

Some flexlm processes which are running as non-user but are started during startup as init process are not having basic(soft limit). What does it mean? NAME PRIVILEGE VALUE FLAG ACTION ...
2
votes
0answers
33 views

Using interface file with LP and txt2pdf utility to transform print file to PDF

Our legacy application uses LP commands on Solaris 5.10 to print report files to printers throughout our org. However, now we have a remote location that won't have access to a printer (at least not ...
0
votes
1answer
40 views

Solaris 11 hostname

I'm new with Solaris. I cloned a Solaris 11 machine and now I'm trying to change it so that it gets the hostname and DNS name from a DHCP client. I tried following the instructions here: ...
1
vote
1answer
33 views

How to troubleshoot disk controller on Illumos based systems?

I am using OmniOS which is based off of Illumos. I have a ZFS pool of two SSD's that are mirrored; the pool, known as data is reporting its %b as 100; below is iostat -xn: r/s w/s kr/s kw/s ...
1
vote
1answer
49 views

zpool online doesn't work

I've hard disk failure on this pool. I replace the disk, I don't have any hard error and I can not to put back it online as nofified: :~# zpool status data pool: data state: UNAVAIL status: One or ...
0
votes
3answers
61 views

How do I pass a series of patterns into awk from a shell script?

I've got a series of patterns stored in foo.txt and I want to iterate over those patterns and see which match lines in file bar.txt. while read PWW do cat user/dump/bar.txt | awk '/${PWW}/{print ...
0
votes
1answer
56 views

Add parameter to admin file for pkgrm

I'm trying to do a pkgadd on Solaris with non-interactive. Somehow pkgadd -d /home/mypackage -n doesn't work. While reading the man page, I found out that i can disable interaction by using admin ...
1
vote
0answers
15 views

ACL doesn't always get inherited

Solaris platform. why is it that "sometimes" a file copied into a directory that has a default ACL attribute does not inherit that ACL? Other times it does.
2
votes
4answers
209 views

Column editing using awk or sed. how to print the following pattern?

Sample Input: title role subject name-JOHN student math school state NY county street Phone name-TOM student math school ...
1
vote
0answers
46 views

How to run a setuid program on Solaris 10?

I have a Solaris 10 system: # uname -a SunOS edddev03 5.10 Generic_150400-04 sun4v sparc SUNW,SPARC-Enterprise-T5120 I wrote a program printing the uid: # cat getuid.c int main (void) { printf ...
1
vote
1answer
129 views

passwd does not work after change CRYPT_DEFAULT

I want to change algorithm for password encryption in Solaris 10 server. When I change CRYPT_DEFAULT option from __unix __ to 6, I can not change my old password with passwd command and I get ...
3
votes
1answer
51 views

Solaris: PKG - Script To Verify All Packages Except for a Few

I'm trying to verify the all packages except for a pre-defined list of packages that I know are going to fail for known reasons. This script is going to be run on all Solaris systems within our ...
0
votes
1answer
12 views

solaris: manifest associated to service?

I have set a service , a kind of rc.local on solaris but i forgot name of xml manifest associated. How to see wich manifest is associated to a service? Service is svc:/site/rclocal:default
2
votes
2answers
656 views

Booting Solaris 10 or 11 for Sparc in qemu-system-sparc64

I'm trying to boot Solaris 10 or Solaris 11 for SPARC using qemu-system-sparc64 but keep running into problems early on. I'm using the DVD images sol-10-u11-ga-sparc-dvd.iso and ...
-2
votes
2answers
158 views

Parsing a flat file using shell script

I have a file like in following format User:blala Pass:blala IP:***.***.**.** I tried with IFS but it is not working input="/path/to/your/input/file.cvs" while IFS=',' read -r f1 f2 f3 f4 f5 f6 ...
1
vote
1answer
39 views

Does orca + RICHPse work on Solaris Containers or local zones?

I have just attempted to get RICHPse version 3.4 running on a Solaris version 10 Sun M5000. It seems to run on the global zone but not on the local zones. On the local zones RICHPse just fails ...
1
vote
1answer
114 views

zpool states that zones are in SUSPENDED mode

Zones are in suspend mode how can I bring them up online? Operating system: SunOS xxxxxxbase02 5.11 11.2 sun4v sparc sun4v While listing the pool in global zone I can see four hosts are in suspend ...
3
votes
2answers
76 views

List direct symbolic links (links that don't point to another symlink)

I need to make a list of all direct symbolic links in a directory, i.e. symbolic links that point to another file which is not a symbolic link. I tried to do it this way: for i in $(ls -1A); do ...
2
votes
0answers
51 views

Notify user of account lockout at login (Solaris)

When logging into solaris, the user will normally get a username+password prompt. If the password entered is wrong the prompt just re-appears, and it will just keep going without providing any ...
0
votes
1answer
30 views

Where can I use 'beadm'?

I want to use beadm destroy but I don't know where can I type that command... Do I have to type it here or where?
2
votes
1answer
50 views

Why was it necessary to restart apache webserver to copy files via php on newly mounted filer?

Scenario allready running Apache Webserver 2.4.2 on Solaris 5.10 newly added nfs mount as target for copying files via php executing cp via shell with the same user as the webserver works copying ...
1
vote
0answers
49 views

Installing HDF5-1.8.13 on Solaris 11 - failed

I'm trying to install HDF5-1.8.13 on a Virtual Machine running Solaris 11. After downloading/unzip the source package, I ran $CC='gcc -m64' ./configure --prefix=[my installation path] The ...
1
vote
1answer
603 views

lsof: no pwd entry for UID

I'm trying to run command lsof |grep services on my Solaris 10 to find any processes that have big files which are using up the disk space but i got a bunch of lines saying: lsof: no pwd entry for ...
3
votes
1answer
52 views

Solaris 10 system - used disc space keeps on increasing even after deleting the directory

I deleted a directory on slice mmf but it came back - the size is still same and also it keeps increasing. The reason for deleting the directory is that I couldn't find the process linked to creating ...
0
votes
1answer
195 views

Solaris 10: how to enable some cipher or esclude weak cipher on ssh?

On HPUX and Linux servers this line works fine Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128 On solaris10 give me error /etc/ssh/sshd_config line 155: Bad SSH2 cipher spec ...
0
votes
0answers
103 views

Restrict FTP user to access only its own directory and Download Only

I need to create a user which can only FTP to specific directory and download data from it only no upload or delete files. After searching on line I reached to following points useradd -g 10 -d ...
1
vote
0answers
86 views

how install asterisk in Unix

Bonjour, I get an error that can help me : bash-3.2# gmake install ..... gmake[1]: Entering directory `/asterisk-1.4.2/sounds' --2015-03-19 20:19:38-- ...
2
votes
0answers
67 views

ZFS allocation algorithm

I'm looking for a way to know which algorithm ZFS is using to find free blocks. By default there are two algorithms: Best Fit First Fit These are automatically changed once a threshold is passed ...
1
vote
1answer
108 views

JRE version on solaris + Invalid argument when runing JRE java

I located the Jre1.6 in my Solaris machine under /tmp in order to use the Jre version pwd /tmp ls -ltr jre1.6 total 512 -r--r--r-- 1 root root 917 Oct 3 2011 Welcome.html ...
4
votes
3answers
864 views

how to do checksum on a folder in Solaris

On my Solaris machine, I sometimes use the sum command to verify that a file has not changed. I now want to check whether a directory's contents have changed but sum only runs on files. Is there a ...
3
votes
2answers
461 views

remove ^M from solaris by perl one liner on the same file

usually in order to remove the ^M from file we do dos2unix test.txt test.txt tr -d '\r' < old.file > new.file but this approach insist to create new file if we do not want to create another ...
0
votes
0answers
52 views

File not read by Java until touched

We had a freak incident on Solaris. Our java program couldn't read a file until we touched the file. It was reading other files just fine, it just seemed to be completely blind to this one particular ...
0
votes
1answer
56 views

I am seeking a Solaris 8 patch file

I have a question. Our company's server uses the Solaris 8. I am seeking a Solaris 8 patch file. The patch file name is 'withdrawn patch 110910-04 or 05'. And current patch version is 'withdrawn patch ...
0
votes
0answers
61 views

rsync unexpected EOF in read_timeout

I'm trying to rsync directories from server A to server B, but i get the following error: permission denied unexpected EOF in read_timeout Command is: rsync -avzn ${LOCAL_DIR} ...
-1
votes
1answer
55 views

Command output to file, new lines at beginning

I'm rewriting some 20+ year old Unix scripts and I want the output to go to the screen and a file. I know this is possible with tee. Is there a similar command that stacks new lines on top, at the ...
1
vote
1answer
50 views

Disk numbering a drive then mounting in solaris 10

I've a rescued sun v240 (2x 73Gb scsi drives). Trying my best to get onto the Solaris 10 OS. Managed to get via console lead and putty on windows machine . Managed to get cdrom-s single user (used ...
3
votes
0answers
45 views

How can I determine the Unix account that a URL is associated with? [closed]

No documentation, keystone employee leaves ... All I have is the known URL that is called. How do I determine the account that executes this site so I can find the httpd.conf file and scripts? ...