Solaris 10

From KeegansWiki
Revision as of 08:41, 14 February 2011 by Keegan (talk | contribs)
Jump to navigation Jump to search

Zones

Adding IP to a zone

  • ifconfig bge0 addif ipaddr/netmask zone zonename
  • don't forget to ifcfg up!

Patching

Error

The following error is a pretty common thing to see on a fresh solaris build when trying to patch:

bash-3.00# unzip -qq 10_x86_Recommended.zip 

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

Trying to install the patch cluster gives this error:

bash-3.00# ./installcluster 
ERROR: Unable to read patch set README file.

Mitigation

Dowload and install patch 119255-63. If you don't have a sunsolv account, download it here

Random Problems

Unable to delete route

bash-3.00# route delete 10.0.0.0 10.93.66.1
delete net 10.0.0.0: gateway 10.93.66.1: not in table

Specify the subnet (make one up if you need to)

bash-3.00# route delete 10.0.0.0/24 10.93.66.1
delete net 10.0.0.0/24: gateway 10.93.66.1