LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 503 Service Unavailable

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2008, 05:09 PM
jayjaybaby jayjaybaby is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default 503 Service Unavailable

I am getting this error a lot, I noticed it happens whenever I run a certain script on a site. I've checked stderr.log and it has revealed many lines like the following:

Code:
Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 17PHP Warning:  mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 38PHP Warning:  mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 15PHP Warning:  mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 15PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'apache'@'localhost' (using password: NO) in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 16PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 17PHP Warning:  mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/xxxxxxx/domains/xxxxxxx.com/public_html/vote/pages/vote.php on line 38PHP Warning:  mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Access denied for user

Any ideas?

Thanks in advanced
Reply With Quote
  #2  
Old 12-18-2008, 08:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is a mysql security problem. you need use a MySQL user which allowed to access that DB.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:19 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.