This forum is no longer active. Please post your questions to our new community site

Forums LAMPStack

Running lamp stack in 64bit guest os with apache error

Subscribe to Running lamp stack in 64bit guest os with apache error 5 post(s), 2 voice(s)

 
Avatar Gnep 4 post(s)

Hi, all,

I’ve been trying to run the lamp stack in a x86_64 guest os (xen). I installed the compat libraries. The installation is fine and seems both apache and mysql is started. However, when I tried to access on the browser, apache gives the error:

Error 403
You don’t have permission to access / on this server.

I did change the permission of apache/data to 777. But it does not help. Any ideas?

BTW, I also installed the lamp on my host os (same x86_64 centos). Bitnami works absolutely no problem.

BR,
Gnep

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

It is strange, could you post some last entries in the apache/logs/error_log file?

 
Avatar Gnep 4 post(s)

Here it is.

bash-3.2# cat error_log
Fri May 08 05:18:07 2009 Init: Session Cache is not configured [hint: SSLSessionCache]
Fri May 08 05:18:07 2009 Digest: generating secret for digest authentication …
Fri May 08 05:18:07 2009 Digest: done
Fri May 08 05:18:07 2009 Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 PHP/5.2.8 configured -
resuming normal operations
Fri May 08 05:18:13 2009 caught SIGTERM, shutting down
Fri May 08 05:18:17 2009 Init: Session Cache is not configured [hint: SSLSessionCache]
Fri May 08 05:18:17 2009 Digest: generating secret for digest authentication …
Fri May 08 05:18:17 2009 Digest: done
Fri May 08 05:18:17 2009 Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 PHP/5.2.8 configured—resuming normal operations
Fri May 08 05:22:18 2009 [client 192.168.33.1] (13)Permission denied: access to / denied

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Could you check that the installation path (all directories) have execution permissions for “others”? for example “755” for /opt and /opt/lampstack.

Cheers.

 
Avatar Gnep 4 post(s)

OK, I see the problem.

The permission of /opt in my guest os is 754.

THX,
Gnep

Forums LAMPStack