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

2
votes
1answer
681 views

Disk replace breaks disk naming convention in zpool

After replacing two broken disks in my RAID-Z2 pool, the output of zpool status looks strange. The disks are addressed with their full path and also seem to contain 'slices', which all other disk ...
-2
votes
1answer
87 views

Solaris Service not showing any status in svcs

I'm creating a solaris service using SMF by following steps: Create SMF manifest Import manifest via svccfg Enable it using svcadm Check status using svcs Now in this process i had frequently ...
1
vote
1answer
3k views

How much space is in a Solaris /tmp filesystem?

On Solaris, the /tmp filesystem is a filesystem of type "tmpfs". It's implemented in the kernel by allocated space from the virtual memory pool. That means allocation interacts with the available RAM ...
0
votes
2answers
304 views

Solaris: information on sparc hardware

I'm having 2 solaris machines to manage, So i want to write my own scripts for getting various information. I'm able to get most of the information but not able to retrieve following: Chassis type ...
0
votes
1answer
695 views

Solaris prstat RSS does not add up

So, on a Solaris 10 10/09 zone, I am seeing all resident memory being used up. In attempting to located the process that is allocating all our physical memory, I notice that the RSS totals "prstat" ...
0
votes
0answers
73 views

Solaris and Hot-Standby

i have a short question. is it possible to create a hot-standby-cluster with 2 nodes and solaris 10? in Linux i would use DRBD and Hearbeat/corosync, but in Solaris? maybe do you have an tutorial? ...
1
vote
2answers
211 views

grep -m in solaris/sun OS

I searched a lot over google and stackoverflow/serverfault, but I was not able to find a corresponding to "-m" option in the bash shell. I need to fetch only the first result with the grep. Is this ...
1
vote
1answer
313 views

Unix Server unreachable, but responding to ping

I'm unable to login to my Solaris box, but its responding to ping when I do ping hostname I see the following messages under /var/adm/messages FATAL 2035: sslgets - SSL_read error - ...
-1
votes
2answers
749 views

How Can I Maximize Apache Performance on my Server - Need Calculations Please [closed]

I have a Sun T5140 server with 8GB of memory and two 4-core T-Series CPU's (128 max threads). This server is a dedicated web server. Based on the premise that I'm willing to allocate 1/2 of the ...
2
votes
2answers
759 views

Solaris doesn't know which MAC address to use to send an UDP multicast message

I have a pair of Solaris 10 boxes which are supposed to send multicast UDP packets to a group of hosts. One of them works just fine, whereas the other one does not. The problem with the second ...
0
votes
0answers
1k views

pkgrm + force remove of solaris pkg

I need to remove the pkg TIME-SV from my solaris 10 ( I need to use the pkgrm -a none ) to force removing but pkgrm ask me about "Enter path to package base directory" which PATH I need to enter ? ...
0
votes
2answers
141 views

sudoers file errors on solaris (suspecting wildcards)

I'm trying to write a universal sudoers file to control permissions for all our users across all our environments and I've been using the wildcard for the hostnames like so (all data has been ...
3
votes
3answers
8k views

how do I add a new disk to ZFS and make it available existing mountpoints if the current pool is root pool?

My S11 server has the following configuration: disk #1 is used for rpool, which is the root pool I want to add disk #2 to increase the size available for the already mounted folders, but I can't add ...
0
votes
2answers
136 views

raidz plus mirror on the same disk different slice in 2 pools

I need a little assistance. I have 6 2TB disks. I'm planning to assign approximately 500GB to my root pool slice 0 mirrored with another disk, since one disk isn't used up I then decided to do a raidz ...
0
votes
2answers
144 views

Install Neo4j via Maven

Neo4j says I can install Neo4j via Maven by adding it to my build: <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> ...
0
votes
1answer
2k views

Weblogic intensive CPU usage

I am using Weblogic 10.3.4 + Oracle DB both on Solaris machines (VM) Unfortunately last week our app hosted on Weblogic became very very slow not being able to serve new users coming (everything ...
0
votes
1answer
117 views

flexlm error on solaris

I'm configuring a solaris server to be used with flexlm license system. My software provider provided the script to install Flexlm, and I have its license. I launched the script, which asks me for ...
0
votes
1answer
153 views

Solaris 11 CIFS pam_smb

After installing a CIFS server on Solaris 11 today I run into a problem after updating the /etc/pam.d/other to include the line "other password required pam_smb_passwd.so.1 nowarn". After that I ...
1
vote
2answers
1k views

how to see process status with full details

I run the script - my_script.ksh as process with 5 long arguments on my solaris/linux machine ( example 1 ) , Later I verify the process by ps -ef | grep my_script.ksh I don't understand ...
5
votes
1answer
1k views

What's the difference between “sudo su -” and “sudo -i”? [duplicate]

Possible Duplicate: What is the difference between sudo -i and sudo su - I know both commands result in gaining a root-shell. But there are some differences. On some servers e.g. the prompt ...
1
vote
0answers
417 views

Error sh: line 9: 19705: Memory fault (coredump) in case of OpenSSH installation

I downloaded openssh-6.1.p1/tar.gz with http://mirror.corbina.net/pub/OpenBSD/OpenSSH/portable/. I made at first ./configure, then make which, it seems, fulfilled without errors (Nexenta Illumos ...
21
votes
4answers
54k 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 ? ...
0
votes
1answer
166 views

grep + match value only if value in the end of line

please advice what is wrong with my code, ( I run this code on both OS linux and solaris ) I don't get the line from: "file ended with .tmp" example: I need to verify if $FILE ended with .tmp ...
4
votes
1answer
187 views

Solaris crossover via fiber

I have two Sun servers running Solaris 10. Both have Emulex fiber channel cards. I'd like to connect the two in a "crossover" fashion like you would copper ethernet & IPv4. Point being I have a ...
4
votes
2answers
5k views

X86 Solaris boot failure

We had a power outage last weekend that seems to have done some very bad things to one of our x86 Solaris machines. It is refusing to boot, and dropping me to the "grub>" prompt when started. I can ...
0
votes
3answers
239 views

grep + Regular Expressions to match uniq number

My target is to verify if $FILE is a backup file ( backup file ended with xxxx.xx.xx.xx number Example of backup files ls /etc/VRTSvcs/conf/config main.cf.17Dec2012.09.10.14 ...
1
vote
2answers
892 views

How to detach a Solaris non-global zone when zoneadm detach is not available?

I have an old Solaris 10U1 that does not have zoneadm detach command. Only the following subcommands are supported: help boot halt ready reboot list verify install uninstall I need this to move ...
1
vote
2answers
146 views

Does CPIO produce platform dependant archives?

I made a CPIO archive with following command on Solaris 11 (SPARC): find . | cpio -ov >/tmp/myarchive.cpio I copied it to Intel based Solaris 11 machine and tried to extract using the ...
0
votes
1answer
99 views

Linux/Solaris verification ( after hostname change ) in files according to hostname rule

According to the following Perl command ( this command part of ksh script ) I can replaced old hostnames with new hostnames in Linux or Solaris previos_machine_name=linux1a ...
1
vote
1answer
1k views

Write access from a Windows client via a ZFS SMB, to a file created on the host in OpenIndiana

I've got an OpenIndiana server running ZFS that is shared using a nobody user and group. I don't fully understand Solaris ACL permissions, but I do know Linux style permissions. The client is Windows ...
0
votes
2answers
1k views

linux\solaris + print specific date format from file

subject - print file date on solaris as format: yymmdd ( yy - year , mm - month , dd - day ) on Linux machine I type the following command in order to get: file date as the following: ls -l ...
0
votes
2answers
210 views

linux/solaris + how to verify OS (linux / solaris ) creation date

Please advice – how to verify OS (linux / solaris ) installation creation date which file/packages/other – can be good indication when the operation system was created/installed ? For example I ...
1
vote
1answer
172 views

Solaris' `killall` [closed]

This question is inspired by question “linux/solaris kill many proccess with one command”. Solaris' killall is described there as killing every process without any name matching, as is the case on ...
1
vote
3answers
1k views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
0
votes
1answer
985 views

zfs pool error, how to determine which drive failed in the past

I had been copying data from my pool so that I could rebuild it with a different version so that I could go away from solaris 11 and to one that is portable between freebsd/openindia etc. it was ...
0
votes
1answer
749 views

How to find maximal value for “zfs set quota” without changing quota?

How do I find out how far I can go extending the quota on a ZFS file system (Solaris 10)? I was told to set zfs set quota=none and then set it back to the original value, but I'm not allowed to do it. ...
1
vote
0answers
268 views

Virtual fiber channel HBA in Solaris

We are trying to set up some virtual Fibre Channel HBA's in Solaris. This seems to be possible with NPIV. Creating NPIV's in a Solaris global zone works fine, but passing that NPIV to a zone didn't ...
1
vote
0answers
258 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, ...
0
votes
1answer
317 views

perl + sed + remove lines that start with “#”

please advice I have linux and solaris machines, and I need command that work on both OS I use the following perl line in order to remove all lines that start with "#" why perl command not work , ...
1
vote
2answers
531 views

How to configure HA iSCSI for Solaris 10

BACKGROUND: We have a StarWind NAS that we are currently using for High Availability storage with our Windows network. Starwind has mirrored drives and multiple ip paths, that the Windows Server ...
-3
votes
2answers
397 views

linux + solaris + delete all characters in file except numbers and dot char [closed]

please advice how to delete all characters in file except numbers and "." Should be implemented by sed or awk or perl ( one line ) or any other idea , so I will add the syntax in my ksh script ...
0
votes
1answer
10k views

SFTP: Move (rename) many files from one folder to another (not one by one)

I need to move all the files from current_path to current_path/DestinationFolder. The version of SFTP I'm using is: SFTP protocol version 2 The available commands are: sftp> help Available ...
2
votes
1answer
561 views

Disable the console beep/bell under Illumos / Solaris?

When I login to the console of my Solaris box any command that would normally generate a bell (tab completion with more than one result, pressing an arrow key one too many times, etc) causes the ...
1
vote
1answer
222 views

Solaris 10 snmp exec multiple strings

I am trying to use snmp to query a directory listing. I have added the exec line to snmp.conf ("exec list /bin/ls /pathtodirectory") and restarted the service. When I perform an snmp walk for the exec ...
3
votes
2answers
1k views

can I consolidate a multi-disk zfs zpool to a single (larger) disk?

I have this zpool: bash-3.2# zpool status dpool pool: dpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM ...
-1
votes
1answer
89 views

Sun Solaris 10, /opt folder accidentally become file

While i was copying some files in /opt folder through WINSC, the /opt folder become file. Can you please inform how to make this again in folder?
2
votes
1answer
709 views

How can overlapping NFS permissions be configured?

I am running Solaris 10 on my NFS server. I am struggling with how to setup read-only access to a share from a subnet, but allow read-write access from a system within that subnet. On the Server: ...
3
votes
1answer
416 views

Solaris 10: BIND 9 Chroot Service fails to start with SVCADM but works when run manually from root

I recently upgraded with Solaris patches and after the reboot my Bind Named services go into maintenance mode. bash-3.2# svcs -xv svc:/network/dns/server:chroot (?) State: maintenance since Thu Nov ...
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 ...
3
votes
1answer
734 views

How to set up IP forwarding on Nexenta (Solaris)?

I am trying to set up IP forwarding on my Nexenta box: root@hdd:~# uname -a SunOS hdd 5.11 NexentaOS_134f i86pc i386 i86pc Solaris The box has 2 network interfaces: root@hdd:~# ifconfig -a lo0: ...