Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc)
2008-04-21 14:05:14
On Mon, Apr 21, 2008 at 08:01:19PM +0200, 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.
I just looked at my init script here and it's got the same line and
works. What happens if you try "su - backuppc"? Maybe the backuppc user
doesn't have a home directory, login shell or something similar?
HTH,
Tino.
--
„What we resist, persists.” (Zen saying)
www.craniosacralzentrum.de
www.forteego.de
-------------------------------------------------------------------------
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/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), shacky
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc),
Tino Schwarze <=
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), shacky
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), Tino Schwarze
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), shacky
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), Les Mikesell
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), dan
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), Nils Breunese (Lemonbit)
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), Tino Schwarze
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), shacky
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), Tino Schwarze
- Re: [BackupPC-users] Wrong user: my userid is 0, instead of 105 (backuppc), shacky
|
|
|