Op een of andere manier wil hellanzb niet weken als ik hellanzb niet als root in daemon mode start. Ik heb een gebruiker, hellanzb, gemaakt. Deze is lid van de samba groep (primaire groep)
De rechten staan volgens mij goed:
root@ubuntu-server:/shares/hellanzb/nzb# ls-l
drwxrwxr-x 2 hellanzb samba 4096 2007-11-13 11:02 daemon.current
drwxrwxr-x 2 hellanzb samba 4096 2007-11-11 00:00 daemon.postponed
drwxrwxr-x 2 hellanzb samba 4096 2007-11-13 11:02 daemon.processing
drwxrwxr-x 2 hellanzb samba 4096 2007-11-13 11:02 daemon.queue
drwxrwxr-x 2 hellanzb samba 4096 2007-11-13 11:12 daemon.temp
drwxrwxr-x 2 hellanzb samba 4096 2007-11-13 11:12 daemon.working
-rw-rw-r-- 1 hellanzb samba 136 2007-11-13 11:02 hellanzbState.xml
-rw-rw-r-- 1 hellanzb samba 136 2007-11-13 11:02 hellanzbState.xml.bak
root@ubuntu-server:/var/tmp# ls -l
total 2220
-rw-r--r-- 1 hellanzb samba 61292 2007-11-13 11:12 hellanzb-debug.log
-rw-r--r-- 1 hellanzb samba 102337 2007-11-13 11:11 hellanzb-debug.log.1
-rw-r--r-- 1 hellanzb samba 102284 2007-11-13 11:10 hellanzb-debug.log.2
-rw-r--r-- 1 hellanzb samba 98048 2007-11-13 11:09 hellanzb-debug.log.3
-rw-r--r-- 1 hellanzb samba 102282 2007-11-13 11:08 hellanzb-debug.log.4
-rw-r--r-- 1 hellanzb samba 99571 2007-11-13 11:07 hellanzb-debug.log.5
-rw-rw-r-- 1 hellanzb samba 37962 2007-11-13 11:14 hellanzb.log
-rw-rw-r-- 1 hellanzb samba 102348 2007-11-13 09:53 hellanzb.log.1
-rw-rw-r-- 1 hellanzb samba 1524826 2007-11-12 19:08 hellanzb.log.2
Als ik hellanzb in de gewone modus start werkt alles naar behoren. Maar als ik de daemon mode (hellanzb.py -D) start (als gebruiker hellanzb) gebeurt er niets en loopt de debug.log file vol met de volgende meldingen....
2007-11-13 12:00:54,178 [-] Log opened.
2007-11-13 12:00:54,182 hellanzb v0.13 (config = /usr/etc/hellanzb.conf, daemonized)
2007-11-13 12:00:54,185 [-] twisted.web.server.Site starting on 8760
2007-11-13 12:00:54,186 [-] Starting factory <twisted.web.server.Site instance at 0xb77a56ec>
2007-11-13 12:00:54,307 Using: Twisted-2.5.0, TwistedWeb-0.7.0
2007-11-13 12:00:54,308 python: 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
2007-11-13 12:00:54,309 [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
2007-11-13 12:00:54,309 os: Linux-2.6.22-14-server (i686)
2007-11-13 12:00:54,310 initFillServers: fillserver support disabled
2007-11-13 12:00:54,312 [-] Starting factory <Hellanzb.NZBLeecher.Protocol.NZBLeecherFactory instance at 0x847424c>
2007-11-13 12:00:54,313 [-] Starting factory <Hellanzb.NZBLeecher.NZBLeecherUtil.HellaThrottlingFactory instance at 0x847430c>
2007-11-13 12:00:54,350 recoverStateFromDisk recovered: RecoveredState: version: 0.13 newzbinCookie keys: []
downloading: {}
processing: {}
queued: {}
2007-11-13 12:01:04,370 Delaying enqueue of hitzone.nzb: mtime: 4 Hellanzb.NZBQUEUE_MDELAY: 10
2007-11-13 12:01:09,380 Delaying enqueue of hitzone.nzb: mtime: 9 Hellanzb.NZBQUEUE_MDELAY: 10
2007-11-13 12:01:24,320 [-] <twisted.internet.tcp.Connector instance at 0x847436c> will retry in 1 seconds
2007-11-13 12:01:24,322 [-] <twisted.internet.tcp.Connector instance at 0x84744cc> will retry in 2 seconds
2007-11-13 12:01:24,323 [-] <twisted.internet.tcp.Connector instance at 0x847462c> will retry in 4 seconds
2007-11-13 12:01:24,324 [-] Stopping factory <Hellanzb.NZBLeecher.Protocol.NZBLeecherFactory instance at 0x847424c>
2007-11-13 12:01:24,325 [-] Stopping factory <Hellanzb.NZBLeecher.NZBLeecherUtil.HellaThrottlingFactory instance at 0x847430c>
2007-11-13 12:01:25,989 [-] Starting factory <Hellanzb.NZBLeecher.Protocol.NZBLeecherFactory instance at 0x847424c>
2007-11-13 12:01:25,990 [-] Starting factory <Hellanzb.NZBLeecher.NZBLeecherUtil.HellaThrottlingFactory instance at 0x847430c>
2007-11-13 12:01:56,000 [-] <twisted.internet.tcp.Connector instance at 0x847436c> will retry in 6 seconds
Ik heb al lopen googlen op deze meldingen maar echt veel nuttigs komt hier niet uit. Ik heb het gevoel dat het een rechten probleem is. Maar waarom weet ik niet..
Is er iets dat ik over het hoofd zie?