Re: [BackupPC-users] Host Priority Option

2017-12-12 Thread Holger Parplies
Hi,

Les Mikesell wrote on 2017-12-12 09:39:41 -0600 [Re: [BackupPC-users] Host 
Priority Option]:
> On Tue, Dec 12, 2017 at 8:19 AM, Gurvinder  wrote:
> >
> > I have been using BackupPc from past few months however I could not find
> > any option where I can prioritize hosts for backups from the list of hosts
> > we add. Let say i have 10 hosts added for backup, now I want specific
> > hosts to start backups earlier than other backup hosts.

"earlier" is not the same as "prioritize". You can achieve "earlier" with
different blackout windows. "Prioritize", on the other hand, is difficult
to even meaningfully define. If host A is "more important than" host B, does
that change when host A has had a successful backup every day for a whole
month and host B has never had a single one (i.e. are backups for host A
mandatory and for host B optional)? BackupPC assumes you want backups for
all your hosts and tries to "do the right thing". Put differently, what
situation are you envisioning where there is not enough capacity to backup
all hosts you are trying to backup? Maybe you need to fix the concept
(like add more backup servers, faster media, decrease backup volume, whatever)
instead of working around problems?

I do understand that there may be transient problems (like unusual amounts of
new data in your backup set) where regular backups of host A are more important
than of host B, but that sounds like "earlier", and will only fix itself
without manual intervention if it is the "more important" (i.e. "earlier")
hosts with the large amount of data (or if you let BackupPC proceed as it
is programmed to do, hopefully ;-).
Note that blackout windows might not work exactly as you expect. A running
backup will not be stopped when entering its blackout window, and the check,
I believe, is done when the backup is run, not when it is queued (queueing
happens according to the WakeupSchedule, running might happen any time
another backup finishes, subject to your MaxBackups setting, which could be
hours after queueing). In any case, an overly long backup for host B might
prevent a backup for host A from starting. I don't see any way within BackupPC
to prevent this. Again, this greatly depends on what kind of problems you
are expecting.

> I don't think there is a setting to force an order - they are just
> scheduled as the age of the previous backup hits the interval set
> between them.   You can manage it with a manual intervention, like
> starting a backup on the one(s) you want to happen first just before
> the blackout time ends.  If everything has the same schedule, these
> will continue to run first as long as everything completes in order.

Working with blackout windows and the periods, you can probably force this.
Let the blackout window for the "earlier" backup end at least one wakeup
earlier and keep the periods smaller so that it will run on the first wakeup
after the blackout even if it runs longer. Remember, it only needs to *start*
within the blackout window ...

Finally, the order, in which hosts are queued, is defined something like:
* hosts with errors before hosts without errors
* hosts with older last good backups earlier
* alphabetically on host name (presuming previous backup age identical to the
  second, which seems rather unlikely, unless there are no previous backups)

So host names might actually provide a way to start backups in the right
order on a new BackupPC installation :-) (hint: ClientNameAlias). And, of
course, to document your "priorities" and make it easy to check whether
things are backing up in the right order.

Hope that helps.

Regards,
Holger

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


Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread Holger Parplies
Hi,

fujisan wrote on 2017-12-12 13:08:08 +0100 [Re: [BackupPC-users] Error: Wrong 
user: my userid is 48, instead of 955(backuppc)]:
> [...]
> I have the following:
> -r 1 backuppc apache29 Sep 11  2015 /etc/httpd/conf/password.conf

that would seem to be a problem (unrelated), because authentication is probably 
done by Apache, not the BackupPC_Admin script ... ah ... it appears it won't
be, if you've changed the user for Apache (which I wouldn't do).

> -rwsr-x--- 1 backuppc apache  7128 Aug  2 18:51 
> /usr/libexec/BackupPC/BackupPC_Admin

Well, and /usr/libexec/BackupPC?

> in /etc/httpd/conf/httpd.conf
> User backuppc
> Group apache

Presuming setuid is working for Perl scripts (which it may not), there would
be no reason to change this. Even if setuid Perl scripts don't work, there
are probably better ways to do this. Is your web server running anything else
besides BackupPC?

Presuming you really *do* keep this, remove the setuid on BackupPC_Admin.

> [...]
> On Tue, Dec 12, 2017 at 11:46 AM, Jamie Burchell  wrote:
> > You need to configure Apache (/etc/httpd/conf/httpd.conf on CentOS 7) to
> > run under user ???backuppc???:

Can't say I'd agree. Besides the obvious implications, that sort of puts you
back on square one, where you might have to change all sorts of things on your
system just to get Apache to run. Repeat on every security update of Apache.
You'd better know what you're doing, in which case you wouldn't be here.

It certainly is *a* possible solution, but it's neither elegant nor mandatory,
nor should it be suggested without warning about the many implications.

> [...]
> > -rwsr-x--- 1 apache apache 7128 Aug  2 18:51 
> > /usr/libexec/BackupPC/BackupPC_Admin

At this point, it was obvious, but you've figured that out. Did you mention
whether the error message stayed the same after you changed that?

> > 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, yes, that's still obvious, because Apache has no execute permission.

> > Well, I cannot figure out how to setup backuppc.

And I can't figure out how to stop people from top-posting.

> > Any help welcome

Same here.

Regards,
Holger

P.S.: If your distribution's BackupPC package doesn't work with your
  distribution's Apache package and doesn't provide information on how
  to fix that, you should probably file a bug report.

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


Re: [BackupPC-users] Host Priority Option

2017-12-12 Thread Les Mikesell
On Tue, Dec 12, 2017 at 8:19 AM, Gurvinder  wrote:
>
> I have been using BackupPc from past few months however I could not find any 
> option where I can prioritize hosts for backups from the list of hosts we 
> add. Let say i have 10 hosts added for backup, now I want specific hosts to 
> start backups earlier than other backup hosts.
>
> Is there a way to achieve this. I tried searching for the same on mailing 
> list archive however there was not one old post found where answer was no, It 
> cannot be done. I would like to confirm if there is a way to define hosts 
> priority.

I don't think there is a setting to force an order - they are just
scheduled as the age of the previous backup hits the interval set
between them.   You can manage it with a manual intervention, like
starting a backup on the one(s) you want to happen first just before
the blackout time ends.  If everything has the same schedule, these
will continue to run first as long as everything completes in order.

-- 
  Les Mikesell
 lesmikes...@gmail.com

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


[BackupPC-users] Host Priority Option

2017-12-12 Thread Gurvinder
I have been using BackupPc from past few months however I could not find 
any option where I can prioritize hosts for backups from the list of 
hosts we add. Let say i have 10 hosts added for backup, now I want 
specific hosts to start backups earlier than other backup hosts.


Is there a way to achieve this. I tried searching for the same on 
mailing list archive however there was not one old post found where 
answer was no, It cannot be done. I would like to confirm if there is a 
way to define hosts priority.



--

Gurvinder Dadyala

Team Leader (IT/SysAdmin Dept)

Tel IN: +91 124 454 8383 Ext - 1028
Tel IN DID: +91 124 454 8385
Tel UK: +44 845 0047 142 Ext - 5012
Cell IN: +91 987-334-8577

TBS Website 
Techblue Software Pvt. Ltd
AIHP Tower, 249 G, 2nd Floor,,
Udyog Vihar, Phase 4,
Gurugram - 122015, Haryana

www.techbluesoftware.co.in 


	TBS Facebook 
 
TBS Twitter  TBS Google+ 
 TBS Linked In 



TBS Branding 

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


Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread Jamie Burchell
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 apache47 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 apache20 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 apache29 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  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/


Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread fujisan
Sorry, the previous mail ran away!

--
I have to mention that my server is running F27 abd is a Freeipa server.

I have the following:

-rw-r- 1 backuppc apache47 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 apache20 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 apache29 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

With all this, I cannot log into the freeipa  server.

Regards,
F.



On Tue, Dec 12, 2017 at 11:46 AM, Jamie Burchell  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/


Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread fujisan
I have to mention that my server is running F27 abd is a Freeipa server.

I have the following:

-rw-r- 1 backuppc apache47 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 apache20 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 apache29 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  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/


Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread Jamie Burchell
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/


[BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread fujisan
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/