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
2answers
3k views

slow ssh login to a remote machine

I am experiencing slow ssh login from a machine to a remote machine. The verbose of ssh is shown below in two broken blocks. ssh freezes for 15 seconds in the below shown block. [root@zabbix ~]# ssh ...
2
votes
1answer
145 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
0
votes
2answers
777 views

Trouble in making pen drive bootable for solaris 11.2

I am trying to dual boot my system with Windows 8.1 and solaris 11.2.I am using flash drive for making bootable solaris 11.2..But i am not able to create bootable flash drive. I tried both .usb and ...
2
votes
3answers
3k 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
129 views

passwd does not work after change CRYPT_DEFAULT

I want to change algorithm for password encryption in Solaris 10 server. When I change CRYPT_DEFAULT option from __unix __ to 6, I can not change my old password with passwd command and I get ...
3
votes
1answer
51 views

Solaris: PKG - Script To Verify All Packages Except for a Few

I'm trying to verify the all packages except for a pre-defined list of packages that I know are going to fail for known reasons. This script is going to be run on all Solaris systems within our ...
0
votes
1answer
12 views

solaris: manifest associated to service?

I have set a service , a kind of rc.local on solaris but i forgot name of xml manifest associated. How to see wich manifest is associated to a service? Service is svc:/site/rclocal:default
-2
votes
2answers
158 views

Parsing a flat file using shell script

I have a file like in following format User:blala Pass:blala IP:***.***.**.** I tried with IFS but it is not working input="/path/to/your/input/file.cvs" while IFS=',' read -r f1 f2 f3 f4 f5 f6 ...
2
votes
2answers
1k 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 ? ...
1
vote
1answer
746 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
30 views

Where can I use 'beadm'?

I want to use beadm destroy but I don't know where can I type that command... Do I have to type it here or where?
3
votes
2answers
76 views

List direct symbolic links (links that don't point to another symlink)

I need to make a list of all direct symbolic links in a directory, i.e. symbolic links that point to another file which is not a symbolic link. I tried to do it this way: for i in $(ls -1A); do ...
2
votes
0answers
51 views

Notify user of account lockout at login (Solaris)

When logging into solaris, the user will normally get a username+password prompt. If the password entered is wrong the prompt just re-appears, and it will just keep going without providing any ...
0
votes
2answers
516 views

Autofs home folders from solaris 11

I'm having trouble since 2 days with autofs. I have a Solaris 11 Server. There I share the folder /export/home with the following command: share -o rw -d „Freigabe von /export/home“ /export/home My ...
2
votes
1answer
51 views

Why was it necessary to restart apache webserver to copy files via php on newly mounted filer?

Scenario allready running Apache Webserver 2.4.2 on Solaris 5.10 newly added nfs mount as target for copying files via php executing cp via shell with the same user as the webserver works copying ...
5
votes
3answers
372 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 ...
3
votes
4answers
14k views

What's the meaning of NP and UP in the password field of the shadow file

I found some entries in a shadow file whose meaning I don't understand. user:UP::::::: user1:NP::::::: What does UP and NP mean? In addition to those 2, the same shadow file has the normal hashed ...
0
votes
3answers
931 views

Solaris jdk 7 installation error java -version No such file or directory

Am trying to follow this website for instruction on how to install jdk for Solaris 10 with the following information: $ isainfo -v 64-bit amd64 applications ssse3 tscp sse3 sse2 sse fxsr mmx ...
1
vote
0answers
49 views

Installing HDF5-1.8.13 on Solaris 11 - failed

I'm trying to install HDF5-1.8.13 on a Virtual Machine running Solaris 11. After downloading/unzip the source package, I ran $CC='gcc -m64' ./configure --prefix=[my installation path] The ...
0
votes
1answer
115 views

Installshield 11 showing bad system call(core dumped) error while installing on solaris 11 x64

I am getting bad system call(core dumped) error while installing installshield on Solaris 11 x64. How should I troubleshoot this or any breakthroughs for getting more info on this inside Solaris.
0
votes
4answers
7k views

/usr/ucb/cc: language optional software package not installed

I tried to compile some C code to get object file from a shell prompt: $cc a.c But this gives me the following error: /usr/ucb/cc: language optional software package not installed How can I ...
1
vote
1answer
608 views

lsof: no pwd entry for UID

I'm trying to run command lsof |grep services on my Solaris 10 to find any processes that have big files which are using up the disk space but i got a bunch of lines saying: lsof: no pwd entry for ...
0
votes
0answers
104 views

Restrict FTP user to access only its own directory and Download Only

I need to create a user which can only FTP to specific directory and download data from it only no upload or delete files. After searching on line I reached to following points useradd -g 10 -d ...
2
votes
3answers
185 views

No “$” or “#” Sign After Logging in Solaris 10 with Putty

This is my environment: Solaris Version 10; Sun OS Version 5.10 Oracle Version: 11g Enterprise x64 Edition. When I am getting log on through putty it is giving me this output: login as: ora Using ...
3
votes
1answer
52 views

Solaris 10 system - used disc space keeps on increasing even after deleting the directory

I deleted a directory on slice mmf but it came back - the size is still same and also it keeps increasing. The reason for deleting the directory is that I couldn't find the process linked to creating ...
0
votes
1answer
195 views

Solaris 10: how to enable some cipher or esclude weak cipher on ssh?

On HPUX and Linux servers this line works fine Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128 On solaris10 give me error /etc/ssh/sshd_config line 155: Bad SSH2 cipher spec ...
1
vote
0answers
86 views

how install asterisk in Unix

Bonjour, I get an error that can help me : bash-3.2# gmake install ..... gmake[1]: Entering directory `/asterisk-1.4.2/sounds' --2015-03-19 20:19:38-- ...
1
vote
1answer
108 views

JRE version on solaris + Invalid argument when runing JRE java

I located the Jre1.6 in my Solaris machine under /tmp in order to use the Jre version pwd /tmp ls -ltr jre1.6 total 512 -r--r--r-- 1 root root 917 Oct 3 2011 Welcome.html ...
2
votes
0answers
67 views

ZFS allocation algorithm

I'm looking for a way to know which algorithm ZFS is using to find free blocks. By default there are two algorithms: Best Fit First Fit These are automatically changed once a threshold is passed ...
0
votes
2answers
175 views

Solaris 11.2 extended permissions shown by ls

I have a file that shows up as having extended file permissions. ls -V /usr/share/X11/app-defaults/XScreenSaver rwx------ 1 root root 53 Dec 2 21:52 ...
3
votes
2answers
465 views

remove ^M from solaris by perl one liner on the same file

usually in order to remove the ^M from file we do dos2unix test.txt test.txt tr -d '\r' < old.file > new.file but this approach insist to create new file if we do not want to create another ...
1
vote
1answer
50 views

Disk numbering a drive then mounting in solaris 10

I've a rescued sun v240 (2x 73Gb scsi drives). Trying my best to get onto the Solaris 10 OS. Managed to get via console lead and putty on windows machine . Managed to get cdrom-s single user (used ...
4
votes
3answers
878 views

how to do checksum on a folder in Solaris

On my Solaris machine, I sometimes use the sum command to verify that a file has not changed. I now want to check whether a directory's contents have changed but sum only runs on files. Is there a ...
2
votes
3answers
4k 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, ...
0
votes
0answers
52 views

File not read by Java until touched

We had a freak incident on Solaris. Our java program couldn't read a file until we touched the file. It was reading other files just fine, it just seemed to be completely blind to this one particular ...
0
votes
1answer
56 views

I am seeking a Solaris 8 patch file

I have a question. Our company's server uses the Solaris 8. I am seeking a Solaris 8 patch file. The patch file name is 'withdrawn patch 110910-04 or 05'. And current patch version is 'withdrawn patch ...
0
votes
1answer
26 views

Restricting access to an in-use disk on Solaris

I have two identical servers (Running Solaris) connected to a Sun Storedge 3100 through SCSI. I want to make a cluster out of them. The storage will be used to store a database. The Storage works ...
12
votes
5answers
41k 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 ...
0
votes
0answers
61 views

rsync unexpected EOF in read_timeout

I'm trying to rsync directories from server A to server B, but i get the following error: permission denied unexpected EOF in read_timeout Command is: rsync -avzn ${LOCAL_DIR} ...
-1
votes
1answer
55 views

Command output to file, new lines at beginning

I'm rewriting some 20+ year old Unix scripts and I want the output to go to the screen and a file. I know this is possible with tee. Is there a similar command that stacks new lines on top, at the ...
3
votes
0answers
45 views

How can I determine the Unix account that a URL is associated with? [closed]

No documentation, keystone employee leaves ... All I have is the known URL that is called. How do I determine the account that executes this site so I can find the httpd.conf file and scripts? ...
0
votes
1answer
25 views

Solaris11: recover file from repository

I have edited bad an important file of solaris11,i want to recover from pkg repository. How to do that? Suppose i have delete /usr/bin/vim,how to recover only this file from repository? Thanks
1
vote
1answer
132 views

How to delete file called “-C” [duplicate]

I need to delete the following file which I managed to create with bunzip2: -rw-r--r-- 1 beginner group 67493376 Feb 17 17:30 -C The following don't work rm -rf '-C' rm -rf "-C" My OS is ...
0
votes
3answers
765 views

Group by and sum in shell script without awk

I have a file like: $ cat input.csv 201,100 201,300 300,100 300,500 100,400 I want to add the values in column 2 which has same value in column 1. Expected output is as follows: $ cat output.csv ...
38
votes
5answers
84k views

How can I get a full process list in solaris, without truncated lines?

Is there a way to generate a full process listing in solaris, without truncated lines? I've tried the ps command, with the following arguments: -f Generates a full listing. ...
1
vote
1answer
1k views

Ulimit unlimited stack behavior oddity

I am running an application on a Solaris 10 system. Yesterday we have set the process stack size to unlimited: ulimit -s unlimited Today during the load the process would not come up reporting ...
0
votes
1answer
45 views

Solaris prstat - definition of “recent” time used in percentages

The man page for prstat (on Solaris 10 in my case) notes that that CPU % output is the "percentage of recent CPU time". I am trying to understand in more depth what "recent" means in this context - is ...
2
votes
3answers
7k views

“Access denied” when logging to Solaris virtual machine using ssh

I have got a Solaris 10 on a VMware virtual machine in Windows. This is what I did: 1) Installed PuTTY. 2) Checked whether ssh is running or or not in my Solaris desktop as below: bash-3.00# ps ...
0
votes
1answer
433 views

Solaris 10 openssl version 1.0.1k but apache httpd not compiling,showing version too old-0.9.8a

I have compiled openssl from source on my solaris machine to a newer location apart from the default one. When I set the newly compiled ssl path in PATH variable and LD_Library path and then compile ...
1
vote
1answer
65 views

How to emulate 'cp -a' on Solaris which does not have it?

How to do a cp -a on a Solaris system which does not support the -a option?