|
From: Dom <dl...@ed...> - 2006-06-10 17:30:18
|
Heiko Zuerker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, June 10, 2006 01:59, Dom wrote:
>
>> Heiko Zuerker wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> On Fri, June 9, 2006 16:36, Dominic Ferard wrote: Hi Heiki:
>> Heiko Sorry I guess I was getting tired last night :-[
>> Here is my syslog-ng.conf file. I can't try changing it until Monday when
>> I am back at the server to see what happens at reboot. But you may be
>> able to tell what the problem is by looking at this. Yes it's
>> the line I thought it is. Not sure why the jail script didn't correct it.
>> I have to take a look at the code again. Do I replace the line that
>> is there at present in /etc/syslog-ng/syslog-ng.conf: source src {
>> unix-stream("/jail/NTPD/dev/log"); pipe ("/proc/kmsg" log_prefix("kernel:
>> ")); unix-dgram("/dev/log"); internal(); };
>> with the new line you gave me source src { udp();
>> tcp(max_connections(100)); pipe ("/proc/kmsg" log_prefix("kernel: "));
>> unix-stream("/dev/log"); internal(); }; or add yours as a second line?
>>
>
> Replace the old one with what I sent you.
> You can easily test it by executing the command:
> /etc/init.d/syslog restart
>
> If it does't work, look for syntax errors or line breaks where none should
> be.
>
I did that and it looks good:
Stopping system log daemon Not running [
ATTN ]
Starting system log daemon [
OK ]
>
>> I guess I do save-config after this and the error message will (we hope)
>> disappear on reboot?
>>
>
> Correct.
>
>
>> Sorry: another unrelated question - can I run apache as well as xinet,
>> will they conflict? I use xinet at present but only for SWAT (samba web
>> admin).
>>
>
> Give it a try, see if it works. ;-)
>
>
>
It does! (After some messing about with httpd.conf, creating an
additional user for Apache, creating a location for log files) But
Apache's error_log file reports:
This function has not been implemented on this platform: DBD: failed
to initialise
and I had to comment out:
LoadModule unique_id_module /usr/lib/apache2/modules/mod_unique_id.so
in httpd.conf to prevent a fatal start-up error. I don't know know
whether this is something strange in my setup or generic to DL.
Thanks for all your help!
Dom
|