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

12
votes
3answers
538 views

SSH into NAT'd servers on the same public IP address

I am trying to SSH from in office X to a few Linux boxes in office Y. The Linux boxes in office Y are behind NAT and each run on their own ports. I can successfully reach all of them through SSH, but ...
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 ...
1
vote
0answers
14 views

Solaris 11.1 as L2TP Client

Is there anyway to do this with a PSK? I need to connect to an off-site Windows L2TP server. I can't seem to find any documentation on using Solaris as a VPN Client.
1
vote
1answer
48 views

Automating user password creation and User privileges restriction in solaris 8

I have couple of questions. Here is the first one We are trying to automate the creation of a user in solaris 8. We provide a default password and then force the user to change the password at first ...
0
votes
1answer
32 views

Cannot run passwd through plink

This is my situation. I am trying to run the following command in WINDOWS 7 plink.exe user@ip.add.re.ss -pw password "passwd user" to change the password for a particular user. it keeps giving ...
0
votes
0answers
13 views

Installing identd on Solaris 11 (or how to enable it)

I'm trying to install an IRC server on a Solaris 11 box. However, identd isn't install by default and I can't see how I can install or enable it. I also can't seem to find any documentation on this. ...
0
votes
1answer
20 views

Cannot change default shell in solaris 8

I have a situation. We have Solaris 8 machines. For every users we have to change the shell from /bin/sh to .../sdshell. So far we have been doing it by editing the /etc/passwd file manually. Is ...
2
votes
2answers
31 views

Passwordless SSH Solaris->RHEL without ever prompting for password

I need make a script to SSH from a Solaris machine (A) to an RHEL machine (B) (actually it's Oracle Linux). Is it necessary to enter B's password at some point? I want to automate the process with ...
0
votes
0answers
7 views

Solaris 10 Update 8, ZFS boot/root zpool and moving disks around

One of my OLD machines is running solaris 10 Update 8 (x86). It has a mirrored ZFS I use for "root zpool". Both disks are failing so I plugged a new disk in a USB port and attached the new disk to ...
0
votes
1answer
19 views

Updating Java with Solaris zones

I am running a server with a global zone and four local zones. The global zone provides the database server, and the four local zones run instances of Tomcat with a client application (different one ...
3
votes
1answer
53 views

ZFS permanent error; options for recovery

Background: small personal server, email, web, shell, etc, for family and friends. SunOS 5.11, snv_113 from November 2008. Server built in 2009. I believe that was either opensolaris or Solaris 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
30 views

Hostname changes history in unix systems

I've been trying to find a command or file that contains all the previous hostnames a Linux/Solaris machine has had, but I can't seem to find any way to do this. The question is really about the ...
1
vote
1answer
30 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
31 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
979 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
2answers
45 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
32 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
16 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
11 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
42 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
41 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 ...
23
votes
5answers
67k 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
2k 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
72 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
45 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 ...
34
votes
4answers
26k 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
68 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
14 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
37 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
48 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
111 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
176 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 ...
3
votes
0answers
61 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
62 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
58 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
174 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
89 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
55 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
40 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?