[BackupPC-users] /var/run/BackupPC Alpha3

2014-10-14 Thread rpace
ok i thank rc.local runs before init.d...thanks!
I put these lines at the beginning of init.d script BackupPC but it seems i 
cant stop/start/restart BackupPC server...

[root@backuppc ]# service backuppc stop
Stopping backuppc: No /usr/bin/perl found running; none killed.
ok.

[root@backuppc]# service backuppc restart
Restarting backuppc: No /usr/bin/perl found running; none killed.
2014-10-14 09:00:16 Another BackupPC is running (pid 3090); quitting...

i dont really understand how to fix this, if you have an idea ! Thank you

+--
|This was sent by romainp...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] /var/run/BackupPC Alpha3

2014-10-14 Thread rpace
Ok so i modified the script because $LOGDIR doesnt refer to the 
/var/run/BackupPC...i could let PID files stored in /var/log/BackupPC but i 
prefer /var/run...

Could someone tell me if it is ok or it doesnt matter...? It works well for me.

http://pastebin.com/6uvtHCvW

+--
|This was sent by romainp...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Full backup not backing up all files

2014-10-14 Thread Mikko Kortelainen
I have a problem with two BackupPC hosts, yet there's a further third
host that is working ok.

The problem is that a full backup does not seem to back up all files
on Windows hosts. An incremental backs up many more files than a full
one, or so it seems, looking at the version history.

On a typical C$ share, full backup omits directories such as Program
Files and WINDOWS. The incremental backs them up.

The only error messages I get are a couple of sharing violations in
the error log, but nothing that should fail those whole directories.

So far I have seen this on two BackupPC hosts, both Ubuntu 14.04 LTS.
A third host which I have kept at 12.04 does not seem to suffer from
this. The BackupPC version on all three of them is 3.3.0. Smbclient
version is 3.5.11 on the 12.04 host and 4.1.6 on the 14.04 hosts.

For testing purposes, I set up one 12.04 host and one 14.04 host to
back up the same target with similar configuration files. Looking at
the XferLOGs, the total number of files on share C$ for the 12.04 host
was:

66691 filesTotal taking 9 GB on disk, while the 14.04 host had:
23910 filesTotal taking 6 GB on disk.

So around 4 files of total 3 GB are omitted.

Full backup command is:

/usr/bin/smbclient -A /etc/backuppc/smbauth HOSTNAME\\C\$ -E -d 1
-c tarmode\ full -Tc -

Incremental:

/usr/bin/smbclient -A /etc/backuppc/smbauth HOSTNAME\\C\$ -E -d 1
-c tarmode\ full -TcN /var/lib/backuppc/pc/HOSTNAME/timeStamp.level0 -

Here's is a screenshot of the history page. Backups number 0, 2 and 5
are full backups, while the rest are incrementals:

https://drive.google.com/file/d/0B8tcfJc8vLAkZW1UQ25qUTRtbzQ/view?usp=sharing

What could be the problem here? Something to do with the Samba version
(3.5 vs. 4.1)? What can I do to diagnose this?

-Mikko

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Full backup not backing up all files

2014-10-14 Thread Holger Parplies
Hi,

Mikko Kortelainen wrote on 2014-10-14 12:18:00 +0300 [[BackupPC-users] Full 
backup not backing up all files]:
 I have a problem with two BackupPC hosts, yet there's a further third
 host that is working ok.
 
 The problem is that a full backup does not seem to back up all files
 on Windows hosts. An incremental backs up many more files than a full
 one, or so it seems, looking at the version history.
 [...]
 What could be the problem here? Something to do with the Samba version
 (3.5 vs. 4.1)?

so it would seem. Or maybe only a changed default configuration. I don't know
enough about smbclient to guess what it might be, but I know that smb.conf is
relevant for the smbclient command as well.

 What can I do to diagnose this?

A 'diff' of the two smb.conf files might shed some light, presuming it is
configuration related. Otherwise, I would expect the old smbclient package
(along with the same version samba-common) to work on the newer system. You
have several options for trying the downgrade (***Note: I am assuming you have
nothing installed on the system that depends on smbclient/samba-common, i.e.
no samba server, samba configuration tool etc. If in doubt, check with
'apt-cache rdepends samba-common smbclient'***):

- download the packages with a browser and install with 'dpkg -i',
- add a sources.list line for the old distribution on the host(s) with the
  new one and do something like

apt-get update
apt-get install --reinstall smbclient=xyz samba-common=xyz

  (where 'xyz' is the version of smbclient/samba-common on the old system;
  'apt-cache policy smbclient' might help figuring things out), or
- download the packages on the old system with

apt-get -d install --reinstall smbclient samba-common

  (the '-d' switch means 'download only'). Copy them from
  /var/cache/apt/archives over to the new host and install with 'dpkg -i'.

You'll probably need to confirm the downgrade for 'apt-get' and possibly
use a '--force-downgrade' switch on dpkg, but I don't think so.

Presuming downgrading helps and you want to keep things that way, you
should put the packages on hold (so they won't be inadvertantly
upgraded at some point), and you should probably browse the changelogs to
see if there were any important security fixes that the old version misses.

Otherwise, 'apt-get install smbclient samba-common' or simply
'apt-get upgrade' should revert things to the new version.

Hope that helps.

Regards,
Holger

P.S.: There might be some other changed dependencies that I missed. In
  general, apt-get should take care of things. If you use 'dpkg -i',
  you can follow that with 'apt-get -f install' to fix dependencies,
  though in awkward situations this occasionally tends to want to
  fix things by removing the package you just installed. Always
  check what 'apt-get' wants to do, and be very sceptical if it wants
  to remove packages.
  Bottom line: it's easy enough to attempt the downgrade and simply
  *not* do it if it turns out to require more than replacing the two
  packages with older versions.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] protocol version mismatch -- is your shell clean?

2014-10-14 Thread Holger Parplies
Hi,

HAL9000 wrote on 2014-10-08 08:48:56 -0700 [[BackupPC-users] protocol version 
mismatch -- is your shell clean?]:
 [...]
 Does anyone here know how to correct this?

yes, simply not do it. What on earth are you trying to do? You have no
apparent problem, except that you don't speak the rsync protocol (which
is not really a problem - you don't have to).

 |This was sent by spamcatc...@safe-mail.net via Backup Central.

No comment.

Regards,
Holger

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Full backup not backing up all files

2014-10-14 Thread Mikko Kortelainen
Holger, thanks for your response.

The smb.conf should be pretty much stock on both machines. Besides
comments and whitespace, the only difference is this:

   client ntlmv2 auth = no

That's set on the Samba 3.5 host but not on the 4.1. Actually it seems
that the default for that has changed from Samba 3 (no) to Samba 4
(yes). I set it to no and ran a full backup again but the result was
no different.

A colleague of mine just told me he did a Samba downgrade from 4.1 to
3.5 and tested a quick full backup which was fine. I haven't tried it
myself yet.

What I did do is I ran a full backup command from the command line
with smbclient 4.1 and it stops here:

   0 (0,0 kb/s) \MSDOS.SYS
   94720 (  818,6 kb/s) \msizap.exe
   47772 ( 2744,3 kb/s) \NTDETECT.COM
  297072 ( 4917,1 kb/s) \ntldr
NT_STATUS_SHARING_VIOLATION opening remote file \pagefile.sys (\)
NT_STATUS_SHARING_VIOLATION listing \\*
tar: dumped 26297 files and directories
Total bytes written: 17752618496

So it stops after the first NT_STATUS_SHARING_VIOLATION on a file in
the root directory of C$. There's a bug related to it and tagged to
Samba 3.6:

smbclient TAR omits remainder of directory on access denial.
https://bugzilla.samba.org/show_bug.cgi?id=10605

Perhaps Samba 4.1 suffers from the same bug.

This is pretty bad as the backup is still listed as a good backup,
even though it is far from complete. And the error log can have more
NT_STATUS_SHARING_VIOLATION messages so it is not immediately obvious
that the backup stopped before copying everything it can. It only
omits the rest of the files and subdirectories in the same directory
with that error and continues with the next same or upper level
directory. Being the root of C$ there are no same level or upper level
directories left to back up, so it stops completely.

As time goes by, the incrementals get deleted from disk, and any files
not included in the full backups will be gone, if I have understood
correctly (?). So there will be at most IncrAgeMax days of complete
backups available. The full backups are just partial.

I guess the only thing I can do now is downgrade to Samba 3.5.

It is quite alarming to realize this thing may bite every user out
there with the default packages and settings on any relatively new
distro. And there is no good warning about it. Looking at the error
log, the problem is not immediately obvious. It is obvious only after
you browse your full backups and discover some stuff is not there.

-Mikko


2014-10-14 15:26 GMT+03:00 Holger Parplies wb...@parplies.de:
 Hi,

 Mikko Kortelainen wrote on 2014-10-14 12:18:00 +0300 [[BackupPC-users] Full 
 backup not backing up all files]:
 I have a problem with two BackupPC hosts, yet there's a further third
 host that is working ok.

 The problem is that a full backup does not seem to back up all files
 on Windows hosts. An incremental backs up many more files than a full
 one, or so it seems, looking at the version history.
 [...]
 What could be the problem here? Something to do with the Samba version
 (3.5 vs. 4.1)?

 so it would seem. Or maybe only a changed default configuration. I don't know
 enough about smbclient to guess what it might be, but I know that smb.conf is
 relevant for the smbclient command as well.

 What can I do to diagnose this?

 A 'diff' of the two smb.conf files might shed some light, presuming it is
 configuration related. Otherwise, I would expect the old smbclient package
 (along with the same version samba-common) to work on the newer system. You
 have several options for trying the downgrade (***Note: I am assuming you have
 nothing installed on the system that depends on smbclient/samba-common, i.e.
 no samba server, samba configuration tool etc. If in doubt, check with
 'apt-cache rdepends samba-common smbclient'***):

 - download the packages with a browser and install with 'dpkg -i',
 - add a sources.list line for the old distribution on the host(s) with the
   new one and do something like

 apt-get update
 apt-get install --reinstall smbclient=xyz samba-common=xyz

   (where 'xyz' is the version of smbclient/samba-common on the old system;
   'apt-cache policy smbclient' might help figuring things out), or
 - download the packages on the old system with

 apt-get -d install --reinstall smbclient samba-common

   (the '-d' switch means 'download only'). Copy them from
   /var/cache/apt/archives over to the new host and install with 'dpkg -i'.

 You'll probably need to confirm the downgrade for 'apt-get' and possibly
 use a '--force-downgrade' switch on dpkg, but I don't think so.

 Presuming downgrading helps and you want to keep things that way, you
 should put the packages on hold (so they won't be inadvertantly
 upgraded at some point), and you should probably browse the changelogs to
 see if there were any important security fixes that the old version misses.

 Otherwise, 'apt-get install smbclient samba-common' or simply
 'apt-get upgrade' 

[BackupPC-users] R: R: Re: Child exited prematurely

2014-10-14 Thread absolutely_f...@libero.it

Thank you, I had no problem  in running full backup through CLI.

I hope next incremental backuppc will run fine


Messaggio originale
Da: absolutely_f...@libero.it
Data: 09/10/2014 15.14
A: backuppc-users@lists.sourceforge.net
Ogg: [BackupPC-users] R: Re:  Child exited prematurely

Hi Micha,

yes you are right, I am using rsync over ssh.
If I try connection from backuppc server to host, connection works fine.
Additionally, I have several share configured on this host, and I have 
problem just with one of them.
Strange :(



Messaggio originale
Da: mi...@kovoks.nl
Data: 03/10/2014 10.05
A: absolutely freeabsolutely_f...@libero.it, General list for user 
discussion, questions and supportbackuppc-users@lists.sourceforge.net
Ogg: Re: [BackupPC-users] Child exited prematurely

Hi,

I guess you are using the rsync over ssh option to make backups?
 
it's quite hard to debug this, but 9 out of 10 times its the ssh / rsync 
connection that is failing. Login on the backuppc server, become the 
backuppc 
user and try to make an connection manualy via f.e. ssh

Met vriendelijke groet,

Micha Kersloot

Blijf op de hoogte en ontvang de laatste tips over Zimbra/KovoKs Contact:
http://twitter.com/kovoks

KovoKs B.V. is ingeschreven onder KvK nummer: 1104

- Original Message -
 From: absolutely free absolutely_f...@libero.it
 To: backuppc-users@lists.sourceforge.net
 Sent: Friday, October 3, 2014 9:54:35 AM
 Subject: [BackupPC-users] Child exited prematurely
 
 Hi,
 I got this error:
 
 The following hosts had an error that is probably caused by a
 misconfiguration.  Please fix these hosts:
   - server.domain.com (Child exited prematurely)
 
 Regards,
 PC Backup Genie
 
 I am sure that is it not a configuration issue (I never changed conf 
file).
 Through BackupPC web interface I got this:
 
 [ skipped 864487 lines ]
 Parent read EOF from child: fatal error!
 Done: 0 files, 0 bytes
 Got fatal error during xfer (Child exited prematurely)
 Backup aborted (Child exited prematurely)
 Not saving this as a partial backup since it has fewer files than the 
prior
 one (got 11 and 0 files versus 11)
 
 How can I determine what caused this problem?
 
 Thank you
 
 

--
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.
clktrk
 ___
 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/
 





--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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/




--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread xpac
I need to know if there is a way to configure the apache conf file so that both 
BackupPC and Nagios web interfaces will be accessible although they are running 
off the same box.

I had BackupPC running fine, but the install instructions had me change the 
httpd.conf file to:

User backuppc

Unfortunately, that breaks a bunch of permissions for the Nagios interface.  
When I change the user back to apache Nagios runs fine, but I can't even get 
the BackupPC interface to come up properly.

Is there a way to make it so that the BackupPC interface doesn't have to user 
backuppc as the user in httpd.conf?  Or some other way I can do this?

+--
|This was sent by ph...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread xpac
Ok I found this little tidbit in some documentation:

As mentioned, the BackupPC user created on the system when installing the RPM 
has to run Apache in order for everything to work properly with the CGIs and 
mod_perl. Go ahead and setup the appropriate values in httpd.conf. 

So BackupPC requires the user backuppc to run properly.  Guess this is a 
question for the Nagios folks  :(

+--
|This was sent by ph...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread Les Mikesell
On Tue, Oct 14, 2014 at 2:53 PM, xpac backuppc-fo...@backupcentral.com wrote:
 I need to know if there is a way to configure the apache conf file so that 
 both BackupPC and Nagios web interfaces will be accessible although they are 
 running off the same box.

 I had BackupPC running fine, but the install instructions had me change the 
 httpd.conf file to:

 User backuppc

 Unfortunately, that breaks a bunch of permissions for the Nagios interface.  
 When I change the user back to apache Nagios runs fine, but I can't even 
 get the BackupPC interface to come up properly.

 Is there a way to make it so that the BackupPC interface doesn't have to user 
 backuppc as the user in httpd.conf?  Or some other way I can do this?

What OS distribution are you using, and are you using their packaged
version of backuppc? Usually you would make the cgi script run setuid
backuppc with support from suid_perl, mod_suid, or a wrapper written
in C, but the details may vary with what your OS provides and allows.

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

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread Carl Cravens
On 10/14/2014 02:53 PM, xpac wrote:
 Is there a way to make it so that the BackupPC interface doesn't have to user 
 backuppc as the user in httpd.conf?  Or some other way I can do this?

Take a look at the suexec Apache module.  It lets you specify which user:group 
each virtual host runs as.  I use this frequently.

-- 
Carl D Cravens (ra...@phoenyx.net)
A man about to speak the truth should keep one foot in the stirrup.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread Timothy J Massey
xpac backuppc-fo...@backupcentral.com wrote on 10/14/2014 03:59:26 PM:

 Ok I found this little tidbit in some documentation:
 
 As mentioned, the BackupPC user created on the system when 
 installing the RPM has to run Apache in order for everything to work
 properly with the CGIs and mod_perl. Go ahead and setup the 
 appropriate values in httpd.conf. 
 
 So BackupPC requires the user backuppc to run properly.  Guess 
 this is a question for the Nagios folks  :(

You could run them on different ports...  (I run Webmin and Apache on the 
same box on different ports.  Of course, they *have* to run on different 
ports:  Webmin supplies its own HTTP server.)

Or, I think you can get away without having Apache run as backuppc if you 
*don't* use mod_perl.  Seeing as the Web interface doesn't really do much, 
I never have it run using mod_perl anyway.  From what I read in the doc, 
you could then run the web interface as whatever you want (say, apache) 
and be fine.  I have never tried myself, so I can't say for sure.

Reference:  
http://backuppc.sourceforge.net/faq/BackupPC.html#Step-9:-CGI-interface

Tim Massey


 
Out of the Box Solutions, Inc. 
Creative IT Solutions Made Simple!
http://www.OutOfTheBoxSolutions.com
tmas...@obscorp.com 
 
22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796 
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread xpac
What OS distribution are you using, and are you using their packaged 
 version of backuppc? Usually you would make the cgi script run setuid 
 backuppc with support from suid_perl, mod_suid, or a wrapper written 
 in C, but the details may vary with what your OS provides and allows.


I'm running Centos 6, and I used the packaged version of backuppc.

+--
|This was sent by ph...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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] Running BackupPC and Nagios web interfaces from the same box

2014-10-14 Thread Les Mikesell
On Tue, Oct 14, 2014 at 4:10 PM, xpac backuppc-fo...@backupcentral.com wrote:
 What OS distribution are you using, and are you using their packaged
  version of backuppc? Usually you would make the cgi script run setuid
  backuppc with support from suid_perl, mod_suid, or a wrapper written
  in C, but the details may vary with what your OS provides and allows.


 I'm running Centos 6, and I used the packaged version of backuppc.

Then I don't understand the question.  You should not have had to
touch the configs and the suid part would be provided by a binary
wrapper in usr/share/BackupPC/sbin/BackupPC_Admin.

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

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
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/