Hi!


You need to configure Apache (/etc/httpd/conf/httpd.conf on CentOS 7) to
run under user “backuppc”:



# User/Group: The name (or #number) of the user/group to run httpd as.

User backuppc



# User/Group: The name (or #number) of the user/group to run httpd as.

Group apache


Kind regards,

*Jamie*

*From:* fujisan [mailto:fujisa...@gmail.com]
*Sent:* 12 December 2017 10:01
*To:* backuppc-users@lists.sourceforge.net
*Subject:* [BackupPC-users] Error: Wrong user: my userid is 48, instead of
955(backuppc)



Hello,

I'm trying to install BackupPC on a server and I ran into this error
message on the web page of backuppc http://myserver/backuppc:

------------------------------------
Error: Wrong user: my userid is 48, instead of 955(backuppc)
This script needs to run as the user specified in $Conf{BackupPCUser},
which is set to backuppc.
This is an installation problem. If you are using mod_perl then it appears
that Apache is not running as user backuppc.
If you are not using mod_perl, then most like setuid is not working
properly on BackupPC_Admin.
Check the permissions on /usr/libexec/BackupPC/BackupPC_Admin and look at
the documentation.
------------------------------------
I am not using mod_perl and the permission of file
/usr/libexec/BackupPC/BackupPC_Admin is:

drwxr-xr-x 2 backuppc apache 4096 Dec 11 16:53 /usr/libexec/BackupPC/
-rwsr-x--- 1 apache apache 7128 Aug  2 18:51
/usr/libexec/BackupPC/BackupPC_Admin

I have changed the ownership of BackupPC_Admin to backuppc and the
permissions as well.:

drwxr-xr-x 2 backuppc backuppc 4096 Dec 11 16:53 /usr/libexec/BackupPC/
-rwsr-x--- 1 backuppc backuppc 7128 Aug  2 18:51
/usr/libexec/BackupPC/BackupPC_Admin

And the log says:
[Tue Dec 12 10:50:58.607612 2017] [cgid:error] [pid 715:tid
139944750074112] (13)Permission denied: AH01241: exec of
'/usr/libexec/BackupPC/BackupPC_Admin' failed

Well, I cannot figure out how to setup backuppc.

Any help welcome

Thank you.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to