LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2009, 11:21 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694

Rep: Reputation: 34
Installing BackupPC : The requested URL /backuppc was not found on this server


Hello there !

I have installed BackupPC from rpm, following this & this guide.

But when entering the web-interface, firefox says :
404 The requested URL /backuppc was not found on this server.

http://192.168.1.4/backuppc or http://backuppc.jocan.local is the same.

httpd is running, backuppc is running :
Code:
[root@backuppc ~]# /etc/init.d/httpd status
httpd (pid  2168) is running...
[root@backuppc ~]# /etc/init.d/backuppc status
BackupPC (pid 2206) is running...
Httpd config for backuppc :
Code:
[root@backuppc ~]# vi /etc/httpd/conf.d/BackupPC.conf 
order deny,allow
deny from none
#allow from 127.0.0.1
allow from all
But :
Code:
[root@backuppc ~]# netstat -anup | grep 80
[root@backuppc ~]# netstat -anup | grep httpd
No output... Is my httpd-server listening on port 80 ???

Firewall is down :
Code:
[root@backuppc ~]# /sbin/service iptables status
Firewall is stopped.
Oh yeah, when entering the url http://192.168.1.4, the default page is displayed, saying Apache is well installed...

Has someone an idea ??

Last edited by jonaskellens; 12-15-2009 at 11:22 AM.
 
Old 12-15-2009, 11:41 AM   #2
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Is backuppc itself running? Official Documentation
 
Old 12-15-2009, 01:33 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by affinity View Post
Is backuppc itself running? Official Documentation
I posted this in my first post.
Some more output :
Code:
[root@backuppc ~]# ps aux | grep backup
avahi     1937  0.0  0.5   2592  1344 ?        Ss   18:39   0:00 avahi-daemon: running [backuppc.local]
backuppc  2206  0.0  2.4  10576  6180 ?        S    19:15   0:00 /usr/bin/perl /usr/lib/backuppc/bin/BackupPC -d
backuppc  2208  0.0  1.8   8536  4664 ?        SN   19:15   0:00 /usr/bin/perl /usr/lib/backuppc/bin/BackupPC_trashClean
backuppc  2231  0.0  1.0  10572  2660 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2232  0.0  1.0  10572  2660 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2233  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2234  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2236  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2237  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2238  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
backuppc  2239  0.0  0.8  10572  2108 ?        S    19:17   0:00 /usr/sbin/httpd
root      2543  0.0  0.2   3916   664 pts/0    R+   21:28   0:00 grep backup
[root@backuppc ~]# ps aux | grep 2206
backuppc  2206  0.0  2.4  10576  6180 ?        S    19:15   0:00 /usr/bin/perl /usr/lib/backuppc/bin/BackupPC -d
root      2546  0.0  0.2   3916   660 pts/0    R+   21:29   0:00 grep 2206
I have set the following in /etc/httpd/conf/httpd.conf :
User backuppc
Group backuppc

And even :
Code:
[root@backuppc ~]# chown -R backuppc /usr/lib/backuppc/
But it seems not a problem of rights...
 
Old 12-16-2009, 10:00 AM   #4
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Quote:
Originally Posted by jonaskellens View Post
I posted this in my first post.
You're right, sorry about that. Have you added the backuppc domain to the /etc/httpd/httpd.conf? I looked through the documentation on setting up backuppc for a few distros and they all have two things in common, adding the user and domain to the httpd.conf file, and editing the backuppc.conf file to contain user, directories, and host locations. If you Google 'backuppc httpd.conf' you will find some useful information, I have looked at many on the front page of the results and I think the simplest to follow would be the Arch wiki and the Mantic wiki.

edit: also, the debian howto mentioned needing a '/' at the end of the address when connecting to the backuppc web interface.

Last edited by affinity; 12-16-2009 at 10:03 AM.
 
Old 12-16-2009, 10:06 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,916
Blog Entries: 29

Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
yum update
yum install backuppc

The web address (if installed from rpm) should be http://localhost/BackupPC (note the caps). Make sure the service is running before you try that address though.

Last edited by craigevil; 12-16-2009 at 10:08 AM.
 
Old 12-16-2009, 12:39 PM   #6
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694

Original Poster
Rep: Reputation: 34
This is file /etc/httpd/conf.d/BackupPC.conf (there is an include of conf.d in httpd.conf) :
Code:
<Directory      /usr/lib/backuppc/www/html >
order deny,allow
deny from none
allow from all
AuthType Basic
AuthUserFile /etc/httpd/conf.d/BackupPC.users
AuthName "BackupPC Community Edition Administrative Interface"
require valid-user
</Directory>
<Directory      /usr/lib/backuppc/www/images >
order deny,allow
deny from none
allow from all
</Directory>
Alias           /BackupPC/images         /usr/lib/backuppc/www/images
ScriptAlias     /BackupPC_Admin         /usr/lib/backuppc/www/html/BackupPC_Admin
I am not accessing the webGUI from localhost but from an external host (allow from all).

Yum says : No package backuppc available.
The repo's I use :
Loading mirror speeds from cached hostfile
* addons
* base
* centosplus
* extras
* rpmforge
* updates

The caps do not make a difference :
The requested URL /BackupPC was not found on this server.
 
Old 12-16-2009, 03:14 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,916
Blog Entries: 29

Rep: Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540Reputation: 540
Take a look at http://forums.fedoraforum.org/showthread.php?t=195786
 
Old 12-17-2009, 02:24 AM   #8
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by craigevil View Post
This guy succeeds at localhost with BackupPC in caps...

But I have also installed BackupPC a second time, after having deleted every file...

And this is a Xen vm I'm working on, so no GUI on the localhost for me...
Don't tell me BackupPC needs to be accessed via localhost because then I will search for another solution.


EDIT :

Looking carefully at the scriptalias :
Code:
ScriptAlias     /BackupPC_Admin         /usr/lib/backuppc/www/html/BackupPC_Admin
makes my backupPC accessible via http://backuppc.jocan.local/BackupPC_Admin and now I've got it working !

Last edited by jonaskellens; 12-17-2009 at 02:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BackupPC on the backup server rozilla Linux - Server 7 02-01-2022 09:21 PM
The requested URL /phpmyadmin was not found on this server. zodehala Linux - Newbie 7 08-19-2011 03:17 AM
The requested URL /defaultsite was not found on this server. lqforumuser Linux - Newbie 1 06-28-2009 02:59 PM
The requested URL /server-inifo not found on this server narsimha.v Linux - Software 1 01-18-2008 01:57 AM
The requested URL/sever-info not found on this server narsimha.v Linux - Newbie 1 01-17-2008 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration