Nils Breunese (Lemonbit) wrote:
> Kai Grunau wrote:
>
>   
>> is there someone who could send me a /etc/init.d/backuppc script  
>> file for
>> OpenSuse 10.3 2.6.22.17-0.1-default i686
>>
>> When I try to start backuppc I get the error :
>> -----------
>>     
>>> /etc/init.d/backuppc  start
>>>       
>> Starting backuppc: ok.
>> /home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of  
>> 1000
>> (backuppc)
>> Please su backuppc first
>> BackupPC::Lib->new failed
>> -------------------
>>     
>
> Your init.d script tries to start BackupPC as root, while it should  
> run as the backuppc user. It is started in my init.d script (on CentOS  
> 4) as follows in the start() function:
>
>       daemon --user backuppc /opt/backuppc/bin/BackupPC -d
>
> Did you create this init.d script yourself? If you installed using the  
> source distribution then configure.pl should have created an init.d  
> script for you as init.d/linux-backuppc. I copied that script to /etc/ 
> init.d/backuppc and ran chmod 755 on it. Worked just fine.
>   
I copied the  suse-backuppc from the installation source to 
/etc/init.d/backuppc

When I try to start the backuppc software  manual with  "su backuppc -c 
"/usr/local/BackupPC/bin/BackupPC -d"
I got the error :
------------------
/home/backuppc/bin/BackupPC: Wrong user: my userid is 0, instead of 1000 
(backuppc)
Please su backuppc first
BackupPC::Lib->new failed
-------------------

regards , Kai


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to