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

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

Chinaunix

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

[SCO UNIX] 求助!syslog的問題! [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2003-09-02 09:25 |只看該作者 |倒序?yàn)g覽
我想把路由器上的日志放在sco機(jī)上如下:
more /etc/syslog.conf





#       @(#) syslog.conf 77.1 98/07/24
#
#       Portions Copyright (C) 1992-1998 The Santa Cruz Operation, Inc.
#               All Rights Reserved.
#       The information in this file is provided for the exclusive use of
#       the licensees of The Santa Cruz Operation, Inc.  Such users have the
#       right to use, modify, and incorporate this code into other products
#       for purposes authorized by the license agreement provided they include
#       this notice and the associated copyright notice with any such product.
#       The information in this file is provided "AS IS" without warranty.
#
#       @(#)syslog.conf 4.3 Lachman System V STREAMS TCP  source
#
*.debug                                         /usr/adm/syslog
#local7.debug   /var/adm/3662b

我想重起syslogd,是不是這樣?
     /etc/syslogd -d -r
off & running....
init
attempting to open source named pipe (fn = 0x804bae0)
success - fd = 3
attempting to open source internet domain socket (fn = 0x804bbf0)
bind fd 4, port 514
success - fd = 4
attempting to open source unix domain socket (fn = 0x804bed0)
success - fd = 6
attempting to open source os logger (fn = 0x804c140)
success - fd = 7
found 4 sources
cfline(*.debug                                          /usr/adm/syslog)
7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 X FILE: /usr/adm/syslog
logmsg: pri 56, flags 4, from qzj, msg syslogd: restart
Logging to FILE /usr/adm/syslog
syslogd: restarted
接下來就什么反映也沒有了,也沒有#提示符出現(xiàn),只看到光標(biāo)一閃閃的

ps -ef |grep syslogd
    root    49     1  0 08:29:54       ?    00:00:00 /etc/syslogd
    root   529   438  0 09:20:19   ttyp0    00:00:00 /etc/syslogd -d -r
這樣是不是就成功了?

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2003-09-02 10:47 |只看該作者

求助!syslog的問題!

把路由器上的日志放在sco機(jī)上,路由器是什么型號(hào),如何設(shè)置的?我也有此想法只是不知如何設(shè)置?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2003-09-02 10:54 |只看該作者

求助!syslog的問題!

呵呵,出了2600系列的路由器我不敢肯定能否日志,其他的都可以。
在路由器上設(shè)置:logging trap debugging
                        logging facility local7
                        logging a.b.c.d 為你的主機(jī)地址
sco上的設(shè)置大致如上

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
4 [報(bào)告]
發(fā)表于 2003-09-02 10:54 |只看該作者

求助!syslog的問題!

這是前幾天的帖子,已經(jīng)加入 FAQ了,
是否可行?

  1. 將路由器日志記錄在UNIX5.05上
  2. 路由器日志:默認(rèn)方式下路由器不會(huì)記錄任何掃描和登錄,添加路由器的日志記錄將有助于。當(dāng)然,你需要額外的一臺(tái)服務(wù)器來放置router.log文件。
  3. 在CISCO路由器上:
  4. router(config)# logging faclity syslog
  5. router(config)# logging trap informational
  6. router(config)# logging [服務(wù)器名]
  7. 在log server上:
  8. I.在/etc/syslog.conf中加入一行:
  9. *.info /var/log/router.log
  10. II.生成文件日志文件:
  11. touch /var/log/router.log
  12. III.重起syslogd進(jìn)程:
  13. kill -HUP `cat /var/run/syslogd.pid`
  14. [lyongggg   發(fā)表于: 2003-08-27 12:08    ]
復(fù)制代碼
您需要登錄后才可以回帖 登錄 | 注冊(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ū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP