#1  
Old 19th October 2010, 19:38
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Where is syslogd file

Hi folks,

Ubuntu 10.04 server 64-bit

I was following;
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page 4
http://www.howtoforge.com/perfect-se...ntu8.04-lts-p4

to set up the server on Ubuntu 10.04 and encountered problem on editing /etc/default/syslogd
Code:
# Top configuration file for syslogd
# Full documentation of possible arguments are found in the manpage
# syslogd(8).
#
# For remote UDP logging use SYSLOGD="-r"
#
SYSLOGD="-a /var/lib/named/dev/log"
I couldn't find syslogd.

Please advise which file shall I edit? TIA

B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 20th October 2010, 10:57
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

/var/log/syslog
Reply With Quote
  #3  
Old 20th October 2010, 11:44
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by damir View Post
/var/log/syslog
Sorry /var/log/syslog is the log file NOT the configure file.

I wonder whether the process has been changed on this version of Ubuntu 10.04 OR the file has been re-named

$ man syslogd
Code:
No manual entry for syslogd
I found;

$ cat /etc/default/rsyslog
Code:
# Options for rsyslogd
# -m 0 disables 'MARK' messages (deprecated, only used in compat mode < 3)
# -r enables logging from remote machines (deprecated, only used in compat mode < 3)
# -x disables DNS lookups on messages received with -r
# -c compatibility mode
# See rsyslogd(8) for more details
RSYSLOGD_OPTIONS="-c4"
How to configure it? TIA

B.R.
satimis
Reply With Quote
  #4  
Old 20th October 2010, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Try what is explained in chapter 13 on http://www.howtoforge.com/perfect-se...ispconfig-2-p4
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st October 2010, 14:31
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
Try what is explained in chapter 13 on http://www.howtoforge.com/perfect-se...ispconfig-2-p4
Hi falko,

Thanks for your advice.

Performed following steps after stopping bind9:-

$ sudo nano /etc/rsyslog.d/bind-chroot.conf
adding following line on it;
$AddUnixListenSocket /var/lib/named/dev/log

$ cat /etc/rsyslog.d/bind-chroot.conf
Code:
$AddUnixListenSocket /var/lib/named/dev/log
$ sudo /etc/init.d/rsyslog restart
Code:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service rsyslog restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart rsyslog
rsyslog start/running, process 1622
$ sudo /etc/init.d/bind9 start
Code:
 * Starting domain name service... bind9                                 [ OK ]
Should I missed any step, please correct me. TIA

B.R.
satimis
Reply With Quote
  #6  
Old 21st October 2010, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Looks good.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
satimis (21st October 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rkhunter warnings esezako General 7 27th September 2011 07:28
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17


All times are GMT +2. The time now is 04:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.