Questions tagged [solaris]
Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.
1,158
questions
1
vote
2
answers
2k
views
How to install only mysql client on solaris?
I have a mysql server already running on RHEL 5 server. I have other Solaris 10 and Solaris 11 machines (SPARC based T4-4 servers) which need to connect to the server. I downloaded a pkg (mysql-5.6.23-...
1
vote
1
answer
157
views
What is a good configuration for a zpool built from 8-10 SSD for a home file server exported via NFS?
So we have a bunch of SSD disks and would like to put them in a zpool on a Solaris 10 system. The file system will be exported via NFS to about 50 Ubuntu clients which will mount it as their $HOME. I ...
0
votes
1
answer
5k
views
User home directory issue
recently i have created the user on solaris it has been created successfully when i see the details of the user by logins and id command it shows all the details but when i am trying to switch that ...
0
votes
1
answer
2k
views
Why is my java process using much more heap space than specified?
I'm running a Java application on Solaris using the -Xmx256M switch. When I connect via JMX, the JVM tells me the application is using about 50Mb of heap, and correctly states the maximum heap size is ...
1
vote
3
answers
16k
views
Solaris: how to list swap space per process?
On Solaris, how can I find out how much swap space a given process is occupying?
Or even better, how can I list all running processes sorted by swap space usage?
I'm asking this particulary for ...
2
votes
1
answer
2k
views
How to boot to shell with Solaris?
I would like to boot Solaris to shell (root prompt) directly for recovery purposes.
On linux I would pass a kernel option init=/bin/bash and it would directly boot me into shell without asking for ...
0
votes
2
answers
191
views
Rsyncing to a compressed zpool
I've been Rsyncing from an NFS mount to a local zpool that has compression enabled on it.
When I rsync, it copies every file over, not just the new/changed ones. Is this because the file size is ...
2
votes
2
answers
612
views
Why Ping starts showing results only after a minute
I am running a Solaris 11 system over a local private network 192.168.100.0/24 and I run ping -s to get continuous ping.
From the Gateway to my server I get
root@mygateway:~# ping -s 192.168.100.42
...
0
votes
1
answer
54
views
solaris: verify that access to all binaries is in accordance with the associated package
I need to verify that access (mode, owner) to all(!) binaries on a solaris 10 box are in accordance with the package that they came from. I could do something like
/usr/bin/find / -type f -perm -u+x,...
2
votes
1
answer
57
views
iostat taking lot of time to return
I have a solaris 10 server with a lot of SAN disks (close to 1000 across all paths). iostat -En takes close to 5 min to return. Is there a way to figure out what is causing the delay? truss hasn't ...
2
votes
1
answer
684
views
Cannot see all disks on Solaris 10 using on a Dell Perc5i Dual Channel Raid Controller
I have a Dell PowerEdge 2950 running Solaris 10 with 8 drives. I want to swap some of the drives out for new ones. My issue as of right now is that I only see half of them and there does not appear ...
3
votes
2
answers
7k
views
How to migrate a ZFS filesystem to use compression?
Question at the bottom.
I have several ZFS file system I would like to use ZFS compression, but since enabling the compression will only affect new data written to the file system, I would like to ...
3
votes
1
answer
1k
views
Solaris: Encrypting a zpool NOT a dataset within a pool?
What is the way in Solaris to encrypt a zpool? All the documentation supporting ZFS encryption talk about using "zfs create" and specifying a dataset WITHIN a pool. I just became SA for several ...
4
votes
5
answers
11k
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 ...
2
votes
2
answers
296
views
getting an application to run with the same priority as cpu idle
I have a solaris server that needs to run a timecritical application as fast as possible, although setting it to the RT priority class doesnt seem like a good idea since it may need 100 CPU for ...
1
vote
1
answer
155
views
Solaris 11.1 Install Error (USB)
I'm trying to install Solaris 11.1 on a Supermicro SYS-1027GR-TR2 from the LiveDVD. It is not on Oracle's HCL but it is on Supermicro's Solaris 11.1 supported list.
At the beginning of LiveDVD boot, ...
0
votes
0
answers
415
views
Solaris SSH Server Log Destinaton IP Address
To stay compliant, it's required that my Solaris 10 SSH server log the destination IP address in addition to the existing port logging. Is it possible to add the destination IP address in the authlog? ...
0
votes
1
answer
2k
views
How to remove a VLAN tag from a VSwitch (VSW) in LDom OVM SPARC
I have a OVM SPARC 3.x server and one of its switches is set with a vlan tag.
In the example below the VSW has a VID of 200. How do I remove the tag?
I cannot remove the vswitch, as other guests are ...
3
votes
1
answer
13k
views
inetd and echo service
inetd - From Wikipedia,
inetd (internet service daemon) is a super-server daemon on many Unix systems that provides Internet services. For each configured service, it listens for requests from ...
1
vote
2
answers
624
views
What is the difference between truss -D and truss -E?
I am currently analyzing a command on Solaris that reads from a file and has very low performance. The truss -D commands shows me read system calls taking up to 0.03 seconds, but when I use truss -E, ...
-1
votes
1
answer
1k
views
Solaris NFS Mount Permissions [closed]
I've created an NFS share and have added to vfstab. However, I'm not able to change permissions or create directories as ROOT on the server where it is mounted.
$ mkdir test
mkdir: Failed to make ...
-1
votes
1
answer
209
views
Why does ssh -f create multiple processes when a pipe is used? [closed]
When I on my Linux host do
ssh -f 10.10.47.47 "/opt/omni/bin/mbuffer -4 -v 0 -q -I 8024 | /usr/sbin/zfs receive tank/test"
then I see on the remote host
27349 ? S 0:00 bash -c /opt/omni/...
4
votes
1
answer
808
views
Solaris kernel parameter equivalence to Linux
I have set the following tcp kernel parameters in Solaris
ndd -set /dev/tcp tcp_ip_abort_interval 120000
ndd -set /dev/tcp tcp_rexmit_interval_max 15000
ndd -set /dev/tcp tcp_rexmit_interval_min ...
0
votes
0
answers
80
views
writting to disk is taking more time in solaris
writing in disk taking more time, application is not working properly due to this delay in disk on solaris machine.
how to find out the disk(md500) is faulty or anything problem with disk
$ iostat -...
0
votes
1
answer
1k
views
Solaris 10 inside KVM (Ubuntu 14.04) - network card not working
I have a problem with getting network running on a Solaris 10 guest running on a Ubuntu 14.04 kvm host.
Installation of the guest runs fine but I can get no network connectivity from the guest to the ...
3
votes
1
answer
338
views
Granting user enough privileges to run ifconfig on IllumOS (OmniOS)
I sense this should be a very simple question, but somehow I cannot find a solution.
I have a non-root user and I would like to grant this user enough permissions or privileges, so he can run ...
2
votes
1
answer
2k
views
Refresh ipfilter configuration while keeping state
I have ipfilter running on a Solaris 11.2 server with rules similar to:
pass in log first quick proto tcp from any to any port = 22 flags S keep state
I would like to be able to edit and reload the ...
2
votes
1
answer
697
views
Operator \> and \< (string version comparison) are not recognised in shell script
I am trying to run Casandra nodetool and getting warnings coming from .sh script.
[root@d11ca4cc-fa95-c8a9-e133-e64c434f0e6f ~]# nodetool status
/opt/local/share/cassandra/bin/nodetool[53]: .[97]: [:...
2
votes
3
answers
2k
views
Solaris 11 sshd brute force protection. DenyHosts equivalent for Solaris 11
I'm getting regular attempts to brute force ssh on a x86 solaris 11.1 server. On linux I use DenyHosts to block connections after a number of incorrect login attempts. Is there a similar package for ...
0
votes
1
answer
155
views
Solaris projects id and group id should be the same?
I had defined a project under group mqm
group.mqm
projid : 100
users : mqm
groups : mqm
attribs: process.max-file-descriptor=(basic,10000,deny)
project.max-sem-ids=(priv,...
0
votes
5
answers
6k
views
Solaris - How to see if Bash is installed
never touched Solaris before is there an easy command to see if Bash is installed?
Probably a silly question, thanks for your help
3
votes
3
answers
12k
views
How to update solaris 10 to be safe from shellshock bug?
Saw this post here. Logged into my Solaris server in ssh and tried patchadd 19689293 and it just says it cannot find the patch.
0
votes
2
answers
673
views
Solaris snoop on SSL headers
Is there a way to snoop (on Solaris) SSL headers ( I don't actually need to capture SSL data ) so that I can ensure SSL is not blocked by any firewalls before entering my server.
0
votes
1
answer
880
views
Solaris legacy container free? [duplicate]
As a dev shop we have a number of ancient ultrasparc systems running Solaris 8 and 9 which we use as build hosts. I'm wondering what it takes to consolidate these machines as legacy containers onto ...
1
vote
1
answer
1k
views
Putty terminal color problems for Solaris
So I'm working on a Solaris 10 box from Putty running on Windows 7, and having a lot of trouble getting the terminal colors to work properly in actual programs like vim or tmux.
Here is the output ...
0
votes
2
answers
212
views
How big are my disk arrays?
On my SunOS 5.10 host are there 3 Sun 6140 disk arrays, and I would like to know the disk capacities.
According to zpool list do I have a 5TB and 16TB pool. format shows me only 12 disks
c2t1d31: ...
2
votes
1
answer
5k
views
Restart just one NIC after IP change?
I just changed the IP address of ixgbe0 like so
ipadm delete-if ixgbe0
dladm set-linkprop -p mtu=9000 ixgbe0
ipadm create-if ixgbe0
ipadm create-addr -T static -a 10.10.47.46/16 ixgbe0/v4static
and ...
2
votes
2
answers
7k
views
DNS zone transfer interval
I've never made a change to a DNS record before. In researching the DNS servers I inherited (Solaris 5.6 with BIND v9.2.3), I found that DNS_A (private) is the primary DNS server and it replicates to ...
1
vote
2
answers
149
views
Unusual results returned by df, what caused it, how to fix?
Here is a copy-paste:
root@****#df -h /var
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d4 9.8G 8192E 0K 90204286294657% /var
0
votes
2
answers
1k
views
Solaris 11.1 in boot loop
Oracle support had me delete the Intel IXGBE driver (/kernel/drv/amd64/ixgbe) and replace it with a Debug Driver to test something. I did this and then rebooted and am now stuck in a boot loop. ...
0
votes
0
answers
2k
views
Unexpected EOF write error
We have a Sun Solaris 10 server that is failing to backup using tar to write to tape.
tar cEf /dev/rmt/0cn .
The complete error is
tar: write error: unexpected EOF
tar error code 2
The directory ...
2
votes
1
answer
1k
views
Why is the size of a zfs filesystem after sending it to a different pool different?
I've move a zfs filesystem from a pool made of a bunch or mirror vdevs to another pool made of two raidz1s with the following command
# zfs send -R pool/project@moving | zfs recv tank/project
As far ...
1
vote
1
answer
1k
views
Solaris 10 init failing to reap zombie processes
ps currently shows 17617 zombie processes, all of which have a ppid of 1/init. init should be reaping these defunct processes, but isn't for some reason. The number of defunct processes is growing.
...
0
votes
1
answer
3k
views
Get I/O TPS for NFS on Solaris machines
I'm attempting to get IOPS for my Solaris servers. Typically I use tps for this calculation, however:
iostat gives TPS but only for local disks.
iostat -x gives everything but TPS for ALL disks.
sar -...
3
votes
1
answer
2k
views
How to active HDD leds on HP MDS 600 / HP D6000?
I have a HP D6000 (sometimes called MDS 600) storage array, HP DL380p G8 with an LSI 9207-8e SAS adapter.
When I am in the OmniOS (Solaris 10 fork), I can e.g. dd to one of the disks, but I don't see ...
1
vote
0
answers
1k
views
Intel 10Gbps NIC not working within Solaris 11
I'm working within Solaris 11.1 on hardware that is on the Solaris 11 HCL. My Intel X520-DA2 is failing to initialize.
Jun 14 03:11:32 ATM-Front-End-1 ixgbe: [ID 611667 kern.warning] WARNING: ...
0
votes
1
answer
2k
views
ERROR: Not enough space?
Now this is a very unspecific question. I'm trying to figure out what this message would mean.
Here is the story behind it:
I'm installing Oracle enterprise manager cloud control (12c r3) on Solaris ...
2
votes
2
answers
851
views
When to use hot-spare?
On my newly purchased HP MDS600 with 70x 4TB Nearline SAS disks, I now need to configure the disks, and I want raidz2, so the raid sizes follows 2^n+2. The options I therefore have are
7 raid sets ...
2
votes
2
answers
849
views
On Solaris, can I create a user account in a single command line entry that is not disabled, but is password disabled (only allows SSH)
I am building a script for SA's to follow when performing a certain task. That task requires adding a user to a system that can only SSH to the system (using a key) and not log in with a password. ...
1
vote
2
answers
6k
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 ...