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
184 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. ...
1
vote
3answers
2k 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 ...
0
votes
1answer
45 views

Do I need a support contract to test my web application on solaris 10

I need to install Solaris 10 and I'm wondering if I need a support contract, on the download page it says that you need a support contract for production use, but I'm not too sure what production use ...
0
votes
2answers
143 views

tar + how to extract from /var/tmp in order to place the directories under /

I work with solaris 9 machine In order to extract the list.tar file I need to change directory to / And from there I do: tar -xvf list.tar Example Cd / tar -xvf list.tar x ...
0
votes
2answers
413 views

perl one liners + match word and delete string after separator

I work with linux/solaris machines and I need to add some rule in my ksh script: Please advise how to match the password word in file, and delete the value password after the separator "=" with perl ...
3
votes
1answer
49 views

How difficult will it be to determine, get and apply latest patches to Solaris 8

I have a Sun Ultra Enterprise 2 running Solaris 8 (Generic_108528-11). This hasn't had any patches applied for years. I just now got the configuration right for connecting to the internet through my ...
3
votes
1answer
301 views

How do I change the Java Security level?

We've got an ancient (internal use only) self-signed app that refuses to run now with the changes to the JRE. Working on getting a code signing certificate and rebuilding it, but that's horribly slow ...
0
votes
1answer
62 views

Similar to solaries prstart -t command in linux

What is a similar command in Linux for the command from Solaris: prstat -t I am interested to get user vice resource consumption (i.e. memory and processor). It gives NPROC UserName SWAP RSS ...
0
votes
1answer
88 views

What happened to Primary Administrator profile in Solaris 11?

What happened to the "Primary Administrator" profile in Solaris 11? Why was it cut? Are there any alternatives? How does it differ from the root-role (which is profiles=All;auths=solaris.*) Is the ...
1
vote
1answer
27 views

solaris.grant and granting/delegating rights?

I have a couple of question regarding Solaris 11... First off, as far as I can tell, Solaris has dropped the auth solaris.grant in Solaris 11... Why was it removed? Is it no longer needed? Did it ...
0
votes
2answers
6k views

Memory usage on SunOS and Linux

I have some doubts with memory usage. Currently I have nagios check who measures used memory from free -m command on Linux. I added another script for memory usage from ...
4
votes
1answer
72 views

Moving to Solaris (from Linux) [closed]

I got curious about why not so many people have Solaris in their desktops and laptops. I wonder whether it's a good idea at all, or something just for the absolute geek. Could I maybe give it a try ...
0
votes
3answers
170 views

Shell attempts to interpret Perl script in spite of correct shebang [closed]

I have looked through the forums and I can't seem to find how to fix this. I have a very simple perl code that works fine on Windows, but when I try it on Linux and Solaris I get the following errors: ...
2
votes
2answers
488 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
2answers
717 views

How to create a gnu tarball that can be extracted by solaris tar

I am maintaining a legacy cygwin (with GNU tar v1.21) system and a legacy Solaris 9 system. The configuration of the Solaris 9 system is fixed and cannot be upgraded (i.e. I can't install gnu tar for ...
0
votes
1answer
70 views

What does @ mean in the hostname part of a .rhosts file in Solaris?

What does +@foo_hosts username mean in a user's .rhosts file? I presume it is defining a group of hosts in some way, but I can't figure out where to look for the definition of @foo_hosts. I found ...
0
votes
0answers
235 views

How can I continue past this point in installing Solaris 11 under VMware Fusion 5.0.4 on Mavericks?

I have a Mac running VMware Fusion 5.0.4 on OSX Mavericks, and I do not seem to be able to get past a certain point on installation on either of two installers I tried. A (text) window comes up, ...
1
vote
2answers
172 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.
4
votes
2answers
2k views

Will there ever be a Solaris 12?

I'm not trying to be inflammatory with this question! I can't any statements though from Oracle regarding the future of Solaris, and wondered if there were any press releases or official notification ...
9
votes
2answers
1k views

Is it possible to redefine the tilde ('~', home directory)?

Is it possible to redefine the home directory? e.g. to /ext1/username instead of /home/username, i.e. expanding the ~ to another directory (as opposed to changing the actual home directory where ...
1
vote
0answers
117 views

Solaris 10 on x86: local sockets (unix domain sockets) very very slow? [closed]

I'm writing an application both on Linux and Solaris 10. It uses local sockets for some internal communications. On Linux an open, exchange one short message & close cycle takes about 10us elapsed ...
0
votes
1answer
1k views

/var/adm/wtmpx: Value too large for defined data type [closed]

getting error /var/adm/wtmpx: Value too large for defined data type in Solaris 10.
1
vote
1answer
59 views

Configure Solaris to write out a core image of an abnormally terminated telnet and man process

What is the easiest way to configure Solaris to write out a core image of an abnormally terminated telnet and man process?
0
votes
1answer
160 views

How does dispatcher work?

This is a general Operating Systems theory question but since I am learning OS theory through UNIX-like systems I wanted to ask it here. Today, after my OS lecture , I asked to our instructor that: ...
0
votes
1answer
314 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
69 views

Solaris 10 - what is appserv and boot.server? What do they do?

I'm working in a Solaris 10 zone on legacy startup scripts in the /etc/rc3.d/ There are two items that I don't know what they do. I know how legacy start-up works but just don't know what these items ...
0
votes
1answer
262 views

need to display hard error , transport error & soft errors above 2

iostat -En | nawk '/Hard Errors/ {line=$0;gsub(/.*Hard Errors:/,""); \ if($1>2) printf("%s\n",line); }' The output of this is c0t1d0 Soft Errors: 0 ...
1
vote
1answer
1k views

Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)

I am able to connect remotely to the machine using SSH, but I cannot ping www.google.com through the machine. I did the following to make sure SSH was enabled (well I know it is, as I am using ...
3
votes
1answer
282 views

SELinux context of files mounted from a Solaris server

Something I'm attempting to run in RHEL6 fails as a result of SELinux. The problem is temporarily easily solved with "setenforce 0". However turning SELinux off entirely isn't an option in my case. ...
0
votes
1answer
259 views

from iostat -En output ,i need to display Hard Error more than 2

I am a Customer service engineer for solaris. But I am new to shell scripting, I need to display the lines which are having Hard Errors more than 2 from the output of iostat -En | grep Hard in case of ...
2
votes
2answers
489 views

How do I trigger a script when a folder is updated in Solaris 5.10?

We are trying to write a script to move away files as soon as they drop in a folder. One way of achieving this is running rsync in a script on cron scheduler. The problem with this approach is the ...
1
vote
0answers
310 views

Solaris 11 - (unix: Could not start init) Program terminated)

During a restart of a server with Solaris 11, the system halted with the following alert: WARNING: exec(/usr/sbin/init) failed with errno 8. (unix: Could not start init) Program terminated. The ...
2
votes
1answer
727 views

How do I send all information in /var/adm/message file to a remote system?

I'm trying to figure out how to send all information that is normally identified in the /var/adm/message file on a Solaris system to a remote system.
5
votes
2answers
2k views

Can I change the output format of the “last” command to display the year?

I'm trying to find a way to report on the most recent login for all users on my Solaris 10 server. I'm starting with the output of the last command. Using that command, I get output like this: ...
7
votes
0answers
837 views

Solaris SMF vs Linux Upstart [closed]

I'm in the process of learning Upstart after first having learned SMF. Naturally I'm assuming that they fulfill the same purpose but I'm aware that this is where I'm wrong. Ideally I was hoping ...
1
vote
2answers
1k views

Solaris 11 text mode after boot

I am running Solaris 11 on VMWare Workstation host machine Windows 7. Here is my OS and system details: SunOS solaris 5.11 11.0 i86pc i386 i86pc I want to boot Solaris 11 in text mode only i.e make ...
4
votes
1answer
170 views

returncode of command in a pipline [duplicate]

The following script runs on Solaris using /bin/ksh and on Linux using /bin/sh cmd | tee -a cmd.log | tail exit $? The output of cmd is saved in a file cmd.log and the last lines are displayed on ...
2
votes
3answers
411 views

List all open '.log' files in *nix

There are times as a system administrator, you might not be sure of the log file paths of a new application. Depending on the system, there may be multiple ways to find the same. Please share the ...
1
vote
0answers
101 views

error running raidctl on Solaris 10

I am trying set up a disk mirror on a Solaris 10 system. The two disks are identically formatted and not mounted. Neither is a boot disk. I ran the following: # raidctl -c c1t2d0 c1t3d0 ...
2
votes
1answer
2k 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% ...
4
votes
2answers
1k views

What is the STATE column of the TOP command on Solaris?

I'm running a very large, memory intensive program on my new UNIX server and trying to fully understand the output of the "top" command. Here is what I see right now (showing only the first process): ...
12
votes
3answers
2k views

Wait command usage in Linux?

#!/bin/bash function back() { sleep $1 exit $2 } back $1 $2 & b=$! if `wait $!`;then echo success else echo failure fi bash-3.00# ./back 300 0 failure bash-3.00# ./back 300 1 ...
2
votes
1answer
180 views

Regex to find NFS filesystems that aren't being mounted with nosuid, except for ones with special needs

I have a script that runs the command mount -v 2>/some/file, which I then parse with another script using the following regex: ^.*[\ \t]+type[\ \t]+nfs(?![\ \t]+.*\b(?:nosuid|nosetuid)\b).* The ...
0
votes
2answers
538 views

How to monitor average stats of CPU and memory usage of a Solaris server using scripts?

I need to monitor average CPU and memory usage for a Solaris server. How can I automate the process using scripts to monitor daily CPU and memory usage and give it as an average over a month?
1
vote
2answers
79 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 ...
0
votes
2answers
638 views

Why doesn't my client IP address appear in the netstat output?

My client is a MS Excel plug-in running on my laptop (client_machine1) that connects to a Solaris server (server1) to request some WebLogic Application running on port 28080. bash-3.2$ set | grep ...
1
vote
1answer
150 views

why csv is consuming more file size in my unix script?

I'm using this unix script which it is fetching records in the form of csv. I have a SQL query used for this purpose. It contains below information SET PAGESIZE 5000 SET COLSEP "," SET LINESIZE 2000 ...
1
vote
2answers
1k 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
2k 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 ...
2
votes
1answer
261 views

Solaris 11 and syslog over TLS

Does Oracle support support remote syslog over TLS/SSL on Solaris 11? I found it can be done with rsyslog, but is rsyslog default on Solaris 11 and if rsyslog is not default, does Oracle support a ...