Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Dec 15, 2018 8:42 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 1:48 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
I installed cacti 1.1.28 with debian 9.
after installation does not open.
the message appears:
"Requested URL / cacti was not found on this server"
help please


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 1:49 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
Have you made sure that apache has been restarted?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 4:38 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
markv wrote:
Have you made sure that apache has been restarted?

yes, I even do the initial configuration


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 4:44 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
That does not make sense since the install is beneath the /cacti/ in /cacti/install/

Can you describe the steps you have taken so far?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 4:53 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
markv wrote:
That does not make sense since the install is beneath the /cacti/ in /cacti/install/

Can you describe the steps you have taken so far?


after installation step 1 localhost / install ----> ok ----> step 2 login: admin password admin -----> failed ---> Requested URL / cacti was not found on this server "


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 4:58 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
Whilst performing the install, did you change the site location as your using cacti as the root folder not the normal /cacti/ subfolder.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 5:12 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
markv wrote:
Whilst performing the install, did you change the site location as your using cacti as the root folder not the normal /cacti/ subfolder.

I did not understand, can you explain it again?


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Tue Dec 19, 2017 5:16 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
cezario2009 wrote:
markv wrote:
Whilst performing the install, did you change the site location as your using cacti as the root folder not the normal /cacti/ subfolder.

I did not understand, can you explain it again?

I made the installation following this site
https://www.tecmint.com/install-cacti-with-cacti-spine-in-debian-and-ubuntu/


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Wed Dec 20, 2017 3:33 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
paulgevers maintains a backport of cacti for ubuntu/debian (his signature has the details if you click on his name). Using that would seem to have been easier to install cacti as it does most of this work for you.

However, in your case, you will also need to check that the configuration file has the correct path set for $url_path in the include/config.php file. This will most likely be set to "/cacti/" and needs changing to just "/"

ie, from:
Code:
/* set the $url_path to point to the default URL of your cacti
* install ex: if your cacti install as at
* http://serverip/cacti/ this would be set to /cacti/.
*/

$url_path = '/cacti/';


To:
Code:
/* set the $url_path to point to the default URL of your cacti
* install ex: if your cacti install as at
* http://serverip/cacti/ this would be set to /cacti/.
*/

$url_path = '/';

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Wed Dec 20, 2017 4:07 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
I can verify that in 0.8.8a, the configuration file was updated to default to the /config/ format instead of just /

However, I am also going to raise a bug/feature request to allow the setting of that value during an installation since a manual install can place it anywhere and I can't see (at the moment) any point during the install that updates or sets this. At the very least, it should point out the issue during the installation by checking the path of the /cacti/install folder matches the url_path with the URL actually used.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Wed Dec 20, 2017 1:25 pm 
Offline

Joined: Mon Dec 11, 2017 7:26 am
Posts: 11
markv wrote:
paulgevers maintains a backport of cacti for ubuntu/debian (his signature has the details if you click on his name). Using that would seem to have been easier to install cacti as it does most of this work for you.

However, in your case, you will also need to check that the configuration file has the correct path set for $url_path in the include/config.php file. This will most likely be set to "/cacti/" and needs changing to just "/"

ie, from:
Code:
/* set the $url_path to point to the default URL of your cacti
* install ex: if your cacti install as at
* http://serverip/cacti/ this would be set to /cacti/.
*/

$url_path = '/cacti/';


To:
Code:
/* set the $url_path to point to the default URL of your cacti
* install ex: if your cacti install as at
* http://serverip/cacti/ this would be set to /cacti/.
*/

$url_path = '/';


Thank you very much for the help, it's working now!


Top
 Profile  
 
 Post subject: Re: Requested URL /cacti was not found on this server
PostPosted: Wed Dec 20, 2017 3:43 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
I have created issue #1146 - Configuration option URL_PATH should be updated during install to try and get a fix started for this.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group