Restarted Apache?
Kind regards,
*Jamie*
*From:* fujisan [mailto:fujisa...@gmail.com]
*Sent:* 12 December 2017 12:06
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Subject:* Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead
of 955(backuppc)
I have to mention that my server is running F27 abd is a Freeipa server.
I have the following:
-rw-r----- 1 backuppc apache 47 Dec 11 15:49 /etc/BackupPC/apache.users
-rw-rw---- 1 backuppc apache 65536 Nov 25 12:27 /etc/httpd/alias/cert8.db
-rw-rw---- 1 backuppc apache 16384 Nov 25 12:27 /etc/httpd/alias/key3.db
-rw-rw---- 1 backuppc apache 20 Sep 11 2015 /etc/httpd/alias/pwdfile.txt
-rw-rw---- 1 backuppc apache 16384 Nov 25 12:20 /etc/httpd/alias/secmod.db
-r-------- 1 backuppc apache 29 Sep 11 2015
/etc/httpd/conf/password.conf
-rwsr-x--- 1 backuppc apache 7128 Aug 2 18:51
/usr/libexec/BackupPC/BackupPC_Admin
in /etc/httpd/conf/httpd.conf
User backuppc
Group apache
On Tue, Dec 12, 2017 at 11:46 AM, Jamie Burchell <ja...@ib3.co.uk> wrote:
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/
------------------------------------------------------------------------------
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/