BackupPC-users

Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc)

2008-04-22 02:29:57
Subject: Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc)
From: Kai Grunau <kgrunau AT ifm-geomar DOT de>
Date: Tue, 22 Apr 2008 08:29:42 +0200
Hello,

shacky wrote:
> I'm installing BackupPC 3.1.0 on a SuSE 10.0 system.
> After I installed it I copied the init.d/suse-backuppc script from the
> BackupPC sources directory to /etc/init.d/backuppc and I chmodded it
> to 755.
> Now if I start it with "/etc/init.d/backuppc start" I get this error:
>
> server:/usr/local/src/BackupPC-3.1.0/init.d # /etc/init.d/backuppc start
> Starting backuppc: /usr/local/backuppc/bin/BackupPC: Wrong user: my
> userid is 0, instead of 105 (backuppc)
> Please su backuppc first
> BackupPC::Lib->new failed
> startproc:  exit status of parent of /usr/local/backuppc/bin/BackupPC: 2
>
> Why this happens?
> I checked the init.d script and the parameters seems to be correct.
> The command that starts BackupPC in the "start)" stanza of the init.d
> script is "startproc -f  -p $LOGDIR/BackupPC.pid -u $USER
> $BINDIR/$DAEMON -d", which should be correct.
> If I try to manually execute the command "startproc -f  -p
> /var/log/BackupPC/BackupPC.pid -u backuppc
> /usr/local/backuppc/bin/BackupPC -d" (please note the "-u backuppc"
> parameter to start BackupPC as backuppc user) I get the same error, so
> I don't think the problem is the init.d script.
>   
do you have a correct Apache2 configuration with the perl module (/etc/sys
config/apache => APACHE_MODULES ) ?

regards, Kai


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/