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
528 views

@reboot cron directive doesn't work on Solaris? What do I use instead?

I just tried to use contab -e on a Solaris server to add this line: @reboot /root/reboot.sh The script starts up the web application. But the trouble is that this syntax is rejected. # crontab -e ...
0
votes
2answers
214 views

OpenIndiana Static IP

I've installed OpenIndiana 151a7 twice now. Configured a static ip using the following instructions: svcadm disable svc:/network/physical:nwam svcadm enable svc:/network/physical:default cp ...
1
vote
2answers
167 views

re-create new link and remove the old link on one command

according to ln manual page: man ln -f, --force remove existing destination files so as I understand if I want to re-create new link to some destination directory/file I can ...
1
vote
1answer
1k views

Sun Netra 240: How to get from ALOM menu to ok prompt?

I am connected to my server using a serial connection. I am currently at the ALOM menu (as shown below. I need to get to the {ok} prompt. How do I get there from here? FYI, One major complication: I ...
0
votes
2answers
280 views

How to find files with top io on solaris ZFS?

I have a Solaris 10 ZFS based NFS server. The physical disks are more or less at their maximum io rates. Performance is very bad - so we will add spindles. The NFS solely serves as storage for ...
0
votes
1answer
74 views

Restrict openSSH 6.1p1 logins via LDAP to an IP range

I have some servers in the DMZ that receive public traffic from an external (public) IPv4 address. This is translated at our gateway to a 172.x.x.x address. All external clients are using local ...
0
votes
1answer
54 views

DB2-Express-C and Postgresql using raw harddrive as datastore

I have a system running Solaris with 2 harddrives. One holding the OS and the other unpartitioned. I was thinking about using the second as database space. My question is, if it is possible to let ...
1
vote
1answer
455 views

Solaris 11.1 x86 won't boot, verifying DMI Pool. How to install or verify boot blocks

x86 Solaris 11.1 had a mirrored ZFS root pool (rpool) which was 2x 320GB disks, I detached one and replaced with a 500GB disk which resilvered ok so ran the "bootadm install-bootloader" and did the ...
1
vote
1answer
560 views

Solaris 11.1 ZFS Root rpool shows one disk unavailable and online, how to detach

This is an x86 Solaris 11.1 installation. I have two zfs pools R500 and rpool I wanted to upgrade R500 from 500GB disks to 2TB which I've done then use the 500GB disks as root rpool disks to replace ...
2
votes
2answers
2k views

How to remove the OpenSolaris ZFS dump device

The ZFS dump device is used only for debugging problems. In this case, I have decided the risk vs reward is such that I should delete the dump device to make room for other storage. I am able to ...
1
vote
1answer
187 views

OpenSolaris: What is the Dump device for?

What is the purpose of rpool/dump? Is is useful or necessary? When is it a good idea to re-size it? When is it a good idea to disable and remove it?
0
votes
1answer
114 views

Tshark read offline file start so slow

I execute tshark (wireshark utility) command that reading from pcap file. Process is too slow. Sometimes take more than 6-7 seconds. Pcap file is really small (~500bytes). Actually strange thing is ...
-2
votes
1answer
205 views

Cross-Compiling on x86 for Solaris SPARC [closed]

I've looked at a few sources on how to go about cross-compiling, and from what I understand, I need the header files for the system I am compiling for. Some background info: The school I am a student ...
3
votes
2answers
718 views

Why can't I launch more than 1000 processes in Solaris 11?

I'm trying to launch more than 1000 processes, but it hangs at 999. e.g. #!/usr/bin/env zsh for i in {1..$1} ; do sleep 300 & done Then running it, $ ./launchsleep.sh 3000 ...
2
votes
1answer
548 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
80 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
2k 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
247 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
569 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
72 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
176 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
236 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
632 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
617 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
111 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 ...
2
votes
3answers
6k 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
132 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
125 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
92 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
134 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
725 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
795 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
364 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 ...
13
votes
4answers
34k 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
153 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
167 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
4k 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
217 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
635 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
129 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
94 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
179 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
167 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
647 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
810 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
506 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. ...