hi, After fussing with it all morning, went to lunch and started over again using Fiddler, but you were also correct that my URL was wrong.
Thank your for this backup solution. Works great. Mark > Mark, > > It looks like your setting for $Conf{CgiImageDirURL} is wrong. Your html > has hrefs like this: > > href="/var/www/htdocs/BackupPC/image/favicon.ico > > > $Conf{CgiImageDirURL} should be set to the URL (eg: "/BackupPC/image"), > not > the absolute file system path. > > Craig > > On Wed, Jun 13, 2018 at 5:27 AM, Mark Maciolek <m...@sr.unh.edu> wrote: > >> hi, >> Partially fixed. I put the correct BackupPC_Admin in place and the >> page >> loads, now just have to figure out why every image is 404. >> >> Mark >> > hi, >> > >> > First line: >> > #!/bin/perl >> > #============================================================= >> -*-perl-*-w >> > # >> > >> > selinux is in permissive mode >> > >> > manually run: >> > >> > >> > Content-Type: text/html; charset=utf-8 >> > >> > <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> >> > <html><head> >> > <title>BackupPC Server Status</title> >> > <link rel=stylesheet type="text/css" >> > href="/var/www/htdocs/BackupPC/image/BackupPC_stnd.css" >> title="CSSFile"> >> > <link rel=icon href="/var/www/htdocs/BackupPC/image/favicon.ico" >> > type="image/x-icon"> >> > <meta http-equiv="pragma" content="no-cache"> >> > <script src="/var/www/htdocs/BackupPC/image/sorttable.js"></script> >> > </head><body >> > onLoad="document.getElementById('NavMenu').style.height=document.body. >> scrollHeight"> >> > >> > <div id="navigation-container"> >> > à à à à à à à <div id="logo-container"> >> > à à à à à à à à à à à à à à à <a >> > href="https://backuppc.github.io/backuppc/"><img >> > src="/var/www/htdocs/BackupPC/image/logo.gif"></a> >> > à à à à à à à </div> >> > <div class="NavMenu" id="NavMenu"> >> > <h2 class="NavTitle">Hosts</h2> >> > <form action="" method="get"> >> > à à à <input type="text" name="host" size="14" maxlength="64"> >> > à à à <input type="hidden" name="action" value="hostInfo"><input >> > type="submit" value="Go" name="ignore"> >> > à à à </form> >> > <h2 class="NavTitle">Server</h2> >> > <a href="?action=status">Status</a> >> > <a href="?action=summary">Host Summary</a> >> > <a href="?action=view&type=docs">Documentation</a> >> > <a href="https://github.com/backuppc/backuppc/wiki">Wiki</a> >> > <a href="https://backuppc.github.io/backuppc">Homepage</a> >> > </div> >> > </div> <!-- end #navigation-container --> >> > <div id="Content"> >> > à à à <h1>BackupPC Server Status</h1> >> > >> > >> > <p> >> > à à à <h2>Currently Running Jobs</h2> >> > >> > <p> >> > <table class="tableStnd" border cellspacing="1" cellpadding="3"> >> > <tr class="tableheader"><td> Host </td> >> > à à à <td> Type </td> >> > à à à <td> User </td> >> > à à à <td> Start Time </td> >> > à à à <td> Command </td> >> > à à à <td align="center"> PID </td> >> > à à à <td align="center"> Xfer PID </td> >> > à à à <td align="center"> Status </td> >> > à à à <td align="center"> Count </td> >> > à à à </tr> >> > >> > </table> >> > >> > <p> >> > >> > >> > à à à <h2>Failures that need attention</h2> >> > >> > <p> >> > <table class="tableStnd" border cellspacing="1" cellpadding="3"> >> > <tr class="tableheader"><td align="center"> Host </td> >> > à à à <td align="center"> Type </td> >> > à à à <td align="center"> User </td> >> > à à à <td align="center"> Last Try </td> >> > à à à <td align="center"> Details </td> >> > à à à <td align="center"> Error Time </td> >> > à à à <td> Last error (other than no ping) </td></tr> >> > >> > </table> >> > >> > </body></html> >> > >> > apache is running as backuppc user. >> > >> > Mark >> > >> > >> > On 6/12/2018 10:25 PM, Craig Barratt via BackupPC-users wrote: >> >> Some random questions: >> >> >> >> What's the very first line of BackupPC_Admin? >> >> >> >> Could this be some sort of selinux issue? >> >> >> >> What happens when you manually run BackupPC_Admin (as the backuppc >> >> user)?à What user is apache running as? >> >> >> >> Craig >> >> >> >> On Tue, Jun 12, 2018 at 7:17 PM, mlm <m...@sr.unh.edu >> >> <mailto:m...@sr.unh.edu>> wrote: >> >> >> >> >> >> >> >> On 6/12/2018 8:10 PM, Holger Parplies wrote: >> >> >> >> Hi, >> >> >> >> mlm wrote on 2018-06-12 17:20:06 -0400 [[BackupPC-users] >> >> backuppc 4.2.1 perl issue]: >> >> >> >> [...] >> >> New system running Scientific Linux 7.5, installed 4.2.1 >> >> from tar file >> >> >> >> Global symbol "%In" requires explicit package name at >> >> /usr/share/BackupPC/sbin/BackupPC_Admin line 90. >> >> [...] >> >> Bareword "BackupPC::CGI::Lib::NewRequest" not allowed >> >> while "strict subs" in use at >> >> /usr/share/BackupPC/sbin/BackupPC_Admin line 56. >> >> [...] >> >> Any suggestions on troubleshooting further? >> >> >> >> what do the first few non-comment lines of your >> BackupPC_Admin >> >> look like >> >> (about 12, but I don't have 4.2.1 here right now, so that >> >> might have changed; >> >> up to the first "my" variable declaration)? It would seem >> that >> >> the >> >> BackupPC::CGI::Lib module is not correctly imported. Is the >> >> path in the >> >> "use lib" pragma correct for your installation? What are the >> >> permissions on >> >> the library file and its parent directories? >> >> >> >> What Perl version are you running ('perl -v')? >> >> >> >> Regards, >> >> Holger >> >> >> >> hi >> >> from BackupPC_Admin: >> >> >> >> use strict; >> >> noà utf8; >> >> use CGI; >> >> use CGI::Carp qw(fatalsToBrowser); >> >> use lib "/usr/local/BackupPC/lib"; >> >> >> >> use BackupPC::Lib; >> >> use BackupPC::CGI::Lib qw(:all); >> >> >> >> BackupPC::CGI::Lib::NewRequest; >> >> >> >> my %ActionDispatch = ( >> >> à à à "deleteBackup"à à à à à à à à à à à à à à >> => >> "DeleteBackup", >> >> >> >> folders all owned by backupc: >> >> s -al /usr/local/BackupPC/lib/BackupPC/ >> >> total 108 >> >> drwxr-xr-x. 8 backuppc backuppcà à 160 Jun 12 21:40 . >> >> drwxr-xr-x. 4 backuppc backuppcà à à 33 Jun 12 16:09 .. >> >> drwxr-xr-x. 2 backuppc backuppcà 4096 Jun 12 21:40 CGI >> >> drwxr-xr-x. 2 backuppc backuppcà à à 21 Jun 12 21:40 Config >> >> -r--r--r--. 1 backuppc backuppc 13638 Jun 12 21:40 DirOps.pm >> >> drwxr-xr-x. 2 backuppc backuppcà à 181 Jun 12 21:40 Lang >> >> -r--r--r--. 1 backuppc backuppc 38786 Jun 12 21:40 Lib.pm >> >> drwxr-xr-x. 2 backuppc backuppcà à à 21 Jun 12 21:40 Storage >> >> -r--r--r--. 1 backuppc backuppcà 3014 Jun 12 21:40 Storage.pm >> >> -r--r--r--. 1 backuppc backuppc 36631 Jun 12 21:40 View.pm >> >> drwxr-xr-x. 2 backuppc backuppcà à 101 Jun 12 21:40 Xfer >> >> -r--r--r--. 1 backuppc backuppcà 5002 Jun 12 21:40 Xfer.pm >> >> drwxr-xr-x. 2 backuppc backuppcà à à 27 Jun 12 21:40 Zip >> >> >> >> >> >> This is perl 5, version 16, subversion 3 (v5.16.3) built for >> >> x86_64-linux-thread-multi >> >> (with 33 registered patches, see perl -V for more detail) >> >> >> >> >> >> >> >> ------------------------------------------------------------ >> ------------------ >> >> 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 >> >> <mailto:BackupPC-users@lists.sourceforge.net> >> >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users >> >> <https://lists.sourceforge.net/lists/listinfo/backuppc-users> >> >> Wiki: http://backuppc.wiki.sourceforge.net >> >> <http://backuppc.wiki.sourceforge.net> >> >> Project: http://backuppc.sourceforge.net/ >> >> <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/ >> > >> > ------------------------------------------------------------ >> ------------------ >> > 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/ >> > ------------------------------------------------------------------------------ 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/