Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

0
votes
1answer
17 views

Solaris + date + what is the same equivalent for Solaris

on Linux the syntax for date with seconds is: date +%s 1438587288 from MAN PAGE - %s seconds since 1970-01-01 00:00:00 UTC what is the same equivalent for Solaris?
1
vote
1answer
26 views

Solaris “crontab -e” locking via vi

I ran into an issue yesterday with locking on Solaris and crontab editing that has me wondering what the best way to protect multiple concurrent edits of the same crontab are on Solaris. I've ...
2
votes
2answers
958 views

Solaris 11: Make sunrpc listen only on localhost

There is an open port 111 (sunrpc) that I want to secure. On a fresh install of Solaris, how can I get this to only listen on localhost? This, I think, would be a cleaner way than using ipfilter, if I ...
1
vote
3answers
2k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
0
votes
2answers
38 views

top command + how to verify iowait value for one hour

my target is to check iowait value that not higher than 50 from top command and if value is higher than 50 for more then one hour , then need to give alarm about this ( by script or other option ) ...
0
votes
0answers
29 views

Is there a solaris setting for making secondary group rights effective for subshells and subprocesses?

We have got a solaris server farm that runs lavastorm application. Each server on the form runs a lavastorm instance, and that instance takes care of creating subprocesses to run various work tasks. ...
0
votes
0answers
12 views

Solaris run rsync after logadm

I'm trying to get this logadm configuration running. '/dir1/*/*/alert*.log' -C 8 -c -s 10m -t '$file_%Y-%m-%d' -z 0 -a '/usr/bin/rsync -qp /dir1/*/*/alert*.gz ...
0
votes
0answers
10 views

ERR TFS001: ID 604114 local2.error filesystem is 100% full MTS - what is causing these messages?

I'm seeing a lot of items in /var/adm/messages that say: Jul 23 10:31:01 server9008 *ERR TFS001: [ID 604114 local2.error] /mnt filesystem is 100% full (MTS) And they appear about every 15 ...
0
votes
0answers
30 views

Solaris 5.10 telnet connection closed by foreign host

I try to connect to a Solaris 5.10 server using telnet, but I only see: $ telnet xxx.xxx.xxx.xxx Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. Connection closed by ...
0
votes
0answers
30 views

Sun Fire v215 ALOM keyboard input from PuTTY

I'm trying to log in to ALOM on a Sun Fire v215 via PuTTY. I'm using a RJ45->DB9->USB setup plugged into the "SER MGT" port on the back. I'm also using the settings recommended in the installation ...
0
votes
0answers
16 views

OmniOS with napp-it got hacked: why and how to prevent in future? [duplicate]

We run the latest version of OmniOS on a virtual machine. On top of that, we installled the NAS management software napp-it. A month ago the IT department told us that the machine got hacked (DDoS ...
21
votes
5answers
63k views

How do I sleep for a millisecond in bash or ksh

sleep is a very popular command and we can start sleep from 1 second: # wait one second please sleep 1 but what the alternative if I need to wait only 0.1 second or between 0.1 to 1 second ? ...
2
votes
4answers
16k views

Solaris: reboot vs init to get to single-user mode

I have inherited instructions that say to get to single-user mode on Solaris like: Execute reboot -- -s Mount all file systems My question is, why not just do: init 1 What's the difference?
0
votes
1answer
1k views

Static NFS mounts vs autofs direct map mounts

We are in the process of re-designing our NFS service and are at a point where we can choose either to mount our NFS shares statically from /etc/fstab at boot or as autofs direct maps. In our new ...
4
votes
6answers
7k views

Can I use SSH key authentication to log into a remote system with a different username?

Suppose I have a remote system named "remotesystem", and a user account "foouser" on that system. I know that on my local system, I can generate an SSH key pair as local user "foouser", put the ...
0
votes
1answer
40 views

performing `cat` results in `Value too large for defined data type error`

I performed cat on a file in /proc/(pid)/map and got the error Value too large for defined data type error Of course the file is binary and I suppose its not the best idea to output a binary file ...
1
vote
0answers
14 views

What is involved in adding ZFS cache stats to orca?

I am interested in looking to add ZFS cache stats into existing orca performance monitoring that we have. Particularly, I am interested in the output of echo ::memstat | mdb -k Am still in the early ...
0
votes
1answer
1k views

Ubuntu client can't mount Nexenta NFS

I have a Nexenta storage box (Solaris), which exports an NFS share. Mac OS X and older Ubuntu clients can mount the NFS share just fine without any special options. Later version of Ubuntu simply ...
0
votes
1answer
33 views

Total of RSS items much greater than physical memory + swap in solaris

Can the total of all rss values of active processes (state is S or O) be ever much greater than total physical memory + swap? By physical memory, I refer to the result of prtdiag | grep Memory And ...
33
votes
4answers
24k views

How to read backward from the end of file in less or more?

I've found one way so far: less +G filename, but it's scroll up only with up key line by line. What's more powerful less usages which provide scrolling by page, pattern search backward and so on?
0
votes
0answers
17 views

Orca yearly graph is not showing correct results

We are using Orca for performance monitoring on a number of solaris servers. We've got plots for hourly, daily, weekly, monthly, quarterly and yearly. However, the yearly plot is displaying hour ...
0
votes
1answer
56 views

What are the best ways to monitor and report disk usage on solaris?

df and du provides a total view of usage but the problem with these is that they are not broken down per user. Is there a tool that does this? I found quot but that only works on ufs. Is there an ...
0
votes
0answers
13 views

When do vmstat counters restart?

Do the vmstat counters reset only on reboot? For example, for things like re, mf, pi, po, sr, in, sy, cs. Is it possible to reset them by a command?
0
votes
1answer
34 views

ZFS: what does it mean if all disks are ONLINE but resilvering takes place?

I have a pool of four raidz1 on Solaris 10, three of which look like this: state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, ...
0
votes
0answers
44 views

What are the ways to control banners on solaris 10 for scp?

I work with a farm of solaris 10 servers with some inconsistent behaviors in terms of displaying banners/motd. This time, I am trying to do scp from one server to another. Between some servers I get ...
-1
votes
3answers
95 views

how to check how much memory take process

As all know in Linux machines we have RAM memory and swap memory. My first question is: What the reason that the swap memory is increasing – because high level of RAM usage or something else? ...
2
votes
2answers
147 views

Why does a ZFS resilver scan the entire pool?

I have a zpool where I have just replaced a failed disk, and started a resilvering to the new disk. What I don't understand is, why zpool status says it want to scan 129TB, when the size of the vdev ...
2
votes
0answers
35 views

Tomcap APR native libraries

I have a Solaris 10 box on which I have successfully built the tomcat native libraries from source which include apr-1.5.2.tar.gz, openssl-1.0.2a.tar.gz, and tomcat-native-1.1.33-src.tar.gz. I can ...
0
votes
0answers
51 views

Restore of AIX backup on other Unix system

I have two old AIX backup tapes box labelled "System Image" that I need to recover a few files from. I've tried to extract them using tar (Solaris and Gnu) and cpio with no success. I then ...
1
vote
2answers
42 views

Having trouble mapping solaris drive paths to physical disks

I have a supermicro box with 24 drives in front and 12 drives in back. It's running x86 solaris 10 with zfs. Here is the output of zpool status: NAME STATE READ WRITE ...
1
vote
3answers
134 views

Create tar file on Solaris and untar the file on Linux is it right?

I want to create tar file on Solaris (Solaris 10 ) as Kit.tar and untar the Kit.tar on Linux machine ( linux red-hat 3/4/5 ) Can we be safe with that untar process on Linux machine? , I want to be ...
0
votes
0answers
81 views

Installing Tivoli TWS from the command line on Solaris

Is there a HOW-TO or tutorial for installing Tivoli Workload Scheduler 9.2 from the command line? Solaris 11 preferred but anything Unix-like would be helpful. Explanation: the person in charge ...
2
votes
4answers
3k views

Unix Snoop Command

Doing testing on a server right now. Both the client and server are on my machine. I am trying to snoop the packets between them but am not having any luck. These are some variations I have tried: ...
0
votes
0answers
39 views

snoop: cannot open “vnet0”: Permission denied

Getting the error when tried to take a capture on a solaris machine. I have tried to run the snoop command $ /usr/sbin/snoop -o file.pcap snoop: cannot open "vnet0": Permission denied $ uname -a ...
2
votes
1answer
2k views

File system full - except it's not

I've a Solaris 8 box which is reporting that a file system is full: db% tail -2 /var/adm/messages Nov 22 08:32:27 db ufs: [ID 845546 kern.notice] NOTICE: alloc: /u03: file system full Nov 22 08:34:51 ...
1
vote
0answers
37 views

weird DNS issue when looking up a service provider's services [closed]

I came across an interesting issue today. I was looking up node1.ar.service.com from the one of the 3 DNS servers exposed to the internet. These 3 servers act as authoritative servers at my ...
0
votes
1answer
3k views

NFS compound failed for server foosrv: error 7 (RPC: Authentication error)

I'm setting up an Ubuntu NFS server with a Solaris 10 client. The basic configuration looks okay to me, and it was also working for some time. I'm getting an "RPC: Authentication error" message on the ...
1
vote
4answers
6k views

how to boot and install opensolaris using USB drive

I have a server that does not have a CD/DVD drive.. How can opensolaris be installed using USB interface? specifically what tools/steps that need to be performed to prepare USB flash drive as install ...
5
votes
9answers
15k views

How to find out if a Solaris machine is virtualized or not?

I have a set of machines and want to know how to find out if a given machine is virtualized or not. Any commands?
4
votes
2answers
2k views

tail -f without the tail?

Is there a command in Solaris to read a file, and when it gets to the end to stream the way tail does? I need to read the file from the start, and it is a binary file. Information on Solaris and ...
0
votes
1answer
59 views

What is causing visudo to fail with: “visudo: can't stat <filename>: Bad file number”?

We use the #include feature in the sudoers file for organizing our sudo rules on a per-application basis. Our sudoers set up looks kinda like this: /etc/sudoers -> #include ...
6
votes
3answers
3k views

Where can I find introductory documentation for ZFS?

I recently installed OpenIndiana because of an interest in ZFS. I like the feature-list of ZFS, but I'm having a hard time wrapping my head around how to configure it. All of the documentation I ...
0
votes
2answers
279 views

solaris 11 express hosting vm's

I have been trying to wrap my head around this one. I have not seen a decent yes/no or how answer yet. I have a solaris 11 zfs server I want to host 2 or 3 vm's on it and have them use a loop network ...
1
vote
1answer
4k views

NFS issue brings down entire vSphere ESX estate

I experienced an odd issue this morning where an NFS issue appeared to have taken down the majority of my VMs hosted on a small vSphere 5.0 estate. The infrastructure itself is 4x IBM HS21 blades ...
0
votes
1answer
89 views

Solutions for bridging Solaris/AIX to Active Directory?

I need to have Solaris and AIX systems obtain authentication and name services to AD. I have had some success with Solaris using OpenLDAP as a proxy for user authentication. I have also successfully ...
1
vote
0answers
267 views

Solaris x86 11.1 and qlt driver — only 3/4 ports attach

I'm using the QLogic QLE2564 4-port 8Gb HBA. The problem I have is that when I attach the qlt target mode driver to the card, only 3/4 ports attach the driver. ffffc10006854e58 pciex1077,2532, ...
3
votes
2answers
442 views

How to make ssh fail if port forwarding fails

I have a bash script that runs ssh to create a port forward, using a command like this: ssh -N -i keyfile -L 1000:localhost:22 *remote_ip* There are occasions where the listen port may be busy, so ...
0
votes
0answers
21 views

Solaris 10 inherit group write on ACL

I'm trying to get group write permissions to be inherited in Solaris 10. It isn't working. I've set aclinherit and aclmode to passthrough using zfs set. Unfortunately, a group@:w...:deny rule is ...
1
vote
0answers
99 views

ZFS (Solaris 11) - SAS controller died & was replaced - pool is suspended

(Note I will amend with zpool status for clarity, when I return to the server) I have a 6x2TB disk raidz2 ZFS pool which I am hosting in Solaris 11 My original M1015 (flashed to IT mode) installed 2 ...
18
votes
5answers
56k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...