June 17, 2010

pam_unix_cred: cannot load ttyname Error 0

Posted in Solaris at 3:45 pm by alessiodini

Today i worked with Gianluca on some systems affected by authentication problem.
We obtained the following error:

Jun 17 13:48:02 system01 login: pam_unix_cred: cannot load ttyname Error 0

after connecting on local zone and putting username/password.

After analsys we found that recently someone has changed local hostname ( not zonename ) and /etc/hosts was not updated properly.

About these ads

7 Comments »

  1. chankle said,

    Thank you for this blog entry. Saved me many hours of troubleshooting.

    • alessiodini said,

      thank you for visit my blog! ;)

    • RR said,

      but how did you change the /etc/host file without login successful. I am facing the same issue but not able to login to the box.

      • alessiodini said,

        Hi,
        i logged to the local zone from the global zone!
        After i updated /etc/hosts entry.
        Let me know ,
        Alessio

      • RR said,

        it didnt work for as I dont have anyother access to the box other than console and this error is coming while logging into console.

      • alessiodini said,

        well when u log into console stop syslog first!

  2. Christopher said,

    Did you ever figure this out RR? I’m stuck at console as well.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 38 other followers

%d bloggers like this: