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 Thu 27 Nov 2014, 04:41
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 Posts_count  
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: 7083
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_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: 3972
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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