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
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
879 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
904 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
385 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 ...
15
votes
4answers
42k 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
176 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
225 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
757 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
135 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
96 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
185 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
169 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
824 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
887 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
593 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
241 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
228 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
295 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
493 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
368 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
499 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
212 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
649 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
377 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
931 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
653 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
221 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
319 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
199 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
927 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
452 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
397 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/ ...
0
votes
1answer
218 views

bash + run command in tcsh from bash

when I run from bash shell the command: bash for i in 1 2 3 ; do echo $i ; done 1 2 3 but when I switch to tcsh and want to run: tcsh bash -c for i in 1 2 3 ; do echo $i ; done i: -c: ...
0
votes
1answer
111 views

solaris + manipulate lltconfig command

I work on Solaris 10 machines (eg de1a and du1b). Regarding the lltconfig command, is it possible to view only one device (eg NIC e1000g0) and not the entire list? For example I want to get only ...
1
vote
1answer
141 views

solaris + match the network device name according to IP address

how to find the device name as ( e1000g2 , e1000g3 , etc ) according to his IP address on Solaris machine for example ifconfig -a | grep 10.106.134.133 inet 10.106.134.133 netmask ...
0
votes
1answer
145 views

Zpool list showing blank values

My problem is that when I call zpool list it gives this blank output.... NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT - - - - - - - - However a zfs ...
1
vote
1answer
75 views

tar + tar not open all files

When I want to view the following tar file , then tar show the following three files from /var/tmp tar tvf fix.tar install.sh /usr/cti/apps/swp/dir/script1.sh ...
0
votes
1answer
1k views

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old ...
0
votes
2answers
598 views

Which machines are trying to connect to my Solaris machine via SSH?

I have a Solaris machine ( Solaris 10 ) Is it possible to see from my machine ( logs ) which machines are try to connect to my machine by SSH?
0
votes
1answer
434 views

expect script + how to perform case in expect script

the following expect script target is to print the hostname name from linux/solaris machine and according to hostname results expect script will run linux.ksh or solaris.ksh script ...
0
votes
1answer
392 views

expect script + write “if” in expect script

please advice what's wrong with my exepct syntax ( I run expect in ksh script on Solaris 10 machine ) I want to verify if OS is linux so if it true the expect check if prompt is "#" or ">" and ...
1
vote
2answers
168 views

Issues while untaring in Linux- tarball created from Solaris

I am getting an error- Unknown file type 'A', extracted as normal file while un-tarring a set of files which has acl permissions set. I had created the tar file in solaris as tar -cpfv ...
0
votes
1answer
776 views

Copy directory structure from Solaris preserving all the permissions and links

I am looking to copy a directory structure with Files, I am not looking for content a 0 byte file will do. I just need to copy the directory tree with 0 byte files and links preserving the properties ...