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
129 views

Issue with path to .so libraries

I have an issue with path to .so files. I have a server with two accounts user1 and user2. There is wget program, that is installed to user1 and I need it from user2. When I run it from user2 I get ...
1
vote
2answers
285 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
178 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 ...
0
votes
2answers
137 views

Where can I get SUNWsan package for Solaris?

The package is not available in the installation DVD, nor internet (MOS, Google, etc.). Where could I get it?
2
votes
3answers
1k views

Solaris: how to forward cron e-mails?

If a cron job produces output it is e-mailed to the user's account. I would like to redirect this e-mail to another e-mail account. Preferably on a user-by-user basis. I've looked into some options ...
2
votes
2answers
418 views

Solaris11: Alternative to xVM Hypervisor?

AFAIK, support for the xVM Hypervisor - basically Xen - has been dropped in Solaris 11. Is there an alternative/replacement for it? How does it compare to Xen? Obviously there is zones if you want ...
1
vote
1answer
246 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 ...
2
votes
1answer
44 views

Solaris/OpenIndiana: Good documentation for permission-mechanism - roles, profiles and auths?

Are there any good documentation, HOWTOs or books (preferably free and online) describing the permission-mechanism for Solaris/OpenIndiana? How auths, profiles, roles, projects, groups and users ...
3
votes
1answer
111 views

Solaris/OpenIndiana: Password for roles?

I've been gently experimenting with roles in Solaris, and wonder a bit about setting a password for it. I want the role I've created to be used by several users, so setting password to the same as ...
5
votes
2answers
2k views

What process is accessing a mounted filesystem sporadically?

I have a Solaris 10 server with autofs-mounted home dirs. On one server they are not unmounted after the 10 min timeout period. We've got AUTOMOUNT_TIMEOUT=600 in /etc/default/autofs, I ran automount ...
3
votes
1answer
1k views

zpool import - cannot import: one or more devices is currently unavailable

I have moved a ZFS pool from one SunFire server running some pre-release of Solaris 11 to another server running latest Solaris 10 and now can't import it. It was properly zfs export from the old one. ...
1
vote
3answers
420 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 ...
2
votes
2answers
614 views

How can I mount vxfs FS to two or more Solaris servers?

I want to have two Solaris servers share the same SAN vxfs Filesystem. Though at a time just one would be accessing the share. This is to allow for a quick failover in case the primary server ...
3
votes
3answers
6k views

change shell in Solaris/SunOS for your user only wihtout access to /etc/passwd

How do I set the shell in Solaris/SunOS for my user only, without access to /etc/passwd or any other su stuff? It should thereafter work both for interactive ssh (1) and ssh when you send commands ...
1
vote
1answer
353 views

/usr/ucb/cc: language optional software package not installed [duplicate]

I need to compile a small C program (shared lib for a Perl module) on an old Solaris 8 (Sparc) server. Unfortunately the development tools are not installed and I'm getting: /usr/ucb/cc: language ...
2
votes
1answer
132 views

Can AutoFS keep a share permanently mounted on Solaris?

I have a share mounted on an Oracle Solaris application server that read/writes data onto the share periodically. I have automounted it with a timeout of over several minutes but is there a way to ...
0
votes
2answers
8k 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 ...
2
votes
1answer
92 views

In what situation would it be more beneficial to use AutoFS over vfstab for shares dedicated to just one server?

Consider an environment of three Solaris servers (Server1-3): Where Server1-3 all share a mount nas-server.company.com:/vol/appls-backup, for storing backups and recovery related files at periodic ...
3
votes
1answer
230 views

How do I backup a non-empty directory and preserve metadata like permissions/user-group ownership/time file was modified?

I used rsync for creating a backup copy: bash-3.2$ rsync -tvrog /export/home/kent/Scripts /export/home/kent/TEST_Scripts_rsync With these options: Options: -v, --verbose ...
1
vote
2answers
291 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 ...
2
votes
2answers
156 views

linux & solaris - separate netmask IP's from ordinary IP's

I have file with IP address and netmask IP's my target is to cut the netmask IP's from the file_with_IPs.txt and paste them to another file as file_with_only_netmask_ips.txt remark - netmask IP can ...
-3
votes
4answers
667 views

perl one liner + how to replace any last IP address octets

How to replace any last IP address octets (four octet ) to 0 remark: Implementation should be by Perl one linear on linux machines for example 192.9.200.124 will replaced to 192.9.200.0 ...
2
votes
1answer
53 views

Is there a PAM Standard?

Related to a StackOverflow question I have. Since it's more or less really a SO question through and through, I won't go into the whole spiel. My platform question is this: Is there an industry ...
2
votes
1answer
105 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 ...
1
vote
2answers
384 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 ...
4
votes
2answers
5k views

Why `host` and `nslookup` on Solaris 10 resolves hostnames while `ping` and `telnet` does not?

/etc/resolv.conf contains a nameserver that is alive (as reported by the ping command) host or nslookup is able to resolve google.com $ host google.com google.com has address 74.125.228.3 google.com ...
1
vote
3answers
2k 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?
5
votes
1answer
461 views

What is causing this Copy command to enter sleep state?

I am trying to recursively copy a huge directory of installables over 25G and want to preserve the owner and group id, permission modes and so on. So I ran the below commands: bash-3.2$ date; cp ...
2
votes
4answers
3k views

sh and grep numbers only

I'm facing a problem and trying to find a solution that works in sh. If I could use bash this code would work: ls /a|grep ^[0-9] Unfortunately this is not the case with sh, and yes I need to use ...
2
votes
1answer
2k views

Configuring DNS resolver failover timeout

We have all of our systems set up to do internal DNS to a local name server and a secondary name server so that in the event the local DNS server is down they should go over the WAN to the secondary ...
3
votes
1answer
543 views

How can a non-root user check if a FS has been exported to a server?

Consider I am on server1 logged in as a non-root user. How do I check if a NAS FS has been exported onto the server SERVER1? I have already tried the below commands. bash-3.2$ dfshares SERVER1 nfs ...
2
votes
1answer
4k views

Solaris - permanently update PATH for all users

I have installed JDK and Groovy on my Solaris 11 machine. I would now like to set things up so that the PATH variable would contain the bin directories whenever I open a shell. It is my understanding ...
2
votes
2answers
128 views

Browse LDAP strcuture using Solaris pre-packaged command?

I have used ldapsearch to pull details on accounts but is there a way to browse the different levels in the LDAP directory just like we do with files in a directory?
2
votes
1answer
1k views

How do find the LDAP connection details that the Solaris box uses to authenticate users?

The Solaris box is configured to use LDAP and has no local user accounts. This is the output of the nsswitch.conf file: bash-3.2$ less /etc/nsswitch.conf passwd: files [NOTFOUND=continue] ldap ...
0
votes
2answers
128 views

Studio 12.3: language optional software package not installed

I installed the Solaris Studio 12.3 on Solaris 10 OS but when I check the version but it is showing below result. It is installed under /opt/SolarisStudio12.3/bin so why wrong path is coming. I ...
0
votes
1answer
4k views

How do I redirect output from the find command (that uses grep) to a log file?

Consider the code to search for all files containing the pattern "search string": bash-3.2$ # The below find works fine.. bash-3.2$ find . -type f -exec grep -il "search string" {} \; bash-3.2$ # But ...
1
vote
4answers
481 views

Solaris: Script for finding the physical device path of all installed fiber cards

I have a number of systems (with quite varying type, generation and architecture unfortunately). I need to create a list of fiber cards on these varying systems. I am able to use prtconf -v, and ...
1
vote
2answers
948 views

linux + match IP ADDRESS with 3 octets or with 4 octets

how to match IP address with 4 octets or with 3 octets in one command? target - match xxx.xxx.xxx or xxx.xxx.xxx.xxx ( syntax should fit for Linux and Solaris ) how to merge the following commands ...
0
votes
2answers
142 views

unable login solaris box

There is problem on my Solaris 10 box. It's not possible to access directly to the box, but via ssh from another box after 3 wrong entries of username/password to box then login prompt changes, at ...
5
votes
2answers
197 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 ...
7
votes
4answers
19k views

How to check whether firewall opened for a port but not listening on the port

We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
8
votes
0answers
209 views

how to get exit status from the command before the last [duplicate]

I have solaris machine ( solaris 10 ) please Look on the following simple commands (haconf -makerw | grep -iq "Cluster already writable") # haconf -makerw VCS WARNING V-16-1-10364 Cluster ...
1
vote
1answer
296 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.
0
votes
1answer
422 views

Solaris development host

This posting aims to document how go about getting a development host on Solaris. A "development host" is one where you have all the appropriate tools to build and compile C or C++ applications. ...
1
vote
2answers
1k 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
89 views

Nexenta (Solaris), strange user membership from LDAP

Anybody help me, why do run id command in the Nexenta OS (Solaris+Ubuntu), i get different result? a_ay@nexenta:/etc$ id -G 513 512 1000 201 203 1010 1013 1019 1020 1036 1039 1040 1041 1045 1046 1047 ...
1
vote
1answer
392 views

How many reboots are required for updating Solaris 10 update 8 to update 10?

The Oracle Live Upgrade document* states that these patches need to be done before doing the LiveUpgrade: *Document 1004881.1, "Solaris 10 5/08 (Update 5) or later:" 119254-LR Install and Patch ...
1
vote
1answer
360 views

Can you mount UFS partitions made in Solaris (Sparc) on Solaris (x86)?

I am reading about Endianness and it seems both systems save their data differently. Sparc uses big endian and x86 uses small endian, meaning the byte order is different. That makes me wonder... is ...
0
votes
2answers
417 views

While setting up SFTP between *nix servers, is the intial handshake optional?

I setup SFTP between *nix servers as follows: Generate the Public key on the sending server by running the below command: [user1@server1] $ /usr/local/bin/ssh-keygen -t rsa -b 1024 Then copy ...
1
vote
1answer
379 views

scp recursively directories on SunOS

I have encountered a small issue with SCP (and also rsync). I need to copy certain files from server A (running SunOS 5.8) to server B (running SunOS 5.10). First, I get the list of files (several ...