Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-13, 02:35:45

Author Topic: Webmail error 404  (Read 10120 times)

0 Members and 1 Guest are viewing this topic.

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Webmail error 404
« on: 2014-11-05, 08:36:45 »
Hi!

Did a fresh install of kloxo-mr 7. Changed my domains NS to the kloxo-server and querying for records shows correct:

Code: [Select]
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ringgum.eu.                    IN      A

;; ANSWER SECTION:
ringgum.eu.             21599   IN      A       192.208.185.85
ringgum.eu.             21599   IN      NS      ns1.ringgum.eu.
ringgum.eu.             21599   IN      NS      ns2.ringgum.eu.
ringgum.eu.             21599   IN      MX      10 mail.ringgum.eu.
webmail.ringgum.eu.     21599   IN      A       192.208.185.85


;; Query time: 184 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Nov 05 09:30:38 EST 2014

I´ve tried /script/fixwebmail
/script/fixdns fixweb and so on.
Still same result.

output of sysinfo:

Code: [Select]
A. Kloxo-MR: 7.0.0.b-2014110202

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.40-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.8.0-f.2.mr.el6.x86_64
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_worker

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        363       1684          3          0        163
   -/+ buffers/cache:        199       1848
   Swap:         6050          0       6050

I have also tried changing between suphp and phpfpm and so on.

Any suggestions?

Thank you for a good product! :D

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #1 on: 2014-11-05, 10:09:23 »
Try select 'none' for all in 'switch programs' and then select 'nginx-proxy' for web, 'nsd' for dns, 'none' for webcache and 'bogofilter' for spam.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #2 on: 2014-11-05, 10:30:37 »
Thank you for your swift reply!

That resulted in a 500 internal server error instead.



[root@ringgum ~]# curl webmail.ringgum.eu
<html>

<head>
<title>Kloxo-MR : Error 500</title>
</head>

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #3 on: 2014-11-05, 10:59:18 »
Did a tail -f while trying to access it, the result as below:

[root@ringgum log]# tail -f nginx/error.log
2014/11/05 11:52:56 [error] 17862#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock:", host: "webmail.ringgum.eu"
2014/11/05 11:52:56 [error] 17862#0: *1 testing "/home/admin/ringgum.eu" existence failed (2: No such file or directory) while logging request, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock", host: "webmail.ringgum.eu"
2014/11/05 11:53:04 [error] 17862#0: *8 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock:", host: "www.ringgum.eu"
2014/11/05 11:53:04 [error] 17862#0: *8 testing "/home/admin/ringgum.eu" existence failed (2: No such file or directory) while logging request, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock", host: "www.ringgum.eu"
2014/11/05 11:53:05 [error] 17862#0: *8 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock:", host: "www.ringgum.eu"
2014/11/05 11:53:05 [error] 17862#0: *8 testing "/home/admin/ringgum.eu" existence failed (2: No such file or directory) while logging request, client: 198.35.44.120, server: ringgum.eu, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/admin.sock", host: "www.ringgum.eu"

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #4 on: 2014-11-05, 11:19:31 »
No longer getting the errormsg. Just a redirect to /src/login.php

and that is a blank white page.

198.35.44.120 - - [05/Nov/2014:12:14:19 -0500] "GET /favicon.ico HTTP/1.1" 404 759 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36" "-"
198.35.44.120 - - [05/Nov/2014:12:16:56 -0500] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36" "-"
198.35.44.120 - - [05/Nov/2014:12:16:56 -0500] "GET /src/login.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36" "-"
192.208.185.85 - - [05/Nov/2014:12:17:19 -0500] "GET / HTTP/1.1" 302 5 "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2" "-"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #5 on: 2014-11-05, 11:27:08 »
Go to 'webserver config' and click 'update' for 'php type'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #6 on: 2014-11-05, 11:57:49 »
Thx!

Still no luck tho :/

trying to access webmail.ringgum.eu still gives me blank white page, no error displayed.
When i check the access.log of nginx i get this:

 Chrome/38.0.2125.111 Safari/537.36" "-"
198.35.44.120 - - [05/Nov/2014:12:54:27 -0500] "GET /src/login.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36" "-"
198.35.44.120 - - [05/Nov/2014:12:55:23 -0500] "GET /src/login.php HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36" "-"

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #7 on: 2014-11-05, 12:25:01 »
Inform here result of 'sh /script/fixweb; sh /script/fixphp; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #8 on: 2014-11-05, 12:36:27 »
Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
- 'test.ringgum.eu' ('andreas') at 'localhost'
- 'trullkall.com' ('trullkall') at 'localhost'
- 'ringgum.eu' ('admin') at 'localhost'

*** Process Time: 00:00:00:00.756 (dd:hh:mm:ss:xxxxxx) ***


- For help, type '/script/fixphp --help' or '/script/fixphp -h'
- No argument supplied. Defaulting to localhost (master) servers

Fixing php.ini/php-fpm.conf/php5.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php5.fcgi' at 'localhost'
- '/home/andreas/test/.htaccess' ('andreas') at 'localhost'
- '/home/kloxo/client/andreas/php.ini' at 'localhost'
- '/home/kloxo/client/andreas/php5.fcgi' at 'localhost'
- '/home/kloxo/client/andreas/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/andreas.conf' at 'localhost'
- '/home/trullkall/web/.htaccess' ('trullkall') at 'localhost'
- '/home/kloxo/client/trullkall/php.ini' at 'localhost'
- '/home/kloxo/client/trullkall/php5.fcgi' at 'localhost'
- '/home/kloxo/client/trullkall/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/trullkall.conf' at 'localhost'
- '/home/admin/ringgum.eu/.htaccess' ('admin') at 'localhost'
- '/home/kloxo/client/admin/php.ini' at 'localhost'
- '/home/kloxo/client/admin/php5.fcgi' at 'localhost'
- '/home/kloxo/client/admin/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/admin.conf' at 'localhost'

*** Process Time: 00:00:00:00.626 (dd:hh:mm:ss:xxxxxx) ***


Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 18 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php-fpm:                                          [FAILED]
Starting php-fpm: [05-Nov-2014 13:34:51] ERROR: An another FPM instance seems to already listen on /opt/configs/php-fpm/sock/apache.sock
[05-Nov-2014 13:34:51] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web --help' or '/script/restart-web -h'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #9 on: 2014-11-05, 12:56:34 »
Try 'yum install mod_suphp' and then reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #10 on: 2014-11-05, 13:02:39 »
Tried it, now I get a diffrent error.

502 Bad Gateway

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #11 on: 2014-11-05, 13:09:30 »
Try switch to lighttpd and then switch back to nginx-proxy (or other like you want).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #12 on: 2014-11-05, 13:32:18 »
Thx for your patience.

still 502 bad gateway.

output from restart-web:


Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 3 of /home/kloxo/client/admin/prefork.inc:
php_admin_value takes two arguments, PHP Value Modifier (Admin)
                                                           [FAILED]
-------------------------------------------------------------------

Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------




Also get this from nginx error.log:

2014/11/05 14:32:02 [error] 19352#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:30080/", host: "webmail.ringgum.eu"
2014/11/05 14:32:47 [error] 19352#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:30080/", host: "webmail.ringgum.eu"
2014/11/05 14:36:21 [error] 20713#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:30080/", host: "webmail.ringgum.eu"
2014/11/05 14:45:24 [error] 21025#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 198.35.44.120, server: ringgum.eu, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:30080/", host: "webmail.ringgum.eu"
« Last Edit: 2014-11-05, 13:47:31 by engen »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webmail error 404
« Reply #13 on: 2014-11-05, 14:05:35 »
Go to 'admin > server > localhost > php configure' and click update. The same way, in 'admin > php configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline engen

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Webmail error 404
« Reply #14 on: 2014-11-05, 14:16:34 »
GREAT!! :D :D

Now the loginpage works :)Thank you!!!! :D


 But complains that my email-adress/password is wrong. Doublechecked and changed it, with no luck!

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.038 seconds with 18 queries.

web stats analysis