BackupPC-users

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

2008-04-21 14:01:29
Subject: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc)
From: shacky <shacky83 AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 21 Apr 2008 20:01:19 +0200
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.

Could you help me, please?

Thank you very much!
Bye.

-------------------------------------------------------------------------
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/