|
|
init process logfile
Hi,
I'm working on HPUX 11iv2
I have add a new line in my inittab :
mytest:23456:respawn:su - usertest -c 'mydaemon'
and when I reload with init q, my process don't start.
Where can I find init logfile, I want to trace it .
Thanks
Olivier
|
|
0
|
|
|
|
Reply
|
Olivier
|
3/3/2007 1:23:26 AM |
|
On Sat, 3 Mar 2007, ohhfrancois@free.fr wrote:
> Hi,
>
> I'm working on HPUX 11iv2
>
> I have add a new line in my inittab :
>
> mytest:23456:respawn:su - usertest -c 'mydaemon'
>
> and when I reload with init q, my process don't start.
>
> Where can I find init logfile, I want to trace it .
>
> Thanks
>
> Olivier
Olivier,
I'd look at /var/adm/syslog/syslog.log, but I suspect that your
problem is that you're not providing the full pathname to /usr/bin/su
in your inittab entry.
Regards,
Carl
|
|
0
|
|
|
|
Reply
|
carl
|
3/7/2007 8:47:10 PM
|
|
I found the error in the Console Log for the last boot.
On HP-UX you inittab id are limited to 4 characters.
mytest is too long you have to use myte.
I didn't find inittab's logs in other place.
Thanks
Olivier
"Olivier FRANCOIS" <ohhfrancois@free.fr> a �crit dans le message de
news:45e8cdf2$0$27802$426a74cc@news.free.fr...
> Hi,
>
> I'm working on HPUX 11iv2
>
> I have add a new line in my inittab :
>
> mytest:23456:respawn:su - usertest -c 'mydaemon'
>
> and when I reload with init q, my process don't start.
>
> Where can I find init logfile, I want to trace it .
>
> Thanks
>
> Olivier
>
>
|
|
0
|
|
|
|
Reply
|
Olivier
|
3/12/2007 8:02:01 PM
|
|
On 2007-03-03, Olivier FRANCOIS <ohhfrancois@free.fr> wrote:
> Hi,
>
> I'm working on HPUX 11iv2
>
> I have add a new line in my inittab :
>
> mytest:23456:respawn:su - usertest -c 'mydaemon'
>
> and when I reload with init q, my process don't start.
>
> Where can I find init logfile, I want to trace it .
>
/etc/rc.log + /etc/rc.log.old
--
http://www.dynode.net/~rjw/
|
|
0
|
|
|
|
Reply
|
Russell
|
3/12/2007 9:27:27 PM
|
|
|
3 Replies
155 Views
(page loaded in 0.162 seconds)
|
|
|
|
|
|
|
|
|