Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 06:49
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
how to disable syslogd and klogd?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
puppy_ok

Joined: 05 Oct 2006
Posts: 12

PostPosted: Sat 07 Oct 2006, 13:43    Post subject:  how to disable syslogd and klogd?  

how to disable forever syslogd and klogd daemon?
at boot is automatic enabled.
please help me Smile
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 07 Oct 2006, 14:02    Post subject:  

put in /etc/rc.d/rc.local:

killall klogd syslogd
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 07 Oct 2006, 19:00    Post subject:  

They are started in /etc/rc.d/rc.sysinit, so you can just comment-out the lines.

I was wondering about these recently also. Do we really need them?
Do they slow things down much? Any disadvantages to having them running?
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 07 Oct 2006, 23:28    Post subject:  

i guess the error messages are useful for diagnostic purposes

i think "puppy_ok" wanted them stopped because they kept accessing the hard drive and causing it to keep spinning

if you let them run while Puppy is booting, then kill them in rc.local or somewhere, you get the error messages while Puppy is booting, and they are shut down later when they may not be needed

a lot of programs (for example, iptables) use syslogd for logging messages
Back to top
View user's profile Send private message 
azstew

Joined: 23 Jul 2008
Posts: 70
Location: Apache Junction, Arizona

PostPosted: Mon 01 Oct 2012, 14:02    Post subject: syslogd -m 0 hogs cpu  

At boot it starts, and uses 60-70% of cpu and I have to kill it.

Problem just started today. Puppy 5.2.5, 2 GB RAM, frugal install on SDHC, 1.6 Atom processor.

Here are the files I believe control syslogd and klogd


etc/rc.d/rc.sysinit

line 28 #100126 move syslogd, klogd to /etc/init.d/00sys_logger
line 307 #100126 moved to /etc/init.d/00sys_logger...
line 308 #syslogd -m 0
line 309 #klogd

/etc/init.d/00sys_logger (contents of file)

#!/bin/sh

case $1 in
start)
syslogd -m 0
klogd
;;
stop)
killall klogd
killall syslogd
;;
esac



How can I keep them from starting/are they needed?
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3956
Location: Kiel,Germany

PostPosted: Mon 01 Oct 2012, 16:30    Post subject:  

The files in /etc/init.d/* are started by /etc/rc.d/rc.services . That script should check if a file is executable in /etc/init.d/* and if not executable like README files , should skip them .
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0449s ][ Queries: 12 (0.0034s) ][ GZIP on ]