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

Get the list of active users[ users who has connected atleast once in last 6 months] in Solaris

Get the list of active users[ users who has connected atleast once in last 6 months] in Solaris10
2
votes
2answers
772 views

How do I draw a layer 2 (link layer) network map containing Cisco and *NIX boxes?

I've been tasked with drawing a layer 2 network map of our very small datacenter network. There is one 1841 cisco router, two 3560 cisco catalyst switches and 4 solaris sunfire T-1000 boxes. I have ...
0
votes
1answer
1k views

Configuring 'audit' facility in syslog-ng on solaris server?

This is a follow-up to this question. mghocke was kind enough to help me out with that question, but this is really a separate question, therefor a new post. I really don't know a lot about syslog, ...
0
votes
1answer
5k views

Solaris10 x86 mirror. Making second disk booteable when failure

Did a mirror (RAID1) with Solaris 10 in x86. Everything OK. Now, I´m trying to make the second disk booteable, this is: from grub or in case of failure of disk1. I edited /boot/grub/menu.lst: ...
2
votes
1answer
809 views

Moving from syslog.conf to syslogng.conf

I'm moving a Solaris box from syslogd to syslog-ng, because the Solaris version of syslogd obliterates the original source hostname on the logs. I'm looking through the syslogng.conf documentation, ...
1
vote
4answers
2k views

How to Automatically Create Home Directory for Active Directory User on Solaris (using PowerBroker)

I have a number of existing users in Active Directory that need a home directory created. They don't log directly in to Solaris but into a service running on that box. If I login as them their home ...
2
votes
1answer
241 views

Start a screen through svcadm with Solaris 11

I am running into a problem when trying to start a detached screen through a Solaris 11 service. This service controls nginx. When I reboot the system, the screen doesn't start, but if I issue ...
0
votes
2answers
103 views

Can I start an application during system startup as non root?

I have a Tomcat server application running on a Solaris 10 server in my company. I have no root access so every time when the system reboots I must manually start the server again. Is it somehow ...
1
vote
1answer
314 views

Nexenta, NFS and LOCK_EX

I'm currently using an LAMP architecture and I expect a big problem :( I have several http web server using PHP5. All are mounting via NFS (v3) the directory for all the hosted websites. The file ...
-1
votes
1answer
951 views

solaris 10 + install solaris from cdrom + read disk error

I want to install solaris 10 on my netra machine - T5220 {0} OK boot cdrom - install but I get the errors below - please advice what could be the problem ? can't read disk label can't open disk ...
3
votes
2answers
645 views

Re-assigning raw SAN disks from Solaris to Linux

We have a SYBASE IQ database running on Solaris using raw devices as underlying storage for the database. We would like to migrate this environment from Solaris to Linux. Is it possible to just ...
0
votes
1answer
242 views

Installing Solaris 10 on sunT5220 - ZFS/UFS raid 10?

I am in a bit of a time crunch, and need to get two T5220's built. We were very happy to see two boxes in our aged inventory which had 8 HDD's each, but didn't think to check if they were running ...
1
vote
1answer
361 views

How to Set up Amazon EC2 with Nexenta OS?

I want to use Nexenta os for testing purpose and really want to test it out over aws ec2. I couldnot find any Nexenta os ami's. So, i was wondering if there's any way to set up Nexenta os on aws ec2 ...
3
votes
2answers
3k views

Solaris: What is the difference between .so and .so.1 files?

I am trying to understand how/why certain library files are dynamically loaded by the linker on Solaris. I am using ldd to see this (with the -s switch to see what paths are tried by the linker). As ...
3
votes
1answer
745 views

Why would different versions of openssl produce different hashed filenames for the same root cert?

OpenSSL - Solaris - Windows When I run c_rehash (OpenSSL 0.9.x in Solaris) and c_rehash (OpenSSL 1.1.x in Windows), the same exact cert.pem file gets converted to a .0 file with a completely ...
0
votes
1answer
4k views

solaris + dladm + what is unknown state and how to bring it to up?

I installed Solaris 10 on my netra machine from dladm show-dev I can see which interface are down or up all interfaces are connected to the Cisco switch , and all leds are light's on all LAN cards ...
0
votes
1answer
100 views

How to patch Solaris

I have Solaris 10 and 11 running on my system. I want to update all of them to newest patch. I don't have license or support plan for Solaris yet (the OS is pre-installed on my server). On Solaris 11 ...
1
vote
2answers
373 views

Solaris: what's a kernel trap?

I'm trying to understand whether the high trap count reported by top on Solaris 10 Kernel: 1659 ctxsw, 1069 trap, 4433 intr, 3837 syscall, 5 fork Memory: 8192M phys mem, 299M free mem, 4103M total ...
11
votes
2answers
677 views

Why are all of my ZFS snapshot directories empty?

I'm running an Oracle 11 box as a ZFS storage appliance, and I'm taking regular snapshots of the ZFS filesystems, via cron. In the past, I know that if I wanted to grab a particular file from a ...
2
votes
5answers
10k views

SSH Keys Authentication keeps asking for password

Im trying to set access from ServerA(SunOS) to ServerB(Some custom Linux with Keyboard Interactive login) with SSH Keys. As a proof of concept I was able to do it between 2 virtual machines. Now in my ...
1
vote
1answer
786 views

solaris ssh port forward

I have been trying to create a ssh tunnel from a Linux box to a mysql server on a Solaris box with: ssh -i <some_private_key_file> -L 3333:localhost:3306 root@<Solaris box> command on the ...
6
votes
1answer
1k views

Does ZFS replace the need for hardware/software RAID?

I want to provide protection against data loss on my servers. Typically, I'd use hardware RAID 1 or 5, but I've been reading up on ZFS. Is it correct that ZFS itself provides RAID 1 or 5 like data ...
0
votes
1answer
348 views

solaris + metadb + hard drive mirroring

I have Solaris machine With two disks (the disks defined as RAID 1 (mirror configuration ) actually when I pull out one disk the second disk will be active The problem is that when I run metadb on ...
0
votes
1answer
802 views

Solaris 11 ldap client configuration

Im am trying to migrate some web services (like wordpress / dokuwiki), which are connected to our ldap for user authentication, from solaris 10 to solaris 11. In solaris 10, you had the possibility to ...
1
vote
1answer
2k views

linux/solaris when to use tar or gtar

is it possible to know when need to use tar or gtar according to tar file for example I have some tar file as sometarfile.tar how to know if need to use tar or gtar command ? is it possible ...
0
votes
1answer
200 views

Stopping an specify Apache instance

I have two Apache instances setup in my server (Solaris 10): Instance 1: /etc/apache2 Instance 2: /etc/apache2-instance2 To start the instance 1, I execute the following command: ...
1
vote
2answers
83 views

linux or solaris match files with uniq syntax

how to match all files that start with the string OS_PATCH and ended with .gz remark - the solution must to fit Linux and Solaris OS this task could be by find command or maybe with ls with ...
1
vote
2answers
3k views

LDOMs in Solaris 11 don't work

I just got a new Sun Fire T2000, installed Solaris 11 and was going to configure LDOMs. However "ldmd" can't be started and in turn ldm doesn't work. root@solaris11:~# ldm Failed to connect to ...
1
vote
3answers
3k views

Solaris SMF Services - Method “start” exited with status 96

Hi I'm trying to start a new service on server reboot and I got this error on start: "Method "start" exited with status 96". Also my service in on "Maintenance" state. My service is working when I ...
0
votes
1answer
2k views

syslog written on console

I have odd problem with syslog local7, my syslog configure the syslog to be written to local7.info /var/log/syslog_info it's working just fine for years but recent days one device syslog message ...
3
votes
2answers
462 views

Understanding core dump (Solaris 11 crash)

I'm still trying to get behind crashes on my Solaris 11 system. Recently, a core dump has been written during the crash. Looking into it with mdb yields > $C ffffff0021c09430 vpanic() ...
2
votes
2answers
412 views

Perl command line + add PATH before string in file

I want to add the PATH - /usr/local/bin/perl befpore string in the file by perl command line ( the perl command line must be in my bash script ) , I have solaris machine the target to add - ...
5
votes
1answer
1k views

Solaris 11: understanding high values in the kernel statistics

what can cause these kernel statistics (as reported by top) to be so high? Kernel: 152661 ctxsw, 2475 trap, 99065 intr, 1449 syscall, 3 fork, 2373 flt Usually, my system has much lower values, e.g. ...
0
votes
2answers
328 views

wall command + broadcast message not appears on second cluster machine

I have two cluster solaris machine ( machine1 , machine2 ) I have connection between two machines ping and ssh work fine ( cluster is fine ) more /var/tmp/mesg TEST I execute the following ...
0
votes
2answers
5k views

expect + how to install expect on solaris

subject - install expect on solaris in order to write expect scripts details from my machine: uname -a SunOS 5.10 Generic_139555-08 sun4v sparc SUNW,Netra-T5220 I installed Solaris machine ( ...
0
votes
1answer
54 views

Apache 2 on Solaris 10 image for Virtual Box compliation flags detection

"The version of Apache 2.0 that ships with some operating systems, including some versions of Solaris and Linux, is compiled with the following flags: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 " ...
4
votes
1answer
1k views

Solaris 11 hangs randomly: need help to figure out the reason

I've got Solaris 11 (+latest SRU) running on an HP DL385 G7 (attached to P2000 storage w. 30 disks; they are registered as separate RAID0 drives, but I'm using ZFS' raidz1), which is our file server. ...
0
votes
1answer
269 views

I compiled samba 3.6.4 on Solaris 9, and can't get smbd to run

I compiled the latest release of samba on a Solaris 5.9 system to address CVE-2012-1182, and I'm getting this result when I run smbd. fs17151# ./smbd -i smbd version 3.6.4 started. Copyright Andrew ...
2
votes
2answers
96 views

perl + Match last number in file and reduce it by one

I want to add the following perl command in my bash script please advice how to change (reduce by one ) the last number that start with "+" character in file with perl ? Example of original file ( ...
3
votes
1answer
543 views

sed + delete line only if line ended with specific character

need help - how to delete the line from the file if the last char is - ":" with sed , on Solaris machine for example sed will remove the following line (include the black line) ...
1
vote
3answers
2k views

Unix - how to get hostname along with domain name

In unix (solaris) is there any command where i can get hostname & domain name together?? ex. hostname -> servername domainname -> us.xyz.com i need it output as : servername.us.xyz.com
2
votes
1answer
722 views

Viewing map of iSCSI target -> LU in COMSTAR

I'm creating a number of iSCSI targets on an OpenIndiana server using COMSTAR. Basically: zfs create -V 10g pool/comstar/vol sbdadm create-lu /dev/zvol/rdsk/pool/comstar/vol stmfadm add-view ...
2
votes
2answers
6k views

What does RUNNING in ifconfig output mean?

Does anyone know what the RUNNING flag in ifconfig output means? (I don't know that it matters much, but this is on a Solaris 10 box.) The only thing I've been able to find on it so far is this ...
1
vote
1answer
2k views

`echo ::memstat | mdb -k` very slow on certain machines

As stated in the title, when I run echo ::memstat | mdb -k on certain machines, it is very slow. My munin graphs show a vastly increased CPU load when I run this regularly. I intend to use ::memstat ...
0
votes
1answer
1k views

GDM configuration on Solaris 11?

On Solaris 10 it was located in /etc/X11/gdm/gdm.conf but that file is missing from a standard Solaris 11 install. When I run the command slocate gdm.conf the only file I get is ...
0
votes
2answers
108 views

ZFS pools and filesystems

is there any way to understand (using zfs and zpool commads) to whcih pool is a ZFS filesystem assigned? Thanks in advance
0
votes
3answers
5k views

I would like to know the equivalent command to curl in Solaris

I would like to know equivalent command to curl in Solaris. As in Linux, the curl command is used to find the website activity. Kindly let me know command to check website in Solaris.
1
vote
1answer
176 views

solaris + eeprom + change parameter value

by eeprom command that run on Solaris machine I can see displays or changes the values of parameters in the EEPROM my question - how to change the parameter scsi-initiator-id to 6 in place of 7 ? ...
1
vote
1answer
113 views

tput command + bold specific strings in file

please advice how to bold the "Date & Time" numbers from the following file with tput command ( I have Solaris machine) for example I want to bold only the "24-09-2009 16:17:45" etc for all other ...
2
votes
1answer
219 views

nl command + number each line in a text file only from the third line

I want to number each line in a text file on Linux/solaris by nl command but only from the third line - is it possible ? and if yes please advice how ? for example line1 line2 1 line3 2 line4