LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-03-2006, 12:52 PM   #1
PostPCMan
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
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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.
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:14 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