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

1
vote
2answers
202 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
269 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
696 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
714 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
132 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
7k 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
135 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
139 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
108 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
146 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
937 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
948 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
394 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 ...
17
votes
4answers
46k 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
162 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
180 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
232 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
809 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
137 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
97 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
192 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
170 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
909 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
910 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
640 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
254 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
233 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
302 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
511 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
372 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
8k 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
525 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
214 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
82 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
663 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
383 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
976 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
679 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: ...
-1
votes
1answer
224 views

ZFS Configuration advice

I need some advice on configuring ZFS. Here is what I have: Physical Disks: 4x 3 TB 2x 2 TB 2x 1 TB What is the best configuration for my Vdevs and storage pool. I want to maximaze space but ...
1
vote
1answer
328 views

Can I recover a zpool after it's been exported, given that devices have not been reallocated?

I had a zpool we'll call 'testpool'. testpool had 3 devices included in it, and a single zfs called 'test'. I needed to move 'test' to a new, smaller pool. I wanted to name the new pool the same ...
0
votes
1answer
205 views

Solaris 10: OpenBoot setenv set-defaults

I was trying to change the default mountpoint for /usr in /etc/vfstab. I am running Solaris 10 on a Sun Fire 480R. Unfortunately, I made an error with editing the /etc/vfstab so I could no longer ...
1
vote
1answer
943 views

Solaris 10: How to remove devices from a zpool with /usr currently mounted?

I use Solaris 10 on SPARC. I have /usr legacy mounted on a zpool 'usr-pool'. I now need to move some of the devices in usr-pool to another zpool which is running out of room. What is the safest way ...
10
votes
1answer
455 views

Why is SMF manifest losing configuration data when exported on SmartOS?

I'm running a server process under SMF (Server Management Facility) on Joyent's Base64 1.8.1 SmartOS image. For those not aqauinted with SmartOS, it is a cloud-based distribution of IllumOS with KVM. ...
1
vote
1answer
411 views

Force proxy settings (Solaris\Linux)

I have tried the following from the command line in solaris: DATE TIME user@host> bash bash-3.2$ export http_proxy=http://localhost:8080/ bash-3.2$ echo $http_proxy http://localhost:8080/ ...