Hey folks.

I have a BackupPC v4.3.1 set, (upgraded from v3), on a machine.

I have set via /etc/fstab a NFS share as follow:

192.168.0.136:/mnt/HD/HD_a2/bpcshare        /var/lib/BackupPC    nfs   
rw,_netdev    0 0

The issue i have is, when i try to visit the Host Summary menu, or to
select a host from the dropdown menu, i get Error 504.

The webserver logs return the following:

```
[Tue Jan 21 19:32:47 2020] [warn] [client 172.30.124.10] Timeout waiting
for output from CGI script /usr/share/BackupPC/sbin/BackupPC_Admin,
referer: http://192.168.0.10/backuppc?action=adminOpts
[Tue Jan 21 19:32:47 2020] [error] [client 172.30.124.10] Script timed
out before returning headers: BackupPC_Admin, referer:
http://192.168.0.10/backuppc?action=adminOpts
```

I specifically upgraded from v3 to v4, because i read, that BackupPC
does not support properly NFS in v3. 

The way i upgraded was as follow:

Remove with yum the backuppc package. 
Download the tarball v4. Install dependencies and Perl modules. 
Install rsync_bpc as well.
Run the `configure.pl` script for the v4.

Replaced the init.d script with the one in the repository, since i am
using CentOS 6.

Using an old Apache conf file for the web part.

Conf is as follow:

<Directory       /usr/share/BackupPC/>
# BackupPC requires valid authentication in order for the web interface
to
# function properly.  One can view the web interface without
authentication
# though all functionality is disabled.
# 
# htpasswd -c /etc/BackupPC/apache.users yourusername
# 
```
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"

<IfModule mod_authz_core.c>
  # Apache 2.4
  <RequireAll>
    Require valid-user
    <RequireAny>
      Require local
    </RequireAny>
  </RequireAll>
</IfModule>
<IfModule !mod_authz_core.c>
  # Apache 2.2
  order deny,allow
  allow from all
  allow from 127.0.0.1
  allow from ::1
  require valid-user
</IfModule>

</Directory>

Alias           /BackupPC/images        /usr/share/BackupPC/html/
ScriptAlias     /BackupPC              
/usr/share/BackupPC/sbin/BackupPC_Admin
ScriptAlias     /backuppc              
/usr/share/BackupPC/sbin/BackupPC_Admin
```

Where as the mentioned BackUpPC_Admin has the following properties:

```
-r-sr-xr-- 1 backuppc backuppc 3977 21 яну 18,43 BackupPC_Admin

```
I presume the issue maybe is coming from this, but no idea how it should
look like.

This is problematic, because if i want to restore a backup, i have to
try and do it manually, instead from the web UI.

-- 
 GEORGI YANKOV
_Junior_ _System Administrator_

135, Tsarigradsko Shose Blvd., Floor 3,
1784, Sofia, Bulgaria

Nicht ein schlacht, ein rettungsaktion.
_______________________________________________
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