LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-26-2007, 11:19 PM   #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, 03:48 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 05:54 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

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


Reply



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 04:49 PM
sysklogd fails possibly kern.log after upgrading to 686 kernel in ubuntu towsonu2003 Linux - Newbie 0 10-30-2005 10:35 PM
Use Sysklogd to monitor externals Gibsonist Linux - Networking 2 03-17-2005 04:27 PM
sysklogd sending logs out the wrong interface slizadel Linux - Networking 1 06-10-2004 07:13 PM
Keyboard doesn't work after RH restart win13 Linux - Hardware 0 01-07-2004 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration