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

  • From: Rutger Hermarij <rutger.hermarij@xxxxxxxxx>
  • To: sathish.ippani@xxxxxxxx
  • Date: Thu, 23 Apr 2015 11:52:23 +0200

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>:




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 [rutger.hermarij@xxxxxxxxx]
*Sent:* Wednesday, April 22, 2015 3:51 AM
*To:* Sathish Kumar Ippani; 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 [image: 😉]

Best regards,

Rutger

Sent from Surface

*From:* sathish.ippani@xxxxxxxx
*Sent:* ‎Tuesday‎, ‎April‎ ‎21‎, ‎2015 ‎6‎:‎31‎ ‎PM
*To:* racktables-users@xxxxxxxxxxxxx, Rutger <rutger.hermarij@xxxxxxxxx>
Hermarij <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 [
racktables-users-bounce@xxxxxxxxxxxxx] on behalf of Rutger Hermarij [
rutger.hermarij@xxxxxxxxx]
*Sent:* Tuesday, April 21, 2015 12:09 PM
*To:* 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
Mobile +31623115600
rutger.hermarij@xxxxxxxxx

[image: ASICS logo]

2015-04-21 7:32 GMT+02:00 <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 Ex 2128
------------------------------
*From:* racktables-users-bounce@xxxxxxxxxxxxx [
racktables-users-bounce@xxxxxxxxxxxxx] on behalf of Rutger Hermarij [
rutger.hermarij@xxxxxxxxx]
*Sent:* Monday, April 20, 2015 9:18 PM
*To:* 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>:

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
<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
------------------------------

PNG image

Other related posts: