SearchFAQMemberlist Log in
Reply to topic Page 1 of 2
Goto page 1, 2  Next
Backup From Web Browser
Author Message
Post Backup From Web Browser 
Hello All,

I am running backuppc-3.2.0beta1 on a linux host.

The linux host is on a different network than the computers that are to be backed up.

I have gotten things configured and can backup a computer from the command line on the server. But when I try to initiate a backup from the client through the web interface, nothing happens. I get the 'Server replied ok' message and it appears that it will work. But no backup occurs.

So far the log files have not led me to the problem either.


Ideas / Suggestions?

TIA
---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On 3/3/2010 11:12 AM, Summers, James B. II wrote:
Hello All,

I am running backuppc-3.2.0beta1 on a linux host.

The linux host is on a different network than the computers that are to be backed up.

I have gotten things configured and can backup a computer from the command line on the server. But when I try to initiate a backup from the client through the web interface, nothing happens. I get the 'Server replied ok' message and it appears that it will work. But no backup occurs.

So far the log files have not led me to the problem either.

Being on a different network shouldn't matter if you can resolve the
target name and aren't blocked by firewalls. After you start a backup
from the web interface you should have some sort of entry in the
per-host log files.

--
Les Mikesell
lesmikesell < at > gmail.com



------------------------------------------------------------------------------
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 Backup From Web Browser 
On Mar 3, 2010, at 11:24 AM, Les Mikesell wrote:

On 3/3/2010 11:12 AM, Summers, James B. II wrote:
Hello All,

I am running backuppc-3.2.0beta1 on a linux host.

The linux host is on a different network than the computers that are to be backed up.

I have gotten things configured and can backup a computer from the command line on the server. But when I try to initiate a backup from the client through the web interface, nothing happens. I get the 'Server replied ok' message and it appears that it will work. But no backup occurs.

So far the log files have not led me to the problem either.

Being on a different network shouldn't matter if you can resolve the
target name and aren't blocked by firewalls. After you start a backup
from the web interface you should have some sort of entry in the
per-host log files.


This is really odd. I can restore a file from a backup that was done on the command line. But I still can not initiate a backup from the browser.

Here is the logfile for the client:


2010-03-03 15:00:20 restore started for share DocumentsandSettings
2010-03-03 15:00:21 restore 0 complete (1 files, 312 bytes, 0 dirs, 0 xferErrs)

and then here is the server logfile showing where I have repeatedly tried to start a backup:

2010-03-03 14:58:27 BackupPC started, pid 6441
2010-03-03 14:58:27 Running BackupPC_trashClean (pid=6442)
2010-03-03 14:58:27 Next wakeup is 2010-03-04 05:00:00
2010-03-03 14:58:51 User jsummers requested backup of jbsoffice (10.194.10.227)
2010-03-03 15:00:20 User jsummers requested restore to jbsoffice (10.194.10.227)
2010-03-03 15:00:20 Started restore on jbsoffice (pid=6475)
2010-03-03 15:00:21 Finished restore on jbsoffice
2010-03-03 15:01:08 User jsummers requested backup of jbsoffice (10.194.10.227)


The error log for httpd shows no problems.

Not sure which way to go now.

Ideas / Suggestions?

Thanks again


--
Les Mikesell
lesmikesell < at > gmail.com



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



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
Another data point:

If I use a web browser from the server and attempt to initiate a backup, I get the message stating that being that the pc is a dhcp host and it must be started from the client because it can not resolve the netbios name.

Which is odd because it can do it from the command line using nmblookup and:

./BackupPC_dump -v -f jbsoffice

Hmmmmmm.....


On Mar 3, 2010, at 3:06 PM, Summers, James B. II wrote:


On Mar 3, 2010, at 11:24 AM, Les Mikesell wrote:

On 3/3/2010 11:12 AM, Summers, James B. II wrote:
Hello All,

I am running backuppc-3.2.0beta1 on a linux host.

The linux host is on a different network than the computers that are to be backed up.

I have gotten things configured and can backup a computer from the command line on the server. But when I try to initiate a backup from the client through the web interface, nothing happens. I get the 'Server replied ok' message and it appears that it will work. But no backup occurs.

So far the log files have not led me to the problem either.

Being on a different network shouldn't matter if you can resolve the
target name and aren't blocked by firewalls. After you start a backup
from the web interface you should have some sort of entry in the
per-host log files.


This is really odd. I can restore a file from a backup that was done on the command line. But I still can not initiate a backup from the browser.

Here is the logfile for the client:


2010-03-03 15:00:20 restore started for share DocumentsandSettings
2010-03-03 15:00:21 restore 0 complete (1 files, 312 bytes, 0 dirs, 0 xferErrs)

and then here is the server logfile showing where I have repeatedly tried to start a backup:

2010-03-03 14:58:27 BackupPC started, pid 6441
2010-03-03 14:58:27 Running BackupPC_trashClean (pid=6442)
2010-03-03 14:58:27 Next wakeup is 2010-03-04 05:00:00
2010-03-03 14:58:51 User jsummers requested backup of jbsoffice (10.194.10.227)
2010-03-03 15:00:20 User jsummers requested restore to jbsoffice (10.194.10.227)
2010-03-03 15:00:20 Started restore on jbsoffice (pid=6475)
2010-03-03 15:00:21 Finished restore on jbsoffice
2010-03-03 15:01:08 User jsummers requested backup of jbsoffice (10.194.10.227)


The error log for httpd shows no problems.

Not sure which way to go now.

Ideas / Suggestions?

Thanks again


--
Les Mikesell
lesmikesell < at > gmail.com



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



---
Jim Summers
School of Computer Science-University of Oklahoma





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



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On 3/3/2010 3:06 PM, Summers, James B. II wrote:

On Mar 3, 2010, at 11:24 AM, Les Mikesell wrote:

On 3/3/2010 11:12 AM, Summers, James B. II wrote:
Hello All,

I am running backuppc-3.2.0beta1 on a linux host.

The linux host is on a different network than the computers that are to be backed up.

I have gotten things configured and can backup a computer from the command line on the server. But when I try to initiate a backup from the client through the web interface, nothing happens. I get the 'Server replied ok' message and it appears that it will work. But no backup occurs.

So far the log files have not led me to the problem either.

Being on a different network shouldn't matter if you can resolve the
target name and aren't blocked by firewalls. After you start a backup
from the web interface you should have some sort of entry in the
per-host log files.


This is really odd. I can restore a file from a backup that was done on the command line. But I still can not initiate a backup from the browser.

Here is the logfile for the client:


2010-03-03 15:00:20 restore started for share DocumentsandSettings
2010-03-03 15:00:21 restore 0 complete (1 files, 312 bytes, 0 dirs, 0 xferErrs)

and then here is the server logfile showing where I have repeatedly tried to start a backup:

2010-03-03 14:58:27 BackupPC started, pid 6441
2010-03-03 14:58:27 Running BackupPC_trashClean (pid=6442)
2010-03-03 14:58:27 Next wakeup is 2010-03-04 05:00:00
2010-03-03 14:58:51 User jsummers requested backup of jbsoffice (10.194.10.227)
2010-03-03 15:00:20 User jsummers requested restore to jbsoffice (10.194.10.227)
2010-03-03 15:00:20 Started restore on jbsoffice (pid=6475)
2010-03-03 15:00:21 Finished restore on jbsoffice
2010-03-03 15:01:08 User jsummers requested backup of jbsoffice (10.194.10.227)


The error log for httpd shows no problems.

Not sure which way to go now.

Is anything else happening that could make the backup request be queued
instead of executing immediately (too many other jobs running, etc.)?

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
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 Backup From Web Browser 
On Wednesday 03 March 2010 21:06:46 Summers, James B. II wrote:
This is really odd. I can restore a file from a backup that was done on
the command line. But I still can not initiate a backup from the browser.

Can the web server user run any of the BackupPC commands? IE, try running the
commands with the privileges of www-data or httpd or whatever.

Regards,
Tyler

--
"I have long felt that any reviewer who expresses rage and loathing for
a novel is preposterous. He or she is like a person who has put on full
armor and attacked a hot fudge sundae or a banana split."
-- Kurt Vonnegut

------------------------------------------------------------------------------
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 Backup From Web Browser 
On Mar 3, 2010, at 4:21 PM, Tyler J. Wagner wrote:

On Wednesday 03 March 2010 21:06:46 Summers, James B. II wrote:
This is really odd. I can restore a file from a backup that was done on
the command line. But I still can not initiate a backup from the browser.

Can the web server user run any of the BackupPC commands? IE, try running the
commands with the privileges of www-data or httpd or whatever.


Might be on to something here. When at the client I try to initiate an incremental backup. Which according to the docs should happen at any time. I modified some file so I am sure there is something to backup.

The first messages come back as reply from server ok doInc, or something close to that. But then when I go back to the hompage of that client I noticed that the "Failed Ping" count keeps increasing. And the client log file never shows that anything was initiated, but the server log file shows the request.

From the command line I can ping the client by ip address and from the command line I can ping the server.

Since the webserver is dedicated to this function I simply set the user and group to backuppc to avoid all of the setuid stuff. Seems to be happy, at least no errors in the httpd error log.



Ideas / Suggestions?





Regards,
Tyler

--
"I have long felt that any reviewer who expresses rage and loathing for
a novel is preposterous. He or she is like a person who has put on full
armor and attacked a hot fudge sundae or a banana split."
-- Kurt Vonnegut



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On Thursday 04 March 2010 15:22:34 Summers, James B. II wrote:
Might be on to something here. When at the client I try to initiate an
incremental backup. Which according to the docs should happen at any
time. I modified some file so I am sure there is something to backup.

The first messages come back as reply from server ok doInc, or something
close to that. But then when I go back to the hompage of that client I
noticed that the "Failed Ping" count keeps increasing. And the client log
file never shows that anything was initiated, but the server log file
shows the request.

What distro? Installed from what source?

Installing on Ubuntu hardy from the distro packages, most files are owned by
root:root with normal permissions. Excecptions:

-rwsr-x--- backuppc www-data /usr/share/backuppc/cgi-bin/index.cgi
drwxr-xr-x backuppc www-data /etc/backuppc
-rw-r--r-- backuppc www-data /etc/backuppc/apache.conf
-rw-r----- backuppc www-data /etc/backuppc/config.pl
-rw-r----- backuppc www-data /etc/backuppc/hosts
drwxr-x--- backuppc backuppc /var/lib/backuppc
drwxr-x--- backuppc backuppc /var/lib/backuppc/cpool
drwxr-x--- backuppc backuppc /var/lib/backuppc/pc
drwxr-x--- backuppc backuppc /var/lib/backuppc/pool
drwxr-x--- backuppc backuppc /var/lib/backuppc/trash

The web server runs as www-data:www-data, can read the cgi, and the cgi runs
as setuid backuppc. Then the backuppc user can read/write anything else that
matters. I suppose the most obvious thing to check is "what user does your
index.cgi run as?"

Regards,
Tyler

--
"Laws are never as effective as habits."
-- Adlai Stevenson

------------------------------------------------------------------------------
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 Backup From Web Browser 
On Mar 4, 2010, at 2:39 PM, Tyler J. Wagner wrote:

On Thursday 04 March 2010 15:22:34 Summers, James B. II wrote:
Might be on to something here. When at the client I try to initiate an
incremental backup. Which according to the docs should happen at any
time. I modified some file so I am sure there is something to backup.

The first messages come back as reply from server ok doInc, or something
close to that. But then when I go back to the hompage of that client I
noticed that the "Failed Ping" count keeps increasing. And the client log
file never shows that anything was initiated, but the server log file
shows the request.

What distro?

RHEL4

Installed from what source?

tarball from the sourceforge site.


Installing on Ubuntu hardy from the distro packages, most files are owned by
root:root with normal permissions. Excecptions:

-rwsr-x--- backuppc www-data /usr/share/backuppc/cgi-bin/index.cgi
drwxr-xr-x backuppc www-data /etc/backuppc
-rw-r--r-- backuppc www-data /etc/backuppc/apache.conf
-rw-r----- backuppc www-data /etc/backuppc/config.pl
-rw-r----- backuppc www-data /etc/backuppc/hosts
drwxr-x--- backuppc backuppc /var/lib/backuppc
drwxr-x--- backuppc backuppc /var/lib/backuppc/cpool
drwxr-x--- backuppc backuppc /var/lib/backuppc/pc
drwxr-x--- backuppc backuppc /var/lib/backuppc/pool
drwxr-x--- backuppc backuppc /var/lib/backuppc/trash

The web server runs as www-data:www-data, can read the cgi, and the cgi runs
as setuid backuppc. Then the backuppc user can read/write anything else that
matters. I suppose the most obvious thing to check is "what user does your
index.cgi run as?"

My httpd is running as backuppc:backuppc, so I set:

-r-xr-xr-x 1 backuppc backuppc 3998 Feb 19 10:35 /var/www/cgi-bin/BackupPC_Admin

my data_dir for backuppc looks like:

drwxr-x--- 2 backuppc backuppc 4096 Mar 4 10:37 cpool
drwxr-x--- 3 backuppc backuppc 4096 Mar 4 10:37 pc
drwxr-x--- 2 backuppc backuppc 4096 Feb 19 10:35 pool
drwxr-x--- 2 backuppc backuppc 4096 Mar 3 16:23 trash

And the /usr/local/BackupPC dir:

drwxr-xr-x 2 backuppc backuppc 4096 Feb 19 10:35 bin
drwxr-xr-x 2 backuppc backuppc 4096 Feb 19 10:35 doc
drwxr-xr-x 4 backuppc backuppc 4096 Feb 19 10:35 lib


But still no joy.

Ideas?

TIA




Regards,
Tyler

--
"Laws are never as effective as habits."
-- Adlai Stevenson

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



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On Thursday 04 March 2010 21:48:37 Summers, James B. II wrote:
What distro?

RHEL4

Installed from what source?

tarball from the sourceforge site.
....
But still no joy.

Ideas?

Sorry, no. What I would do is uninstall both the web browser and backuppc,
and reinstall both from rhel4/centos4 RPM packages. I've had no problems
whatsoever running BackupPC on Ubuntu, always installed from packages.

Regards,
Tyler

--
"Beware of altruism. It is based on self-deception, the root of all evil."
-- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein

------------------------------------------------------------------------------
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 Backup From Web Browser 
Well a reinstall of the OS is not totally out of the question but will have to be a last resort.

My latest attempt was to wipe off all config files and binaries. Then did a re-install of BackupPC. I also have the suid stuff working in the webserver now. But I am confused on whether it is using mod_perl or not? If so, I need to remove the suid bit?

I reconfigured a host and then went to that host and asked for a full backup. Same results. The odd thing is that the first check comes back as ok. But when you go back to the host page, the failed ping count has increased.

All firewalls have been turned off and I can ping each address from each end of the pipe.

I think this is probably the underlying issue, but I can not get a log to help me.

Is there a way to run in debug mode or turn up log level? I found a setting to increase the verbosity of XFER, but I do not think I am getting that far?

Thanks


On Mar 4, 2010, at 3:48 PM, Summers, James B. II wrote:


On Mar 4, 2010, at 2:39 PM, Tyler J. Wagner wrote:

On Thursday 04 March 2010 15:22:34 Summers, James B. II wrote:
Might be on to something here. When at the client I try to initiate an
incremental backup. Which according to the docs should happen at any
time. I modified some file so I am sure there is something to backup.

The first messages come back as reply from server ok doInc, or something
close to that. But then when I go back to the hompage of that client I
noticed that the "Failed Ping" count keeps increasing. And the client log
file never shows that anything was initiated, but the server log file
shows the request.

What distro?

RHEL4

Installed from what source?

tarball from the sourceforge site.


Installing on Ubuntu hardy from the distro packages, most files are owned by
root:root with normal permissions. Excecptions:

-rwsr-x--- backuppc www-data /usr/share/backuppc/cgi-bin/index.cgi
drwxr-xr-x backuppc www-data /etc/backuppc
-rw-r--r-- backuppc www-data /etc/backuppc/apache.conf
-rw-r----- backuppc www-data /etc/backuppc/config.pl
-rw-r----- backuppc www-data /etc/backuppc/hosts
drwxr-x--- backuppc backuppc /var/lib/backuppc
drwxr-x--- backuppc backuppc /var/lib/backuppc/cpool
drwxr-x--- backuppc backuppc /var/lib/backuppc/pc
drwxr-x--- backuppc backuppc /var/lib/backuppc/pool
drwxr-x--- backuppc backuppc /var/lib/backuppc/trash

The web server runs as www-data:www-data, can read the cgi, and the cgi runs
as setuid backuppc. Then the backuppc user can read/write anything else that
matters. I suppose the most obvious thing to check is "what user does your
index.cgi run as?"

My httpd is running as backuppc:backuppc, so I set:

-r-xr-xr-x 1 backuppc backuppc 3998 Feb 19 10:35 /var/www/cgi-bin/BackupPC_Admin

my data_dir for backuppc looks like:

drwxr-x--- 2 backuppc backuppc 4096 Mar 4 10:37 cpool
drwxr-x--- 3 backuppc backuppc 4096 Mar 4 10:37 pc
drwxr-x--- 2 backuppc backuppc 4096 Feb 19 10:35 pool
drwxr-x--- 2 backuppc backuppc 4096 Mar 3 16:23 trash

And the /usr/local/BackupPC dir:

drwxr-xr-x 2 backuppc backuppc 4096 Feb 19 10:35 bin
drwxr-xr-x 2 backuppc backuppc 4096 Feb 19 10:35 doc
drwxr-xr-x 4 backuppc backuppc 4096 Feb 19 10:35 lib


But still no joy.

Ideas?

TIA




Regards,
Tyler

--
"Laws are never as effective as habits."
-- Adlai Stevenson

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



---
Jim Summers
School of Computer Science-University of Oklahoma





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



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On 3/5/2010 11:21 AM, Summers, James B. II wrote:

Well a reinstall of the OS is not totally out of the question but will have to be a last resort.

My latest attempt was to wipe off all config files and binaries. Then did a re-install of BackupPC. I also have the suid stuff working in the webserver now. But I am confused on whether it is using mod_perl or not? If so, I need to remove the suid bit?

I reconfigured a host and then went to that host and asked for a full backup. Same results. The odd thing is that the first check comes back as ok. But when you go back to the host page, the failed ping count has increased.

All firewalls have been turned off and I can ping each address from each end of the pipe.

I think this is probably the underlying issue, but I can not get a log to help me.

Is there a way to run in debug mode or turn up log level? I found a setting to increase the verbosity of XFER, but I do not think I am getting that far?

If you installed from the tarball you should know if you use mod_perl
because you don't unless you enabled it in the httpd config yourself.

Are you using SElinux? That's a common cause of mysterious problems,
especially when adding things not specifically packaged for the
distribution.

--
Les Mikesell
lesmikesell < at > gmail.com




------------------------------------------------------------------------------
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 Backup From Web Browser 
On Fri, 05 Mar 2010 12:11:08 -0600, Les Mikesell <lesmikesell < at > gmail.com>
wrote:

I reconfigured a host and then went to that host and asked for a full
backup. Same results. The odd thing is that the first check comes
back
as ok. But when you go back to the host page, the failed ping count
has
increased.

Silly question: can the backuppc user run the configured ping command?

--
--------------------------------------------------------
Joshua Malone Systems Administrator
(jmalone < at > nrao.edu) NRAO Charlottesville
434-296-0263 www.cv.nrao.edu
434-249-5699 (mobile)
BOFH excuse #426:

internet is needed to catch the etherbunny
--------------------------------------------------------

------------------------------------------------------------------------------
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 Backup From Web Browser 
On Mar 5, 2010, at 12:11 PM, Les Mikesell wrote:

On 3/5/2010 11:21 AM, Summers, James B. II wrote:

Well a reinstall of the OS is not totally out of the question but will have to be a last resort.

My latest attempt was to wipe off all config files and binaries. Then did a re-install of BackupPC. I also have the suid stuff working in the webserver now. But I am confused on whether it is using mod_perl or not? If so, I need to remove the suid bit?

I reconfigured a host and then went to that host and asked for a full backup. Same results. The odd thing is that the first check comes back as ok. But when you go back to the host page, the failed ping count has increased.

All firewalls have been turned off and I can ping each address from each end of the pipe.

I think this is probably the underlying issue, but I can not get a log to help me.

Is there a way to run in debug mode or turn up log level? I found a setting to increase the verbosity of XFER, but I do not think I am getting that far?

If you installed from the tarball you should know if you use mod_perl
because you don't unless you enabled it in the httpd config yourself.


Wat I meant to say was, is the mod_perl working the way I config'd it? But what I have done since, is totally disable mod_perl and attempt to do a backup from the host. Still no joy and the ping failure is increasing each attempt.


Are you using SElinux? That's a common cause of mysterious problems,
especially when adding things not specifically packaged for the
distribution.

No, it always causes grief.

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

The configured ping command is:

$pingPath -c 1 -w 3 $host

and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms

--- 129.15.78.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.469/1.469/1.469/0.000 ms, pipe 2

and on the host it can ping back to the server as well from a command prompt.

Hmmmmmmm....

Ideas?


Thanks!





--
Les Mikesell
lesmikesell < at > gmail.com




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



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
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 Backup From Web Browser 
On 3/5/2010 2:09 PM, Summers, James B. II wrote:


The configured ping command is:

$pingPath -c 1 -w 3 $host

and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms

Can you ping the name you defined for the host in backuppc?

Also, when you said you could do a backup from the command line, are you
using BackupPC_serverMesg? If not, do you get some kind of error if you
try it that way?

http://www.mail-archive.com/backuppc-users < at > lists.sourceforge.net/msg01227.html

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
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 2
Goto page 1, 2  Next
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