MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: onemanarmy on 2013-02-06, 13:23:01

Title: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 13:23:01
Hello,
Just now installed kloxo 6.5.0c on centos 5.9 32bit OS added the website but in sitepreview i.e IPADDRESS:7778/sitepreview/domain.com it gives "404 - Not Found" error
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 13:48:05
Quote from: "onemanarmy"
Hello,
Just now installed kloxo 6.5.0c on centos 5.9 32bit OS added the website but in sitepreview i.e IPADDRESS:7778/sitepreview/domain.com it gives "404 - Not Found" error
Yes, I found the same issue and have solution.

Will upload together with backup/restore fixed.
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 14:34:09
ok please update me with the fix asap.
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 14:36:37
Open usr/local/lxlabs/kloxo/file/lighttpd.conf and then change:

from:
Code: [Select]
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.max-keep-alive-requests = 128

server.pid-file                = "/usr/local/lxlabs/kloxo/pid/lighty.pid"

to:
Code: [Select]
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.max-keep-alive-requests = 128

server.error-handler-404   = "htmllib/lbin/sitepreview.php"
#server.error-handler-404   = "/error-handler.php"

server.pid-file                = "/usr/local/lxlabs/kloxo/pid/lighty.pid"

and then restart kloxo with 'service kloxo restart'.
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 14:46:06
still sitepreview showing 404 - Not Found
even rebooted server
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 14:53:39
Remember, you must access like 'http://domain1.com:7778/sitepreview/domain2.com/'
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 14:54:31
You can see http://dev301.potissima.com:7778/sitepr ... twork.com/ (http://dev301.potissima.com:7778/sitepreview/mratwork.com/)
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 14:59:35
http://IPADDRESS:7778/sitepreview/domain.com/ (http://IPADDRESS:7778/sitepreview/domain.com/)

this is how i am checking and it is showing 404 error.
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 15:16:04
It's ok check via ip like http://178.32.23.32:7778/sitepreview/mratwork.com (http://178.32.23.32:7778/sitepreview/mratwork.com)
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 15:45:52
yours is fine my showing 404 error.
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 16:38:33
Quote from: "onemanarmy"
yours is fine my showing 404 error.
How about when access via 'http://IPADDRESS/~admin' (if admin have domain or can try other user).
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 16:41:55
it is also showing "404 - Not Found"
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 16:43:30
So, still something wrong your dns and or web server.
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 16:51:15
sitepreview should show default kloxo page but it is showing 404 error.
do you want ssh access to see what's wrong?
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 19:02:12
Information about your very little. Better you read viewtopic.php?f=19&t=684 (http://forum.mratwork.com/viewtopic.php?f=19&t=684)

Many update for 6.5.0.c (that mean candidate release) since 2 month ago. Your full version (latest as 6.5.0.c.2013020402 at github) is importance to know what wrong with your system
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 19:07:14
please check pm
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 19:26:03
No information from your related to what php branch (php 52/53/54), php-type (mod_php_ruid2 or others; including enable secondary php or not) and web server (apache, nginx or others).
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 19:30:15
nginxproxy - php53u - fcgid_event(using secondary php)
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 19:37:47
Try select to other php-type (say it to mod_php_ruid2) and then back to your previous select.

After that, inform here 'dir /etc/httpd/conf.d'
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 19:45:53
fcgid.conf      proxy_ajp.conf  ruid2.nonconf  suphp.nonconf
~lxcenter.conf  README          ssl.conf       webalizer.conf
php.nonconf     rpaf.conf       suphp52.conf   welcome.conf
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 19:50:43
Ok, for to make sure. run 'yum install mod_fcgid'.
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 19:56:08
0 packages excluded due to repository protections
Setting up Install Process
Package mod_fcgid-2.3.7-2.mr.el5.i386 already installed and latest version
Nothing to do
Title: Re: 404 - Not Found
Post by: MRatWork on 2013-02-06, 20:02:16
I think after running 'sh /script/fixweb; sh /script/fixphp; service httpd restart; service nginx restart' your server running well (depend on dns server running or not; use bind instead djbdns as dns server).
Title: Re: 404 - Not Found
Post by: onemanarmy on 2013-02-06, 20:07:26
fixweb
fixphp
httpd and nginx restart
using named

still sitepreview showing 404 error.