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)

1
vote
2answers
172 views

What is the correct way to upgrade 7zip on Solaris 10?

I currently have an old old version of 7zip installed (4.55 beta) on Solaris 10. It is located in /usr/bin/7z. Found using which 7z I have downloaded a new version 9.20.1. The README says to edit the ...
3
votes
2answers
171 views

Solaris - Inheriting by files the user's ownership of directory

I have a directory with ownersip like user:group. I want to make on it something like sgid, but for user - all of new created files have a directory ownership. For example: drwxrwx--- 2 user group ...
4
votes
3answers
256 views

What does “command1 -> command2” indicate in results from my ls -al?

when I do a ls -al in /usr/sfw/bin I see: make -> gmake What does this indicate? Is this a symbolic link? I've googled and have not found the answer to this question.
1
vote
1answer
107 views

tcsh/vi-mode behavior difference between Solaris and Linux

We have both Solaris and Linux environments at work. We use tcsh as the standard shell for hundreds of users. My question is about vi-mode in tcsh: In Solaris, while I'm typing, I can backspace ...
0
votes
0answers
29 views

Error installing protocol buffer on Solaris 8

Tried to run make for protobuf 2.5.0 on Solaris 8 which I download from this source. First, there were issues regarding a missing stdint.h which has been solved here. But it still fails to run the ...
1
vote
1answer
114 views

cannot make protobuf on Solaris 8

I just downloaded protocol buffer (protobuf) 2.5.0 from here. Then I tried to install it on Solaris 8 (SunOS ms-sparc8 5.8). When I try to run make, I got this error. In file included from ...
1
vote
3answers
1k views

libstdc++.so.6: open failed: No such file or directory

I'm trying to run my first C++ program on Solaris. Just a simple Hello World program. When I try to run. I get the error libstdc++.so.6:open failed:No such file or directory. Of course I did some ...
3
votes
2answers
87 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 ...
5
votes
6answers
9k 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
158 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
94 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
550 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
67 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
24 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
341 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
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: ...
3
votes
1answer
189 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
146 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
407 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
2k 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
425 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
330 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
218 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
118 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
192 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
741 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
268 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 ...
4
votes
2answers
2k 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
106 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
183 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 ...
3
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
51 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
356 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
103 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
80 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
5answers
541 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
29 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
332 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
98 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
46 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
56 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
321 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
350 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
190 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 ...
2
votes
1answer
239 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
338 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
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 ...