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-03-28, 13:21:49

Author Topic: Webmail error 500  (Read 25159 times)

0 Members and 1 Guest are viewing this topic.

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #30 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.
« 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 error 500
« Reply #31 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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #32 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.
« 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 error 500
« Reply #33 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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #34 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.

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  ]
« 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 error 500
« Reply #35 on: 2013-03-07, 02:35:42 »
Didn't found what's wrong with your server?. Php-fpm not installed!.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #36 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
« 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 error 500
« Reply #37 on: 2013-03-07, 02:46:37 »
Try change to suphp and change back to php-fpm on php-type.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #38 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  ]



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

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #39 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:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #40 on: 2013-03-07, 03:34:14 »
Iptables Kloxo-MR 6.5.0.candidate.2012-12-17-01 OK.


Iptables Kloxo-MR 6.5.0.c.2013030701 not OK.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #41 on: 2013-03-07, 04:02:14 »
Afterlogic, Squirrelmail is a mistake. You can not send messages.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #42 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
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Webmail error 500
« Reply #43 on: 2013-03-07, 08:34:44 »
Today is:

It should be:
« 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 error 500
« Reply #44 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.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.074 seconds with 21 queries.

web stats analysis