Login error in /var/adm/messages


 
Thread Tools Search this Thread
Operating Systems Solaris Login error in /var/adm/messages
# 1  
Old 02-24-2014
Login error in /var/adm/messages

I had an issue with ssh on one of my servers and noticed the following
errors, listed below.

Errors in /var/adm/messages
Code:
sshd lastlog_perform_login: Couln't stat /var/adm/lastlog: permission denied
sshd lastlog_openseek: /var/adm/lastlog is not a file or directory!
automountd self_check: unknown host: code (try again later)

I then checked to see if the file was there.
Code:
ls -l /var/adm/lastlog
-rwxrw-r--  1  root  root  /var/adm/lastlog

The ssh issue is now fixed. I then checked my other serves. All of them have
this error in the logs. How do I fix this? I get this error every time some
logs in with ssh

Last edited by bitlord; 02-24-2014 at 02:29 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

RWSocket::send: Broken pipe Error in /var/adm/messages

Hi Guys, I am getting some strange error in /var/adm/messages in my Solaris 10 box with Veritas Cluster and EMC storage. bash-3.00$ cat /var/adm/messages | egrep -v "lw8|snmp|sshd|xntpd|kern.info|LOGIN|link|service|started|finished|repeated|SS7 Log-daemon|success" Dec 18 09:58:35 GAMMa2... (1 Reply)
Discussion started by: vivek.goel.piet
1 Replies

2. Emergency UNIX and Linux Support

Error filling /var/adm/messages

I have Solaris-11 non-global zone running under Solaris-11 global zone. Every few minutes, this message is getting in /var/adm/message of non-global zone Aug 31 08:31:53 zonnjc002dbp01 statd: statd: cannot talk to statd at NAS1, RPC: Timed out(5) NAS1 is already mounted as NFS and working... (2 Replies)
Discussion started by: solaris_1977
2 Replies

3. Solaris

Getting continually error message in /var/adm/messages.

Hi Friends, Please help me to resove this issue ASAP. Nov 17 16:25:52 server1 sendmail: pAH8Pnh22099: SYSERR: putoutmsg (NO-HOST): error on output channel sending "553 5.1.3 @123.com.... User address required": File too large Nov 17 16:25:53 server1 sendmail: pAH8Pnh22099:... (1 Reply)
Discussion started by: holds_me
1 Replies

4. Solaris

Error in /var/adm/messages

Hi All, I m new to Solaris environment, Right now I m using Solaris 10. I get continuously following waring message in `messages` file so var partition going to full. plz help me to stop these messages. Feb 8 15:58:47 TSAS px: WARNING: px1: spurious interrupt from ino... (2 Replies)
Discussion started by: vikas898
2 Replies

5. UNIX for Dummies Questions & Answers

/var/adm/messages records... [ID 702911 user.error] AEN event ...

Warning... I am a newb. :) I basically know how to add/rm users, kill pids and monitor diskspace. Not an idiot, but honestly a windows database person. I don't know much about what I am asking about. In the /var/adm/messages file, today this was added: Jan 24 09:16:51 my_server login: ... (3 Replies)
Discussion started by: madEG
3 Replies

6. Solaris

Error messages in /var/adm

Hi, I get this messages in my /var/adm/messages can you please tell me the reason for recieving this kind of messages and how to debug? Admin 2418029 Error: Host port combo with host . Unable to resolve name Tools 2206121 Error: ERROR.. gethostbyname() failed for errno Admin... (3 Replies)
Discussion started by: lbreddy
3 Replies

7. Solaris

/var/adm/messages error

I am frequently getting following errors in /var/adm/messages. I am using solaris 8 Nov 7 16:03:03 Server Name SRS Proxy: unhandled exception: compareTimestamps format() Nov 7 16:06:57 servername sendmail: lA2MadB5007315: to=postmaster, delay=4+22:30:07, xdelay=00:00:00, mailer=relay,... (2 Replies)
Discussion started by: sunsri01
2 Replies

8. UNIX for Advanced & Expert Users

error messages in /var/adm/messages

Hi, I have a SunFire V490, Solaris 10 with XP1024 storage and HP Library. I have noticed the following error messages in the /var/adm/messages file. These errors are being generated constantly. Also commands like devfsadm, format cfgadm etc are getting hung. After a reboot it works fine for a... (1 Reply)
Discussion started by: nitinp82
1 Replies

9. Solaris

[urgent help] error log on /var/adm/messages

hi experts, i'm having more error log on /var/adm/messages could anyone help to description what is this error logs means???? and how to fix it? below is the logs : Nov 22 20:03:40 USSDGtbs-1 unix: Nov 22 20:03:40 USSDGtbs-1 ^Mpanic/thread=3001345edc0: Nov 22 20:03:40 USSDGtbs-1 unix: ... (2 Replies)
Discussion started by: bucci
2 Replies

10. UNIX for Dummies Questions & Answers

error in /var/adm/messages

I have an error in my /var/adm/messages that states: (*hostname*) inetd : fs/tcp: bind: Address already in use. It repeats it self over and over. I have looked everywhere I can think of on the net but cant find anything. HELP Please:confused: (2 Replies)
Discussion started by: julie
2 Replies
Login or Register to Ask a Question
mailstats(8)						      System Manager's Manual						      mailstats(8)

NAME
mailstats - Displays statistics about mail traffic SYNOPSIS
mailstats [-o] [-C cffile [-f stfile] FLAGS
Do not display the name of the mailer in the output. Use cffile as the name of the sendmail "cf" file instead of /var/adm/sendmail/send- mail.cf. Use stfile as the input statistics file instead of /var/adm/sendmail/sendmail.st. DESCRIPTION
The mailstats command reads the information in the /var/adm/sendmail/sendmail.st file (or in the file specified with the -f flag), formats it, and writes it to standard output. Note also that you can change the location of the sendmail.st file by editing its pathname in the sendmail.cf file. EXAMPLES
The format of the information is shown in the following example, in which the first field (M) contains a number that indicates the position of that mailer in the sendmail.cf file, starting at 0 (zero). For example, the first mailer in the sendmail.cf file corresponds to the number 0 in the mailstats display, the second mailer corresponds to the number 1, and so on. Statistics from Thu Feb 17 11:20:01 2000 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 1 50 77K 1 3K 0 0 local 6 43 59K 58 99K 0 0 smtp ============================================================ T 93 136K 59 102K 0 0 The fields in the report have the following meanings: Indicates the position of the mailer in the sendmail.cf file. Indicates the number of messages received by the local machine from the indicated mailer. Indicates the number of bytes in the messages received by the local machine from the indicated mailer. Indicates the number of messages sent from the local machine using the indicated mailer. Indicates the number of bytes in the messages sent from the local machine using the indicated mailer. Indicates the number of rejected messages. Indicates the number of discarded messages. Indicates the name of the mailer. If sendmail transmits mail directly to a file, such as the dead.letter file or an alias target, the message and byte counts are credited to the prog mailer, as defined in the sendmail.cf file. However, mailstats will still default to var/adm/sendmail/sendmail.st. FILES
Specifies the command path Contains system statistics Contains configuration information for sendmail RELATED INFORMATION
Commands: sendmail(8) delim off mailstats(8)