LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-20-2009, 07:09 AM   #16
IKT
LQ Newbie
 
Registered: Aug 2009
Posts: 17

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by bathory View Post
IMHO you don't have to reinstall the OS. If it's a generic mysql problem post it here, or create another thread for it.
If it's specific to WP, I think that you can read the wordpress documentation on how to add a table in mysql to use it with WP.

Regards
Ok. There are to things

1. When i visit http://10.22.36.11/wordpress/ i get a HTTP 500 error, but when I visit http://10.22.36.11/wordpress/wp-install/install.php it comes up.

Here is some of the httpd.conf:

Code:
DocumentRoot "/var/www/html"

<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None

Order allow,deny
    Allow from all

</Directory>
DirectoryIndex index.html index.html.var index.php

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>



2. When got a Mysql error:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I have used yum install mysql and yum install php.mysql
 
Old 08-20-2009, 07:19 AM   #17
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
1. Let it go for the moment, as it looks like you haven't configure WP yet.
2. Make sure mysqld is running and the socket is in fact there
Code:
ps -ef|grep mysqld
ls -l /var/lib/mysql/mysql.sock
Once you've sort it out point your browser to http://10.22.36.11/wordpress/readme.html for installation instructions. Or you can visit wordpress for more detailed instructions

Last edited by bathory; 08-20-2009 at 07:25 AM. Reason: details
 
Old 08-20-2009, 07:31 AM   #18
IKT
LQ Newbie
 
Registered: Aug 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
1. Let it go for the moment, as it looks like you haven't configure WP yet.
2. Make sure mysqld is running and the socket is in fact there
Code:
ps -ef|grep mysqld
ls -l /var/lib/mysql/mysql.sock
Once you've sort it out point your browser to http://10.22.36.11/wordpress/readme.html for installation instructions. Or you can visit wordpress for more detailed instructions
ps -ef | grep mysld: root 2149 2048 0 14:29 pts/0 00:00:00 grep mysqld

ls -l /var/lib/mysql/mysql.sock : srwxrwxrwx 1 mysql mysql 0 2009-08-19 15:08 /var/lib/mysql/mysql.sock
 
Old 08-20-2009, 07:41 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
So mysqld is not running. Try
Code:
service mysqdl start
to start it.
You should start reading the documentation about how to configure mysql, how to give a password to mysql root user etc.
The WP installation is not going to work if you don't have a mysql server running.
 
  


Reply

Tags
apache, apache2, index, permission, vhost, virtualhost



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission problem with Wordpress Datakraft Linux - Server 7 06-24-2009 04:06 AM
Apache 2.0.47 "Forbidden You don't have permission to access / on this server" wanna13e Linux - Server 18 07-28-2007 02:03 AM
Moved files => Apache: "You don't have permission to access / on this server." teek Linux - Server 1 12-31-2006 04:03 AM
Apache Vhost( You don't have permission to access / on this server.) trekgraham Linux - Software 3 07-08-2004 10:01 AM
You don't have permission to access.. apache ?'s jester_69 Linux - General 3 09-06-2002 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration