Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:38:37 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
syslog-ng
>
Error syslog
Pages: [
1
]
« previous
next »
Print
Author
Topic: Error syslog (Read 1633 times)
zem
Newbie
Offline
Posts: 7
Error syslog
«
on:
August 26, 2009, 01:27:05 am »
Hi,
I'm a beginner on linux and syslog.
I'm try to install syslog with this procedure :
http://doc.ubuntu-fr.org/syslog-ng?rev=1222938480
At the end i'v got an error message when i do sudo /etc/init.d/syslog-ng restart.
stopping system logging syslog-ng failed
starting system logging syslog-ng failed
syntax error at 354
Thanks for your help.
Logged
mutex
Administrator
Newbie
Offline
Posts: 901
Re: Error syslog
«
Reply #1 on:
August 30, 2009, 02:59:33 pm »
can you post your syslog-ng.conf file?
Logged
zem
Newbie
Offline
Posts: 7
Re: Error syslog
«
Reply #2 on:
September 09, 2009, 02:01:27 am »
Hi,
I've have reinstalled the server. Now, it's ok.
To test it and to understand how it works, i have declared and host (a firewall). So in the syslog-ng.conf, i have added this line :
source firewall {
tcp (ip ("xx.xx.xx.xx") );
};
And when i restart the syslog-ng service, i have this error message :
syslog-ngError bindind socket; addr='AF_INET(xx.xx.xx.xx:514)', error ='cannot assign requested address (99)'
Error initializing source driver; source='firewall'
start failed
Why this error message and what must i do when i want to declare correctly an host ?
Thanks for your help.
Logged
zem
Newbie
Offline
Posts: 7
Re: Error syslog
«
Reply #3 on:
September 10, 2009, 02:12:38 am »
I have modify the syntaxe by :
line 96 # Ecouter le port 514/TCP
line 97 source network { tcp(port(514); };
line 98 source network { tcp(ip(10.1.126.111)) ; };
line 100 # Ecouter le port 514/UDP
line 101 source network { udp(); };
line 102 source network { udp(10.1.126.111); };
Now, the error message when i restart syslog-ng is : syslog-ngsyntax error at 97. What's wrong ?
Logged
zem
Newbie
Offline
Posts: 7
Re: Error syslog
«
Reply #4 on:
September 10, 2009, 02:26:28 am »
problem resolv
Logged
Pages: [
1
]
Print
GoogleTagged:
system syslog-ng
syslog-ngsyntax error tcp
syslog assign requested address
syslog-ng syntax error
syslog-ng cannot assign requested address
assign requested address syslog-ng
null
syslog-ngsyntax error
syslog-ng ubuntu
syslog-ng synatax error syslog
syslog-ng cannot assign requested
beginner
how install syslog ubuntu
cannot assign requested address syslo
starting system syslog-ngsyntax error 102
solution assign requested address error initializing source driver
assign requested address error initializing source
syslog-ng syntax error 354
syslog-ngsyntax error 102
assign requested address error initializing source driver
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Loading...