Category Archives: Uncategorized

Fixing /etc/group

/etc/group can have a few problems. The biggest one is when a line gets too long and then you cannot add more users to a group. The maximum line length for /etc/group in Solaris 10 is 2048 characters. grpck will … Continue reading

Posted in Uncategorized | Leave a comment

Local Zone Mounts

File systems in Local Zones are usually mounted from the global zone. If they need to be remounted you have to use the file system type “lofs”. Like so: root@GZHost: grep redo /etc/zones/LZHost.xml root@GZHost: mount -F lofs /zones/LZHost_mounts/oraredo/pkg1/fs02 /zones/LZHost/root/oraredo/pkg1/fs02 These … Continue reading

Posted in Uncategorized | Leave a comment

M5000 locator LED

M5000 locator LED: XSCF> showlocator Locator LED status: Off XSCF> setlocator -h usage: setlocator blink|reset setlocator -h XSCF> setlocator blink XSCF> showlocator Locator LED status: Blinking

Posted in Uncategorized | Leave a comment

vxreattach

In Veritas sometimes disks come up as failed in vxdisk list, but they are not really failed or even gone. For instance, on a SAN array. How do you “recover” them though if there is nothing wrong? Run: /etc/vx/bin/vxreattach

Posted in Uncategorized | Leave a comment

fmadm faulty

After a system is set up for the first time I find there is sometimes “junk” in the “fmadm faulty” output. I also find that after Oralce replaces hardware “fmadm faulty” still shows it as failed. While “fmadm faulty” is … Continue reading

Posted in Uncategorized | Leave a comment

Fault lights on SPARC system when there is no fault

Incorrect LEDs on front of system. It may be the ILOM (Service Controller) needs to be reset. Go to the console, and use #. to drop to the ILOM prompt and run: reset /SP This only restarts the service controller, … Continue reading

Posted in Uncategorized | Leave a comment

Corrutp lable; wrong magic number error messages

Systems often suffer from a barrage of these errors in /var/adm/messages and sometimes at the console too: Jun 8 20:49:27 hostname Corrupt label; wrong magic number Jun 8 20:49:27 hostname scsi: WARNING: /scsi_vhci/disk@g5000c50017c15b4b (sd39): Running “print|format” seems to bring them … Continue reading

Posted in Uncategorized | Leave a comment

Corrupt label Wrong Magic Number errors

Systems often suffer from a barrage of these errors in /var/adm/messages and sometimes at the console too: Jun  8 20:49:27 HOSTNAME        Corrupt label; wrong magic number Jun  8 20:49:27 HOSTNAME scsi: WARNING: /scsi_vhci/disk@g5000c50017c15b4b (sd39): Running “print|format” seems to bring them … Continue reading

Posted in Uncategorized | 2 Comments

Defaults for useradd

The defaults used when creating a new user are kept here: /usr/sadm/defadduser As man will tell you, you can run this command to see those defaults: useradd -D Use man to see how to change the various defaults. For example, … Continue reading

Posted in Uncategorized | Leave a comment

TCP Wrappers on Solaris 10

To get TCP Wrappers working on inetd services in Solaris 10: inetadm -M tcp_trace=TRUE inetadm -M tcp_wrappers=TRUE svcadm refresh inetd That changes the DEFAULT (capital M). A lowercase “m” will just do one service (and thus you have to give … Continue reading

Posted in Uncategorized | Leave a comment