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-28, 21:38:26

Author Topic: Webserver Problem after update  (Read 4784 times)

0 Members and 1 Guest are viewing this topic.

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Webserver Problem after update
« on: 2016-02-25, 20:03:37 »
webserver stopped.  I reboot and still not worked.

used both hiawatha and apache. apache works fine but is slow.

Code: [Select]
First I did this

yum reinstall hiawatha* httpd* -y
chkconfig hiawatha on
chkconfig httpd on

[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

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

- For help, type '/script/restart-web [--help|-h]'
[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

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

- For help, type '/script/restart-web [--help|-h]'
[root@vps1****1 ~]# yum install mod_perl
Loaded plugins: fastestmirror, presto, priorities, protectbase, refresh-
              : packagekit, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * mratwork-epel: mirror.imt-systems.com
 * mratwork-ius-stable: mirrors.ircam.fr
 * mratwork-webtatic: uk.repo.webtatic.com
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package mod_perl.x86_64 0:2.0.4-11.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch            Version                  Repository     Size
================================================================================
Installing:
 mod_perl          x86_64          2.0.4-11.el6_5           base          3.2 M

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

Total download size: 3.2 M
Installed size: 6.1 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 3.2 M
mod_perl-2.0.4-11.el6_5.x86_64.rpm                       | 3.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mod_perl-2.0.4-11.el6_5.x86_64                               1/1
warning: /etc/httpd/conf.d/perl.conf created as /etc/httpd/conf.d/perl.conf.rpmnew
  Verifying  : mod_perl-2.0.4-11.el6_5.x86_64                               1/1

Installed:
  mod_perl.x86_64 0:2.0.4-11.el6_5

Complete!
[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@vps1****1 ~]# chkconfig hiawatha on
[root@vps1****1 ~]# chkconfig hiawatha on
[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

[root@vps1****1 ~]# sh /script/restart-web -y

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

Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server: Error binding 0.0.0.0:80
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@vps1****1 ~]# sh /script/restart-web -y

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

- For help, type '/script/restart-web [--help|-h]'

Reinstalled server still same problem. Help

[root@vps1**** ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016022403
   - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: vps194871.ovh.net
C. Services:
   1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64
   2. PHP:
      - Branch: php70w-cli-7.0.3-1.w6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Web Used: apache
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: --uninstalled--
   5. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   6. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   7. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3736       2172       1564          3         64       1580
   -/+ buffers/cache:        527       3209
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G  3.1G   16G  17% /


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

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)



BTW Thanks For latest update. I am excited you included PHP7 and force domain php setting and other changes. websites are fast now.  :)

But please help on this matter. Thanks
« Last Edit: 2016-02-25, 20:05:10 by tinu »

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Webserver Problem after update
« Reply #1 on: 2016-02-25, 20:38:26 »
Found another problem. Blank page after roundcube login

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webserver Problem after update
« Reply #2 on: 2016-02-26, 01:44:47 »
For httpd issue, go to 'admin > webserver configure'. Untick 'Enable Multiple PHP As Secondary PHP', wait a moment, and then tick again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Webserver Problem after update
« Reply #3 on: 2016-02-26, 19:53:48 »
Thank You very much Mustafa. HTTPD issue solved. :D

Please advice for roundcube problem too. Long Live Mustafa.. :P

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Webserver Problem after update
« Reply #4 on: 2016-02-26, 19:59:05 »
also please show me how to reinstall roundcube

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webserver Problem after update
« Reply #5 on: 2016-02-27, 00:16:56 »
Just reinstall with 'yum reinstall kloxomr-webmail-roundcube -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Webserver Problem after update
« Reply #6 on: 2016-02-27, 16:13:59 »
Thanks mustafa. Reinstalled roundcube. But i am getting same blank page after login in roundcube.

Any suggestions how to fix this problem??

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Webserver Problem after update
« Reply #7 on: 2016-02-27, 16:47:01 »
If you set 'php used' as 'php branch' and 'php branch' is 'php 7.0', maybe your issue related to this php version.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: Webserver Problem after update
« Reply #8 on: 2016-02-27, 21:28:11 »
Thanks Mustafa you rock. It worked.

Thanks for your constant contribution and support.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.03 seconds with 19 queries.

web stats analysis