Problem /etc/init.d and /usr/bin/SABnzbd.py
Posted: August 16th, 2009, 8:40 am
Hi guys!
Found this site when using my Ubuntu box, and had no problems installing and using it there. Over on my Sabayon box, I was however not able to find any overlays I could use to make sure I had an up to date and working installation, so I started to make my own ebuilds from older versions. After messing around some with the ebuilds, I was finally able to emerge SABnzbd to my system. Second problem now, is that I am not able to run SABnzbd...
The emerging of SABnzbd worked pretty good. The only messages that might give some concerns are this:
However, the compiling ends up with this message:
So I assume that everything should be OK after all??
/etc/conf.d/sabnzbd does not exist after emerging though.. And when trying to run /etc/init.d/sabnzbd start, I only end up with ERROR: sabnzbd failed to start. I have also manually tried to run /usr/bin/SABnzbd.py but that also ends up with errors, that the themes does not exist, even though it is clearly listed where the themes might be found above (* Templates can be found in: /usr/share/sabnzbd-0.4.11):
I am not quite sure where I have failed here, as I am pretty new to making ebuilds myself, assume that I have missed something in the configurations etc? Or does anyone here know if there are any other solutions?? Will post the files used for building below in 2 sec.
Found this site when using my Ubuntu box, and had no problems installing and using it there. Over on my Sabayon box, I was however not able to find any overlays I could use to make sure I had an up to date and working installation, so I started to make my own ebuilds from older versions. After messing around some with the ebuilds, I was finally able to emerge SABnzbd to my system. Second problem now, is that I am not able to run SABnzbd...
The emerging of SABnzbd worked pretty good. The only messages that might give some concerns are this:
Code: Select all
!!! newconfd: /usr/local/portage/net-nntp/sabnzbd/files/sabnzbd.conf does not exist
>>> Completed installing sabnzbd-0.4.11 into /var/tmp/portage/net-nntp/sabnzbd-0.4.11/image/
* QA Notice: file does not exist:
*
* newconfd: /usr/local/portage/net-nntp/sabnzbd/files/sabnzbd.conf does not existCode: Select all
>>> /usr/share/sabnzbd -> /usr/share/sabnzbd-0.4.11
* Byte compiling python modules for python-2.5 .. ... [ ok ]
* Default directory: /var/lib/sabnzbd
* Templates can be found in: /usr/share/sabnzbd-0.4.11
*
* Run: gpasswd -a <user> sabnzbd
* to add an user to the sabnzbd group so it can edit sabnzbd files
*
* Please configure /etc/conf.d/sabnzbd before starting!
*
* Start with /etc/init.d/sabnzbd start
>>> Recording net-nntp/sabnzbd in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date./etc/conf.d/sabnzbd does not exist after emerging though.. And when trying to run /etc/init.d/sabnzbd start, I only end up with ERROR: sabnzbd failed to start. I have also manually tried to run /usr/bin/SABnzbd.py but that also ends up with errors, that the themes does not exist, even though it is clearly listed where the themes might be found above (* Templates can be found in: /usr/share/sabnzbd-0.4.11):
Code: Select all
2009-08-16 09:48:29,254::ERROR::Cannot find standard template: /usr/bin/interfaces/Default
Traceback (most recent call last):
File "./usr/bin/SABnzbd.py", line 200, in Web_Template
wdir = cfg['misc'][key]
File "//usr/lib/python2.5/site-packages/sabnzbd/utils/configobj.py", line 580, in __getitem__
val = dict.__getitem__(self, key)
KeyError: 'web_dir'
2009-08-16 09:48:29,256::INFO::Lauching browser with /tmp/tmpL2yPNT.html