LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-07-2006, 09:45 AM   #1
joseph_k
Member
 
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 37

Rep: Reputation: 15
where's the log of startup scripts


I've got a program (dansguardian) configured to run at startup, but it's never running when I reboot the computer. I have to start it manually each time. I checked the start configuration, and it looks okay:

inittab says default boot level is 2
/etc/rc2.d has a link to ../init.d/dansguardian
/etc/init.d/ contains the script dansguardian

So why is this process not running when the computer boots up?

Is there a log file that I can check to confirm that the dansguardian script is being ran? ("dmesg | grep dansguardian" yielded nothing)
 
Old 08-07-2006, 10:00 AM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Usually it is in the file /var/log/boot. since it appears you are using Ubuntu, bootlogging is probably disabled by default (at least it is in Debian pure, which Ubuntu is based on). To enable bootlogging, edit the file /etc/default/bootlogd
 
Old 08-29-2006, 09:23 AM   #3
joseph_k
Member
 
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Problem fixed. Here are the results:

I edited the /etc/default/bootlogd and rebooted the computer. I noticed in the startup that the squid service as Failing at startup.

The message said that Dansguardian was not configured (although it was). I checked the dansguadian.conf file and found a line "UNCONFIGURED", with instructions just above that to comment out the UNCONFIGURED line when it is configured like I wanted.

I commented this line and rebooted the machine again. The squid service started fine and dansguardian was running.
 
Old 05-10-2009, 11:23 AM   #4
wdhpr
LQ Newbie
 
Registered: May 2009
Location: North Coast
Distribution: Ubuntu 10.10
Posts: 19

Rep: Reputation: 0
Thanks

Quote:
Usually it is in the file /var/log/boot. since it appears you are using Ubuntu, bootlogging is probably disabled by default (at least it is in Debian pure, which Ubuntu is based on). To enable bootlogging, edit the file /etc/default/bootlogd
By pljvaldez

Thanks guys.
This is excactly what I needed
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva startup scripts (need to add something to startup before X starts) thunderweasel Mandriva 3 01-01-2006 12:55 AM
Startup scripts simcox1 Slackware 7 12-05-2005 05:04 PM
Startup Scripts?? jimbo-62 Debian 5 07-10-2005 10:23 AM
Log In Scripts KrGAce Linux - Networking 2 01-27-2005 11:56 AM
startup scripts mimi Linux - General 1 04-24-2002 03:22 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration