Re: [CentOS] CentOS Digest, Vol 57, Issue 31

2009-11-03 Thread Tim_Davis





Message: 27
Date: Fri, 30 Oct 2009 21:13:26 -0400
From: Robert Spangler 
Subject: Re: [CentOS] Syslog do not work
To: CentOS mailing list 
Message-ID: <200910302113.26256.mli...@zoominternet.net>
Content-Type: text/plain;  charset="iso-8859-1"

On Friday 30 October 2009 16:34, tim_da...@cbca.com wrote:

>  The syslog is not working

Is it rumnning?  check it with

ps -ef | grep syslogd

>  and also I installed Webmin, also it does not
>  work,
>  this is what the error is "
>
>   Info Internet Explorer cannot display the webpage "
>   icon

How are you logging into webmin?  url?


--

Regards
Robert

Linux User #296285
http://counter.li.org

Yes, it is running
[r...@bart ~]# ps -ef | grep syslogd
root 28446 1  0 08:56 ?00:00:00 syslogd -m0 -r
root 28481 28394  0 09:05 pts/100:00:00 grep syslogd
[r...@bart ~]#



2. Logging in as below
http://IP_ADDRESS_OF_CENTOS_SERVER:1

and this is the  :- netstat output
[r...@bart ~]#  netstat -an |grep 1
tcp0  0 0.0.0.0:1   0.0.0.0:*
LISTEN
udp0  0 0.0.0.0:1   0.0.0.0:*
[r...@bart ~]# [r...@bart ~]#


NOTICE: The information contained in this electronic message, and any 
attachments accompanying this transmission, may be legally privileged and/or 
confidential and protected health information. This information is intended 
only for the use of the individual(s) and/or entity identified above. The 
authorized recipient of this information is prohibited from disclosing this 
information to any other party unless required to do so by law or regulation 
and is required to protect the information after its stated need has been 
fulfilled. 
If you are not the intended recipient, or an employee or agent responsible to 
deliver it to the intended recipient, you are hereby notified that any 
disclosure, printing, copying, forwarding, or distributing of this information 
is strictly prohibited. 
If you have received this communication in error, please notify the sender 
immediately, by telephone or return fax/email, to advise of wrongful receipt 
and confirm your understanding of this Notice. Thank You.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Syslog do not work

2009-10-30 Thread Tim_Davis

Guys, attached is copy of both the  i) /etc/sysconfig/syslog
   ii) /etc/syslog.conf
I have a Centos ver5.3

The syslog is not working and also I installed Webmin, also it does not
work,
this is what the error is "

   
 Info Internet Explorer cannot display the webpage "
   
 icon   
   

   

Thanks
1.
[r...@bart ~]# cat /etc/sysconfig/syslog
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS="-m0 -r"
# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to decode, and
#once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x"
#
SYSLOG_UMASK=077
# set this to a umask value to use for all log files as in umask(1).
# By default, all permissions are removed for "group" and "other".

2
[r...@bart ~]# cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none
/var/log/messages

# The authpriv file has restricted access.
authpriv.*  /var/log/secure

# Log all the mail messages in one place.
mail.*  -/var/log/maillog

# TIM stuff
*.*;local7.debug;local4.warnings/var/log/tim

# Cisco Stuff
local7.*/var/log/cisco

# Log cron stuff
cron.*  /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit  /var/log/spooler

# Save boot messages also to boot.log
local7.*/var/log/boot.log

#
# INN
#
news.=crit/var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice   /var/log/news/news.notice
[r...@bart ~]#

3

[r...@bart ~]# ls
anaconda-ks.cfg  install.log webmin-1.490-1.noarch.rpm
Desktop  install.log.syslog
firstboot.1256071953.31  tim.txt
[r...@bart ~]#

=
Tim Davis  PMP, CCNP, CNE-5
CBCA
10900 Hampshire Ave. S.
Bloomington, MN 55438
tim_da...@cbca.com

http://twitter.com/tdalago
952-903-6304
=


NOTICE: The information contained in this electronic message, and any 
attachments accompanying this transmission, may be legally privileged and/or 
confidential and protected health information. This information is intended 
only for the use of the individual(s) and/or entity identified above. The 
authorized recipient of this information is prohibited from disclosing this 
information to any other party unless required to do so by law or regulation 
and is required to protect the information after its stated need has been 
fulfilled. 
If you are not the intended recipient, or an employee or agent responsible to 
deliver it to the intended recipient, you are hereby notified that any 
disclosure, printing, copying, forwarding, or distributing of this information 
is strictly prohibited. 
If you have received this communication in error, please notify the sender 
immediately, by telephone or return fax/email, to advise of wrongful receipt 
and confirm your understanding of this Notice. Thank You.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos