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-04-27, 17:29:09

Author Topic: webmail not working !  (Read 11996 times)

0 Members and 1 Guest are viewing this topic.

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
webmail not working !
« on: 2013-04-13, 23:31:47 »
sorry Mostafa but webmail don't working on my server ..
" webmail.mydomain.com " gave me ( Internal Server Error )

my sys info ..

A. Kloxo-MR: 6.5.0.f-2013031809

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.0.96-1
   2. PHP: php53u-5.3.23-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.15-2.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-3.P2.el5

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

..... any suggestion ??

' sorry for my very bad english ^_^ '
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline mhzare

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #1 on: 2013-04-14, 01:14:07 »
Quote from: "letux"
sorry Mostafa but webmail don't working on my server ..
" webmail.mydomain.com " gave me ( Internal Server Error )

my sys info ..

A. Kloxo-MR: 6.5.0.f-2013031809

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.0.96-1
   2. PHP: php53u-5.3.23-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.15-2.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-3.P2.el5

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

..... any suggestion ??

' sorry for my very bad english ^_^ '

service qmail work fine or not ?

if yes , then

/scripts/./fixweb
/scripts/./fixwebmail
/scripts/./restart-services

if your problem dosen't solve
please write output this command

qmailctl stat

and

tail -n20 /var/log/httpd/error_log
tail -n20 /var/log/nginx/error.log
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #2 on: 2013-04-14, 12:29:56 »
Code: [Select]
[root@server1 ~]# qmailctl start
Starting qmail-toaster: svscan.
[root@server1 ~]# supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
./run: line 4: /usr/bin/envconv: No such file or directory
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
multilog: fatal: unable to switch to current directory: access denied
Code: [Select]
#tail -n20 /var/log/httpd/error_log
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [warn] RSA server certificate wildcard CommonName (CN                                                                               ) `*.lxlabs.com' does NOT match server name!?
[Sun Apr 14 04:03:47 2013] [notice] Apache/2.2.23 (Unix) DAV/2 mod_fastcgi/2.4.6                                                                                mod_python/3.2.8 Python/2.4.3 mod_rpaf/0.6 mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-r                                                                               hel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Sun Apr 14 04:57:01 2013] [error] [client 199.30.20.48] File does not exist: /h                                                                               ome/elsh3rawy/elsh3rawy.tk/robots.txt
[Sun Apr 14 05:02:24 2013] [error] [client 199.30.20.111] File does not exist: /                                                                               home/elsh3rawy/elsh3rawy.tk/robots.txt
[Sun Apr 14 05:11:58 2013] [error] [client 199.30.16.5] File does not exist: /ho                                                                               me/elsh3rawy/elsh3rawy.tk/robots.txt
[Sun Apr 14 06:04:44 2013] [error] [client 66.249.73.44] File does not exist: /h                                                                               ome/mfo/books.mfo.cc/robots.txt
[Sun Apr 14 06:05:16 2013] [error] [client 66.249.73.200] File does not exist: /                                                                               home/mfo/wiki.mfo.cc/robots.txt
[Sun Apr 14 06:07:09 2013] [error] [client 66.249.73.39] File does not exist: /h                                                                               ome/mfo/ask.mfo.cc/robots.txt
[Sun Apr 14 06:07:09 2013] [error] [client 66.249.73.39] FastCGI: server "/home/                                                                               mfo/ask.mfo.cc/ask.mfo.cc.0fake" stderr: PHP message: PHP Warning:  mysql_connec                                                                               t() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied                                                                                for user 'your-mysql-usern'@'localhost' (using password: YES) in /home/mfo/ask.                                                                               mfo.cc/qa-include/qa-db.php on line 66
[Sun Apr 14 06:07:09 2013] [error] [client 66.249.73.39] FastCGI: server "/home/                                                                               mfo/ask.mfo.cc/ask.mfo.cc.0fake" stderr: PHP message: PHP Question2Answer MySQL                                                                                connect error :

" tail -n20 /var/log/nginx/error.log " .. don't give me result .
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: webmail not working !
« Reply #3 on: 2013-04-14, 23:07:20 »
try to run "sh /script/cleanup"
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #4 on: 2013-04-14, 23:44:41 »
Quote from: "goblog"
try to run "sh /script/cleanup"

i tried it more than  time .. and nothing to do !!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline mhzare

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #5 on: 2013-04-15, 03:59:33 »
Quote from: "letux"
Quote from: "goblog"
try to run "sh /script/cleanup"

i tried it more than  time .. and nothing to do !!

while you don't have any result with "tail -n20 /var/log/nginx/error.log" at system with nginx/httpd  as web service with php-fpm
you have some problem in installatiion of basic core kloxo-mr and services

please run those command and script
if you run  sh /script/cleanup at before

1- go to kloxo-mr switch program and change web service to "apache" and  compile it , after finished then  change "nginxproxy" item as a web service and compile again

2- run   sh /script/fixweb     sh /script/fixdns    sh /script/fixmail

3- in webserver config  change " php-fpm_event" and update

4- sh /script/restart-services  and make sure all service work fine and up
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #6 on: 2013-04-15, 16:15:40 »
Code: [Select]
sh /script/restart-services
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]

qmail-smtpd not stopped or started !!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline mhzare

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #7 on: 2013-04-15, 16:46:09 »
Quote from: "letux"
Code: [Select]
sh /script/restart-services
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]

qmail-smtpd not stopped or started !!


it seems , those of services in your server work fine and up normally ( Including qmail  service )

solve your problem ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #8 on: 2013-04-15, 17:26:31 »
No .. still  "Internal Server Error"
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline mhzare

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #9 on: 2013-04-15, 18:03:17 »
Quote from: "letux"
No .. still  "Internal Server Error"


this problem is not Related to qmail service
it seems , this is a apache issue

if your site hosted in this server  work normall ?
and you got "Internal Server Error" only for webmail.yourdomain.com?


please run this command after you get "internal server error" for open  (http://webmail.yourdomain.com)
i want see httpd error log after you try for open webmail.yourdomain.com

tail -n20 /var/log/httpd/error_log
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: webmail not working !
« Reply #10 on: 2013-04-15, 18:26:00 »
@letux,

Have you reboot after install?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #11 on: 2013-04-15, 18:48:27 »
Code: [Select]
# tail -n20 /var/log/httpd/error_log
[Mon Apr 15 13:19:02 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:19:02 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:19:13 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:19:13 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:20:23 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:20:23 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:25:53 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:25:53 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:25:55 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:25:55 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:25:56 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:25:56 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:27:20 2013] [error] [client 2.147.18.100] (111)Connection refused                                                    : FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fake"                                                    : connect() failed
[Mon Apr 15 13:27:20 2013] [error] [client 2.147.18.100] FastCGI: incomplete hea                                                    ders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:27:20 2013] [error] [client 2.147.18.100] File does not exist: /h                                                    ome/kloxo/httpd/webmail/favicon.ico
[Mon Apr 15 13:27:21 2013] [error] [client 2.147.18.100] File does not exist: /h                                                    ome/kloxo/httpd/webmail/favicon.ico
[Mon Apr 15 13:51:53 2013] [error] [client 196.218.110.68] (111)Connection refus                                                    ed: FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fak                                                    e": connect() failed
[Mon Apr 15 13:51:53 2013] [error] [client 196.218.110.68] FastCGI: incomplete h                                                    eaders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
[Mon Apr 15 13:51:55 2013] [error] [client 196.218.110.68] (111)Connection refus                                                    ed: FastCGI: failed to connect to server "/home/kloxo/httpd/webmail/webmail.0fak                                                    e": connect() failed
[Mon Apr 15 13:51:55 2013] [error] [client 196.218.110.68] FastCGI: incomplete h                                                    eaders (0 bytes) received from server "/home/kloxo/httpd/webmail/webmail.0fake"
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #12 on: 2013-04-15, 18:52:00 »
Quote from: "MRatWork"
@letux,

Have you reboot after install?.

 of course
i tried cleanup and fixing scripts .. and rebooting ..
i don't know where is the problem
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: webmail not working !
« Reply #13 on: 2013-04-15, 19:09:45 »
To make sure:
1. run 'yum update' --> it's must no conflict
2. run 'sh /script/fixmail-all'
3. Change php-type to mod_php_ruid2
4. run 'sh /script/fixweb'
5. Change back to php-fpm_event
6. run 'sh /script/fixweb
7. run 'sh /script/restart-all'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline letux

  • Valuable Member
  • *
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: webmail not working !
« Reply #14 on: 2013-04-15, 19:20:21 »
Mostafa it's working with mod_php_ruid2
but not working with php-fpm_event :/

!!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.049 seconds with 18 queries.

web stats analysis