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)

2
votes
1answer
165 views

How can I get a copy of /var for SunOS 5.5.1

I had a problem on my SunOS 5.5.1 installation, so I tried to restore from a backup. After the restoration completed, /var was empty. I have another workstation with the same OS. How could I get a ...
2
votes
1answer
176 views

imaging/cloning with DHCP network rebuilding/recovery of solaris 9 and 10 sparc servers [closed]

I have a number of Solaris 9 and 10 sparc servers (no RAID) that are custom DVD jumpstarts provided by SONUS Networks for their softswitch VOIP products. The normal install process would be to use the ...
2
votes
2answers
2k views

Add new user in solaris

I tried to add a new user in solaris 10, but got an error: $ useradd -g oinstall -G dba -d /export/home/oracle oracle UX: useradd: ERROR: Inconsistent password files. See pwconv(1M). I ran pwconv, ...
2
votes
3answers
175 views

Solaris find previous log line

We are running solaris 10 at work. What I'd like to do is find the line previous to another line. Real live example. I can find out that some of our requests are timing out with the following query. ...
2
votes
2answers
266 views

Is there a graphical front end to the Solaris Service Management Facility?

I have a few service errors at startup on an opensolaris installation that I keep put off fixing since I would need to figure out the line commands again. Is there an easier to use front end?
2
votes
0answers
39 views

Dual boot Solaris and Linux

I have a laptop running Oracle Solaris and Gentoo Linux. First I installed Gentoo Linux. I used GPT partitioning scheme. In order to boot Gentoo Linux I have GRUB 2. Then I installed Solaris 11.1. ...
2
votes
1answer
54 views

Solaris cron ignoring mail aliases?

As a Solaris user, I want cron jobs generated emails for the localuser@server to be forwarded to my myuser@sample.com email account, so that I read only one inbox. To resolve this I have forwarded ...
2
votes
0answers
109 views

Autofs home directories with passwordless logins

I want a setup where a user home directory is mounted on login (autofs). This is working with password based authentication. However, I want passwordless authentication, by generating public keys. ...
2
votes
2answers
234 views

Unable to mount CDROM on Solaris 10

I have problem with using CDROM on Solaris 10. When I mount any ISO using VMware, ISO is not being visible under Solaris. When I go to CDROM there is nothing inside: --- 134 # cd /cdrom --- 135 # ...
2
votes
0answers
148 views

Move boot disk on SAN storage on Solaris 10

I'm looking for some infos/official docs/howto for migrating boot disks in a production enviroment server from internal disks to SAN on Solaris 10. It's possible for every kind of hw? It's also ...
2
votes
0answers
37 views

Is there a standard POSIX way of doing `tac` [duplicate]

Looks like at least IBM AIX and HP-UX don't have the tac command by default. Is there a way to do this using just basic posix standard shell utilities available on all UNIX systems? Furthermore, is ...
2
votes
1answer
101 views

issue with how newly made gnome launchers work vs launchers rebuilt after a system boot. (title change for clarity)

This isnt so much a request for help as a curiosity of mine. I wrote this script to quickly pop up four terminal sessions and fill my screen, since so many of my current systems have things that come ...
2
votes
1answer
245 views

Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?

I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements: Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
2
votes
1answer
422 views

Network bandwidth measurement on Solaris

I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites. It is mentioned in pathtest FAQ that it only ...
2
votes
2answers
936 views

How to use “fuser” to get process list for nested folder while using with parent folder as argument?

I am using fuser command to get the list of processes accessing a folder. However if the process is working on a file present in a inner folder, executing fuser command on the parent does not provide ...
2
votes
0answers
356 views

PS command ouput limited to 80 bytes only [duplicate]

Possible Duplicate: How can I get a full process list in solaris, without truncated lines? The output of ps command only returns 80 bytes. Below is the text from manual pages of Solaris ps ...
2
votes
0answers
385 views

Installing GnuPG on Solaris -— failed

i have Solaris SunOS 5.10 Generic_147441-01 i86pc i386 i86pc Solaris trying to install GnuPG on it i have referred these sites for it http://gnupg.org/ ...
2
votes
0answers
81 views

What is the equivalent of /usr/share/misc on Solaris?

The Linux Filesystem Hierarchy Standard has the following to say: This directory contains miscellaneous architecture-independent files which don't require a separate subdirectory under /usr/share. ...
2
votes
0answers
315 views

Sendmail configuration with user mapping on Solaris

I have the following: host1.intra.net which has sendmail and users: user1, user2 & user3. It is running SunOS 5.10. host2.intra.net which has SMTP server. No authentication, no encryption. Email ...
1
vote
4answers
381 views

FreeBSD is not Unix. But its Unix-Like Unix. Where is then the main Unix to read the source code?

I want to really understand System V, the main origin of Unix (not Unix-like nor modified Unix to Linux). The main origin which is very confusing and not really with care its written somewhere. Is it ...
1
vote
4answers
2k views

how to increase memory usage manually?

There is Solaris 10 OS on our server, and I would like to make test on this server. For this test memory usage should be high. So I wonder if there is an easy way to increase memory usage manually ?
1
vote
1answer
614 views

system monitoring tools

What command line utilities come standard with sunos to do system monitoring? I've been able to find prstat, but I would like something that will tell me memory usage and IOWAIT as well. It looks ...
1
vote
2answers
9k 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 ...
1
vote
3answers
640 views

What should a Linux Server Admin know about Solaris and AIX

I'm being considered for a new Linux Server Engineer position, but I'm told by an insider that there is a little Solaris and AIX in-house. I spend most of my time in the Debian Family, have some ...
1
vote
2answers
76 views

Is file /etc/vfstab Solaris specific?

Is file /etc/vfstab Solaris specific. I mean it only exists in SunOS/Solaris and there is no such file in other UNIX-es/Linux/*BSD.
1
vote
2answers
281 views

Perl - /etc/shadow - Permission Denied

The following command is being executed by a non root user : perl -pi -e 's/^an24:/an24:\*LK*/g' /etc/shadow A permission denied is being issued. This indicates some privileges issues. Can such ...
1
vote
2answers
855 views

Get a list of users with access to the host

I tried to go into /home and list all the subdirectories but it seems that all dirs that are not mine are hidden. I also tried cat /etc/passwd but that didn't list my very own ID I was logged in ...
1
vote
3answers
13k views

How can I list all user names on Solaris 10?

I forgot a user that I created on solaris 10, so now I would like to list all user names on my server. Is it possible (I am root user)? What command I should use if possible? Somewhere on the net ...
1
vote
4answers
589 views

Solaris 10 : Remove trailing blank lines from multiple files

I'm working on Solaris 10.What is the easiest way to remove blank lines from multiple files at once?
1
vote
2answers
475 views

Copying only differences?

I want to recursively copy one directory over another, however I only want to copy differences. The reason is that I'm doing this on Solaris on a volume which is snapshot, i.e. if I'm copying 100gig ...
1
vote
1answer
4k views

Check if SSH is enabled or Disabled in Solaris 11

How can I check to see if SSH is enabled on Solaris 11? I have tried typing ssh in the terminal, and it came back with a list of options, which none of them made sense to me. All I want to know is if ...
1
vote
3answers
8k views

What is a good X application I can use to test the X server on Solaris?

I am using Solaris, and I want to test if the I can use the X server after setting the DISPLAY environment variable. On Linux, I usually use xeyes, xclock or xterm. But none of these seem to ...
1
vote
3answers
329 views

How to capture the standard output of a script that depends on the user for some input?

There is a script that requires me to enter the password before it continues: bash-3.2$ ./script.sh <parameter_list> Enter the password for the Database: .. .. I am interested in capturing ...
1
vote
3answers
996 views

How to mount the CD-ROM on Solaris 10?

How to mount the CD-ROM on Solaris 10 without knowing the CD-ROM device name?
1
vote
1answer
343 views

Solaris SPARC 10 32bit mode

I'm looking for a definitive answer, does Solaris 10 running on a SPARC machine support booting into 32bit mode? I've found one site that states Solaris 8 was the last version that supported booting ...
1
vote
4answers
3k views

sed/awk/perl - delete spaces between two strings/words + solaris 10

please advice how to delete the spaces between "=" to the value/string ( after the "=" character) , should be implemented by awk or sed or perl command and command must to fit for solaris OS , ( ...
1
vote
2answers
113 views

access rights of a file in octal format

I wonder if there is command which will give you access rights of any file you provide. There stat related command but it is not accessible in solaris. stat -c %a /etc/passwd Is there any ...
1
vote
2answers
3k views

Help understanding `find` syntax on Solaris

Consider the following files: $ find findtest findtest findtest/test1 findtest/test1/start.ksh findtest/test2 findtest/test2/start.ksh findtest/test3 findtest/test3/start.ksh ...
1
vote
2answers
845 views

Comparing two directories in different servers

We copy our production code and data files to a testing server on a weekly basis. It can take hours, and sometimes it hasn't finished. What is the best method to confirm that the directories have ...
1
vote
3answers
262 views

libstdc++.so.6: open failed: No such file or directory

I'm trying to run my first C++ program on Solaris. Just a simple Hello World program. When I try to run. I get the error libstdc++.so.6:open failed:No such file or directory. Of course I did some ...
1
vote
2answers
179 views

Join command gives incorrect output?

I'm trying to join two simple files in Solaris 5.8 Version as below: ~/temp/s: cat 1 work1 a 8058 51 work2 b 15336 51 ~/temp/s: cat 2 8058 77-11:29:32 /apps/sas 15336 100-12:23:49 /local/hotfix ...
1
vote
1answer
227 views

ls -ld /dir, Solaris [duplicate]

Always when I run ls -ld /dir the output give me the size = 512 even if there are files in it or not. but when I run du -sh the output give me the actual size of the directory including its content.
1
vote
2answers
951 views

Delete n minutes old file in solaris

Can some one please tell me how to delete n minutes old files in Solaris? My find does not -mmin option.
1
vote
1answer
592 views

tr command not working with octal sequences

I need to strip non-ASCII characters off a file. I was using the command - /usr/xpg4/bin/tr -cd '\0-\177' <non-ASCII_file.dat >ASCII_file.dat Though it worked in the past, it is not ...
1
vote
1answer
3k views

Set global environment variables at boot in Solaris 11

I am wanting to create a file in Solaris, so that I can export a few "items" whenever the machine is started up. i.e. I want to export ORACLE_HOME and ORACLE_SID and some other directories, of my ...
1
vote
2answers
204 views

Modify Default Group for new Users in Solaris 11

I would like to change the default group for new users which are added to the system. Does anybody know in which file this is stored? I'm using Solaris 11
1
vote
1answer
510 views

RAID 1 + 0, Solaris 10

I create the meta devices: metainit d102 1 1 /dev/dsk/c1t2d0s6 metainit d103 1 1 /dev/dsk/c1t3d0s6 metainit d104 1 1 /dev/dsk/c1t4d0s6 metainit d105 1 1 /dev/dsk/c1t5d0s6 then I make the mirrors ...
1
vote
1answer
207 views

solaris + fit egrep for solaris

On Linux machines I use this syntax, in order to match all VALID ip's. My question: what needs to change for egrep command in order to run the egrep on Solaris? According to egrep manual page "-o" ...
1
vote
1answer
2k views

Display all network interfaces on Solaris

On Linux, the command mii-tool displays the list of Ethernet interfaces and other information. What equivalent command existson Solaris? My goal is to view all LAN networks that my Solaris machine is ...
1
vote
1answer
899 views

what is inode for, in FreeBSD or Solaris

I know a little about linux kernel. BUt for Freebsd, the "vnode" actually is similar to the "inode" in Linux kernel. And there is a "inode" concept in FreeBSD or Solaris. So my question is: what is ...