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
0answers
21 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
1answer
14 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? http://i.imgur.com/OQ8n553.jpg
0
votes
2answers
18 views

How can I remove 'solaris-backup-1' boot? [on hold]

How can I remove solaris-backup-1 boot entry? I already read that docs but I don't know where can I type that command... Do I have to type it here? http://i.imgur.com/OQ8n553.jpg
2
votes
1answer
29 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 ...
1
vote
0answers
23 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 ...
1
vote
1answer
63 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 ...
2
votes
1answer
26 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
31 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
54 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-- ...
2
votes
0answers
18 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 ...
1
vote
1answer
23 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 ...
4
votes
3answers
198 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 ...
3
votes
2answers
239 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 ...
0
votes
0answers
34 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
43 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
0answers
27 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
32 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 ...
1
vote
1answer
24 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 ...
3
votes
0answers
36 views

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

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
2answers
57 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 ...
0
votes
0answers
28 views

Manual network setting on Solaris 10

Am using Solaris 10 on Virtual Box. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with other ...
0
votes
1answer
17 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
96 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
1answer
24 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 ...
0
votes
1answer
152 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
49 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?
0
votes
1answer
85 views

Compiling Apache 2.4.10 32bit on Solaris sun sparc 10 64bit

I want to compile Apache 2.4 as 32 bit on Solaris 10 64 bit OS. I have gcc installed and I have packages of apr, Apr-util, pcre and open SSL with me. How do I compile it as 32 bit so as to get ...
0
votes
0answers
21 views

Apr-util showing error 139 segmentation error for testxml

I am installing Apache 2.4.10 on Solaris sun sparc 10 64bit and when I compile Apr-util along with apr, during make test, it is showing some segmentation error, error code 139 for testxml. I have ...
0
votes
1answer
25 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 ...
0
votes
0answers
26 views

Configure CHAP login on Solaris 11.2 ISCST target for Win7 / 2003 initiator

Since a few days I try to configure a Solaris 11.2 (x64) ISCSI target to use with the Windows 7 / Windows Server 2003 ISCSI initiator client. I want to use it with a CHAP-name and a 12-character ...
0
votes
1answer
37 views

Solaris vim end key

A simple question: why with solaris 10 on vim pressing end key produce F? This is what appened pressing end This is a text file,i will press "end key" F F F F :(
0
votes
0answers
31 views

is there a way for solaris system to get every single piece of info of disks?

the project currently i am working on require me that fetch all info installed in the system, like total capacity, form factor, ssd or hdd, rotational speed, interface type, etc. i searched a lot and ...
0
votes
0answers
36 views

ZFS swap vdev space accounting

I am on an OpenSolaris system with ZFS on it. I am trying to determine the exact space usage and/or reserved space for the swap vdev. root@storage:~# zfs list NAME USED AVAIL ...
2
votes
0answers
27 views

guest owns NIC, host and other guests access via NAT

OK, this is a bit complicated. On my host OS, when Guest1 is running, I want any incoming connections to go to guest1. So from the outside the system looks like guest1. But I still need to access ...
0
votes
1answer
33 views

Why the grep result depends on folder path? [duplicate]

I meet a strange phenomenom when using grep on Solaris 10: I try to use grep to find creat related DTrace probes. When in a folder (/data1/nan), it works OK: bash-3.2# pwd /data1/nan bash-3.2# ...
0
votes
1answer
128 views

ZFS backup advice with another server

I currently have two servers both have the exact same hardware, disks, etc. One server (server1) is going to be the "main" server. It's basically a server with raidz2 that has SMB shares on it that ...
1
vote
1answer
208 views

Mount Solaris Partition in Linux

I have a USB disk which when connected to a CentOS 6.5 system shows this as the output in fdisk -l. Disk /dev/sdn: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = ...
1
vote
2answers
43 views

X11 confusion with windows/solaris/windows config

I am struggling with X11 forwarding .... I use a Windows 7 laptop to Putty onto a Sun T2000 running Solaris 10. I have got ssh -> X11 -> X11 Forwarding ticked but nothing in the the X display ...
2
votes
1answer
64 views

Getting ZFS to list the physical disks in a zpool

Should be easy .... zpool status -l rpool or zpool status -v or so I thought . My issue is we're running Solaris 10 on a HP DL380 G5 and I suspect the non native hardware is confusing things. We ...
1
vote
1answer
31 views

capture log of ufsdump when backup to stdout

I am backing a file system with ufsdump. In order to gain space in the remote file system I backup to stdout then pipe the output to compress. I find is more efficient that backuping up and then ...
1
vote
0answers
68 views

ZFS ACL (NFS4 ACL)

I'm using Openindiana (Solaris 10) containers and I want to let users upload web content over sftp I'v managed to setup internal-sftp of openssh and lock user under web root. All the files under web ...
0
votes
2answers
122 views

DNS configuration in Solaris 10

Am a noob in Solaris, trying to learn Solaris and FreeBSD in best possible way. Kindly guide me accordingly. Am trying to create DNS server on Solaris 10 in VirtualBox. Steps which I did. Step I ...
1
vote
0answers
35 views

Webserver on Solaris 10 + zones. How to do it properly?

I have 1 real IP and many websites. Initial idea was to separate each website into it's own exclusive-ip (vnic) non-global zone. MySQL server have it's own non-global zone. Question is: what is the ...
1
vote
2answers
325 views

Why apache binaries built with gcc 64-bits are mixed 32 and 64 bits?

On Solaris 10 I built gcc 4.9.0 for 64 bit. At least I thought I did. I'm building an Apache based stack, and other prerequisite tools. If I build apache file shows a 64bit httpd: file ...
4
votes
2answers
251 views

Disk busy is close to 100% and iowait is 0,0% on SunOS, how can it be possible?

During monitoring of SunOS5.10 machine I noticed strange behavior: Disk busy is close to 100% Disk waiting time is 0,0% Primary purpose of this machine is running application server on jvm. This ...
0
votes
3answers
381 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 ...
1
vote
1answer
78 views

iostat error counters on Solaris

In a Solaris system i use iostat -E and kstat to identify faulted disks. My problem is that I don't know if the problem is on disk, on controller, on bus or on the filesystem layer (ZFS). The key is ...
1
vote
0answers
59 views

ZFS datasets attribute inheritance

I have a ZFS filesystem on a Solaris system. In one pool I have an ISCSI share and an NFS share. zfs list tank 1,01G 2,88G 24,0K /tank tank/nfs 24,0K 2,88G ...
1
vote
1answer
186 views

uname and Solaris versions in 5.11

I'm trying to adapt some scripts that run under Solaris 5.10 to 5.11. Solaris changed their OS upgrade method, and you no longer install individual patches. The script displays the version numbers so ...