gdb /usr/local/sbin/dbmail-imapd

run -D

 

From: [email protected] [mailto:[email protected]] On Behalf Of 
Michael Knyazkov
Sent: segunda-feira, 28 de Outubro de 2013 13:26
To: DBMail mailinglist
Subject: Re: [Dbmail] 3.1.7 dbmail-imapd closes immediately after start

 

whats the syntax?

[root@mail automake-1.13]# gdb "/usr/local/sbin/dbmail-imapd -D"
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
/usr/local/sbin/dbmail-imapd -D: No such file or directory.
(gdb)


С Уважением, 
Князьков Михаил 
[email protected]



Am 28.10.2013 14:11, schrieb kmish:
> about GDB
> im not sure that im doing right
> ive took this:
> 
> [root@mail]# gdb /usr/local/sbin/dbmail-imapd
> Detaching after fork from child process 1486

"dbmail-imapd -D" is needed to *not* fork the process
you need this also for supervisors like systemd



_______________________________________________
DBmail mailing list
[email protected] 
<https://e.mail.ru/cgi-bin/sentmsg?compose&[email protected]> 
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

 

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to