MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: lupetalo on 2013-03-02, 17:47:42

Title: Webmail error 500
Post by: lupetalo on 2013-03-02, 17:47:42
I dont know what it was bud webmail start giving error 500.
Code: [Select]
A. Kloxo-MR: 6.5.0.c.2013022503

B. OS: CentOS release 5.9 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php53u-5.3.21-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.13-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2010       1501        508          0        214        208
   -/+ buffers/cache:       1079        931
   Swap:         3999        563       3436
Tried:
Quote
/script/fixwebmail
/script/fixmail
/script/fixweb
/script/fix-chownchmod
/script/cleanup
/script/fixphp
/script/vpop
same....
how to reinstall/refresh config for webmail?
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-02, 18:39:07
For to make sure, update to latest upload.

Run 'sh /script/fix-chownchmod; sh /script/fixweb; sh /script/restart-services'. You not enable 'secondary php', all .htaccess inside '/home/kloxo/httpd/webmail' must be without 'AddHandler x-httpd-php52 .php'.

Also try, change disable 'secondary php' and change back to enable.
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-02, 21:39:12
Quote from: "MRatWork"
Also try, change disable 'secondary php' and change back to enable.
If you mean box on Webserver Config that cant be unchecked, always back when click update, in .htaccess   'AddHandler x-httpd-php52 .php' is always commented out.
Im i not updated to the latest?
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-02, 21:42:13
Need update always to latest upload because sometimes certain issues already fixed.
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-02, 21:51:59
Quote from: "MRatWork"
Need update always to latest upload because sometimes certain issues already fixed.
that is why i ask am i at latest:
Code: [Select]
A. Kloxo-MR: 6.5.0.c.2013022503
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-02, 22:06:20
The latest upload:
Code: [Select]
> sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013030203

B. OS: CentOS release 6.3 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.1-1.x86_64
   2. PHP: php53u-5.3.21-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.23-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.13-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el6.x86_64
   7. Dns: bind-9.9.2-2.P1.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        876        120          0         49        331
   -/+ buffers/cache:        494        502
   Swap:         1022          5       1017
Title: Re: Webmail error 500
Post by: ibuxxi on 2013-03-02, 22:17:45
how can i set 1. MySQL: MariaDB-server-10.0.1-1.x86_64     ?
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-02, 22:23:20
Run 'sh /script/mysql-to-mariadb'.
Title: Re: Webmail error 500
Post by: ibuxxi on 2013-03-02, 22:27:45
thanks
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-03, 03:51:56
Quote from: "MRatWork"
Run 'sh /script/mysql-to-mariadb'.
How about samo help on the subject, please.
@ibuxxi: No offense but u are in wrong place with that line.
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-05, 05:27:25
Help about this topic is more than welcome, i still have Error 500 on webmail but everything else working.
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-05, 08:26:32
Quote from: "lupetalo"
Help about this topic is more than welcome, i still have Error 500 on webmail but everything else working.
Better try update your Kloxo. If all others running but found error 5000 on webmail, there are look like something wrong with ownership and or permissions.

Try:
1. remove webmail with 'yum remove kloxomr-webmail -y'
2. remove all content of webmail dir with ' rm -rf /home/kloxo/httpd/webmail/*'
3. update Kloxo-MR (follow https://github.com/mustafaramadhan/klox ... nstall.txt (https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt))
4. run 'sh /script/cleanup; sh /script/fixwebmail; sh /script/fix-chownchmod; sh /script/restart-services'
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-05, 14:05:36
Quote from: "MRatWork"
Quote from: "lupetalo"
Help about this topic is more than welcome, i still have Error 500 on webmail but everything else working.
Better try update your Kloxo. If all others running but found error 5000 on webmail, there are look like something wrong with ownership and or permissions.

Try:
1. remove webmail with 'yum remove kloxomr-webmail -y'
2. remove all content of webmail dir with ' rm -rf /home/kloxo/httpd/webmail/*'
3. update Kloxo-MR (follow https://github.com/mustafaramadhan/klox ... nstall.txt (https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt))
4. run 'sh /script/cleanup; sh /script/fixwebmail; sh /script/fix-chownchmod; sh /script/restart-services'
Code: [Select]
No Match for argument: kloxomr-webmail
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-05, 14:59:00
Sorry, 'yum install kloxomr-webmail* -y'.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-05, 18:46:06
Squirrelmail does not work. Is a white page.
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-06, 07:31:23
Try 'run /script/cleanup; sh /script/fixweb; sh /script/fixwebmail'
Title: Re: Webmail error 500
Post by: Viking on 2013-03-06, 20:00:57
Quote from: "MRatWork"
Try 'run /script/cleanup; sh /script/fixweb; sh /script/fixwebmail'
I did so. And with yum and still is a white page and not work.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-06, 20:18:02
I did upgrade to 6.5.0.c.2013030603 and nothing works or cp.domain, domain.com, webmail.domain.com. Everywhere shows a white page. I did '/script/cleanup, /script/fixweb, /script/fixphp'. Everywhere is white page.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-06, 20:29:42
And there is a problem with telnet:
reboot
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-152738.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-152738.php)
reboot
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-152738.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-152738.php)
....
reboot
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-152738.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-152738.php)
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-06, 21:08:51
Ok, I will make 'tutorial' about 'how to prepare qmail-toaster'.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-06, 21:15:40
Quote from: "MRatWork"
Ok, I will make 'tutorial' about 'how to prepare qmail-toaster'.
After the update you need to do is re-install php as a php error. After reinstalling php works (yum replace php53u --replace-with=php54, yum replace php54 --replace-with=php53u). Unfortunately Squirrelmail still does not work.
Why does not the 'yum list kloxo *'?
Code: [Select]
yum list kloxo*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * extras: centos.crazyfrogs.org
 * kloxo-mr-epel: mirror01.th.ifl.net
 * kloxo-mr-ius: download.srv.ro
 * updates: centos.crazyfrogs.org
0 packages excluded due to repository protections
Error: No matching Packages to list
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-06, 21:25:31
Try 'yum clean all' and then 'yum list kloxo*'.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-06, 21:46:03
Quote from: "MRatWork"
Try 'yum clean all' and then 'yum list kloxo*'.
Code: [Select]
yum clean all
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning repos: base extras kloxo-mr-centalt kloxo-mr-centosec kloxo-mr-epel
              : kloxo-mr-ius kloxo-mr-nginx kloxo-mr-release-neutral-arch
              : kloxo-mr-release-neutral-noarch kloxo-mr-release-version-arch
              : kloxo-mr-release-version-noarch kloxo-mr-varnish-3.0 updates
              : vz-base vz-updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Code: [Select]
yum list kloxo*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Determining fastest mirrors
 * base: centos.crazyfrogs.org
 * extras: centos.crazyfrogs.org
 * kloxo-mr-epel: mirror.nl.leaseweb.net
 * kloxo-mr-ius: mirror.symnds.com
 * updates: centos.crazyfrogs.org
base                                                     | 3.7 kB     00:00    
base/primary_db                                          | 4.5 MB     00:00    
extras                                                   | 3.5 kB     00:00    
extras/primary_db                                        |  23 kB     00:00    
kloxo-mr-centalt                                         |  951 B     00:00    
kloxo-mr-centalt/primary                                 |  68 kB     00:00    
kloxo-mr-centalt                                                        215/215
kloxo-mr-centosec                                        | 2.6 kB     00:00    
kloxo-mr-centosec/primary_db                             |  42 kB     00:00    
kloxo-mr-epel                                            | 4.3 kB     00:00    
kloxo-mr-epel/primary_db                                 | 5.0 MB     00:01    
kloxo-mr-ius                                             | 2.2 kB     00:00    
kloxo-mr-ius/primary_db                                  | 105 kB     00:00    
kloxo-mr-nginx                                           | 1.3 kB     00:00    
kloxo-mr-nginx/primary                                   | 5.0 kB     00:00    
kloxo-mr-nginx                                                            35/35
kloxo-mr-release-neutral-arch                            | 1.9 kB     00:00    
kloxo-mr-release-neutral-arch/primary_db                 | 1.1 kB     00:00    
kloxo-mr-release-neutral-noarch                          | 1.9 kB     00:00    
kloxo-mr-release-neutral-noarch/primary_db               |  11 kB     00:00    
kloxo-mr-release-version-arch                            | 1.9 kB     00:00    
kloxo-mr-release-version-arch/primary_db                 |  46 kB     00:00    
kloxo-mr-release-version-noarch                          | 1.9 kB     00:00    
kloxo-mr-release-version-noarch/primary_db               | 1.1 kB     00:00    
kloxo-mr-varnish-3.0                                     |  951 B     00:00    
kloxo-mr-varnish-3.0/primary                             | 4.7 kB     00:00    
kloxo-mr-varnish-3.0                                                      13/13
updates                                                  | 3.5 kB     00:00    
updates/primary_db                                       | 5.1 MB     00:00    
vz-base                                                  |  951 B     00:00    
vz-base/primary                                          | 1.3 kB     00:00    
vz-base                                                                     3/3
vz-updates                                               |  951 B     00:00    
vz-updates/primary                                       |  157 B     00:00    
0 packages excluded due to repository protections
Error: No matching Packages to list

Code: [Select]
yum list kloxo*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * extras: centos.crazyfrogs.org
 * kloxo-mr-epel: mirror.nl.leaseweb.net
 * kloxo-mr-ius: mirror.symnds.com
 * updates: centos.crazyfrogs.org
0 packages excluded due to repository protections
Error: No matching Packages to list
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-06, 23:50:36
It's maybe you inside directory where file with prefix kloxo exists. Try 'cd /; yum list kloxo*'.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 00:26:53
Quote from: "MRatWork"
It's maybe you inside directory where file with prefix kloxo exists. Try 'cd /; yum list kloxo*'.
OK. Now it works.
Squirrelmail is still not working.
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 00:38:53
I was update kloxomr-webmail-squirrelmail. Try with 'yum update kloxomr-*'
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 00:49:04
Quote from: "MRatWork"
I was update kloxomr-webmail-squirrelmail. Try with 'yum update kloxomr-*'
Code: [Select]
yum update kloxomr-*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: ftp.cvut.cz
 * extras: mirror.slu.cz
 * kloxo-mr-epel: mirror01.th.ifl.net
 * kloxo-mr-ius: ftp.rediris.es
 * updates: ftp.cvut.cz
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 00:56:46
This is in 1 of my servers:
Code: [Select]
[root@server ~]# yum update kloxomr-*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * addons: mirror.vieth-server.de
 * base: mirror.informatik.hs-fulda.de
 * extras: mirror.vieth-server.de
 * kloxo-mr-epel: mirrors.ircam.fr
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: mirror.ovh.net
Webmin                                                   |  951 B     00:00
addons                                                   | 1.9 kB     00:00
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
kloxo-mr-centalt                                         |  951 B     00:00
kloxo-mr-centosec                                        | 2.3 kB     00:00
kloxo-mr-epel                                            | 3.7 kB     00:00
kloxo-mr-ius                                             | 2.2 kB     00:00
kloxo-mr-mariadb64                                       | 1.9 kB     00:00
kloxo-mr-nginx                                           | 1.2 kB     00:00
kloxo-mr-release-neutral-arch                            | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch                          | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch/primary_db               |  11 kB     00:00
kloxo-mr-release-version-arch                            | 1.9 kB     00:00
kloxo-mr-release-version-arch/primary_db                 |  51 kB     00:00
kloxo-mr-release-version-noarch                          | 1.9 kB     00:00
kloxo-mr-varnish-3.0                                     |  951 B     00:00
updates                                                  | 1.9 kB     00:00
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kloxomr-webmail-squirrelmail.noarch 0:1.4.22-5.mr set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
        Arch        Version          Repository                            Size
================================================================================
Updating:
 kloxomr-webmail-squirrelmail
        noarch      1.4.22-5.mr      kloxo-mr-release-neutral-noarch      5.9 M

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       1 Package(s)

Total download size: 5.9 M
Is this ok [y/N]: y
Downloading Packages:
kloxomr-webmail-squirrelmail-1.4.22-5.mr.noarch.rpm      | 5.9 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : kloxomr-webmail-squirrelmail                             1/2
warning: /home/kloxo/httpd/webmail/squirrelmail/config_local.php created as /home/kloxo/httpd/webmail/squirrelmail/config_local.php.rpmnew
  Cleanup        : kloxomr-webmail-squirrelmail                             2/2

Updated:
  kloxomr-webmail-squirrelmail.noarch 0:1.4.22-5.mr

Complete!
[root@server ~]#

Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 01:00:46
Quote from: "MRatWork"
This is in 1 of my servers:
Code: [Select]
[root@server ~]# yum update kloxomr-*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * addons: mirror.vieth-server.de
 * base: mirror.informatik.hs-fulda.de
 * extras: mirror.vieth-server.de
 * kloxo-mr-epel: mirrors.ircam.fr
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: mirror.ovh.net
Webmin                                                   |  951 B     00:00
addons                                                   | 1.9 kB     00:00
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
kloxo-mr-centalt                                         |  951 B     00:00
kloxo-mr-centosec                                        | 2.3 kB     00:00
kloxo-mr-epel                                            | 3.7 kB     00:00
kloxo-mr-ius                                             | 2.2 kB     00:00
kloxo-mr-mariadb64                                       | 1.9 kB     00:00
kloxo-mr-nginx                                           | 1.2 kB     00:00
kloxo-mr-release-neutral-arch                            | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch                          | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch/primary_db               |  11 kB     00:00
kloxo-mr-release-version-arch                            | 1.9 kB     00:00
kloxo-mr-release-version-arch/primary_db                 |  51 kB     00:00
kloxo-mr-release-version-noarch                          | 1.9 kB     00:00
kloxo-mr-varnish-3.0                                     |  951 B     00:00
updates                                                  | 1.9 kB     00:00
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kloxomr-webmail-squirrelmail.noarch 0:1.4.22-5.mr set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
        Arch        Version          Repository                            Size
================================================================================
Updating:
 kloxomr-webmail-squirrelmail
        noarch      1.4.22-5.mr      kloxo-mr-release-neutral-noarch      5.9 M

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       1 Package(s)

Total download size: 5.9 M
Is this ok [y/N]: y
Downloading Packages:
kloxomr-webmail-squirrelmail-1.4.22-5.mr.noarch.rpm      | 5.9 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : kloxomr-webmail-squirrelmail                             1/2
warning: /home/kloxo/httpd/webmail/squirrelmail/config_local.php created as /home/kloxo/httpd/webmail/squirrelmail/config_local.php.rpmnew
  Cleanup        : kloxomr-webmail-squirrelmail                             2/2

Updated:
  kloxomr-webmail-squirrelmail.noarch 0:1.4.22-5.mr

Complete!
[root@server ~]#

For me it does not work. It shows:
Code: [Select]
yum update kloxomr-*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: ftp.cvut.cz
 * extras: mirror.slu.cz
 * kloxo-mr-epel: mirror01.th.ifl.net
 * kloxo-mr-ius: ftp.rediris.es
 * updates: ftp.cvut.cz
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 01:21:07
It only appeared in the update. After the update squirrelmail works. It's OK.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 01:29:32
New update 6.5.0.c.2013030701 still has problems with php. After the upgrade does not work. These white pages.
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 01:45:06
Check you squirrelmail with 'rpm -q kloxomr-webmail-squirrelmail'. If you found 'kloxomr-webmail-squirrelmail-1.4.22-5.mr' that this is the new one.

But you must read 'warning: /home/kloxo/httpd/webmail/squirrelmail/config_local.php created as /home/kloxo/httpd/webmail/squirrelmail/config_local.php.rpmnew' where config_local.php.rpmnew copy to config_local.php.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 02:07:33
Quote from: "MRatWork"
Check you squirrelmail with 'rpm -q kloxomr-webmail-squirrelmail'. If you found 'kloxomr-webmail-squirrelmail-1.4.22-5.mr' that this is the new one.

But you must read 'warning: /home/kloxo/httpd/webmail/squirrelmail/config_local.php created as /home/kloxo/httpd/webmail/squirrelmail/config_local.php.rpmnew' where config_local.php.rpmnew copy to config_local.php.
Squirrelmail is OK. But there are problems with php updates to new versions of Kloxo-MR.
After reinstalling php works (yum replace php53u --replace-with=phpXX, yum replace phpXX --replace-with=php53u).
OK just works.
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 02:14:35
After update php need running 'sh /script/fixphpfpm; sh /script/restart-services' if using php-fpm.

Sometimes switch php-branch not work because not php-fpm installed and or need switch external php module manually. It's not Kloxo-MR but limitation/bug from 'yum replace' method from IUS.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 02:20:18
Quote from: "MRatWork"
After update php need running 'sh /script/fixphpfpm; sh /script/restart-services' if using php-fpm.

Sometimes switch php-branch not work because php-fpm installed and or need switch external php module manually. It's not Kloxo-MR but limitation/bug from 'yum replace' method from IUS.
For me it does not work php-fpm.
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-211927.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-211927.php)
Code: [Select]
/script/fixweb

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

Fixing Web server config
cp: cel `/etc/php-fpm.d/default.conf' nie jest katalogiem
- 'defaults' and 'php-fpm' at 'localhost'
- 'xxx.com' ('admin') at 'localhost'

Code: [Select]
sh /script/fixphpfpm
Fixing Php-fpm config
- php-fpm at 'localhost'

Code: [Select]
sh /script/restart-services
Zatrzymywanie named: .                                     [  OK  ]
Uruchamianie named:                                        [  OK  ]
Zatrzymywanie httpd:                                       [  OK  ]
Uruchamianie httpd:                                        [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
/script/restart-services: line 8: /etc/init.d/php-fpm: Brak dost?pu
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
Zatrzymywanie mysqld:                                      [  OK  ]
Uruchamianie mysqld:                                       [  OK  ]
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 02:35:42
Didn't found what's wrong with your server?. Php-fpm not installed!.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 02:38:20
Quote from: "MRatWork"
Didn't found what's wrong with your server?. Php-fpm not installed!.
This is the standard installation. So installed the 'Kloxo-MR'.

Code: [Select]
cd /

# update centos to latest version
yum update -y
# install some packages like package-cleanup, etc
yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip telnet wget -y

setenforce 0
echo 'SELINUX=disabled' > /etc/selinux/config

2. Install/reinstall/upgrade -- data not destroyed with this fork - for existing kloxo (6.1.x), run 'sh /script/update' first.

# remove old script and go to
cd /tmp
rm -rf /tmp/kloxo; mkdir /tmp/kloxo
rm -f ./kloxo-mr-dev.sh


# get kloxo packer from github
wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo/install/kloxo-mr-dev.sh --no-check-certificate

# install kloxo
sh ./kloxo-mr-dev.sh
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 02:46:37
Try change to suphp and change back to php-fpm on php-type.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 03:04:32
Quote from: "MRatWork"
Try change to suphp and change back to php-fpm on php-type.

suphp_event
Code: [Select]
sh /script/restart-services
Zatrzymywanie named:                                       [  OK  ]
Uruchamianie named:                                        [  OK  ]
Zatrzymywanie httpd:                                       [  OK  ]
Uruchamianie httpd:                                        [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
/script/restart-services: line 8: /etc/init.d/php-fpm: Brak dost?pu
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
Zatrzymywanie mysqld:                                      [  OK  ]
Uruchamianie mysqld:                                       [  OK  ]

php-fpm_event
Code: [Select]
sh /script/restart-services
Zatrzymywanie named: .                                     [  OK  ]
Uruchamianie named:                                        [  OK  ]
Zatrzymywanie httpd:                                       [  OK  ]
Uruchamianie httpd:                                        [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
Zatrzymywanie php-fpm:                                     [NIEUDANE]
Uruchamianie php-fpm:                                      [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
Zatrzymywanie mysqld:                                      [  OK  ]
Uruchamianie mysqld:                                       [  OK  ]

suphp
Code: [Select]
sh /script/restart-services
Zatrzymywanie named:                                       [  OK  ]
Uruchamianie named:                                        [  OK  ]
Zatrzymywanie httpd:                                       [  OK  ]
Uruchamianie httpd:                                        [  OK  ]
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Zatrzymywanie n.inx:                                       [  OK  ]
Uruchamianie nginx:                                        [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Zatrzymywanie xinetd:                                      [  OK  ]
Uruchamianie xinetd:                                       [  OK  ]
Zatrzymywanie mysqld:                                      [  OK  ]
Uruchamianie mysqld:                                       [  OK  ]

(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-220534.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-220534.php)

iptables?
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 03:12:16
The problem with php. You need to do:
Code: [Select]
yum replace php53u --replace-with=php54 -y
yum replace php54 --replace-with=php53u -y

suphp:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-221518.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-221518.php)
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 03:34:14
Iptables Kloxo-MR 6.5.0.candidate.2012-12-17-01 OK.
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-223238.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-223238.php)

Iptables Kloxo-MR 6.5.0.c.2013030701 not OK.
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-06032013-223538.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-06032013-223538.php)
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 04:02:14
Afterlogic, Squirrelmail is a mistake. You can not send messages.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 07:53:32
Alert: The identification name for your mail server is not set. This means that many public mail servers like hotmail will reject mails from your server. Click
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-07032013-025355.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-07032013-025355.php)
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 08:34:44
Today is:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-07032013-033341.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-07032013-033341.php)
It should be:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-07032013-033610.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-07032013-033610.php)
Title: Re: Webmail error 500
Post by: MRatWork on 2013-03-07, 10:16:03
There is my mistake. Update Kloxo-MR fix this issue.

It's because function setFreshClam() remove from lib.php but servermaillib.phps still call this function.
Title: Re: Webmail error 500
Post by: Viking on 2013-03-07, 16:03:57
Quote from: "MRatWork"
There is my mistake. Update Kloxo-MR fix this issue.

It's because function setFreshClam() remove from lib.php but servermaillib.phps still call this function.
After the update works.
Title: Re: Webmail error 500
Post by: lupetalo on 2013-03-10, 21:59:36
Quote from: "Viking"
Quote from: "MRatWork"
There is my mistake. Update Kloxo-MR fix this issue.

It's because function setFreshClam() remove from lib.php but servermaillib.phps still call this function.
After the update works.
After update webmmail works?
Title: Re: Webmail error 500
Post by: Viking on 2013-03-11, 00:39:52
Quote from: "lupetalo"
Quote from: "Viking"
Quote from: "MRatWork"
There is my mistake. Update Kloxo-MR fix this issue.

It's because function setFreshClam() remove from lib.php but servermaillib.phps still call this function.
After the update works.
After update webmmail works?
In version 6.5.0.c.2013030901 is working properly.