Subscribe to RSS feed Follow How To Setup WordPress On A VPS | Kloxo | Troubleshooting on Twitter Visit How To Setup WordPress On A VPS | Kloxo | Troubleshooting's Facebook page Visit How To Setup WordPress On A VPS | Kloxo | Troubleshooting's Youtube channel Visit How To Setup WordPress On A VPS | Kloxo | Troubleshooting's LinkedIn page Visit How To Setup WordPress On A VPS | Kloxo | Troubleshooting's Yahoo page Visit How To Setup WordPress On A VPS | Kloxo | Troubleshooting's Stumbleupon page

Kloxo Update home 500 Internal Server Error Djbdns Not Working

Kloxo Version 6.1.12 | Mysql Version 5.0.96 | Php Version 5.2.1

Kloxo Update home 500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.I am using Apache + Bind ( On server, service button is all green )

I checked and my version for Kloxo/mysql/php is 6.1.12/5.0.96/5.2.1

Kloxo Version

# sh /script/version

6.1.12

Php version

# lxphp.exe -v

PHP 5.2.1 (cli) (built: Oct 11 2008 17:37:30)

Copyright (c) 1997-2007 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Mysql version in CentOs 

# mysqladmin -u root -p version

mysqladmin Ver 8.41 Distrib 5.0.96, for redhat-linux-gnu on i686

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Server version 5.0.96
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 8 min 5 sec

Threads: 1 Questions: 9083 Slow queries: 0 Opens: 737 Flush tables: 1 Open tables: 4 Queries per second avg: 18.728

Action:
Quote:

# Latest version for certain packages

yum update
# shell command version for update
sh /script/upcp
# cleanup process for certain settings
sh /script/cleanup
# restart some services
service xinetd restart
# Better reboot after that
reboot

>> Usually, 500 Internal Server Error can be solved by following action above!

Code: [Select all] [Show/ hide]
 Run the following command:
sh /script/upcp 
sh /script/cleanup 
sh /script/upcp 
sh /script/fixmail 
sh /script/fixwebmail 
sh /script/fixhorde 
/script/fixdns
/script/fixweb

As well I run;

# httpd -t 

I received the following errors?

httpd: Could not reliably determine the server’s fully qualified domain name, using 204.12.223.43 for ServerName

[Thu Mar 14 21:02:40 2013]

(EAI 2)Name or service not known: Failed to resolve server name for 204.12.223.18 (check DNS) — or specify an explicit ServerName

Syntax OK

Question: what is Failed to resolve server name for 204.12.223.18 (check DNS)? Do I have 2 IP ?

I pointed my IP 204.12.223.43 in my DNS of which I received the email message from the hosting.

Secondly, I run the following, 

# /usr/local/lxlabs/kloxo/log/error

-bash: /usr/local/lxlabs/kloxo/log/error: Permission denied


SOLVED By Myself:

This is my previous .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
# END WordPress

###Start Koloxo PHP config Area
###Please Don’t edit these comments or the content in between. koloxo uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.

<Ifmodule mod_php4.c>
php_value error_log “/home/username/__processed_stats/yourdomain.com.phplog”
php_value upload_max_filesize 320M
php_value max_execution_time  30000
php_value max_input_time  60000
php_value memory_limit  320M
php_value post_max_size  320M
php_flag register_globals  off
php_flag display_errors  off
php_flag file_uploads  on
php_flag log_errors  off
php_flag output_buffering  off
php_flag register_argc_argv  on
php_flag magic_quotes_gpc   off
php_flag magic_quotes_runtime  off
php_flag magic_quotes_sybase  off
php_flag mysql.allow_persistent  off
php_flag register_long_arrays  on
php_flag allow_url_fopen  on
php_flag cgi.force_redirect  on
php_flag enable_dl  on
</Ifmodule>

<Ifmodule mod_php5.c>
php_value error_log “/home/username/__processed_stats/yourdomain.com.phplog”
php_value upload_max_filesize 320M
php_value max_execution_time  30000
php_value max_input_time  60000
php_value memory_limit  320M
php_value post_max_size  320M
php_flag register_globals  off
php_flag display_errors  off
php_flag file_uploads  on
php_flag log_errors  off
php_flag output_buffering  off
php_flag register_argc_argv  on
php_flag magic_quotes_gpc   off
php_flag magic_quotes_runtime  off
php_flag magic_quotes_sybase  off
php_flag mysql.allow_persistent  off
php_flag register_long_arrays  on
php_flag allow_url_fopen  on
php_flag cgi.force_redirect  on
php_flag enable_dl  on
</Ifmodule>

###End Koloxo PHP config Area

[b]I removed the following:
[/b][quote title=Quote:]# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
# END WordPress[/quote]

Thanks god, save me tons of time.
Solved!


Update Kloxo – Djbdns Not Working – Change to Bind+Apache – Some Errors

Leave a Reply

Follow

Get every new post delivered to your Inbox

Join other followers