GT-RAIL / rms

RMS (Robot Management System)
http://wiki.ros.org/rms
Other
28 stars 24 forks source link

Forbidden: You don't have permission to access / on this server. #30

Closed 130s closed 9 years ago

130s commented 9 years ago

Following installation on roswiki, on Ubuntu Precise it worked out-of-box (nice!). But I get the error as the title when I installed on Trusty (which I'm aiming to use rms on) and went to http://localhost/.

Installation log (sorry this is from 2nd run; I didn't make a copy of the initial run).

$ ./install.bash 
 ____  __  __ ____  
|  _ \|  \/  / ___| 
| |_) | |\/| \___ \ 
|  _ <| |  | |___) |
|_| \_\_|  |_|____/ 

Robot Management System Setup
Author: Russell Toris - rctoris@wpi.edu

WARNING: This is an automated setup script.
It will create a fresh install of the RMS.
Any older versions of RMS will be deleted.

Continue with installation? [Y/n] 
Please answer with 'y' or 'n'
Continue with installation? [Y/n] Y

Setting up LAMP and PEAR...
    updating sources...
[sudo] password for n130s: 
W: GPG error: http://packages.osrfoundation.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C4D0E34E9443F10F
    installing LAMP...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'mysql-server-core-5.5' for task 'lamp-server'
Note, selecting 'mysql-server-5.5' for task 'lamp-server'
Note, selecting 'libaio1' for task 'lamp-server'
Note, selecting 'mysql-client-core-5.5' for task 'lamp-server'
Note, selecting 'apache2-mpm-prefork' for task 'lamp-server'
Note, selecting 'libaprutil1' for task 'lamp-server'
Note, selecting 'libapache2-mod-php5' for task 'lamp-server'
Note, selecting 'php5-mysql' for task 'lamp-server'
Note, selecting 'php5-common' for task 'lamp-server'
Note, selecting 'libaprutil1-dbd-sqlite3' for task 'lamp-server'
Note, selecting 'php5-readline' for task 'lamp-server'
Note, selecting 'ssl-cert' for task 'lamp-server'
Note, selecting 'mysql-client-5.5' for task 'lamp-server'
Note, selecting 'libhtml-template-perl' for task 'lamp-server'
Note, selecting 'libterm-readkey-perl' for task 'lamp-server'
Note, selecting 'libaprutil1-ldap' for task 'lamp-server'
Note, selecting 'mysql-common' for task 'lamp-server'
Note, selecting 'php5-cli' for task 'lamp-server'
Note, selecting 'libmysqlclient18' for task 'lamp-server'
Note, selecting 'apache2-data' for task 'lamp-server'
Note, selecting 'php5-json' for task 'lamp-server'
Note, selecting 'libapr1' for task 'lamp-server'
Note, selecting 'apache2' for task 'lamp-server'
Note, selecting 'mysql-server' for task 'lamp-server'
Note, selecting 'apache2-bin' for task 'lamp-server'
Note, selecting 'libwrap0' for task 'lamp-server'
Note, selecting 'libdbd-mysql-perl' for task 'lamp-server'
Note, selecting 'tcpd' for task 'lamp-server'
Note, selecting 'libdbi-perl' for task 'lamp-server'
libaio1 is already the newest version.
libapr1 is already the newest version.
libaprutil1 is already the newest version.
libaprutil1-dbd-sqlite3 is already the newest version.
libaprutil1-ldap is already the newest version.
libdbd-mysql-perl is already the newest version.
libdbi-perl is already the newest version.
libhtml-template-perl is already the newest version.
libterm-readkey-perl is already the newest version.
libwrap0 is already the newest version.
php5-json is already the newest version.
ssl-cert is already the newest version.
tcpd is already the newest version.
php5-mcrypt is already the newest version.
apache2 is already the newest version.
apache2-bin is already the newest version.
apache2-data is already the newest version.
apache2-mpm-prefork is already the newest version.
libapache2-mod-php5 is already the newest version.
libmysqlclient18 is already the newest version.
mysql-client-5.5 is already the newest version.
mysql-client-core-5.5 is already the newest version.
mysql-common is already the newest version.
mysql-server is already the newest version.
mysql-server-5.5 is already the newest version.
mysql-server-core-5.5 is already the newest version.
php-pear is already the newest version.
php5-cli is already the newest version.
php5-common is already the newest version.
php5-mysql is already the newest version.
php5-readline is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    enabling Apache mod-rewrite...
    enabling PHP mcrypt...

Setting up CakePHP...
    adding CakePHP channel to PEAR...
    installing CakePHP via PEAR...

Linking RMS to Apache...
    installing site configuration...
    disabling default Apache site(s)...
    linking RMS folder to Apache...
    restarting Apache...

Setting up site tmp folder...

Setting MySQL server (use SQL root password)...
    generating random password...
    creating RMS database and local MySQL user...
Enter password: 
    installing the RMS database...

Setting CakePHP configuration file(s)...

Installing cron job(s)...

Setup complete!

$ dpkg -p apache2 php-pear php5-mcrypt |grep Ver
Version: 2.4.7-1ubuntu4.1
Version: 5.5.9+dfsg-1ubuntu4.5
Version: 5.4.6-0ubuntu5

$ tail -n 1 /var/log/apache2/access.log
127.0.0.1 - - [13/Feb/2015:13:24:15 -0800] "GET /rms/index.php HTTP/1.1" 403 504 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"

403??

rctoris commented 9 years ago

Hmmmm, strange. I have it running on 14.04 no problem. Are the folder permissions correct for web access? You could chmod -R 777 the entire folder to test (don't leave it that way for production servers).

130s commented 9 years ago

Now I did the following but still get the same error. I'll keep here posted.