Ubuntu

dbmail init script fails to start dbmail

Reported by Richie Ward on 2008-05-09
6
Affects Status Importance Assigned to Milestone
dbmail (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: dbmail

I have installed dbmail on hardy and the dbmail service fails to start via the init scripts and fails to appear in process list afterwards.

I can start the daemon manually by typing dbmail-pop3d and it appears in the process list.

There are no errors in the logs.

I have reproduced this bug on 3 separate computers.

Richie Ward (richies) wrote :

Here is the output from init script:
/etc/init.d/dbmail restart
 * Stopping dbmail servers [ OK ]
 * Starting dbmail servers [ OK ]

Hi Richie.

Have you edited /etc/default/dbmail to specify which services to start, like the example below ?

----------
niki@server:~$ cat /etc/default/dbmail
START_IMAPD=1
START_LMTPD=1
START_SIEVE=1
----------

The variables you can define here is:

START_IMAPD
START_POP3D
START_LMTPD
START_SIEVE

I had to look in the init script to figure out how to enable the services

Hope it helps

Richie Ward (richies) wrote :

The file was empty...
I tested it on a fresh install on hardy...
Adding the options seems to of helped but I cannot telnet the server...

richie@richie-desktop:/etc/default$ sudo /etc/init.d/dbmail restart
 * Stopping dbmail servers [ OK ]
 * Starting dbmail servers May 13 23:42:57 richie-desktop dbmail-timsieved[6715]: Error:[sort] sortsieve.c,sort_listextensions(+718): Sieve notify is not supported in this release.
                                                                         [ OK ]
richie@richie-desktop:/etc/default$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
richie@richie-desktop:/etc/default$ telnet localhost 143
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
richie@richie-desktop:/etc/default$ telnet localhost 24
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
richie@richie-desktop:/etc/default$

The processes appear in system monitor though.

Richie Ward (richies) wrote :

So basically your advice helped but I cannot connect to it.

Richie Ward (richies) wrote :

Also netstat is empty...
richie@richie-desktop:/etc/default$ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:ipp *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
udp 0 0 *:54297 *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:mdns

Hi Richie.

(I tried to reply via email this morning, but seems like it isn't possible, here is the text from the mail.)

Are you sure that the daemons is listening on localhost and not eth0 or
something like that ?

normaly i use 'netstat -tupan' which shows all interfaces, and which
ip's processes are listening on, and which connections are curently up.

Could you send me a copy of your config file ?
I have a working config here, if you like i could send you a copy.

No feedback from user the last couple of days.

Gunnar Thielebein (lorem-ipsum) wrote :

Is the missing of the default file also considered as a bug?
I think the init.d script has to be changed to report an error if the default file is missing.

Thomas Hotz (thotz) wrote :

Closing because this package is not in Ubuntu any more.

Changed in dbmail (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers