Sys-Admin Information’s

Share Knowledge, Distribute Knowledge, Capture & Modify Knowledge, Create Knowledge

Archive for the ‘Common Problem’ Category

Boot archive error or corrupt

with 8 comments

A few weeks ago, I got a little problem with my solaris box, namely solaris won’t boot because the boot archive was corrupt, *sigh*. Anyway the boot archive in solaris 10 was contain kernel module and configuration file was needed for solaris to startup the system.

Error:

module /platform/i86pc/boot_archive error 3 bad or corrupt data while decompressing file

Workaround:

Boot up your solaris in “solaris failsafe mode”, next solaris image will mount with writeable mode on “/a” mount point

sh> rm -f /a/platform/i86pc/boot_archive
sh> bootadm update-archive -R /a
sh> reboot

Written by Hendrawan

May 1st, 2009 at 1:50 pm

Posted in Common Problem, Solaris

Tagged with ,

ssh[23593]: [ID 530472 user.error] Kerberos mechanism library initialization error:

without comments

When I log via ssh to another machine

bash> ssh gandalf@rohan.lotr.com
unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so]

the following message appears was appears

rohan.lotr.com sshd[23418]: [ID 530472 auth.error] Kerberos mechanism library initialization error:
Can't open/find Kerberos /etc/krb5/krb5.conf

Workaround:

Edit /etc/ssh/ssh_config and add the following

Host *
StrictHostKeyChecking no
GSSAPIKeyExchange no
GSSAPIAuthentication no

And
Edit /etc/ssh/sshd_config and add the following

GSSAPIAuthentication no
GSSAPIKeyExchange no
GSSAPIStoreDelegatedCredentials no

Written by Hendrawan

March 24th, 2008 at 9:29 am

Posted in Common Problem, Solaris

passwd (SYSTEM): Unexpected failure. Password database unchanged

with 2 comments

When I was to changed “root” password then come up message like this
"passwd (SYSTEM): Unexpected failure. Password database unchanged", try adduser, then his come up again this message "UX: useradd: ERROR: Cannot update system files - login cannot be created."

check your / space, house keeping if its full, then change your root password with
# passwd -r files root
if doesn’t work, this solve maybe help.

Written by Hendrawan

September 18th, 2007 at 1:12 pm

Posted in Common Problem, Solaris

Savemail: cannot save rejected email anywhere

with one comment

When your "tail -f /var/adm/messages" on your solaris 10 box and found "savemail: cannot save rejected email anywhere.."
you can add

sendmail: ALL (or LOCAL)

in your /etc/hosts.allow

Written by Hendrawan

August 15th, 2007 at 10:40 pm

Posted in Common Problem, Solaris

Tagged with