Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SABnzbd 0.7.9-6 does not start #384

Closed
ZeTom opened this issue Jan 12, 2013 · 21 comments
Closed

SABnzbd 0.7.9-6 does not start #384

ZeTom opened this issue Jan 12, 2013 · 21 comments

Comments

@ZeTom
Copy link

ZeTom commented Jan 12, 2013

Hi,

I was using SABnzbd from MertyMade but this has no update.
So I uninstalled sabnzbd, python and utils (without stop them first) and installed Python and SABnzbd packages from SynoCommunity.

Python seems to install right but sabnzbd is getting me an error "Echec lors du lancement de la réparation du paquet".
I uninstalled packages, rebooted the NAS, deleted all sabnzbd directories, installed again and same error.

start-stop-status status telling me sabnzbd is not running
start-stop-status start says sabnzbd is starting and then no error but is not running.

I do not find anything in NAS logs.

Python is in 2.7.3-4, SABnzbd 0.7.9-6
The NAS is a DS1511+
DSM is 4.1-2661

Please Help ;)

@ZeTom
Copy link
Author

ZeTom commented Jan 14, 2013

If I delete "-d" option in command line of start-stop-status, then SABnzbd is running with "start-stop-status start" command but I have to keep terminal opened and all actions on SABnzbd are shown in the terminal.

It seems that the SABnzbd process is launched then killed when -d option is active, but why?

@Diaoul
Copy link
Member

Diaoul commented Jan 15, 2013

Anyone else having this issue?

@linaume
Copy link

linaume commented Jan 15, 2013

I have a similar issue to install SABnzbd, but i don't know how to do a start-stop-status to test what ZeTom says !!
Impossible to Install Sabnzbd package : "Echec lors du lancement de la réparation du paquet"
I done this command : /usr/local/etc/rc.d/SABnzbd.sh restart
And the result is the following one :
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
/usr/local/etc/rc.d/SABnzbd.sh: line 185: /usr/local/bin/cfg.parser: not found
su: unknown user sabnzbduser
su: unknown user sabnzbduser

Any ideas ??

Python is in 2.7.3-4, SABnzbd 0.7.9-6
The NAS is a DS211
DSM is 4.1-2668

@ZeTom
Copy link
Author

ZeTom commented Jan 15, 2013

In SSH Mode, the command line is "/var/packages/sabnzbd/scripts/start-stop-status start" to launch sabnzbd.
Replace the last term by status or stop if you want to show sabnzbd status or stop it.

@linaume
Copy link

linaume commented Jan 16, 2013

Great, I have the same problem like you.
I launched "/var/packages/sabnzbd/scripts/start-stop-status start" (without "-d" option), and i can start Sabnzbd on my synology.

Keep me informed if you find a solution !!!

@ZeTom
Copy link
Author

ZeTom commented Jan 16, 2013

Well, I found the issue with this script.

You can put back the -d option and comment the line "exit $?" in this part of the script with a # like I did :
start)
if daemon_status; then
echo ${DNAME} is already running
exit 0
else
echo Starting ${DNAME} ...
start_daemon
#exit $?
fi
;;

Then you will be able to launch sabnzbd from the package center.

For information, yesterday evening my NAS was running but I was not able to access to it.
Each interfaces where down, SSH, DSM, SMB etc...
My dx510 extension was showing one disk active only, there is five in it.
I was not able to stop my DS1511 with power button on safe mode, I had to force it to shutdown then restart it.
My second volume is checking right now.
I don't think there is an issue with SABnzbd but it never happens before so I prefer to warn you, check your NAS resources running sabnzbd.

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

There's no issue in the script, exit $? will exit with the same status as the start_daemon function which is 0: success.

@linaume
Copy link

linaume commented Jan 16, 2013

Thanks ZeTom,
I put exit $? as a comment and Sabnzbd works perfectly...
Many, many thanks....

@ZeTom
Copy link
Author

ZeTom commented Jan 16, 2013

I believe you Diaoul, but this is the only way sabnzbd start from the package center or from command line on my NAS.

How do you explain this works for linaume and me?

Edit : You're welcome linaume ;)

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

Replace exit $? with echo $? and tell me which exit code you have when you start the package manually. If that's not 0 you can report to SABnzbd.

@linaume
Copy link

linaume commented Jan 16, 2013

Yeah...it works with "echo $?" for me

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

Yes but what's the output?

@ZeTom
Copy link
Author

ZeTom commented Jan 16, 2013

Diaoul, echo $? returns 0.

Now that I have configured SABnzbd, the script works with exit command in the start procedure.
Seems there is something about while configuration is not done.

@linaume
Copy link

linaume commented Jan 16, 2013

Sorry diaoul, also returns 0 for me

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

What model of NAS do you have?

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

Have you ever installed another SABnzbd? (not SynoCommunity's one)

@linaume
Copy link

linaume commented Jan 16, 2013

The NAS is a DS211
DSM is 4.1-2668
I installed sabnzbd via mertymade but I had uninstalled (sab+python) and rebooted, before to deploy synocommunity packages

@ZeTom
Copy link
Author

ZeTom commented Jan 16, 2013

The same for me, MertyMade packages where used before SynoCommunity one.

Since SABnzbd is configured, the script works well as it was

@Diaoul
Copy link
Member

Diaoul commented Jan 16, 2013

The only thing I can see is that MertyMade packages is the culprit here, the uninstall might have left some files that causes the issue.
@bud77: do you have some uninstallation steps to properly remove the previous package?

@fixmynas
Copy link

@ZeTom I'm using the SABnzbd from MertyMade and update the software via "SABnzb+ Helper" which in installed as part of the install. I use this to update the software when a new version is released. No need to re-install the base version or update it.

I'm using the SynoCommunity packages for sickbeard, etc. You do need seperate pythion packages though, but the 2 Python versions work fine side by side.

System : DS412+ with DSM 4.2 beta, Sabnzb 0.7.9

@Diaoul
Copy link
Member

Diaoul commented Feb 2, 2013

I'm closing as it does seem like an uninstallation issue of MertyMade's packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants