|
|
| init.d script not starting dbmail |

|
2006-07-25 20:49:58 |
Hi,
Just upgraded my dbmail to the new version via debian apt.
(Revision: 2199)
After the install I had a segmentation fault (something in
line 163)
so I restarted my server.
Now when I do a /etc/init.d/dbmail nothing happens the
shell prompt
never comes back. However I can start the programs up
directly and
they seam to work fine. I went in to webmail and it was
working.
# /usr/sbin/dbmail-timsieved
# /usr/sbin/dbmail-lmtpd
# /usr/sbin/dbmail-pop3d
# /usr/sbin/dbmail-imapd
Any suggestions on how I can fix this?
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 14:31:48 |
Demi,
I've fixed this earlier today. However: since I'm working
to get 2.1.7
included in debian, I'm fixing the version at 2.1.7-1, even
though I've
changed the package.
So:
apt-get clean
apt-get update
apt-get install --reinstall dbmail dbmail-mysql dbmail-sieve
should do the trick.
DK wrote:
> Hi,
> Just upgraded my dbmail to the new version via debian
apt. (Revision: 2199)
>
> After the install I had a segmentation fault (something
in line 163)
> so I restarted my server.
> Now when I do a /etc/init.d/dbmail nothing happens the
shell prompt
> never comes back. However I can start the programs up
directly and
> they seam to work fine. I went in to webmail and it was
working.
> # /usr/sbin/dbmail-timsieved
> # /usr/sbin/dbmail-lmtpd
> # /usr/sbin/dbmail-pop3d
> # /usr/sbin/dbmail-imapd
>
> Any suggestions on how I can fix this?
>
--
____________________________________________________________
____
Paul Stevens paul at
nfg.nl
NET FACILITIES GROUP GPG/PGP:
1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 17:58:59 |
On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> apt-get clean
> apt-get update
> apt-get install --reinstall dbmail dbmail-mysql
dbmail-sieve
>
> should do the trick.
Works now. Great.
Btw, dbmail-sieve won't install in ubuntu 6.06:
libsieve1: Depends: libc6 (>= 2.3.6-6) but
2.3.6-0ubuntu20 is to be installed
E: Broken packages
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 20:03:31 |
On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
>
> > apt-get clean
> > apt-get update
> > apt-get install --reinstall dbmail dbmail-mysql
dbmail-sieve
> >
> > should do the trick.
I got this:
# apt-get install --reinstall dbmail dbmail-mysql
dbmail-sieve
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove
and 2 not upgraded.
Need to get 146kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://debian.nfgd.net
unstable/main dbmail 2.1.7-1 [104kB]
Get:2 http://debian.nfgd.net
unstable/main dbmail-mysql 2.1.7-1 [16.4kB]
Get:3 http://debian.nfgd.net
unstable/main dbmail-sieve 2.1.7-1 [26.2kB]
Fetched 146kB in 1s (142kB/s)
Preconfiguring packages ...
(Reading database ... 60966 files and directories currently
installed.)
Preparing to replace dbmail 2.1.7-1 (using
.../dbmail_2.1.7-1_i386.deb) ...
Stopping dbmail servers: dbmail-imapd dbmail-lmtpd
dbmail-timsieved done.
Stopping dbmail servers: dbmail-imapd dbmail-lmtpd
dbmail-timsieved done.
Unpacking replacement dbmail ...
Preparing to replace dbmail-mysql 2.1.7-1 (using
.../dbmail-mysql_2.1.7-1_i386.deb) ...
Unpacking replacement dbmail-mysql ...
Preparing to replace dbmail-sieve 2.1.7-1 (using
.../dbmail-sieve_2.1.7-1_i386.deb) ...
Unpacking replacement dbmail-sieve ...
Setting up dbmail (2.1.7-1) ...
Installing new version of config file /etc/init.d/dbmail ...
update-rc.d: warning: /etc/rc2.d/S99dbmail is not a link to
../init.d/dbmail
update-rc.d: warning: /etc/rc3.d/S99dbmail is not a link to
../init.d/dbmail
update-rc.d: warning: /etc/rc5.d/S99dbmail is not a link to
../init.d/dbmail
/etc/init.d/dbmail: line 46: /lib/lsb/init-functions: No
such file or directory
invoke-rc.d: initscript dbmail, action "start"
failed.
dpkg: error processing dbmail (--configure):
subprocess post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of
dbmail-mysql:
dbmail-mysql depends on dbmail (= 2.1.7-1); however:
Package dbmail is not configured yet.
dpkg: error processing dbmail-mysql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
dbmail-sieve:
dbmail-sieve depends on dbmail (= 2.1.7-1); however:
Package dbmail is not configured yet.
dpkg: error processing dbmail-sieve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dbmail
dbmail-mysql
dbmail-sieve
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 20:28:20 |
On 7/26/06, DK <gruessle gmail.com> wrote:
> On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> > On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> >
> > > apt-get clean
> > > apt-get update
> > > apt-get install --reinstall dbmail
dbmail-mysql dbmail-sieve
> > >
> > > should do the trick.
>
> I got this:
>
I fixed the init.d links. The problem seams to be this line
now:
/etc/init.d/dbmail: line 46: /lib/lsb/init-functions: No
such file or directory
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 21:43:18 |
On 7/26/06, DK <gruessle gmail.com> wrote:
> On 7/26/06, DK <gruessle gmail.com> wrote:
> > On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> > > On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> > >
> > > > apt-get clean
> > > > apt-get update
> > > > apt-get install --reinstall dbmail
dbmail-mysql dbmail-sieve
> > > >
> > > > should do the trick.
> >
> > I got this:
> >
>
> I fixed the init.d links. The problem seams to be this
line now:
> /etc/init.d/dbmail: line 46: /lib/lsb/init-functions:
No such file or directory
>
I am stuck.
I installed 'lsb-base', I don't know why it wasn't
installed at the
first place and how dbmail could have worked with out it up
till now.
But installing lsb-base fixed the "/etc/init.d/dbmail:
line 46:
/lib/lsb/init-functions: No such file or directory"
error.
Now I have an error with log_daemon_msg.
I don't understand this. What could I have done wrong?
# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not
upgraded.
5 not fully installed or removed.
Need to get 0B/104kB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 60971 files and directories currently
installed.)
Preparing to replace dbmail 2.1.7-1 (using
.../dbmail_2.1.7-1_i386.deb) ...
/etc/init.d/dbmail: line 157: log_daemon_msg: command not
found
invoke-rc.d: initscript dbmail, action "stop"
failed.
dpkg: warning - old pre-removal script returned error exit
status 127
dpkg - trying script from the new package instead ...
/etc/init.d/dbmail: line 157: log_daemon_msg: command not
found
invoke-rc.d: initscript dbmail, action "stop"
failed.
dpkg: error processing
/var/cache/apt/archives/dbmail_2.1.7-1_i386.deb
(--unpack):
subprocess new pre-removal script returned error exit
status 127
/etc/init.d/dbmail: line 146: log_daemon_msg: command not
found
invoke-rc.d: initscript dbmail, action "start"
failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit
status 127
Errors were encountered while processing:
/var/cache/apt/archives/dbmail_2.1.7-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
safe:/etc/init.d#
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 22:07:22 |
On 7/26/06, DK <gruessle gmail.com> wrote:
> On 7/26/06, DK <gruessle gmail.com> wrote:
> > On 7/26/06, DK <gruessle gmail.com> wrote:
> > > On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> > > > On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> > > >
> > > > > apt-get clean
> > > > > apt-get update
> > > > > apt-get install --reinstall dbmail
dbmail-mysql dbmail-sieve
> > > > >
> > > > > should do the trick.
> > >
> > > I got this:
> > >
> >
> > I fixed the init.d links. The problem seams to be
this line now:
> > /etc/init.d/dbmail: line 46:
/lib/lsb/init-functions: No such file or directory
> >
>
> I am stuck.
> I installed 'lsb-base', I don't know why it wasn't
installed at the
> first place and how dbmail could have worked with out
it up till now.
> But installing lsb-base fixed the
"/etc/init.d/dbmail: line 46:
> /lib/lsb/init-functions: No such file or
directory" error.
> Now I have an error with log_daemon_msg.
> I don't understand this. What could I have done wrong?
>
OK got another step forward.
I commented out "set -e" on line 46 in the
dbmail init.d script and
then did the apt-get -f install and it worked.
Now, how do I fix the log_daemon? I let you know if I figure
this one
out too but meantime if you know something I don't please
let me
know..
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 22:15:40 |
DK wrote:
> On 7/26/06, DK <gruessle gmail.com> wrote:
>> On 7/26/06, DK <gruessle gmail.com> wrote:
>> > On 7/26/06, wiz <aenor.realm gmail.com> wrote:
>> > > On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
>> > >
>> > > > apt-get clean
>> > > > apt-get update
>> > > > apt-get install --reinstall dbmail
dbmail-mysql dbmail-sieve
>> > > >
>> > > > should do the trick.
>> >
>> > I got this:
>> >
>>
>> I fixed the init.d links. The problem seams to be
this line now:
>> /etc/init.d/dbmail: line 46:
/lib/lsb/init-functions: No such file or
>> directory
>>
>
> I am stuck.
> I installed 'lsb-base', I don't know why it wasn't
installed at the
> first place and how dbmail could have worked with out
it up till now.
> But installing lsb-base fixed the
"/etc/init.d/dbmail: line 46:
> /lib/lsb/init-functions: No such file or
directory" error.
> Now I have an error with log_daemon_msg.
> I don't understand this. What could I have done wrong?
You didn't do anything wrong. I did a quick backport to
sarge of
dbmail-2.1.7 packages for debian/etch. The lsb stuff was
added only
today, like 10 minutes before doing the sarge backport. I
didn't
actually test those packages. Just use the init script from
2.1.6 if you
don't mind.
>
>
> # apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 2 not
upgraded.
> 5 not fully installed or removed.
> Need to get 0B/104kB of archives.
> After unpacking 0B of additional disk space will be
used.
> Preconfiguring packages ...
> (Reading database ... 60971 files and directories
currently installed.)
> Preparing to replace dbmail 2.1.7-1 (using
.../dbmail_2.1.7-1_i386.deb) ...
> /etc/init.d/dbmail: line 157: log_daemon_msg: command
not found
> invoke-rc.d: initscript dbmail, action
"stop" failed.
> dpkg: warning - old pre-removal script returned error
exit status 127
> dpkg - trying script from the new package instead ...
> /etc/init.d/dbmail: line 157: log_daemon_msg: command
not found
> invoke-rc.d: initscript dbmail, action
"stop" failed.
> dpkg: error processing
/var/cache/apt/archives/dbmail_2.1.7-1_i386.deb
> (--unpack):
> subprocess new pre-removal script returned error exit
status 127
> /etc/init.d/dbmail: line 146: log_daemon_msg: command
not found
> invoke-rc.d: initscript dbmail, action
"start" failed.
> dpkg: error while cleaning up:
> subprocess post-installation script returned error exit
status 127
> Errors were encountered while processing:
> /var/cache/apt/archives/dbmail_2.1.7-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> safe:/etc/init.d#
>
--
____________________________________________________________
____
Paul Stevens paul at
nfg.nl
NET FACILITIES GROUP GPG/PGP:
1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 22:41:21 |
On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> DK wrote:
> > On 7/26/06, DK <gruessle gmail.com> wrote:
> >> On 7/26/06, DK <gruessle gmail.com> wrote:
> >> > On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> >> > > On 7/26/06, Paul J Stevens
<paul nfg.nl> wrote:
> >> > >
> >> > > > apt-get clean
> >> > > > apt-get update
> >> > > > apt-get install --reinstall
dbmail dbmail-mysql dbmail-sieve
> >> > > >
> >> > > > should do the trick.
> >> >
> >> > I got this:
> >> >
> >>
> >> I fixed the init.d links. The problem seams to
be this line now:
> >> /etc/init.d/dbmail: line 46:
/lib/lsb/init-functions: No such file or
> >> directory
> >>
> >
> > I am stuck.
> > I installed 'lsb-base', I don't know why it
wasn't installed at the
> > first place and how dbmail could have worked with
out it up till now.
> > But installing lsb-base fixed the
"/etc/init.d/dbmail: line 46:
> > /lib/lsb/init-functions: No such file or
directory" error.
> > Now I have an error with log_daemon_msg.
> > I don't understand this. What could I have done
wrong?
>
> You didn't do anything wrong. I did a quick backport
to sarge of
> dbmail-2.1.7 packages for debian/etch. The lsb stuff
was added only
> today, like 10 minutes before doing the sarge backport.
I didn't
> actually test those packages. Just use the init script
from 2.1.6 if you
> don't mind.
>
Well I don't mind at all. The old script works. Thank you.
--
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|
| init.d script not starting dbmail |

|
2006-07-26 23:37:55 |
On 7/26/06, DK <gruessle gmail.com> wrote:
> On 7/26/06, Paul J Stevens <paul nfg.nl> wrote:
> > DK wrote:
> > > On 7/26/06, DK <gruessle gmail.com> wrote:
> > >> On 7/26/06, DK <gruessle gmail.com> wrote:
> > >> > On 7/26/06, wiz <aenor.realm gmail.com> wrote:
> > >> > > On 7/26/06, Paul J Stevens
<paul nfg.nl> wrote:
> > >> > >
> > >> > > > apt-get clean
> > >> > > > apt-get update
> > >> > > > apt-get install
--reinstall dbmail dbmail-mysql dbmail-sieve
> > >> > > >
> > >> > > > should do the trick.
> > >> >
> > >> > I got this:
> > >> >
> > >>
> > >> I fixed the init.d links. The problem
seams to be this line now:
> > >> /etc/init.d/dbmail: line 46:
/lib/lsb/init-functions: No such file or
> > >> directory
> > >>
> > >
> > > I am stuck.
> > > I installed 'lsb-base', I don't know why
it wasn't installed at the
> > > first place and how dbmail could have worked
with out it up till now.
> > > But installing lsb-base fixed the
"/etc/init.d/dbmail: line 46:
> > > /lib/lsb/init-functions: No such file or
directory" error.
> > > Now I have an error with log_daemon_msg.
> > > I don't understand this. What could I have
done wrong?
> >
> > You didn't do anything wrong. I did a quick
backport to sarge of
> > dbmail-2.1.7 packages for debian/etch. The lsb
stuff was added only
> > today, like 10 minutes before doing the sarge
backport. I didn't
> > actually test those packages. Just use the init
script from 2.1.6 if you
> > don't mind.
> >
>
> Well I don't mind at all. The old script works. Thank
you.
One more thing while I was trying to fix all this I remove
all the rc
links init.d for dbmail. Then I recreated them with default
values but
I am not so sure about those default values. I think 25 is
wrong, I
remember something in the 90s. Could someone check for me
please?
/etc/rc0.d/K25dbmail -> ../init.d/dbmail
/etc/rc1.d/K25dbmail -> ../init.d/dbmail
/etc/rc2.d/S25dbmail -> ../init.d/dbmail
/etc/rc3.d/S25dbmail -> ../init.d/dbmail
/etc/rc4.d/S25dbmail -> ../init.d/dbmail
/etc/rc5.d/S25dbmail -> ../init.d/dbmail
/etc/rc6.d/K25dbmail -> ../init.d/dbmail
-
Demi
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|
|