[opensuse] help wanted to complete a software installation/configuration/setup part for cacti software.
Hello,
I need some help to complete a software installation/configuration/setup
for cacti software.
The documentation I am using is at http://en.opensuse.org/Cacti
Question:
How is this error fixed ? to compelete the installation.
The bit I am stuck on is the Apache and Cacti configuration. I get this
error. [1]
I have following files:
[2] /etc/apache2/vhosts.d/cacti.conf
[3] /srv/www/cacti/include/config.php
[4] mysql/mariadb works.
I have done the following:
# /bin/systemctl start apache2.service
# ls /srv/www/htdocs/
gif info2html.css
http://127.0.0.1/cacti/install/ shows error [1]
There is NO index.html file what am I missing ?
Thanks Glenn
[1] error for http://127.0.0.1/cacti/install/
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
Apache/2.4.6 (Linux/SUSE)
[2]
# cat /etc/apache2/vhosts.d/cacti.conf
doiggl@velocitynet.com.au wrote:
Hello, I need some help to complete a software installation/configuration/setup for cacti software. The documentation I am using is at http://en.opensuse.org/Cacti
Question: How is this error fixed ? to compelete the installation. The bit I am stuck on is the Apache and Cacti configuration. I get this error. [1]
I have following files: [2] /etc/apache2/vhosts.d/cacti.conf [3] /srv/www/cacti/include/config.php [4] mysql/mariadb works.
I have done the following: # /bin/systemctl start apache2.service
# ls /srv/www/htdocs/ gif info2html.css
What do you have in /srv/www/cacti ? That is your documentroot, /srv/www/htdocs/ isn't being used, afaict. -- Per Jessen, Zürich (19.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
What do you have in /srv/www/cacti ? That is your documentroot, /srv/www/htdocs/ isn't being used, afaict.
-- Per Jessen, Zürich (19.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Content as follows --Glenn [1] /srv/www/cacti [2] /srv/www/cacti/install [3] /srv/www/cacti/install/index.php [1] # ll /srv/www/cacti total 1026 -rw-r--r-- 1 wwwrun www 5945 Aug 13 19:35 about.php -rw-r--r-- 1 wwwrun www 5348 Aug 13 19:35 auth_changepassword.php -rw-r--r-- 1 wwwrun www 14288 Aug 13 19:35 auth_login.php -rw-r--r-- 1 wwwrun www 178349 Aug 13 19:35 cacti.sql -rw-r--r-- 1 wwwrun www 21658 Aug 13 19:35 cdef.php drwxr-xr-x 2 wwwrun www 920 Sep 25 15:49 cli -rw-r--r-- 1 wwwrun www 26620 Aug 13 19:35 cmd.php -rw-r--r-- 1 wwwrun www 6974 Aug 13 19:35 color.php -rw-r--r-- 1 wwwrun www 25068 Aug 13 19:35 data_input.php -rw-r--r-- 1 wwwrun www 35505 Aug 13 19:35 data_queries.php -rw-r--r-- 1 wwwrun www 60117 Aug 13 19:35 data_sources.php -rw-r--r-- 1 wwwrun www 32920 Aug 13 19:35 data_templates.php -rw-r--r-- 1 wwwrun www 6107 Aug 13 19:35 gprint_presets.php -rw-r--r-- 1 wwwrun www 13469 Aug 13 19:35 graph.php -rw-r--r-- 1 wwwrun www 3657 Aug 13 19:35 graph_image.php -rw-r--r-- 1 wwwrun www 9208 Aug 13 19:35 graph_settings.php -rw-r--r-- 1 wwwrun www 26703 Aug 13 19:35 graph_templates.php -rw-r--r-- 1 wwwrun www 10006 Aug 13 19:35 graph_templates_inputs.php -rw-r--r-- 1 wwwrun www 18542 Aug 13 19:35 graph_templates_items.php -rw-r--r-- 1 wwwrun www 40313 Aug 13 19:35 graph_view.php -rw-r--r-- 1 wwwrun www 6022 Aug 13 19:35 graph_xport.php -rw-r--r-- 1 wwwrun www 60571 Aug 13 19:35 graphs.php -rw-r--r-- 1 wwwrun www 17426 Aug 13 19:35 graphs_items.php -rw-r--r-- 1 wwwrun www 40166 Aug 13 19:35 graphs_new.php -rw-r--r-- 1 wwwrun www 60091 Aug 13 19:35 host.php -rw-r--r-- 1 wwwrun www 20031 Aug 13 19:35 host_templates.php drwxr-xr-x 2 wwwrun www 2464 Sep 25 15:49 images drwxr-xr-x 4 wwwrun www 640 Sep 25 15:49 include -rw-r--r-- 1 wwwrun www 2313 Aug 13 19:35 index.php drwxr-xr-x 2 wwwrun www 1184 Sep 25 15:49 install drwxr-xr-x 3 wwwrun www 1152 Sep 25 15:49 lib -rw-r--r-- 1 wwwrun www 2838 Aug 13 19:35 logout.php drwxr-xr-x 3 wwwrun www 72 Sep 25 16:20 plugins -rw-r--r-- 1 wwwrun www 27362 Aug 13 19:35 plugins.php -rw-r--r-- 1 wwwrun www 18056 Aug 13 19:35 poller.php -rw-r--r-- 1 wwwrun www 4310 Aug 13 19:35 poller_commands.php -rw-r--r-- 1 wwwrun www 2243 Aug 13 19:35 poller_export.php drwxr-xr-x 5 wwwrun www 144 Sep 25 15:49 resource drwxr-xr-x 2 wwwrun www 80 Sep 25 15:49 rra -rw-r--r-- 1 wwwrun www 7394 Aug 13 19:35 rra.php -rw-r--r-- 1 wwwrun www 10820 Aug 13 19:35 script_server.php drwxr-xr-x 2 wwwrun www 728 Sep 25 15:49 scripts -rw-r--r-- 1 wwwrun www 5761 Aug 13 19:35 settings.php -rw-r--r-- 1 wwwrun www 6345 Aug 13 19:35 templates_export.php -rw-r--r-- 1 wwwrun www 5835 Aug 13 19:35 templates_import.php -rw-r--r-- 1 wwwrun www 19529 Aug 13 19:35 tree.php -rw-r--r-- 1 wwwrun www 44997 Aug 13 19:35 user_admin.php -rw-r--r-- 1 wwwrun www 65647 Aug 13 19:35 utilities.php [2] # ll /srv/www/cacti/install total 260 -rw-r--r-- 1 wwwrun www 2656 Aug 7 12:31 0_8_1_to_0_8_2.php -rw-r--r-- 1 wwwrun www 1723 Aug 7 12:31 0_8_2_to_0_8_2a.php -rw-r--r-- 1 wwwrun www 5443 Aug 7 12:31 0_8_2a_to_0_8_3.php -rw-r--r-- 1 wwwrun www 74608 Aug 7 12:31 0_8_3_to_0_8_4.php -rw-r--r-- 1 wwwrun www 5783 Aug 7 12:31 0_8_4_to_0_8_5.php -rw-r--r-- 1 wwwrun www 9900 Aug 7 12:31 0_8_5a_to_0_8_6.php -rw-r--r-- 1 wwwrun www 5790 Aug 7 12:31 0_8_6_to_0_8_6a.php -rw-r--r-- 1 wwwrun www 1976 Aug 7 12:31 0_8_6c_to_0_8_6d.php -rw-r--r-- 1 wwwrun www 6588 Aug 7 12:31 0_8_6d_to_0_8_6e.php -rw-r--r-- 1 wwwrun www 2250 Aug 7 12:31 0_8_6f_to_0_8_6g.php -rw-r--r-- 1 wwwrun www 2451 Aug 7 12:31 0_8_6g_to_0_8_6h.php -rw-r--r-- 1 wwwrun www 3473 Aug 7 12:31 0_8_6h_to_0_8_6i.php -rw-r--r-- 1 wwwrun www 13095 Aug 7 12:31 0_8_6j_to_0_8_7.php -rw-r--r-- 1 wwwrun www 2007 Aug 7 12:31 0_8_7_to_0_8_7a.php -rw-r--r-- 1 wwwrun www 1859 Aug 7 12:31 0_8_7a_to_0_8_7b.php -rw-r--r-- 1 wwwrun www 5544 Aug 7 12:31 0_8_7b_to_0_8_7c.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_7c_to_0_8_7d.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_7d_to_0_8_7e.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_7e_to_0_8_7f.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_7f_to_0_8_7g.php -rw-r--r-- 1 wwwrun www 4116 Aug 7 12:31 0_8_7g_to_0_8_7h.php -rw-r--r-- 1 wwwrun www 1591 Aug 7 12:31 0_8_7h_to_0_8_7i.php -rw-r--r-- 1 wwwrun www 6416 Aug 7 12:31 0_8_7i_to_0_8_8.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_8_to_0_8_8a.php -rw-r--r-- 1 wwwrun www 1590 Aug 7 12:31 0_8_8_to_0_8_8b.php -rw-r--r-- 1 wwwrun www 2406 Aug 7 12:31 0_8_to_0_8_1.php -rw-r--r-- 1 wwwrun www 26639 Aug 13 19:35 index.php -rw-r--r-- 1 wwwrun www 353 Apr 4 2012 install_finish.gif -rw-r--r-- 1 wwwrun www 413 Apr 4 2012 install_next.gif [3] # head -40 /srv/www/cacti/install/index.php http://www.cacti.net/ | +-------------------------------------------------------------------------+ */ include("../include/global.php"); /* allow the upgrade script to run for as long as it needs to */ ini_set("max_execution_time", "0"); /* verify all required php extensions */ if (!verify_php_extensions()) {exit;} $cacti_versions = array("0.8", "0.8.1", "0.8.2", "0.8.2a", "0.8.3", "0.8.3a", "0.8.4", "0.8.5", "0.8.5a", "0.8.6", "0.8.6a", "0.8.6b", "0.8.6c", "0.8.6d", "0.8.6e", "0.8.6f", "0.8.6g", "0.8.6h", "0.8.6i", "0.8.6j", "0.8.6k", "0.8.7", "0.8.7a", "0.8.7b", "0.8.7c", "0.8.7d", "0.8.7e", "0.8.7f", "0.8.7g", "0.8.7h", "0.8.7i", "0.8.8", "0.8.8a", "0.8.8b"); $old_cacti_version = db_fetch_cell("select cacti from version"); /* try to find current (old) version in the array */ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
doiggl@velocitynet.com.au wrote:
What do you have in /srv/www/cacti ? That is your documentroot, /srv/www/htdocs/ isn't being used, afaict.
-- Per Jessen, Zürich (19.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Content as follows --Glenn [1] /srv/www/cacti [2] /srv/www/cacti/install [3] /srv/www/cacti/install/index.php
[1] # ll /srv/www/cacti total 1026
Okay - I think one problem might be that you're accessing the website by IP-address instead of hostname - try this instead: http://localhost/cacti/install/ Alternatively: http://localhost/cacti/install/index.php -- Per Jessen, Zürich (20.4°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I have following files: [2] /etc/apache2/vhosts.d/cacti.conf [3] /srv/www/cacti/include/config.php [4] mysql/mariadb works.
I have done the following: # /bin/systemctl start apache2.service
# ls /srv/www/htdocs/ gif info2html.css
What do you have in /srv/www/cacti ? That is your documentroot, /srv/www/htdocs/ isn't being used, afaict.
Per Jessen, Zürich (19.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. Hello, Other details as follows --Glenn
I tried with these urls [1] a message like [2] Apache status [3] [1] http://127.0.0.1/cacti/install/ http://localhost/cacti/install/index.php http://localhost/cacti/install/ [2] Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 127.0.0.1 Apache/2.4.6 (Linux/SUSE) [3] # systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: active (running) since Wed 2013-09-25 17:43:38 EST; 5h 22min ago Process: 9053 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=0/SUCCESS) Main PID: 9079 (httpd2-prefork) Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec" CGroup: /system.slice/apache2.service ├─ 951 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─7194 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9079 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9097 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9098 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9099 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9100 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start ├─9102 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start └─9373 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start Sep 25 17:43:32 test.site start_apache2[9079]: [Wed Sep 25 17:43:32.862848 2013] [core:warn] [pid 9079] AH00117: Ignoring deprecated use of DefaultType in line 140 of /etc/apache2/httpd.conf. Sep 25 17:43:38 test.site systemd[1]: Started The Apache Webserver. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Per Jessen