Failed to iniciate Sabnzbd on raspberry pi

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
juandp77
Newbie
Newbie
Posts: 3
Joined: December 1st, 2013, 6:01 am

Failed to iniciate Sabnzbd on raspberry pi

Post by juandp77 »

Hello I'm geting this error: Starting SABnzbd+ binary newsgrabber:Illegal instruction
Anyone help me please

This is the log of: sudo sh -x /etc/init.d/sabnzbdplus start

Code: Select all

+ DAEMON=/usr/bin/sabnzbdplus
+ SETTINGS=/etc/default/sabnzbdplus
+ [ -x /usr/bin/sabnzbdplus ]
+ [ -r /etc/default/sabnzbdplus ]
+ DESC=SABnzbd+ binary newsgrabber
+ DEFOPTS=--daemon
+ sed -n 1s/^#\!\([a-z0-9\.\/]\+\)\(.*\)/\1(\2)?/p /usr/bin/sabnzbdplus
+ PYTHONEXEC=^/usr/bin/python( -OO)?
+ PIDFILE=/var/run/sabnzbdplus.pid
+ SETTINGS_LOADED=FALSE
+ unset USER CONFIG HOST PORT EXTRAOPTS
+ . /lib/lsb/init-functions
+ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
+ [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
+ . /lib/lsb/init-functions.d/20-left-info-blocks
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ true
+ start_sab
+ load_settings
+ [ FALSE != TRUE ]
+ . /etc/default/sabnzbdplus
+ USER=pi
+ CONFIG=
+ HOST=
+ PORT=
+ EXTRAOPTS=
+ [ -z pi ]
+ [ -z pi ]
+ OPTIONS=--daemon
+ [ -n  ]
+ [ -n  ]
+ SERVER=
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ SETTINGS_LOADED=TRUE
+ return 0
+ is_running
+ pgrep -f -x -u pi ^/usr/bin/python( -OO)? /usr/bin/sabnzbdplus --daemon.*
+ PID=
+ RET=1
+ [ 1 -gt 1 ]
+ return 1
+ log_daemon_msg Starting SABnzbd+ binary newsgrabber
+ [ -z Starting SABnzbd+ binary newsgrabber ]
+ log_daemon_msg_pre Starting SABnzbd+ binary newsgrabber
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm-256color != x ]
+ [ xxterm-256color != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ /bin/echo -n [....] 
[....] + [ -z  ]
+ /bin/echo -n Starting SABnzbd+ binary newsgrabber:
Starting SABnzbd+ binary newsgrabber:+ return
+ start-stop-daemon --quiet --chuid pi --start --exec /usr/bin/sabnzbdplus -- --daemon
Illegal instruction
+ check_retval
+ [ 132 -eq 0 ]
+ log_end_msg 1
+ [ -z 1 ]
+ local retval
+ retval=1
+ log_end_msg_pre 1
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm-256color != x ]
+ [ xxterm-256color != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 2
+ GREEN=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ /usr/bin/tput civis
+ /usr/bin/tput sc
+ /usr/bin/tput hpa 0
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -ne [FAIL
[FAIL+ /usr/bin/tput rc
+ /usr/bin/tput cnorm
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm-256color != x ]
+ [ xxterm-256color != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -e  failed!
 failed!
+ log_end_msg_post 1
+ :
+ return 1
+ exit 1
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by sander »

What if you just run (=type) 'sabnzbdplus' from the command line?
juandp77
Newbie
Newbie
Posts: 3
Joined: December 1st, 2013, 6:01 am

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by juandp77 »

The same: Illegal instruction
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by sander »

juandp77 wrote:The same: Illegal instruction
Really? Can you post the screen dump?

And what is the output of:

Code: Select all

head -20 `which sabnzbdplus`
Note: back ticks!
juandp77
Newbie
Newbie
Posts: 3
Joined: December 1st, 2013, 6:01 am

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by juandp77 »

It just say that

head -20 `which sabnzbdplus`

Code: Select all

import sys
sys.path.insert(0,'/usr/share/sabnzbdplus')
if sys.version_info < (2,5):
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by jcfp »

"Illegal instruction" means something received signal 4 (SIGILL), probably the python interpreter itself rather than sabnzbd. Please check if python actually runs at all (just "python" on the command line + some simple imports, you can exit with "quit()" in the less than likely case it actually works).
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failed to iniciate Sabnzbd on raspberry pi

Post by sander »

@juandp77 Can you do what jcfp advices, and post your feedback
Post Reply