資源描述:
《linux系統(tǒng)varlog目錄下的信息詳解》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、linux系統(tǒng)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