problem with creating AF_INET socket at startup
Hi, I'm setting up a config with a frontal 'naked' linux RedHat 7.2 box / 2.4.18 (no X, no compiling tools, a basic firewall router) named celti000 I'd like to forward all the logs of celti000 on another linux box (RedHAt 7.2 / 2.4.18, with compiling tools). launching syslog-ng works on both machine, excpet on celti000, when I put this line in syslog-ng.conf : destination d_celti001 { udp("celti001" port (999)); }; if I have this line in my config file I get: error creating AF_INET socket (No such file or directory) any hints ? Thanks, Fred
On Wed, Feb 27, 2002 at 05:49:48PM +0100, Frédéric LE BASTARD wrote:
Hi,
I'm setting up a config with a frontal 'naked' linux RedHat 7.2 box / 2.4.18 (no X, no compiling tools, a basic firewall router) named celti000
I'd like to forward all the logs of celti000 on another linux box (RedHAt 7.2 / 2.4.18, with compiling tools).
launching syslog-ng works on both machine, excpet on celti000, when I put this line in syslog-ng.conf : destination d_celti001 { udp("celti001" port (999)); }; if I have this line in my config file I get: error creating AF_INET socket (No such file or directory)
strace the process? -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
strace the process?
sorry I bothered too soon. I managed to get rid of ther error by replacing the name of the host by its IP adress ... eh ! i'm now having other problems, but i'll search a bit by myself before asking here :-) thanks Fred
participants (2)
-
Balazs Scheidler
-
Frédéric LE BASTARD