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
0answers
301 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
79 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
289 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 ...
2
votes
0answers
66 views

On Solaris 7 Box trying to get X Record Extension Library to work using x11vnc

Does Xsun support this extension? Im on a Solaris Sparc Ultra 2 SunOs 5.7. x11vnc version: 0.9.9
1
vote
4answers
370 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
3answers
548 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
8k 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
2answers
31 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
198 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
569 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
523 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
395 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
3answers
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
3answers
6k 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
276 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
316 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
2answers
112 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
2k 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
11k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...
1
vote
2answers
762 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
1answer
635 views

Process Monitoring on Solaris

$ prstat -t NPROC USERNAME SWAP RSS MEMORY TIME CPU 164 oracle 5446M 5445M 8.3% 13:47:50 1.6% 52 root 576M 728M 1.1% 42:29:50 1.0% 1 noaccess 300M 273M 0.4% 0:20:54 0.0% ...
1
vote
2answers
108 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
191 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
739 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
480 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
2k 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
141 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
449 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
2answers
4k views

Solaris + display file time stamp [year][month][day]

I have Solaris 10 machine I need to verify time stamp of some file in my Solaris machine And to get the following format [year][month][day] Example of working command on Linux ls -l ...
1
vote
1answer
187 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
295 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
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
763 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 ...
1
vote
2answers
256 views

Apache server doesn't start when mod_sm.so is loaded

I have an Apache 1.3 on a Sun machine (SunOS 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-15000). If I keep the following two lines in httpd.conf, the server will not start: LoadModule sm_module ...
1
vote
1answer
299 views

Remap Caps_Lock to Control in Solaris

I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control. In an attempt to emaulate the answers shown here, I created the file .xmodmaprc: ...
1
vote
3answers
989 views

Solaris - get a list of the commands run at startup/boot?

Is there any way of seeing a list of commands that were run at startup/boot on Solaris? I know there is a network drive being mounted at startup but I wanted to see the exact 'mount ...' command ...
1
vote
1answer
24 views

Any reason an HP C7499A DVD ROM shouldn't work on an old Sun Ultra Enterprise II?

I'm trying to switch from a CD-ROM to a DVD-ROM on an old Sparc Ultra Enterprise II. I got this C7499A but I can't seem to access anything on it. I thought that since it's SCSI it should work even ...
1
vote
3answers
111 views

A command which returns either a process ID, if running, or some other output if not?

I'm looking for a command that will give me the PID, and it's not running it should give me some output other than blank. In my program, sometimes the library I'm using gives blank output even if ...
1
vote
2answers
91 views

How to terminate GUI in SunOS from a shell-script

How to terminate GUI in SunOS from a shell-script running it from the terminal.
1
vote
2answers
55 views

Installing crontab file on Solaris?

Typically we use crontab -u in our recipes. However we have a few Solaris 10 boxen where the flavor of crontab won't support the -u flag. Is there a way to deploy an existing crontab file using ...
1
vote
2answers
350 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
585 views

Is there any way to check df -k hanging for nfs mount issues?

I am trying to write a script for such failure scenarios. In a scenario where maybe, if remote connection is lost, df waits for the remote server to respond (looks like df is hanging). I know I could ...
1
vote
2answers
3k views

Converting from ascii to utf-8 format - iconv not working [closed]

I have a requirement to convert from ASCII text format to UTF-8. Below is what I am performing through the iconv command: [root@main tmp]# cat File1 1 5 6 [root@main tmp]# file File1 File1: ASCII ...
1
vote
1answer
90 views

Solaris 11 (GNOME) - Where is the “master” menu?

Something strange/catastrophic happened to my Solaris 11 installation, it uses GNOME. I need to know where the "master"-menu (the "Start-menu" listing programs and categories) is located. I hope ...
1
vote
1answer
123 views

Ipadm:operation failed

I am studying Solaris 11 in Virtualbox (64bit). I want to create network interface with command: ipadm create-ip net3 But terminal says that ipadm:cannot create interface net3:Operation failed I ...
1
vote
2answers
155 views

perl one liner + how to match IP address that located in the first/sec field of file

the following perl one liner syntax verify if IP address in "$IP" match the IP ADDRESS in file perl -ne 'BEGIN{$IP=shift} print if /(^|\s)\Q$IP\E(\s|$)/;' $IP file file have two fields as the ...
1
vote
1answer
581 views

How to properly use /usr/xpg4/bin/grep -F

I have a problem producing filtering out hanzoMollusc (2)from my grep. https://node.hanzo.com/production/application/ (1) https://node.hanzoMollusc.com/Messaging/Receiver (2) My grep command is ...
1
vote
2answers
2k views

Storage becomes unmanaged after Solaris and PowerPath upgrade

I have been performing an upgrade for a customer, using Solaris Live Upgrade to go from Solaris 10 update 2 to Solaris 10 update 10 and at the same time upgrade EMC powerpath from [an old version] to ...
1
vote
1answer
195 views

Why does dladm rename-link fail with “invalid argument”?

I am running Solaris 11.1 (in a VM) and have two NICs installed. At a root console, if I type dladm show-phys, it lists net0 and net1 and some info for each. I want to name the links more ...