亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 4422 | 回復(fù): 8
打印 上一主題 下一主題

messages 文件異常,尋求解決方法 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2007-04-03 11:50 |只看該作者 |倒序?yàn)g覽
50可用積分
下面是messages文件所顯示的內(nèi)容:
        Start up of circular syslogging
Version $Revision: 1.4 $ - Compiled on: Oct 26 2006
Max log size:  10000000



***** Log Wrap Point *****

Apr  1 06:47:03 localhost syslogd 1.4.1#16ubuntu6: restart.
Apr  1 06:52:01 localhost CRON[29126]: (pam_unix) session opened for user root by (uid=0)
Apr  1 06:52:01 localhost /USR/SBIN/CRON[29127]: (root) CMD (test-x /usr/sbin/anacron || run-parts --report /etc/cron.monthly)
Apr  1 06:52:01 localhost CRON[29126]: (pam_unix) session closed for user root
Apr  1 07:07:03 localhost -- MARK --
Apr  1 07:17:01 localhost CRON[13935]: (pam_unix) session opened for user root by (uid=0)
Apr  1 07:17:01 localhost /USR/SBIN/CRON[13936]: (root) CMD (   run-parts --report /etc/cron.hourly)
Apr  1 07:17:01 localhost CRON[13935]: (pam_unix) session closed for user root
Apr  1 07:27:03 localhost -- MARK --
Apr  1 07:47:03 localhost -- MARK --
Apr  1 08:07:03 localhost -- MARK --
Apr  1 08:17:01 localhost CRON[22400]: (pam_unix) session opened for user root by (uid=0)
Apr  1 08:17:01 localhost /USR/SBIN/CRON[22401]: (root) CMD (   run-parts --report /etc/cron.hourly)
Apr  1 08:17:01 localhost CRON[22400]: (pam_unix) session closed for user root
Apr  1 08:27:03 localhost -- MARK --
Apr  1 08:47:03 localhost -- MARK --
Apr  1 09:07:03 localhost -- MARK --
Apr  1 09:17:01 localhost CRON[30811]: (pam_unix) session opened for user root by (uid=0)
Apr  1 09:17:01 localhost /USR/SBIN/CRON[30812]: (root) CMD (   run-parts --report /etc/cron.hourly)
Apr  1 09:17:01 localhost CRON[30811]: (pam_unix) session closed for user root
Apr  1 09:27:03 localhost -- MARK --
Apr  1 09:47:03 localhost -- MARK --
Apr  1 10:07:03 localhost -- MARK --
    .
    .
    . 以下重復(fù)
Apr  2 06:17:01 localhost CRON[17689]: (pam_unix) session opened for user root by (uid=0)
Apr  2 06:17:01 localhost /USR/SBIN/CRON[17690]: (root) CMD (   run-parts --report /etc/cron.hourly)
Apr  2 06:17:01 localhost CRON[17689]: (pam_unix) session closed for user root
Apr  2 06:25:01 localhost CRON[23103]: (pam_unix) session opened for user root by (uid=0)
Apr  2 06:25:01 localhost /USR/SBIN/CRON[23104]: (root) CMD (test-x /usr/sbin/anacron || run-parts --report /etc/cron.daily)
Apr  2 06:25:02 localhost su[23134]: + ??? root:nobody
Apr  2 06:25:02 localhost su[23134]: (pam_unix) session opened for user nobody by (uid=0)
Apr  2 06:25:24 localhost exiting on signal 15
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A

N 個(gè)重復(fù)

A
A
A


***** End of Log *****


為什么會(huì)是這個(gè)樣子? 什么地方出問(wèn)題了呢? 謝謝各位了

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2007-04-03 12:36 |只看該作者
只能幫你頂一下了.....................

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2007-04-03 14:20 |只看該作者
USR/SBIN/CRON[13936]: (root) CMD (   run-parts --report /etc/cron.hourly)
是不是cron啟的不對(duì)?我也是猜測(cè)的

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2007-04-03 22:46 |只看該作者
sudoer有nobody不?有的話##了他

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2007-04-03 23:12 |只看該作者
樓上的回答應(yīng)該有點(diǎn)關(guān)系,但是這個(gè)如果打開與否只會(huì)影響登錄時(shí)的信息。建議檢查一下/etc/security/pam.xml文件名記不清了。。sorry。。。把和messages里面的錯(cuò)誤session提示刪掉。

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2007-04-03 23:30 |只看該作者
/USR/SBIN/CRON
有這個(gè)目錄?

論壇徽章:
1
技術(shù)圖書徽章
日期:2013-12-05 23:25:45
7 [報(bào)告]
發(fā)表于 2007-04-04 00:07 |只看該作者
我也奇怪,他怎么都是大寫的?

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2007-04-04 08:54 |只看該作者
原帖由 eric-guo 于 2007-4-3 11:50 發(fā)表于 1樓  
下面是messages文件所顯示的內(nèi)容:
        Start up of circular syslogging
Version $Revision: 1.4 $ - Compiled on: Oct 26 2006
Max log size:  10000000



***** Log Wrap Point *****

Apr  1 ...

在/etc/syslog.conf里面有 /var/log/message 那行里 加上cron.none 試試看 ,這樣cron產(chǎn)生的信息就不會(huì)寫到message里面

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2007-04-04 15:50 |只看該作者
原帖由 eric-guo 于 2007-4-3 11:50 發(fā)表于 1樓  
下面是messages文件所顯示的內(nèi)容:
        Start up of circular syslogging
Version $Revision: 1.4 $ - Compiled on: Oct 26 2006
Max log size:  10000000



***** Log Wrap Point *****

Apr  1 ...

==================
我目前看不出什么異常,下面這個(gè)是ubuntu的crontab:
root@zhao-desktop:/etc/cron.daily# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
47 6    * * 7   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly
52 6    1 * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly
#

每小時(shí)的17分時(shí)動(dòng)作/etc/cron.hourly目錄,每天6點(diǎn)25分動(dòng)作cron.daily等等……等等

Apr  2 06:25:02 localhost su[23134]: + ??? root:nobody
Apr  2 06:25:02 localhost su[23134]: (pam_unix) session opened for user nobody by (uid=0)

這個(gè)應(yīng)該是crond用nobody的權(quán)限替換root執(zhí)行任務(wù)。
至于
Apr  1 08:27:03 localhost -- MARK --
Apr  1 08:47:03 localhost -- MARK --
Apr  1 09:07:03 localhost -- MARK --

每隔20分動(dòng)作一次,應(yīng)該是sysklogd程序加了一個(gè)-m的參數(shù),
       -m interval
              The syslogd logs a mark timestamp regularly.  The default inter‐\r
              val  between  two  --  MARK -- lines is 20 minutes.  This can be
              changed with this option.  Setting the interval to zero turns it
              off entirely.
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP