SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
web interface issues
Author Message
Post web interface issues 
Hello backuppc people Smile

I am running BackupPC 3.2.0beta0... and This is the 3rd or 4th time this
has happened... and i'm not sure why...

Log in to the cgi-bin interface...
Go to add a host (already have about 14 hosts in there)...
after hitting save from adding the new host... all styling is lost on
the web page...
none of the data is loading up in the interface...
host summary says 0 hosts have been backed up, etc...

This persisted through a reboot as well...

How do I troubleshoot this? apache is throwing no errors... nothing is
reported in backuppc logs... it seems like a problem with mod__perl maybe??

Any help is appreciated!

-nick

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
-----Original Message-----
From: Nick Hadaway [mailto:nick.hadaway < at > fastroot.com]
Sent: Thursday, March 04, 2010 3:50 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: [BackupPC-users] web interface issues

Log in to the cgi-bin interface...
Go to add a host (already have about 14 hosts in there)...
after hitting save from adding the new host... all styling is lost on
the web page...
none of the data is loading up in the interface...
host summary says 0 hosts have been backed up, etc...

This persisted through a reboot as well...

How do I troubleshoot this? apache is throwing no errors... nothing is
reported in backuppc logs... it seems like a problem with mod__perl maybe??

Same thing with different browsers?
--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
Quick idea: Maybe your hosts file got messed up?

Tino.

On Thu, Mar 04, 2010 at 08:50:04AM -0600, Nick Hadaway wrote:
Hello backuppc people Smile

I am running BackupPC 3.2.0beta0... and This is the 3rd or 4th time this
has happened... and i'm not sure why...

Log in to the cgi-bin interface...
Go to add a host (already have about 14 hosts in there)...
after hitting save from adding the new host... all styling is lost on
the web page...
none of the data is loading up in the interface...
host summary says 0 hosts have been backed up, etc...

This persisted through a reboot as well...

How do I troubleshoot this? apache is throwing no errors... nothing is
reported in backuppc logs... it seems like a problem with mod__perl maybe??

Any help is appreciated!

-nick

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

--
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.tisc.de

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
Firefox, Internet Explorer, Opera... its all the same...  

/var/log/httpd/error_log shows no errors
/var/log/BackupPC/LOG shows no errors
/etc/hosts is normal
/etc/BackupPC/hosts is normal

Attached to this message is a screenshot of what my web interface looks like now.

Thanks for the help!

-nick


On 03/04/2010 09:20 AM, Sorin Srbu wrote: -----Original Message-----
From: Nick Hadaway [mailto:nick.hadaway < at > fastroot.com ([email]nick.hadaway < at > fastroot.com[/email])]
Sent: Thursday, March 04, 2010 3:50 PM
To: backuppc-users < at > lists.sourceforge.net ([email]backuppc-users < at > lists.sourceforge.net[/email])
Subject: [BackupPC-users] web interface issues

Log in to the cgi-bin interface...
Go to add a host (already have about 14 hosts in there)...
after hitting save from adding the new host... all styling is lost on
the web page...
none of the data is loading up in the interface...
host summary says 0 hosts have been backed up, etc...

This persisted through a reboot as well...

How do I troubleshoot this? apache is throwing no errors... nothing is
reported in backuppc logs... it seems like a problem with mod__perl maybe??

Same thing with different browsers?


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Post web interface issues 
Firefox, Internet Explorer, Opera... its all the same...
/var/log/httpd/error_log shows no errors
/var/log/BackupPC/LOG shows no errors
/etc/hosts is normal
/etc/BackupPC/hosts is normal
Attached to this message is a screenshot of what my web interface looks
like now.

I also have this problem, with backuppc 3.1.0-ubuntu6. The interface was
working fine before, but I just had to reinstall my OS. Now my screenshot looks
similar to yours: although I still have the sidebar at left, the only links in
the server section are Status, Host Summary, Documentation, Wiki, Sourceforge.
The links for Edit config, Edit hosts, etc. are missing.

In the main area for Server Status, I see Currently running jobs and Failures
that need attention, but no General server information and no graphs or
statistics of file space usage.

After my boot hard drive died, I changed from Debian to Ubuntu. I also had to
chown -R backuppc:backuppc /var/lib/backuppc, since the backuppc user's user and
group IDs had changed. So I guess that this is either a problem with
permissions, or a problem in the Ubuntu package. But since index.cgi is suid
backuppc, I don't see why there should be a permission problem.

Nick, are you running Ubuntu by any chance?
Andrew.



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
My problems with backuppc are almost completely solved. Smile
I ran through /etc/BackupPC/config.pl one more time and found some
misconfiguration.
Take the time to go through that file and get things set right... Even
if you thought you already set it... double check it...

what really helped the most was pulling out all the comments from the
config file which allowed for a much more sane view of option settings.

For CSS and pretty stuff:
$Conf{CgiImageDir} = '/var/www/html/BackupPC';
$Conf{CgiImageDirURL} = '/BackupPC';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';

To make sure you can see ALL hosts when logging in as admin:
$Conf{CgiNavBarAdminAllHosts} = '1';

And probably the most important ones..
$Conf{BackupPCUser} = 'backuppc';
$Conf{TopDir} = '/data/BackupPC';
$Conf{ConfDir} = '/etc/BackupPC';
$Conf{LogDir} = '/var/log/BackupPC';
$Conf{InstallDir} = '/usr/local/BackupPC';
$Conf{CgiDir} = '/var/www/cgi-bin';

I noticed that when I did a re-configure and install of BackupPC to
re-set my config.pl sanity... I noticed I had to manually populate the
TopDir, InstallDir, etc... even though the install showed my directory
structure properly. Anyway... this is beta release so i'm willing to
accept things like that...

So the web interface works well after getting the config options set
properly.

BTW... my OS is CentOS 5.4 + extra repositories to get all the perl
packages put in nicely.

Next?: in all this reconfiguration, linux hosts are working
marvelously... but my windows+rsyncd hosts stopped working... and now
i'm trying DeltaCopy with the same failures... more to come.

-nick

On 3/8/2010 3:38 AM, Andrew Schulman wrote:
Firefox, Internet Explorer, Opera... its all the same...
/var/log/httpd/error_log shows no errors
/var/log/BackupPC/LOG shows no errors
/etc/hosts is normal
/etc/BackupPC/hosts is normal
Attached to this message is a screenshot of what my web interface looks
like now.

I also have this problem, with backuppc 3.1.0-ubuntu6. The interface was
working fine before, but I just had to reinstall my OS. Now my screenshot looks
similar to yours: although I still have the sidebar at left, the only links in
the server section are Status, Host Summary, Documentation, Wiki, Sourceforge.
The links for Edit config, Edit hosts, etc. are missing.

In the main area for Server Status, I see Currently running jobs and Failures
that need attention, but no General server information and no graphs or
statistics of file space usage.

After my boot hard drive died, I changed from Debian to Ubuntu. I also had to
chown -R backuppc:backuppc /var/lib/backuppc, since the backuppc user's user and
group IDs had changed. So I guess that this is either a problem with
permissions, or a problem in the Ubuntu package. But since index.cgi is suid
backuppc, I don't see why there should be a permission problem.

Nick, are you running Ubuntu by any chance?
Andrew.



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
So the web interface works well after getting the config options set
properly.

Indeed... thanks for the reminder.

Looking back through my config.pl again as you suggested, I found the options
CgiAdminUserGroup and CgiAdminUsers, helpfully commented that these are the
users who can see the full admin interface. By default $Conf{CgiAdminUserGroup}
= 'backup', and after my OS reinstall I hadn't get added myself back into the
backup group. Once I did that, the rest of the admin interface immediately came
back.

Thanks,
Andrew.



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post web interface issues 
I posted something to the list about this a little while back, but did
not get a response, so I thought I'd try again.

I'm running BackupPC 3.1.0 on Debian Lenny and everything seems to work
except for the "User Actions" buttons for any host. Those buttons are
Start Incr Backup, Start Full Backup and Stop/Dequeue Backup. When I
push any one of those three, nothing at all happens.

When I hit the buttons, I get one of these two log entries in the Apache
logs (depending on which button):
[18/Mar/2010:09:14:28 -0500] "GET
/backuppc/index.cgi?host=myhost.mydomain.com&action=Start+Full+Backup
HTTP/1.1" 200 19455
[18/Mar/2010:09:15:49 -0500] "GET
/backuppc/index.cgi?host=myhost.mydomain.com&action=Stop%2FDequeue+Backup
HTTP/1.1" 200 19455



Notice that there is no entry for the "Start Incr Backup" button. When
I hit that button, I get no response from Apache at all.


This server is an upgraded Debian Etch, which was running BackupPC
2.1.x. We upgraded another box the same way and it is working fine.


Any thoughts?


Trey Nolen


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB