On Thu, 2009-10-08 at 18:16 +0530, Arun Tomar wrote:
> Hi!
> 
> i was trying to log the failed login attempts to my opensolaris box and
> i tried the methods specified in the book, "OpenSolaris bible " page
> 421, 
> 
> In short this is what it says,
> 
> To enable failed login log, first add the following lines
> to /etc/default/login:
> 
> SYSLOG=YES
> SYSLOG_FAILED_LOGINS=0
> 
> edit:
> /etc/syslog.conf
> 
> auth.notice   /var/adm/authlog
> 
> touch /var/adm/authlog
> ls -l /var/adm/authlog
> chmod 600 /var/adm/authlog
> chgrp sys /var/adm/authlog
> ls -l /var/adm/authlog
> svcadm refresh system-log
> 
> but i get the following error and nothing gets logged
> into /var/adm/authlog
> 
> Oct  8 07:49:59 opensolaris syslogd: line 42: unknown priority name
> "notice     /var/adm/authlog"
> Oct  8 07:49:59 opensolaris syslogd: line 48: WARNING: loghost could not
> be resolved
> Oct  8 08:55:08 opensolaris oss_sadasupport: [ID 517056 kern.warning]
> WARNING: ldi_open_by_name("/dev/dsp") failed, errno=19
> Oct  8 08:55:15 opensolaris last message repeated 1 time
> Oct  8 18:08:10 opensolaris syslogd: line 42: unknown priority name
> "notice     /var/adm/authlog"
> Oct  8 18:08:10 opensolaris syslogd: line 48: WARNING: loghost could not
> be resolved
> 
> please help. 
> 
> regds,
> Arun Tomar.
> 
> _______________________________________________
> belenix-discuss mailing list
> http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
> http://groups.google.com/group/belenix-discuss

WARNING: loghost could not be resolved.
Check your /etc/hosts, must be 

127.0.0.1       localhost loghost
-- 

::alhazred

Reply via email to