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)

3
votes
1answer
1k views

ls and vim color on SunOS 5.8/Solaris 8

I want to use ls and vim with color on Sunos 5.8 SunOS 5.8 Generic_117350-11 sun4u sparc SUNW,Sun-Blade-2500 I have installed ls (GNU coreutils) 6.9 and vim 7.2 In ~/.cshrc: setenv TERM sun-color ...
0
votes
1answer
9 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: ...
4
votes
0answers
79 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 ...
1
vote
3answers
13k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
0
votes
0answers
11 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. ...
1
vote
1answer
34 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 ...
0
votes
1answer
14 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
24 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
21 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
2answers
14k views

Delete Static Routes on Solaris 10

I have the following routes that I wish to delete: 10.250.0.0 10.250.0.37 UG 1 0 I have run the following to delete this with failure. bash-3.2# route delete ...
0
votes
1answer
53 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
11 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
26 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
0answers
12 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
1answer
20 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
10 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
0answers
40 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
27 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
1answer
54 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
31 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
0answers
12 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 ...
1
vote
0answers
39 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 ...
4
votes
3answers
77 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.
0
votes
2answers
24 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
23 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
14 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
114 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
107 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
48 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
72 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
210 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
117 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
186 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
295 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
303 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
39 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
41 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
592 views

solaris netstat -rn output clarification

We have couple of servers performing the same function. On some I see following output: Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ...
0
votes
1answer
35 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
26 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
45 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
52 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
26 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
45 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
336 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
33 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
28 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
36 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
24 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 ...