[Freevo-users] Recordserver start problem

2008-12-31 Thread Elizabeth Dodd
gentoo system, still running a 1.7 freevo
on reboot recordserver doesn't start
commdetectserver and webserver start

next attempt to start the recordserver with 'freevo recordserver start' has no 
problems
has anyone any ideas?


this is from the log

Freevo 1.7.6.1 r10340 started at Wed Dec 31 08:46:42 2008

2008-12-31 08:46:42,210 INFO config.py (481): 
logdir: /var/log /var/log/free
vo
2008-12-31 08:46:42,210 INFO config.py (482): 
staticdir: /var/lib /var/lib/f
reevo
2008-12-31 08:46:42,210 INFO config.py (483): 
cachedir: /var/cache /var/cach
e/freevo
2008-12-31 08:46:42,210 INFO config.py (502): Loading freevo configuration 
f
ile /etc/freevo/freevo.conf
2008-12-31 08:46:45,524 INFO config.py (589): Loading local configuration 
fi
le /etc/freevo/local_conf.py
2008-12-31 08:46:45,573 INFO config.py (987): 
overlaydir: /var/cache/freevo/
vfs
Traceback (most recent call last):
  File /usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py, line 
3
7, in ?
from util import vfs
  File /usr/lib/python2.4/site-packages/freevo/util/__init__.py, line 74, 
in ?
from fileops import *
  File /usr/lib/python2.4/site-packages/freevo/util/fileops.py, line 46, 
in ?
import kaa.imlib2 as imlib2
  File /usr/lib/python2.4/site-packages/kaa/__init__.py, line 33, in ?
from kaa.notifier import *
  File /usr/lib/python2.4/site-packages/kaa/notifier/__init__.py, line 53, 
in
?
from sockets import IOMonitor, WeakIOMonitor, Socket, IO_READ, IO_WRITE
  File /usr/lib/python2.4/site-packages/kaa/notifier/sockets.py, line 48, 
in ?
from kaa.tmpfile import tempfile
  File /usr/lib/python2.4/site-packages/kaa/tmpfile.py, line 20, in ?
os.mkdir(TEMP, 0700)
OSError: [Errno 17] File exists: '/tmp/kaa-0'


-- 
I'm tired of being a wanna-be league bowler, I wanna be a league bowler!

-- Homer Simpson
   Team Homer

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recordserver start problem

2008-12-31 Thread Duncan Webb
Elizabeth Dodd wrote:
 gentoo system, still running a 1.7 freevo
 on reboot recordserver doesn't start
 commdetectserver and webserver start
 
 next attempt to start the recordserver with 'freevo recordserver start' has 
 no 
 problems
 has anyone any ideas?

Is the owner of /tmp/kaa-0 different from the user that  starts the
recordserver?

The message OSError: [Errno 17] File exists: '/tmp/kaa-0' indicates
that it cannot overwrite the directory. You can safely delete /tmp/kaa-0
and restart the recordserver.

Duncan


 
 this is from the log
 
 Freevo 1.7.6.1 r10340 started at Wed Dec 31 08:46:42 2008
 
 2008-12-31 08:46:42,210 INFO config.py (481): 
 logdir: /var/log /var/log/free
 vo
 2008-12-31 08:46:42,210 INFO config.py (482): 
 staticdir: /var/lib /var/lib/f
 reevo
 2008-12-31 08:46:42,210 INFO config.py (483): 
 cachedir: /var/cache /var/cach
 e/freevo
 2008-12-31 08:46:42,210 INFO config.py (502): Loading freevo 
 configuration 
 f
 ile /etc/freevo/freevo.conf
 2008-12-31 08:46:45,524 INFO config.py (589): Loading local configuration 
 fi
 le /etc/freevo/local_conf.py
 2008-12-31 08:46:45,573 INFO config.py (987): 
 overlaydir: /var/cache/freevo/
 vfs
 Traceback (most recent call last):
   File /usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py, 
 line 
 3
 7, in ?
 from util import vfs
   File /usr/lib/python2.4/site-packages/freevo/util/__init__.py, line 74, 
 in ?
 from fileops import *
   File /usr/lib/python2.4/site-packages/freevo/util/fileops.py, line 46, 
 in ?
 import kaa.imlib2 as imlib2
   File /usr/lib/python2.4/site-packages/kaa/__init__.py, line 33, in ?
 from kaa.notifier import *
   File /usr/lib/python2.4/site-packages/kaa/notifier/__init__.py, line 53, 
 in
 ?
 from sockets import IOMonitor, WeakIOMonitor, Socket, IO_READ, IO_WRITE
   File /usr/lib/python2.4/site-packages/kaa/notifier/sockets.py, line 48, 
 in ?
 from kaa.tmpfile import tempfile
   File /usr/lib/python2.4/site-packages/kaa/tmpfile.py, line 20, in ?
 os.mkdir(TEMP, 0700)
 OSError: [Errno 17] File exists: '/tmp/kaa-0'
 
 


--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recordserver start problem

2008-12-31 Thread Elizabeth Dodd
On Wed, 31 Dec 2008, Duncan Webb wrote:
 Elizabeth Dodd wrote:
  gentoo system, still running a 1.7 freevo
  on reboot recordserver doesn't start
  commdetectserver and webserver start
 
  next attempt to start the recordserver with 'freevo recordserver start'
  has no problems
  has anyone any ideas?

 Is the owner of /tmp/kaa-0 different from the user that  starts the
 recordserver?

 The message OSError: [Errno 17] File exists: '/tmp/kaa-0' indicates
 that it cannot overwrite the directory. You can safely delete /tmp/kaa-0
 and restart the recordserver.

 Duncan

owned by root, root runs the recordserver
oddly i don't have to delete /tmp/kaa-0/ to restart the recordserver.



-- 
Hier liegt ein Mann ganz obnegleich;
Im Leibe dick, an Suden reich.
Wir haben ihn in das Grab gesteckt, Here lies a man with sundry flaws
Weil es uns dunkt er sei verreckt.  And numerous Sins upon his head;
We buried him today because
As far as we can tell, he's dead.

-- PDQ Bach's epitaph, as requested by his cousin Betty
   Sue Bach and written by the local doggeral catcher;
   The Definitive Biography of PDQ Bach, Peter Schickele

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recordserver start problem

2008-12-31 Thread Duncan Webb
Elizabeth Dodd wrote:
 On Wed, 31 Dec 2008, Duncan Webb wrote:
 Elizabeth Dodd wrote:
 gentoo system, still running a 1.7 freevo
 on reboot recordserver doesn't start
 commdetectserver and webserver start

 next attempt to start the recordserver with 'freevo recordserver start'
 has no problems
 has anyone any ideas?
 Is the owner of /tmp/kaa-0 different from the user that  starts the
 recordserver?

 The message OSError: [Errno 17] File exists: '/tmp/kaa-0' indicates
 that it cannot overwrite the directory. You can safely delete /tmp/kaa-0
 and restart the recordserver.
 
 owned by root, root runs the recordserver
 oddly i don't have to delete /tmp/kaa-0/ to restart the recordserver.

Not quite sure what you are saying. Is the recordserver now running? Was
it running before? Have you tried to delete /tmp/kaa-0?

Duncan

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recordserver start problem

2008-12-31 Thread Elizabeth Dodd
On Wed, 31 Dec 2008, Duncan Webb wrote:
 Not quite sure what you are saying. Is the recordserver now running? Was
 it running before? Have you tried to delete /tmp/kaa-0?

 Duncan

On boot, the recordserver doesn't start.
(I suspect that there are two attempts to start it on boot, but they fly past 
and are not logged)
the other servers do start.
The error says that /tmp/kaa-0/ exists.
Ignoring the error, if I run 'freevo recordserver start' as root, the 
recordserver starts.
If cron runs '/usr/bin/freevo recordserver start' it doesn't start, no entry 
in the recordserver log.
'/etc/init.d/recordserver start' starts the recordserver correctly from the 
command line
but again does nothing from cron.

I'd be happiest if it started at boot with the init script .
I was going to cheat and ask cron to start it hourly so that after power 
failure the recordserver would get started eventually but that isn't working 
yet.



-- 
You will have a long and boring life.

--
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users