资源描述:
《linux系统varlog目录下的信息详解》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、linux系统varlog目录下的信息详解DetailedinformationintheLinuxsystem/var/logdirectoryA,the/varclirectoryAllservices/varfileorerrormessageoflogin,file(LOGFILES)areunder/var/LOG,inaddition,somedatabasesuchasMySQLunder/var/lib,anduserunreadmailthedefaultlocationis/
2、var/spool/mail2:/var/log/Systembootlog:/var/log/boot・LogForexample:Feb2610:40:48sendmial:sendmailstartupsucceededIt'stheemailservicethatstartedsuccessfully!Thesystemlogisalwaysunder/var/logCommonsystemlogsareasfollows:Corestartuplog:/var/log/dmesgSys
3、temerrorlog:/var/log/messagesMailsystemlog:/var/log/maiIlogFTPsystemlog:/var/log/xferlogSecurityinformationandsystemloginwithnetworkconnectioninformation:/var/log/secureLoginrecord:/var/log/WTMPrecordsloginrecord,binaries,youmustusethelasttoreadtheco
4、ntentwho-u/var/log/WTMPviewinformationNewslog:/var/log/spoolerRPMpackages:/var/log/RPMPKGSXFree86log:/var/log/XFree86・0.LogBootlog:/var/log/boot・Loglogbootupmessage,dmesg
5、moreCron(customtasklog)log:/var/log/cronSecurityinformationandsystemloginwithne
6、tworkconnectioninformation:/var/log/secureThefile/var/run/utmprecordstheuserloggedinnow.File/var/1og/WTMPrecordsallloginandlogout・File/var/log/lastlogrecordsthelastlogininformationforeachuser・File/var/1og/BTMPrecordincorrectloginattempts・Less/var/1og
7、/auth・LogrequiresanauthenticationoperationPartialordersaredetailedThe/var/log/messagesThemessageslogisthecoresystemlogfile・Itcontainsbootmessagesforthesystemstartupandotherstatusmessageswhenthesystemisrunning・The10errors,networkerrors,andothersysteme
8、rrorsarerecordedinthisfile・Otherinformation,suchasaperson,sidentityswitchingtoroot,isalsolistedhere・Iftheserviceisrunning,suchastheDHCPserver,youcanobserveitsactivitiesinthemessagesfile・Usually,/var/log/messagesisthefirstfileyouwilllookatwhenyouaretr
9、oubleshooting・The/var/log/XFree86.0.ThelogThislogrecordstheresultsofthelastexecutionoftheXfree86Xwindowsserver・Ifyouencounterproblemswhenyoustartuptographicsmode,thegeneralsituationwillfindthereasonforthefailureinthisfile・Oneofthekeystomanaginganysys