[racktables-users] Re: Help required in Racktatables configuration

  • From: <sathish.ippani@xxxxxxxx>
  • To: <rutger.hermarij@xxxxxxxxx>
  • Date: Thu, 23 Apr 2015 15:19:28 +0000

still getting same error message, below are the logs. Thanks.



-bash-3.2# tail /var/log/httpd/error_log
[Thu Apr 23 10:14:27 2015] [notice] caught SIGTERM, shutting down
[Thu Apr 23 10:14:28 2015] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Thu Apr 23 10:14:28 2015] [notice] Digest: generating secret for digest
authentication ...
[Thu Apr 23 10:14:28 2015] [notice] Digest: done
[Thu Apr 23 10:14:28 2015] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Thu Apr 23 10:14:35 2015] [error] [client 192.168.100.202] Directory index
forbidden by Options directive: /etc/httpd/htdocs/racktables/
[Thu Apr 23 10:14:43 2015] [error] [client 10.4.205.239] Directory index
forbidden by Options directive: /etc/httpd/htdocs/racktables/
[Thu Apr 23 10:16:38 2015] [error] [client 10.4.205.239] Directory index
forbidden by Options directive: /etc/httpd/htdocs/racktables/
[Thu Apr 23 10:17:43 2015] [error] [client 192.168.100.202] Directory index
forbidden by Options directive: /etc/httpd/htdocs/racktables/
[Thu Apr 23 10:17:58 2015] [error] [client 10.4.205.239] Directory index
forbidden by Options directive: /etc/httpd/htdocs/racktables/
-bash-3.2# ls -ltr
total 32
drwxr-xr-x 3 root root 4096 Apr 22 00:56 pix
-rw-r--r-- 1 root root 9556 Apr 22 00:56 index.php
drwxr-xr-x 2 root root 4096 Apr 22 00:56 inc
drwxr-xr-x 2 root root 4096 Apr 22 00:56 css
drwxr-xr-x 3 root root 4096 Apr 22 00:56 js
drwxrwxrwx 6 root root 4096 Apr 22 04:02 racktables
-bash-3.2#



Thanks & Regards,
Sathish,
________________________________
From: Rutger Hermarij [rutger.hermarij@xxxxxxxxx]
Sent: Thursday, April 23, 2015 3:22 PM
To: Sathish Kumar Ippani
Cc: racktables-users@xxxxxxxxxxxxx
Subject: Re: [racktables-users] Re: Help required in Racktatables configuration

you can check the /etc/httpd/htdocs/racktables with chmod
for example

chmod 755 /etc/httpd/htdocs/racktables

The forbidden says that at least the folder is found, but you do not have
permissions.


Rutger Hermarij
System Administrator


2015-04-23 10:53 GMT+02:00
<sathish.ippani@xxxxxxxx<mailto:sathish.ippani@xxxxxxxx>>:



Hi Rutger,



I just copied the RackTables-0.20.10/wwwroot to /etc/httpd/htdocs/racktables
and when access the ip I am getting below permission error. Where I need to
check the permissions.



Forbidden

You don't have permission to access /racktables/ on this server.







Thanks & Regards,
Sathish,

________________________________
From: rutger.hermarij@xxxxxxxxx<mailto:rutger.hermarij@xxxxxxxxx>
[rutger.hermarij@xxxxxxxxx<mailto:rutger.hermarij@xxxxxxxxx>]
Sent: Wednesday, April 22, 2015 3:51 AM
To: Sathish Kumar Ippani;
racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>
Subject: Re: [racktables-users] Re: Help required in Racktatables configuration

Hi Sathish,

It looks like your DocRoot is located in /etc/httpd/htdocs and not /var/www/html
So if you copy your racktables folder to /etc/httpd/htdocs/ it should work [??]

Best regards,

Rutger

Sent from Surface

From: sathish.ippani@xxxxxxxx<mailto:sathish.ippani@xxxxxxxx>
Sent: ‎Tuesday‎, ‎April‎ ‎21‎, ‎2015 ‎6‎:‎31‎ ‎PM
To: racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>,
Rutger<mailto:rutger.hermarij@xxxxxxxxx>
Hermarij<mailto:rutger.hermarij@xxxxxxxxx>


Hi Rutger,



Please find the error logs.





-bash-3.2# tail /var/log/httpd/error_log

[Sun Apr 19 04:02:23 2015] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Sun Apr 19 21:01:30 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Sun Apr 19 21:01:31 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs, referer: http://10.4.205.193/racktables
[Tue Apr 21 01:03:05 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 01:03:15 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 10:16:26 2015] [error] [client 10.4.205.238] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 10:17:51 2015] [error] [client 10.4.205.238] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 11:19:56 2015] [error] [client 192.168.100.185] File does not
exist: /etc/httpd/htdocs
-bash-3.2# tail /var/log/httpd/error_log

[Sun Apr 19 21:01:30 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Sun Apr 19 21:01:31 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs, referer: http://10.4.205.193/racktables
[Tue Apr 21 01:03:05 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 01:03:15 2015] [error] [client 10.4.205.239] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 10:16:26 2015] [error] [client 10.4.205.238] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 10:17:51 2015] [error] [client 10.4.205.238] File does not exist:
/etc/httpd/htdocs
[Tue Apr 21 11:19:56 2015] [error] [client 192.168.100.185] File does not
exist: /etc/httpd/htdocs
[Tue Apr 21 11:20:58 2015] [error] [client 192.168.100.185] File does not
exist: /etc/httpd/htdocs
[Tue Apr 21 11:21:00 2015] [error] [client 192.168.100.185] File does not
exist: /etc/httpd/htdocs
-bash-3.2# tail /var/log/httpd/access_log
(compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR
2.0.50727)"
192.168.100.185 - - [21/Apr/2015:11:19:56 -0500] "GET /racktables HTTP/1.1" 404
208 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.100.185 - - [21/Apr/2015:11:20:58 -0500] "GET /racktables HTTP/1.1" 404
208 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.100.185 - - [21/Apr/2015:11:21:00 -0500] "GET /racktables HTTP/1.1" 404
208 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
-bash-3.2#





Thanks & Regards,
Sathish,

________________________________
From:
racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>

[racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>]
on behalf of Rutger Hermarij
[rutger.hermarij@xxxxxxxxx<mailto:rutger.hermarij@xxxxxxxxx>]
Sent: Tuesday, April 21, 2015 12:09 PM
To: racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>
Subject: [racktables-users] Re: Help required in Racktatables configuration

Sathish,

this looks ok,
you can also check your log files for what is actually going on.
tail /var/log/httpd/error_log
tail /var/log/httpd/access_log

if this does not give enough information you can put the error logs on debug
this can be found in your httpd.conf ( vi /etc/httpd/conf/httpd.conf )
and change "LogLevel warn" to LogLevel debug
and restart apache ( /etc/init.d/httpd restart )
and check your log files again.

keep in mind this is for debugging, keeping this value will cause your log file
to become huge :-)

also you can try the following:
http://www.cyberciti.biz/faq/enabling-apache-file-directory-indexing/
this way you can see if the folder is actually there or that it actually does
not exist ;-)

Good luck

Rutger



Rutger Hermarij
System Administrator

ASICS Europe B.V.
Taurusavenue 125
2132 LS Hoofddorp, The Netherlands

Phone +31882742625<tel:%2B31882742625>
Mobile +31623115600<tel:%2B31623115600>
rutger.hermarij@xxxxxxxxx<mailto:rutger.hermarij@xxxxxxxxx>

[ASICS logo]

2015-04-21 7:32 GMT+02:00
<sathish.ippani@xxxxxxxx<mailto:sathish.ippani@xxxxxxxx>>:

Hi Rutger,



Thanks for reply, yes Ithe folder is in /var/www/html/racktables please find
below logs.






-bash-3.2# pwd
/
-bash-3.2# cd /var/www/html/
-bash-3.2# ll
?[00mtotal 8
-rw-r--r-- 1 root root 100 Jul 18 2014 ?index.html
drwxrwxrwx 6 root root 4096 Apr 17 01:47 ?racktables
?[m-bash-3.2# cd /racktables/
-bash-3.2# ll
drwxrwxrwx 2 root root 4096 Apr 17 01:42 ?css
drwxrwxrwx 2 root root 4096 Apr 17 01:43 ? inc
-rwxrwxrwx 1 root root 9556 Apr 17 01:42 ?index.php
drwxrwxrwx 3 root root 4096 Apr 17 01:42 ? js
drwxrwxrwx 3 root root 4096 Apr 17 01:42 ?pix
-bash-3.2# cd inc/
-bash-3.2# ll
?[00mtotal 1880
-rwxrwxrwx 1 root root 9443 Apr 17 01:42 ?[00;32majax-interface.php
-rwxrwxrwx 1 root root 24363 Apr 17 01:42 ?[00;32mauth.php
-rwxrwxrwx 1 root root 3468 Apr 17 01:42 ?[00;32mcaching.php
-rwxrwxrwx 1 root root 29138 Apr 17 01:42 ?[00;32mcode.php
-rwxrwxrwx 1 root root 665 Apr 17 01:42 ?[00;32mconfig.php
-rwxrwxrwx 1 root root 174666 Apr 17 01:42 ?[00;32mdatabase.php
-rwxrwxrwx 1 root root 105569 Apr 17 01:42 ?[00;32mdeviceconfig.php
-rwxrwxrwx 1 root root 225651 Apr 17 01:42 ?[00;32mdictionary.php
-rwxrwxrwx 1 root root 15569 Apr 17 01:42 ?[00;32mexceptions.php
-rwxrwxrwx 1 root root 197845 Apr 17 01:42 ?[00;32mfunctions.php
-rwxrwxrwx 1 root root 5415 Apr 17 01:42 ?[00;32minit.php
-rwxrwxrwx 1 root root 84758 Apr 17 01:42 ?[00;32minstall.php
-rwxrwxrwx 1 root root 35680 Apr 17 01:42 ?[00;32minterface-lib.php
-rwxrwxrwx 1 root root 352841 Apr 17 01:42 ?[00;32minterface.php
-rwxrwxrwx 1 root root 42055 Apr 17 01:42 ?[00;32mnavigation.php
-rwxrwxrwx 1 root root 115312 Apr 17 01:42 ?[00;32mophandlers.php
-rwxrwxrwx 1 root root 15961 Apr 17 01:42 ?[00;32mpopup.php
-rwxrwxrwx 1 root root 3525 Apr 17 01:42 ?[00;32mpre-init.php
-rwxrwxrwx 1 root root 28151 Apr 17 01:42 ?[00;32mremote.php
-rw-rw-rw- 1 root root 0 Apr 17 01:43 ?[00msecret.php
-rwxrwxrwx 1 root root 20602 Apr 17 01:42 ?[00;32mslb2-interface.php
-rwxrwxrwx 1 root root 22630 Apr 17 01:42 ?[00;32mslb-interface.php
-rwxrwxrwx 1 root root 20438 Apr 17 01:42 ?[00;32mslb.php
-rwxrwxrwx 1 root root 24066 Apr 17 01:42 ?[00;32mslbv2.php
-rwxrwxrwx 1 root root 131277 Apr 17 01:42 ?[00;32msnmp.php
-rwxrwxrwx 1 root root 16086 Apr 17 01:42 ?[00;32msolutions.php
-rwxrwxrwx 1 root root 8354 Apr 17 01:42 ?[00;32mtriggers.php
-rwxrwxrwx 1 root root 120615 Apr 17 01:42 ?[00;32mupgrade.php
?[m-bash-3.2# exit




Thanks & Regards,
Sathish,
Zensar Network Support
Call: +1-732-733-2919<tel:%2B1-732-733-2919>[X] Ex 2128
________________________________
From:
racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>

[racktables-users-bounce@xxxxxxxxxxxxx<mailto:racktables-users-bounce@xxxxxxxxxxxxx>]
on behalf of Rutger Hermarij
[rutger.hermarij@xxxxxxxxx<mailto:rutger.hermarij@xxxxxxxxx>]
Sent: Monday, April 20, 2015 9:18 PM
To: racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>
Subject: [racktables-users] Re: Help required in Racktatables configuration

Hi Sathish,

first make sure that the folder does actually exist in your webserver.

for example /var/www/html/racktables.
and not /var/www/html/wwwroot/racktables

if its difficult to browse to the folders in Linux you can install Midnight
Commander (yum install mc)
this way you can browse trough the folders with an GUI

best regards,

Rutger


2015-04-20 4:06 GMT+02:00
<sathish.ippani@xxxxxxxx<mailto:sathish.ippani@xxxxxxxx>>:

Hi All,

I trying to configure racktables, but when I open
http://server-IP/racktables<http://server-ip/racktables> i am getting an error "
Not Found

The requested URL /racktables was not found on this server.



I have followed the steps from
https://wiki.racktables.org/index.php/RackTablesInstallHowto

I am very new to Linux CMD line, I followed the step by step but no luck.


Can anybody assist me to complete the configuration.







Thanks & Regards,
Sathish,



________________________________
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
________________________________



________________________________
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
________________________________



________________________________
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
________________________________


________________________________
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
________________________________


________________________________
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
________________________________
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------

PNG image

Other related posts: