[opensuse] apache2 query. There is a mismatch between what url location in the browser and what shows in the apache error log
Hello, Question: There is a mismatch beteen what url location in the browser vs what shows in the apache error log. How can it be fixed. Seems odd about the reference /srv/www/cacti/cacti in log vs browser url. :apache error log File does not exist: /srv/www/cacti/cacti :browser call: # firefox http://127.0.0.1/cacti/install --Glenn # firefox command: # firefox http://127.0.0.1/cacti/install apache error log shows: [Fri May 16 22:20:03.854526 2014] [core:info] [pid 18984] [client 127.0.0.1:53187] AH00128: File does not exist: /srv/www/cacti/cacti # cat /var/log/apache2/cacti-error_log [Fri May 16 22:20:03.854311 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of Require all granted: granted [Fri May 16 22:20:03.854435 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of <RequireAny>: granted [Fri May 16 22:20:03.854526 2014] [core:info] [pid 18984] [client 127.0.0.1:53187] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 22:20:03.854601 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of Require all granted: granted [Fri May 16 22:20:03.854610 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:03:33.846723 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of Require all granted: granted [Fri May 16 23:03:33.846784 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:03:33.846861 2014] [core:info] [pid 18986] [client 127.0.0.1:53241] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 23:03:33.846920 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of Require all granted: granted [Fri May 16 23:03:33.846927 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:36:21.794909 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of Require all granted: granted [Fri May 16 23:36:21.794988 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:36:21.795072 2014] [core:info] [pid 18987] [client 127.0.0.1:53388] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 23:36:21.795135 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of Require all granted: granted [Fri May 16 23:36:21.795143 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of <RequireAny>: granted # How do I complete the cacti install in opensuse to run on Apache2. I cannot do the following step in http://en.opensuse.org/Cacti In browser For the browser, go to address http://SERVER/cacti/install. You will see the license. Proceed I get this in webrowser: -- Webrowser shows: # firefox http://127.0.0.1/cacti 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.9 (Linux/SUSE) # Things I have so far done [1] Using these as reference material http://en.opensuse.org/Cacti Thankyou. --Glenn #other info: # httpd2 -S VirtualHost configuration: *:80 127.0.0.1 (/etc/apache2/vhosts.d/cacti.conf:1) ServerRoot: "/srv/www" Main DocumentRoot: "/srv/www/htdocs" Main ErrorLog: "/var/log/apache2/error_log" Mutex ssl-cache: using_defaults Mutex default: dir="/run/" mechanism=default Mutex mpm-accept: using_defaults Mutex ssl-stapling: using_defaults PidFile: "/run/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="wwwrun" id=30 Group: name="www" id=8 # cat /etc/apache2/vhosts.d/cacti.conf <VirtualHost *:80> ServerAdmin test@localhost.org ServerName 127.0.0.1 DocumentRoot /srv/www/cacti/ ErrorLog /var/log/apache2/cacti-error_log CustomLog /var/log/apache2/cacti-access_log combined HostnameLookups Off UseCanonicalName Off ServerSignature On <IfModule mod_userdir.c> UserDir public_html Include /etc/apache2/mod_userdir.conf </IfModule> <Directory "/srv/www/cacti"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> [1] # zypper ar http://download.opensuse.org/repositories/server:/monitoring/openSUSE_13.1/ server:monitoring # zypper in cacti # cat /var/log/apache2/cacti-error_log [Fri May 16 22:20:03.854311 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of Require all granted: granted [Fri May 16 22:20:03.854435 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of <RequireAny>: granted [Fri May 16 22:20:03.854526 2014] [core:info] [pid 18984] [client 127.0.0.1:53187] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 22:20:03.854601 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of Require all granted: granted [Fri May 16 22:20:03.854610 2014] [authz_core:debug] [pid 18984] mod_authz_core.c(802): [client 127.0.0.1:53187] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:03:33.846723 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of Require all granted: granted [Fri May 16 23:03:33.846784 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:03:33.846861 2014] [core:info] [pid 18986] [client 127.0.0.1:53241] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 23:03:33.846920 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of Require all granted: granted [Fri May 16 23:03:33.846927 2014] [authz_core:debug] [pid 18986] mod_authz_core.c(802): [client 127.0.0.1:53241] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:36:21.794909 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of Require all granted: granted [Fri May 16 23:36:21.794988 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of <RequireAny>: granted [Fri May 16 23:36:21.795072 2014] [core:info] [pid 18987] [client 127.0.0.1:53388] AH00128: File does not exist: /srv/www/cacti/cacti [Fri May 16 23:36:21.795135 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of Require all granted: granted [Fri May 16 23:36:21.795143 2014] [authz_core:debug] [pid 18987] mod_authz_core.c(802): [client 127.0.0.1:53388] AH01626: authorization result of <RequireAny>: granted # ping localhost.org PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.043 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.076 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.070 ms 64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.068 ms 64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.068 ms 64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.074 ms 64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.074 ms ^C --- localhost ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6000ms rtt min/avg/max/mdev = 0.043/0.067/0.076/0.013 ms [2] -- file listing # ll /srv/www/cacti total 1206 -rw-r--r-- 1 wwwrun www 5945 Apr 14 16:59 about.php -rw-r--r-- 1 wwwrun www 5348 Apr 14 16:59 auth_changepassword.php -rw-r--r-- 1 wwwrun www 14288 Apr 14 16:59 auth_login.php -rw-r--r-- 1 wwwrun www 178349 Apr 21 12:58 cacti-fixed.sql -rw-r--r-- 1 wwwrun www 178349 Apr 14 16:59 cacti.sql -rw-r--r-- 1 wwwrun www 21676 Apr 14 16:59 cdef.php drwxr-xr-x 2 wwwrun www 920 Apr 23 20:48 cli -rw-r--r-- 1 wwwrun www 26620 Apr 14 16:59 cmd.php -rw-r--r-- 1 wwwrun www 6974 Apr 14 16:59 color.php -rw-r--r-- 1 wwwrun www 25068 Apr 14 16:59 data_input.php -rw-r--r-- 1 wwwrun www 35505 Apr 14 16:59 data_queries.php -rw-r--r-- 1 wwwrun www 60117 Apr 14 16:59 data_sources.php -rw-r--r-- 1 wwwrun www 32920 Apr 14 16:59 data_templates.php -rw-r--r-- 1 wwwrun www 1406 May 15 18:19 favicon.ico -rw-r--r-- 1 wwwrun www 6107 Apr 14 16:59 gprint_presets.php -rw-r--r-- 1 wwwrun www 13469 Apr 14 16:59 graph.php -rw-r--r-- 1 wwwrun www 3657 Apr 14 16:59 graph_image.php -rw-r--r-- 1 wwwrun www 9208 Apr 14 16:59 graph_settings.php -rw-r--r-- 1 wwwrun www 26703 Apr 14 16:59 graph_templates.php -rw-r--r-- 1 wwwrun www 10006 Apr 14 16:59 graph_templates_inputs.php -rw-r--r-- 1 wwwrun www 18542 Apr 14 16:59 graph_templates_items.php -rw-r--r-- 1 wwwrun www 40313 Apr 14 16:59 graph_view.php -rw-r--r-- 1 wwwrun www 6480 Apr 14 16:59 graph_xport.php -rw-r--r-- 1 wwwrun www 60571 Apr 14 16:59 graphs.php -rw-r--r-- 1 wwwrun www 17426 Apr 14 16:59 graphs_items.php -rw-r--r-- 1 wwwrun www 40166 Apr 14 16:59 graphs_new.php -rw-r--r-- 1 wwwrun www 60226 Apr 14 16:59 host.php -rw-r--r-- 1 wwwrun www 20031 Apr 14 16:59 host_templates.php drwxr-xr-x 2 wwwrun www 2464 Apr 23 20:48 images drwxr-xr-x 4 wwwrun www 608 May 3 21:44 include -rw-r--r-- 1 wwwrun www 2313 Apr 14 16:59 index.php drwxr-xr-x 2 wwwrun www 1184 Apr 23 20:48 install drwxr-xr-x 3 wwwrun www 1152 Apr 23 20:48 lib -rw-r--r-- 1 wwwrun www 2838 Apr 14 16:59 logout.php -rw-r--r-- 1 wwwrun www 27362 Apr 14 16:59 plugins.php -rw-r--r-- 1 wwwrun www 18056 Apr 14 16:59 poller.php -rw-r--r-- 1 wwwrun www 4310 Apr 14 16:59 poller_commands.php -rw-r--r-- 1 wwwrun www 2243 Apr 14 16:59 poller_export.php drwxr-xr-x 5 wwwrun www 144 Apr 23 20:48 resource drwxr-xr-x 2 wwwrun www 80 Apr 23 20:48 rra -rw-r--r-- 1 wwwrun www 7394 Apr 14 16:59 rra.php -rw-r--r-- 1 wwwrun www 10820 Apr 14 16:59 script_server.php drwxr-xr-x 2 wwwrun www 728 Apr 23 20:48 scripts -rw-r--r-- 1 wwwrun www 5761 Apr 14 16:59 settings.php -rw-r--r-- 1 wwwrun www 6345 Apr 14 16:59 templates_export.php -rw-r--r-- 1 wwwrun www 5835 Apr 14 16:59 templates_import.php -rw-r--r-- 1 wwwrun www 19529 Apr 14 16:59 tree.php -rw-r--r-- 1 wwwrun www 44997 Apr 14 16:59 user_admin.php -rw-r--r-- 1 wwwrun www 65647 Apr 14 16:59 utilities.php -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
doiggl@velocitynet.com.au wrote:
How do I complete the cacti install in opensuse to run on Apache2.
I cannot do the following step in http://en.opensuse.org/Cacti In browser For the browser, go to address http://SERVER/cacti/install. You will see the license. Proceed
I get this in webrowser: -- Webrowser shows: # firefox http://127.0.0.1/cacti
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.
Right. Your document root is /srv/www/cacti/ and there is no directory or file called /srv/www/cacti/cacti I expect you should be calling http://localhost/install or http://localhost/install/ -- Per Jessen, Zürich (7.2°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- 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