LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2007, 12:19 AM   #1
rtmex
LQ Newbie
 
Registered: Apr 2007
Location: Puebla, Mexico
Distribution: Debian
Posts: 13

Rep: Reputation: 1
sysklogd restart does not work in Debian 3.1 r2?


Hi, I'm trying to solve another problem so I'm modifying the syslogd.conf file, but after the changes have been made, I try to restart the syslog with

/etc/init.d/sysklogd restart

and I got the messaged "command not found"

I'm doing this as root, so I don't think it's about permissions

I'm using Debian 3.1 r2

Thanks
 
Old 04-27-2007, 04:48 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Command not found usually indicates a typo or a package that isn't installed. In this case, my offhand guess would be a typo. By using the TAB auto-complete built into Bash you can save yourself from this problem. It may be that /etc/init.d/sysklogd is NOT the correct call. If you:
Code:
cd /etc/init.d
And
ls
You can see what is there to restart. It may be sysklog or syslogd or something else entirely. I assume you are following instructions from some source, it may assume you have a specific package installed that you don't. Check the documentation a bit.

Good luck!

Cool
 
Old 04-27-2007, 06:54 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,051

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Why not just send it HUP ???.
syslogd will (should) just restart.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2ctl restart doesn't work kwbolte Linux - Software 2 03-12-2006 05:49 PM
sysklogd fails possibly kern.log after upgrading to 686 kernel in ubuntu towsonu2003 Linux - Newbie 0 10-30-2005 11:35 PM
Use Sysklogd to monitor externals Gibsonist Linux - Networking 2 03-17-2005 05:27 PM
sysklogd sending logs out the wrong interface slizadel Linux - Networking 1 06-10-2004 08:13 PM
Keyboard doesn't work after RH restart win13 Linux - Hardware 0 01-07-2004 06:30 PM


All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration