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)

3
votes
2answers
80 views

how to grep complex hierarcy?

I have a file as:- start apple 1 a 2 b 3 c start orange 4 a 5 b start mango 1 a start a/b/c 5 z end 4 b end 6 c end start banana 3 c end 4 d 5 e end I want the output as :- 1 apple/a 2 apple/b 3 ...
4
votes
6answers
6k views

Recursive search doesn't work for grep on solaris

On our Solaris server I'm finding that grep -r doesn't work, which is the usual way that I use grep. It seems that egrep has the same behavior. Given that I have no control over the machine, is there ...
0
votes
1answer
86 views

Sparc Solaris - install optimised GCC 4.9, 32/64 bit?

We have a new (to us) solaris 10 box running on T4 cpus. Our software stack is Perl/Oracle based. We now have to install GCC 4.9. I wish to optimise this for the T4 CPU. I think the following ...
0
votes
2answers
54 views

How do I get GCC 4.7.1 with 64bit support installed for my user account only on Solaris x86

I have been put on a task to upgrade and build 32bit and 64bit libraries for software developers to use. I need to install GCC version 4.7.1 with 64bit support on the Solaris x86 machine I'm using for ...
0
votes
1answer
326 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. ...
0
votes
0answers
40 views

How do I solve rcp errors on Solaris?

I am using Sun Solaris7 for running my ucam software, and I need to load data from my ucam system to one of my plotters that is also running on Solaris 7. When I load the job I am getting the ...
1
vote
0answers
13 views

utf-8 locale missing on nexenta

I need to use utf-8, but "locale -a" produces: C POSIX iso_8859_1 the os is: SunOS cteraportal 5.11 NexentaOS_134f i86pc i386 i86pc Solaris Additional info: root@cteraportal:~# dpkg -l locales ...
4
votes
2answers
181 views

What is the TTY major number of your Unix?

I'm currently working on a serial port library which already uses special frameworks to get information about serial ports on the system. Though serial ports are a fundamental design in Unix—as ...
5
votes
2answers
1k 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: ...
2
votes
1answer
106 views

“The entry is a door” in Solaris “ls” man page

I found this in a man page for ls in solaris linux. http://www.unix.com/man-page/opensolaris/1/ls/ What does it mean when it says: D the entry is a door?
0
votes
1answer
71 views

Solaris 10 Default File Permissions

I've created an NFS mountpoint with rw permissions. How do I set new files in a directory to be created by a specific user/group with certain permissions?
2
votes
1answer
175 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 ...
3
votes
2answers
1k views

Solaris 11.1 and ipfilter

I'm trying to get IP Filter to work on Solaris 11.1. I'm following the official Solaris 11.1 guide. When the host is booted it doesn't pick up the ipf.conf that I expect. Here's the contents of ...
0
votes
1answer
182 views

Solaris 11 pkg repository update fails

I want to install gcc in my solaris 11 working in virtualbox, I tried pkg install gcc-45 but I am getting : pkg: 0/1 catalogs successfully updated: Unable to contact valid package ...
0
votes
2answers
128 views

How to install Solaris 11 on Sparc Enterprise T5240 from HyperTerminal

We received one Sparc T5240 Server and this is the first time experience with Sparc Servers. I never even saw them before. So i connected to Server using Cutecom app an alternative for Ubuntu to ...
1
vote
1answer
183 views

ttyb serial port connectivity issues

I am having issues with a device connected to my Sun V440 ttyb serial port. How would I test the connectivity of the port to see if any data is moving across the connection? I am trying to see if the ...
1
vote
1answer
71 views

shadow files getting created automatically in /etc in solaris server.(SunOS 5.10)

In my Solaris server (SunOS 5.10) shadow files are getting created automatically every 10 minutes for two particular users in /etc. The content of the files is the same as /etc/shadow. Say john and ...
1
vote
1answer
91 views

Why CRONTAB tasks are lost when quit Putty session? [closed]

I logged to remote computer, running under Solaris, using Putty and added some jobs to be run by cron. When I quit console and logged once again all jobs was lost. crontab -l myuser How do I ...
1
vote
1answer
647 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 ...
0
votes
1answer
140 views

Unable to open Windows Disk partitions in solaris 11

Not sure if I have come to the right place with the right problem but I don't really have much option as I have not found even a close solution to my problems in any other website during my tireless ...
1
vote
0answers
4 views

Unable to open Windows Disk partitions in solaris 11 [duplicate]

I have recently installed solaris 11, but I am an absolute beginner in unix systems. The only unix like environment I have got myself into before is ubuntu which was quite a bit different from solaris ...
3
votes
2answers
1k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
3
votes
5answers
2k views

Formatting the output: Underlining

I wrote the following function in ksh that prints its first argument to the screen and underlines it with the appropriate ammount of - character: print_underlined () { word=$1 echo $word ...
0
votes
1answer
61 views

Solaris 10 IPMP and zones

Is there a way to have an IPMP group Virtual IP only be assigned to a none global zone ? The reason I ask is the need to reduce the number of IP addresses, as we only have so many spare. If I have ...
0
votes
0answers
115 views

OpenIndiana driving me nuts: install vlc

I've scoured the internet in search of a way to install VLC on OpenIndiana version 158a and I cannot find it. Here are the error messages I'm getting: No suitable version of required package ...
2
votes
4answers
2k views

Can not find link to download OpenSolaris source code

I want to understand how OpenSolaris ptools(process tools) works. How exactly pstack, pmap, pargs etc works, but I can't find any link to its full source code. I can only find an online version of ...
3
votes
1answer
38 views

update line based on previous line

I have a issue since I'm not familiar with awk. I have csv file generated from sar -d output converted to csv style: 12:33:41 unix,restarts 12:35:00,lofi4096,0,0.0,0,0,0.0,0.0 ...
1
vote
0answers
140 views

What exactly is the lwp and threads in solaris?

The book "Solaris Internals" says Solaris executes kernel threads for kernel-related tasks, such as interrupt handling, memory page management, device drivers, etc. For user-process execution, kernel ...
1
vote
2answers
83 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.
0
votes
0answers
59 views

Unable to boot New solaris ramdisk image in SAM - Bad Magic number error

I am trying to create a new ramdisk for SAM with 1GB space from the provided "disk.s10hw2". Below are the following steps (following the thread in OTN: Booting problem with custom built solaris10 disk ...
0
votes
1answer
227 views

solaris netstat -rn output clarification

We have couple of servers performing the same function. On some I see following output: Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ...
0
votes
5answers
414 views

How do I install Solaris 10 on a Sunblade 150 machine using external DVD drive?

I want to install Solaris 10 on a Sunblade 150 Machine. It comes on a CD-ROM. Can I install it using an external DVD-drive?
1
vote
1answer
27 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 ...
2
votes
1answer
234 views

solaris awk problems with date and if statements

I have daily files that come in via FTP with incorrect dates in the first column of the file. I have figured out how to deduct one day to derive the correct date and print this to a new file. The main ...
2
votes
1answer
58 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 ...
0
votes
0answers
32 views

mod_qos not loading in apache on solaris

I have installed and configured the mod_qos in my Apache 2.2.24. However, Apache passes the configtest. But when starting the server, It starts with a single process that crashes in a minute. Even ...
0
votes
0answers
44 views

What's up with “Error in lockf()” just for one particular user?

We're running a Java manufacturing/equipment control application on Solaris. Equipment control is done via the serial port on the SunRay terminal at the user station. The interesting thing is that ...
0
votes
1answer
156 views

Open program in another terminal window windows-solaris

I am running Attachmate Reflection for UNIX and logging into my Solaris system. I then want to open a file with nedit but I get an error: NEdit: Can't open display So, I type in xhost + and ...
0
votes
3answers
131 views

Can sudo to user but 'run command as' is denied?

I was wondering how to run a command as another user from a script without password. sudo -l return: (root) NOPASSWD: /bin/su - someuser There is no problem to sudo as someuser. Command sudo su - ...
2
votes
0answers
131 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
925 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 ...
2
votes
1answer
215 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 ...
0
votes
1answer
189 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
42 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
90 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
250 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
47 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
177 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
60 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 ...
1
vote
1answer
26 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 ...