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
92 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 ...
2
votes
2answers
621 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
1answer
40 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 ...
2
votes
1answer
902 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. ...
2
votes
1answer
75 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 ...
2
votes
1answer
56 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 ...
2
votes
1answer
1k 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 ...
2
votes
2answers
106 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
155 views

perl + combine exec command with perl one liner line

I have the following short perl script rename.pl. How can I translate this script to one liner perl syntax? And how to combine the perl one liner in find command? rename.pl #!/usr/bin/perl $op = ...
2
votes
1answer
119 views

zfs send volume fluctuates misteriously

Why would the amount of data in a zfs send stream "fluctuate"? I would expect send of a specific snapshot to always produce exactly the same data! The test data below was created through something ...
2
votes
1answer
1k views

Bash vs ksh pipes

I am stuck with some problems with my scripts in ksh. FWIW the problem which I am unable to overcome is that when I use a structure such as this command | while read VAR1 do many.commands using ...
2
votes
1answer
196 views

Why does newgrp change my PS1 and how to prevent it?

I have a customized PS1 to show several parameters. When I switch to a different group using newgrp, it switched my PS1 to default ($) and that is annoying. The default remains even when I switch ...
2
votes
1answer
412 views

Time validation with regex

I'd like to make validation about time stamp of one of my log file. But it seems I have problem on my expression in case statement. TIME value might be something like 11:49 or 2011. And I just want ...
2
votes
1answer
433 views

Installing vim/emacs on solaris 8

At my new job, they want me to use a solaris 8 operating system, but all my coding experience has been on linux. Linux had a lot of tools built into the system, but it seems like the solaris I'm using ...
2
votes
1answer
84 views

Solaris “clean” group files (or for that matter any text file)

I am looking to find a way to script a cleaning operation on the /etc/group file on a large number of servers. Looking for users in a particular group more than once. i.e. somegroup::100000:userA, ...
2
votes
1answer
199 views

What's the best strategy to catch mystery process?

I have running processes on my server that get killed every night at midnight. It's at work, I'm not around when it happens and I don't have remote access. The kill occurs very predicably at 23:59 ...
2
votes
1answer
504 views

How to install & run collectd on Solaris 10 x86

I am trying to install and run collectd on Solaris 10 x86. I downloaded the Solaris x86 version of the installer. Installed using pkd_add command and chose the default folders. Now I am trying to ...
2
votes
2answers
422 views

Does Android SDK work in Solaris?

I want to compile my Android app in a Solaris server. Though, from Android Developers all I can see are Windows/MacOS/Linux versions. Does anyone know if I can install and use the Linux binaries in a ...
2
votes
1answer
544 views

How to track file change

nsswitch.conf file always corrupts somehow. I do restore from my backup every time it corrupt. When this file corrupts, its time stamp is changing. Now I wonder if there is a way to track that file ? ...
2
votes
1answer
300 views

Fail to tunnel between two Solaris 10

I running 2 Solaris 10 box and trying to tunnel them up through Internet. 1 at the hosting site while the other sitting in my office. ifconfig ip.tun0 plumb ifconfig ip.tun0 192.168.1.207 ...
2
votes
2answers
3k views

How to exclude a list of full directory paths in find command on Solaris

(Duplicated from Stack Overflow: http://stackoverflow.com/questions/7854975/how-to-exclude-a-list-of-full-directory-paths-in-find-command-on-solaris) I have a very specific need to find unowned files ...
2
votes
2answers
2k views

dual boot solaris with ubuntu?

I have installed Solaris on my x86 machine (taking 100gb of 500gb). Now I have installed Ubuntu on the system (in another 100gb). I want to make primary OS as Solaris. I know setting have to be done ...
2
votes
1answer
916 views

ps command not giving output in home directory

I am logging into a solaris server, switching to bash, then switching to another user "sruser" and switching to bash. /home/batch/sruser/ is the home directory of the user "sruser". The issue is ps ...
2
votes
1answer
200 views

Missing Xutf8LookupString call in Solaris 10

I'm trying to run a program in Solaris 10 that fails due to the lack of Xutf8LookupString function. It is a well-known issue but I'd like to know a way to "skip it". Would defining a different ...
2
votes
1answer
46 views

Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')

I have Solaris 10 x86 just installed on my VBox, but I have problem with make and make install command. When I try to run this command I got error related to gcc compiler option -t: Here is config.log ...
2
votes
1answer
26 views

evince opens a new document to the last page

I have a postscript file (created using groff) which is a multi-page document. If I open it using ggv on Solaris 10 it opens correctly to page 1. When I open it using evince on Solaris 11 it opens ...
2
votes
1answer
164 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 ...
2
votes
1answer
794 views

OpenIndiana Development Host (151a8 aka “hipster”) minihowto - is this all right?

I saw a similar post about Solaris and thought of a similar howto. I've heard of recent news (as in this summer) with the distribution and I learned I could easily update my initial OpenIndiana 151a7 ...
2
votes
2answers
378 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 ...
2
votes
2answers
127 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 ...
2
votes
3answers
613 views

What's the best way to backup files via network on Linux and Solaris machines?

I wonder what the best way to backup files VIA network I have Solaris machines with Oracle 10i with VERITAS cluster, machines are connected to EMC storage /data/oracle directory is mounted on the ...
2
votes
1answer
100 views

Browser fails to reach any host on Solaris 8

I'm running Solaris 8 on a Sun Ultra 2 connected to a Verizon router. nslookup seems to work (it finds google.com) but the existing browser (Netscape 4.76 - yes - it's very old) fails to reach any web ...
2
votes
1answer
225 views

Issues while untaring tarball with acl

I am getting an error “Unknown file type 'A', extracted as normal file” while un-taring a set of files which has acl permissions set. I had created the tar file in Solaris with tar -cpfv ...
2
votes
2answers
2k views

filter file for specific date

My OS is Solaris 10 (64 bit) and I have many files in a logs directory where we receive 40-50 logs every day. I have last 20 days file present in this directory and I want to move each day file to a ...
2
votes
1answer
252 views

Configure & Compile syslog-ng from source, got: Threads are not supported on this platform

I have configure, gmake, and gmake installed syslog-ng-3.4.0alpha1 with eventlog-0.2.12 and other dependencies. From then output of the ./configure --prefix=/syslog --with-gnu-ld, I can see that the ...
2
votes
1answer
177 views

solaris + vxprint + mirror for rootvol & rootdisk7vol not exist

I run the vxprint -g rootdg on my Solaris machine (HW- NETRA T2000) As we see here - rootvol & rootdisk7vol has missing lines (swapvol is OK) How to fix the rootvol & rootdisk7vol in order ...
2
votes
1answer
8k views

How to see free disk space on SunOS?

It really makes me mad. SunOS 5.9 #format Searching for disks...done No disks found! # mount / on /dev/md/dsk/d0...(skip) /var on /dev/md/dsk/d4 ... /opt on /dev/md/dsk/d5 ... /home on ...
2
votes
1answer
161 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
166 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
174 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
226 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
26 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
60 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
109 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
126 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
95 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
198 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
2answers
761 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 ...