MySQL on CentOS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
j0rd0n420
This is my homepage
This is my homepage
Posts: 157
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Jul 07, 2008 1:47 pm

Re: MySQL on CentOS

Post by j0rd0n420 »

after i install them all and than do /sbin/service httpd start
it says: starting httpd: httpd: apr_sockaddr_info_get() failed for nightmare
httpd: could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername

it's done that all the times ive tried doing this, is that anything important?
I'm going to continue on with the guide and report back on ya questions.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: MySQL on CentOS

Post by Edge100x »

That's not a critical error, no.
j0rd0n420
This is my homepage
This is my homepage
Posts: 157
Joined: Mon Jul 07, 2008 1:47 pm

Re: MySQL on CentOS

Post by j0rd0n420 »

Do regular pages work?
Not sure what you mean, like just browsing the web?
Does your PHP script have the right permissions (is it owned by the httpd user, and is it set to something like chmod 644)?
Not sure how to check any of that
Are you testing with the simple phpinfo() script that it recommends?
Yes
What shows in your Apache error_log (likely /var/log/apache2/error_log)?
Can't find that folder, but i found one in /var/log/httpd/error_log which said:

[Mon Oct 04 00:01:09 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 04 00:01:09 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Oct 04 00:01:09 2010] [notice] Digest: done
[Mon Oct 04 00:01:09 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Mon Oct 04 00:01:09 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Mon Oct 04 00:10:40 2010] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Mon Oct 04 00:10:40 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Oct 04 00:10:43 2010] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Mon Oct 04 00:12:30 2010] [error] [client 127.0.0.1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Oct 04 00:12:30 2010] [error] [client 127.0.0.1] PHP Warning: Unknown: Failed opening '/var/www/html/index.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
[Mon Oct 04 00:12:48 2010] [error] [client 127.0.0.1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Oct 04 00:12:48 2010] [error] [client 127.0.0.1] PHP Warning: Unknown: Failed opening '/var/www/html/index.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
j0rd0n420
This is my homepage
This is my homepage
Posts: 157
Joined: Mon Jul 07, 2008 1:47 pm

Re: MySQL on CentOS

Post by j0rd0n420 »

typing this in terminal fixed it: chown apache:wheel /var/www/html/index.php

I can now see the php info! Now to get Minecraft, the mod, and the web interface for the mod setup. :?
Post Reply