Gentoo Archives: gentoo-user

From: Frank Wilson <fajwilson@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] debugging init scripts
Date: Thu, 12 Jul 2007 15:38:05
Message-Id: 13b70780707120832h3c8200eelc88b644fe9b4f9af@mail.gmail.com
1 I'm trying to debug an init script / daemon I'm trying to run. I can't
2 seem to print the debug output to print to a file. For example I
3 enter:
4
5 /etc/init.d/apache2 restart --debug >> /root/apache2.debug
6
7 or
8
9 /etc/init.d/apache2 restart --debug > /root/apache2.debug
10
11 but I get none of the debug output. Also less insists that
12 /root/apache2.debug is a binary file... not sure why.
13
14 Hope you guys can set me straight!
15
16 Thanks,
17
18 Frank
19 --
20 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] debugging init scripts Uwe Thiem <uwix@××××.na>