View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-03-2006, 12:52 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 19

Rep: Reputation: 0
Where is the output from my init.d script?

I've written my first init.d script, loosely based on init.d/skeleton. I know that it's run, because the process is up, but I can't find the script output anywhere. It has several echo's in it. I've grepped for the expected output in /var/log/*, and in the dmesg output, but no luck. Where can I see these?

Also, if the process generates any errors during operation, where would I see those? Basically, what is stdout and stderr set to for a script run by rc.d, and for the process spawned by that script?

I'm running 6.06 desktop.

Thanks much for any help.
Old 07-03-2006, 01:09 PM   #2
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (
Posts: 1,899

Rep: Reputation: 68
Possibly, nowhere - or on console, which is the same. Maybe you can use logger? man logger. Also man syslogd, man syslog, man syslog.conf .

Last edited by raskin; 07-03-2006 at 01:10 PM.


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
INIT: open(/dev/console): Input/output error pazkaw Slackware 13 03-25-2008 05:15 PM
Logging output of /etc/rc.d init scripts damtor00 Slackware 10 04-18-2006 01:01 AM
Gentoo X server freezes /var/lib/init.d/ files input output error bendeg Linux - Software 0 12-01-2005 05:01 AM
help with init script output ierickson Linux - General 0 05-07-2004 12:05 PM
eth0 output on init radix Slackware 3 03-11-2003 03:19 PM

All times are GMT -5. The time now is 12:25 AM.

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