Raspbian: can't start tango-db service due to Debian bug
|
|
---|---|
Hi all, I am using tango 9.2.5 on a Raspberry Pi 4, and there is a problem starting the tango database service at boot. At first, it works fine, but after a while the service doesn't start at boot any more. To make it work I have to restart the service everytime by:
Then after a while, it is very hard to restart the server this way. The output of is below.
After some searching, I found that this is due to a bug of Debian as reported here I am not sure how to patch/fix this. I wouldn't want to install a higher version of tango until an installation package for Raspberry Pi is available. Anyone experiencing the same and has some solution? |
|
|
---|---|
It might be easiest to apply the patch from the bug report, see https://salsa.debian.org/science-team/tango/-/merge_requests/1/diffs yourself. Which exact tango package version are you using? |
|
|
---|---|
Thanks. I am using tango-db 9.2.5a+dfsg1-2+b2 Will try the patch now. Dave |
|
|
---|---|
Do you know if that tango package is straight from debian? If yes, I know who to ping for an updated package, as 9.3.4 came out recently. |
|
|
---|---|
Yes, I install from the Debian repo (apt-get). But maybe it's MY BAD. I didn't install tango-starter from the beginning. I have installed and the problem seems to have gone. If it comes back I will apply the patch. On 9.3.4 I have a couple of months till production and I hope that it would be available on the official Debian repo. Thanks! |
|
|
---|---|
It happens again, so I am gonna apply the patch. I understand that to apply the patch is to simply replace line 6 & 7 of the tango-starter file located in /etc/init.d/ from:
to
|
|
|
---|---|
Still doesn't work when there is no network (internet) connection at boot. Does anyone know how to correctly apply the patch? Thanks! |