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
262 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
420 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
315 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
6k 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
441 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
200 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 ...
-1
votes
0answers
116 views

sdparm on solaris: what device name to use?

I am trying to get sdparm working on a Solaris (Express 11) machine. I got it compiled, but stuck at figuring out the device name syntax to use when calling it. Trying something like ...
2
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
81 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
548 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
341 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
795 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
563 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
201 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
283 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
180 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
874 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
425 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
356 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
136 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
106 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
126 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
135 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
73 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
508 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
398 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
326 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
140 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
710 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 ...
-3
votes
4answers
120 views

Which version of Solaris for my Sun Sparc system? [closed]

I'm about to buy a used Sun Sparc machine (Sun Blade 2500 Ultrasparc IIIi 1,28Ghz) in order to use it as a personal development server. Problem is, it is sold without any OS. I would like to install a ...
1
vote
2answers
495 views

Compiling PHP on Solaris

I'm compiling PHP with --enable-fpm on Solaris 10 (sun4v sparc SUNW,Sun-Fire-T1000) and it stops at #error Sparc v8 and predecessors are not and will not be supported (see bug report 53310) ...
1
vote
0answers
115 views

Accidentally resilvered 2 drives

We had 2 failed drives in our ZFS raidz1 pool. One had been resilvered to a spare and another was just out. The pool was in degraded mode. I replaced both drives and began the resilver on the ...
0
votes
1answer
410 views

Solaris Slow ARP Failure Unreachable Host

We have been experiencing slow timeouts for unreachable hosts is extremely slow. Recent testing in our lab shows it may be a delay reporting negative ARP lookups. Dumping traffic during attempts to ...
0
votes
1answer
418 views

Solaris 10 - Netra 240 - Trying to get to ok prompt

Using system console access to Solaris 10 on a Netra 240 and pressing Ctrl+Pause on my keyboard gives me the following: SC Alert: SC Request to send Break to host. No ok prompt appears however, just ...
0
votes
1answer
432 views

What does powercf do on the Solaris file system or EMC storage?

When I run powercf command on my Solaris machine, what changes does this command do on the EMC storage, or on Solaris file system? From the manual: DESCRIPTION During system boot on Solaris ...
1
vote
1answer
198 views

Solaris spoof mac impossible

I need to spoof the MAC address in Solaris 10, running in a ESXi VM. The MAC I need is outside the range permitted by vSphere. So I add an "ether" entry to /etc/hostname.e1000g0 so the file says ...
2
votes
1answer
480 views

Solaris 10: Drop disk cache? (to benchmark app)

Is there a command to drop the ZFS and UFS disk caches? (Preferably just one folder hierarchy.) I'm trying to tuning the performance settings of an application that read/writes data from a large ...
3
votes
2answers
409 views

expect script to support two expected characters

I want to run sshd restart on Linux and Solaris machine via expect ( my expect run in my ksh script ) I create expect script so when expect see the prompt "#" then he run sshd restart but the ...
1
vote
2answers
1k views

git on solaris 10

I would like to install git on a solaris 10 sparc 64 bit machine. Is there a trustworthy repository for solaris packages (like git)? I would like a binary package. sunfreeware seems to cost money ...
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
3answers
359 views

Can Solaris RBAC roles be ported to Linux using SElinux only?

We are migrating an application from Solaris to Linux and the main user is allowed, through the use of RBAC roles, to run a few system commands like svccfg/svcadm (chkconfig on redhat). Is it ...
1
vote
1answer
1k views

script not run after reboot from /etc/rc3.d

I create symbolic link to the file - /etc/rc3.d/platform.bash from /var/tmp/platform.bash ln -s /var/tmp/platform.bash /etc/rc3.d/platform.bash script exist under /var/tmp : ...
0
votes
3answers
4k views

Solaris 10: How to image a machine?

I've got a Solaris 10 workstation that I'd like to create a full image backup from. The machine has 2 drives, one UFS for system root, and 1 ZFS for data storage. I intend to add a third HD to keep ...
1
vote
2answers
1k views

Solaris 10 x86 - trying to replace disk in zpool

I am having trouble replacing a disk on an existing zpool on a system running Solaris 10 on an x86 processor. The zpool was originally created with two mirrored slices. One of the drives failed, so I ...
0
votes
1answer
307 views

Solaris 10: Disable default sendmail inboxes

An inbox is automatically created for every UNIX user on the box, when the mail is sent to the nodename of the system. Is there a way to disable these default inboxes? An example of one of these ...
1
vote
4answers
1k views

Cross-platform, human-readable, du on root partition that truly ignores other filesystems

Edit 09/20/2012 I made this way too complicated before. I believe that these commands are actually the simpler way, while still formatting everything nicely. RHEL 5 du -x / | sort -n |cut ...
1
vote
1answer
2k views

Solaris 10 zone network configuration

I am testing out zones on Solaris 10, release 10/09 (s10x_u8wos_08a) with Generic_142901-04 kernel. The host server has two physical NIC's (bnx0 and bnx1), and since I am intending to run several ...
-1
votes
1answer
700 views

solaris + logadm command

When I run logadm on my Solaris 10 machine I get exe status - 1. My target is to run the command with exe status - 0 What do I need to do in order to run my logadm successfully and to get exe status ...
1
vote
2answers
198 views

x86 KSSL benchmarks for SSL-enabled Java app

So; Java's SSL implementation is not particularly quick under most circumstances. I've seen blogs demonstrating noticeable speedups when a Java app is moved to Solaris to take advantage of its ...