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
38 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
18 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 ...
2
votes
5answers
120 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 ...
0
votes
1answer
110 views

How to create an FS under SunOS?

So there is a global zone, and we need to create an FS on a non-global zone. Also we need the new FS in a new DG/Volume inside the DG of the zone (if we see it from the global zone). How to do it? ...
1
vote
0answers
51 views

Webserver on Solaris 10 + zones. How to do it properly?

I have 1 real IP and many websites. Initial idea was to separate each website into it's own exclusive-ip (vnic) non-global zone. MySQL server have it's own non-global zone. Question is: what is the ...
1
vote
1answer
94 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 ...
1
vote
1answer
215 views

Solaris 10 IPMP and zones

Is there a way to have an IPMP group Virtual IP only be assigned to a none global zone ? The reason I ask is the need to reduce the number of IP addresses, as we only have so many spare. If I have ...
1
vote
1answer
129 views

Solaris 10 non global zones and rc scripts

There are a handful of Solaris zones that run a rc3.d/ script (which is normal), however, there is a single script that runs during boot and removes itself upon completion. (This is known from viewing ...
1
vote
1answer
3k views

Find out global zone Name once you logged into a NON global zone

I understand in Unix Oracle-Solaris OS the zoneadm list command will easily show all the available zones. But if I am logged into a non global zone there is no easy way to get information about the ...
2
votes
1answer
199 views

How to await Solaris zone boot (first time)

Solaris 11. I've found that the zone boot command (e.g. zoneadm -z myzone boot) returns before the zone is fully booted/configured. The problem is related to freshly created zones. More precisely ...
3
votes
0answers
304 views

Cannot install zone on Solaris 11

I am trying to install a zone on Solaris 11. I am using these instructions. I get up to Listing 2 when the error occurs. # zoneadm -z testzone install The following ZFS file system(s) have ...
2
votes
1answer
308 views

Solaris zone removal and transformation

I have a Solaris server which has two zones on it. I need to remove one zone and change the remaining zone into the server's main operating system. What is the best way to do this? I was thinking ...
2
votes
1answer
59 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.
1
vote
1answer
72 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.
0
votes
1answer
37 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
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 ...
1
vote
0answers
52 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 ...
0
votes
3answers
55 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 ...
1
vote
1answer
33 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 ...
1
vote
0answers
80 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
2answers
396 views

uname and Solaris versions in 5.11

I'm trying to adapt some scripts that run under Solaris 5.10 to 5.11. Solaris changed their OS upgrade method, and you no longer install individual patches. The script displays the version numbers so ...
1
vote
0answers
39 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
30 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
29 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
38 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
1answer
42 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 ...
0
votes
1answer
139 views

Manual network setting on Solaris 10

Am using Solaris 10 on Virtual Box. 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 other ...
1
vote
1answer
99 views

ZFS ACL (NFS4 ACL)

I'm using Openindiana (Solaris 10) containers and I want to let users upload web content over sftp I'v managed to setup internal-sftp of openssh and lock user under web root. All the files under web ...
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
184 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
33 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 ...
2
votes
2answers
3k views

slow ssh login to a remote machine

I am experiencing slow ssh login from a machine to a remote machine. The verbose of ssh is shown below in two broken blocks. ssh freezes for 15 seconds in the below shown block. [root@zabbix ~]# ssh ...
2
votes
1answer
134 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
0
votes
2answers
721 views

Trouble in making pen drive bootable for solaris 11.2

I am trying to dual boot my system with Windows 8.1 and solaris 11.2.I am using flash drive for making bootable solaris 11.2..But i am not able to create bootable flash drive. I tried both .usb and ...
2
votes
3answers
3k views

How to extract archive via network

I have two Solaris servers. On server1 I have a file, archive.tar.gz. I need to extract it using ssh to server2. So, I write the commands: ssh server2 < archive.tar.gz | gunzip -c | tar -xf - -C ...
1
vote
1answer
115 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
48 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
11 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
1answer
453 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
129 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 ...
2
votes
2answers
980 views

How to track file change

nsswitch.conf file always corrupts somehow. I do restore from my backup every time it corrupt. When this file corrupts, its time stamp is changing. Now I wonder if there is a way to track that file ? ...
1
vote
1answer
695 views

useradd does not work but has exit code 0

One of my Solaris 10 servers will not add new users. Existing users are able to log in. The useradd command appears to work normally but it does not add the user. I checked my other Solaris servers ...
0
votes
1answer
26 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?
3
votes
2answers
74 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
50 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
2answers
497 views

Autofs home folders from solaris 11

I'm having trouble since 2 days with autofs. I have a Solaris 11 Server. There I share the folder /export/home with the following command: share -o rw -d „Freigabe von /export/home“ /export/home My ...
2
votes
1answer
47 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 ...
5
votes
3answers
356 views

How do I less a filename rather than an inode number?

I have a piece of software that rotates its log files when it restarts. However, during development, I am restarting it a lot, so I would like to monitor the latest log file at any time. If I start ...
2
votes
4answers
13k views

What's the meaning of NP and UP in the password field of the shadow file

I found some entries in a shadow file whose meaning I don't understand. user:UP::::::: user1:NP::::::: What does UP and NP mean? In addition to those 2, the same shadow file has the normal hashed ...