Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #166030
| From | Oliver Elphick <olly@lfix.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to debug systemd script? |
| Date | 2016-03-28 17:20 +0200 |
| Message-ID | <rhH7r-pT-1@gated-at.bofh.it> (permalink) |
| References | <rhEjf-6Xl-5@gated-at.bofh.it> <rhFS1-7Tb-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2016-03-29 at 02:33 +1300, chrisb@localhost.localdomain wrote: > On Mon, Mar 28, 2016 at 01:00:35PM +0100, Oliver Elphick wrote: > > How can I find out what is going on to stop the normal init script > > from > > working? Is there some way to force systemctl to log what it is > > doing? > > If it does log, where does it put the log? > See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731862 > > Near the very end it suggests: > strace -f -o /tmp/strace.log -s 2048 -p 1 & systemctl restart > postgresql.service In fact the other suggestion there, of suppressing the redirect to systemctl, proved helpful. the problem is actually in postgresql- common, in a Perl script. Thanks
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to debug systemd script? Oliver Elphick <olly@lfix.co.uk> - 2016-03-28 14:20 +0200
Re: How to debug systemd script? chrisb@localhost.localdomain - 2016-03-28 16:00 +0200
Re: How to debug systemd script? Oliver Elphick <olly@lfix.co.uk> - 2016-03-28 17:20 +0200
Re: How to debug systemd script? chrisb@localhost.localdomain - 2016-03-29 04:40 +0200
csiph-web