5 votes
Accepted

How is uptime tracked in UNIX?

uptime gets its information from a date stored in memory when the system boots. After a system restore the kernel starts with new information. However the last information comes from a file, e.g. /...
Déjà vu's user avatar
  • 5,616
3 votes

Explain load averages on Solaris 10

Quite a late reply but the accepted answer still has incorrect statements, is missing parts of the point, and suggest statistics lies while there is no reason here not to trust the ones reported by ...
jlliagre's user avatar
  • 8,911
2 votes

Where are the CA certs on Solaris 10

Updated answer for Solaris 11 (even though tags specify 10, this was the first hit when I needed the same info, but for Solaris 11): /etc/certs/CA/ in PEM format, vendor provided. Not sure about back-...
Justin's user avatar
  • 143
2 votes
Accepted

Solaris SMF: Kill with custom signal, or get PID, or prevent kill of children

exec=":kill -USR1" does the trick. Without SIG. I was looking for this when defining method="refresh". jperkin set me straight with his example of exec=":kill -HUP", whereas on SmartOS using exec=":...
doublerebel's user avatar
2 votes

Where does Solaris 10 keep a log of pfexec attempts?

Found it logged under audit class as. Then using: auditreduce -c as <audit_log_file> | praudit | grep "profile command"
roartechs's user avatar
  • 231
2 votes

Sparc 5440 hangs during boot from cdrom

Seems that you replaced disks from other system with hardware RAID on it. You need to remove this RAID OR activate it. The first way. The longer way is to remove it via OS, but you need to know ...
Sasha Golikov's user avatar
2 votes
Accepted

Is there an equivalent of /etc/sysconfig/servicename for Solaris?

Solaris 10 and 11 use what's called the Service Management Facility (SMF). The equivalents to Linux /etc/default/servicename and /etc/sysconfig/servicename would be found somewhere in the SMF's data. ...
Andrew Henle's user avatar
  • 1,282
2 votes
Accepted

Solaris 10 zone: ping does not resolve but nslookup does

I reviewed some old system build notes, and found (and tested) the solution. I did create the proper /etc/resolv.conf in the zone, but that wasn't enough. You also need to edit the default /etc/...
Huntrods's user avatar
  • 237
2 votes
Accepted

LDD cannot find library on sol11_64 bit

Since this library was a new dependency on sol11_64 all of a sudden, I needed to add it elsewhere in our makefile, specifically our LIBS variable, which is passed in during linking along with the ...
codenaugh's user avatar
  • 145
1 vote

Can we change the name of rpool?

To change the name of the pool, you should merely import it (which implies of course previous export) with the new name; however for root pool this requires the single mode and/or booting up from the ...
drookie's user avatar
  • 8,759
1 vote

SOLARIS 10 ZFS, I want to add spare with rpool but it gives me this error "cannot label 'c1t4d0': EFI labeled devices are not supported on root pools"

You can change the EFI label with command: # format -e c1t4d0 . . . format> label [0] SMI Label [1] EFI Label Specify Label type[1]: 0 Auto configuration via format.dat[no]? Auto configuration via ...
Romeo Ninov's user avatar
  • 5,898
1 vote

In SOLARIS 10 ZFS, I want Hot spare pool and want to associate its 1st disk with rpool and 2nd disk with the xpool. What will be the complete method?

You can use commands like: zpool add rpool spare c2t3d0 zpool add xpool spare c2t4d0 This will add c2t3d0 as spare to rpool. Similar about the other disk.
Romeo Ninov's user avatar
  • 5,898
1 vote
Accepted

Solaris 10 stuck at boot

So i've been able to fix this by upgrading the firmware of the server from the ilom cli. All is fine now
Damola's user avatar
  • 31
1 vote
Accepted

OS boot failure and automatic reboot in a Sun T5220 SPARC server

I haven't managed to find out the root cause of this problem. Nevertheless, a way to resolve it is to: Switch to the OK prompt. Boot in failsafe mode (ok: boot -F failsafe) and mount the root mount ...
Kapoios's user avatar
  • 91
1 vote

How to disable systat on Solaris 10 & 11

That document does not apply to Solaris 10 or 11 - if you read the introduction it discusses installing the "Solaris for ISPs" software on top of Solaris 2.6 using Java 1.1 and the HotJava browser, ...
alanc's user avatar
  • 1,500
1 vote

looking for dtrace script to list top used nfs files

The docs for the NFS DTrace provider are pretty good on the Oracle website. The scripts in particular that look useful to you are nfsv3fileio.d or (to get a lot more data that you might have to post-...
Dan's user avatar
  • 290
1 vote

Solaris 10 top more free memory than real

Solaris has different attitude in representing memory, I strongly encourage you use below instruction to get Mem info # echo ::memstat | mdb -k Page Summary Pages MB %...
Sh0o's user avatar
  • 11
1 vote

Can't install Solaris 10 on XenServer 6.5 VM

Solaris 10 (or any version of Solaris for that matter) isn't a supported guest in XenServer 6.5. Earlier versions appear to have supported it but not 6.x. There is an interesting discussion on the ...
user9517's user avatar
  • 116k
1 vote

inconsistency between format and probe-scsi-all outputs

I've run into this before, and in my experience, is because one of two reasons: The disk is slightly different than the others. It has a slightly different disk geometry, or already has some kind of ...
Tim S.'s user avatar
  • 569
1 vote

performing `cat` results in `Value too large for defined data type error`

Technically the other answer is correct. But what is happening is cat attempts to open the file you're trying to read, and calls (f)stat which is where the problem lies (you can see this by running ...
galois's user avatar
  • 111
1 vote
Accepted

Is it possible to mount CIFS onto Solaris 10 server

smbfs/cifs is not supported on Solaris 10. however, you can use smbclient to access the share from Solaris 10 (this is what we do), with something like : /usr/sfw/bin/smbclient -m SMB2 -W DOMAIN -U ...
olivierg's user avatar
  • 524
1 vote

Perl virtual environments?

How would you switch the current version? Is there something for Perl which is like virtualenv? Yes, Perlbrew is a virtualenv equivalent for Perl.
Starfish's user avatar
  • 2,745

Only top scored, non community-wiki answers of a minimum length are eligible