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-04, 00:24:15

Author Topic: Website will not open  (Read 4661 times)

0 Members and 1 Guest are viewing this topic.

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Website will not open
« on: 2015-02-06, 14:42:15 »
Hi Mr. MR

sometimes my website will not load untill i restart the service php-fpm, when i restart php-fpm service my site will open as usuall.

Please help

Thanks

My Sys Info:

Code: [Select]
A. Kloxo-MR: 6.5.0.f-2015010801

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.41-2.ius.el6.x86_64
   2. PHP: php54-5.4.37-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.9-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.46.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         13929       2587      11341         17         94       1817
   -/+ buffers/cache:        676      13253
   Swap:            0          0          0


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #1 on: 2015-02-06, 20:53:21 »
Look like default setting for php-fpm children and apache mpm not not enough. In Kloxo-MR 7.0, php-fpm children able to setting in panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Website will not open
« Reply #2 on: 2015-02-07, 00:30:16 »
Look like default setting for php-fpm children and apache mpm not not enough. In Kloxo-MR 7.0, php-fpm children able to setting in panel.

can you let me know best values to change on these files?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #3 on: 2015-02-07, 01:16:52 »
Search this forum with keyword 'php53-fpm-pool.conf.tpl'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Website will not open
« Reply #4 on: 2015-02-10, 01:28:19 »
Search this forum with keyword 'php53-fpm-pool.conf.tpl'.

Ok i did changed values as per the http://forum.mratwork.com/kloxo-mr-technical-helps/web-server-response-error-or-very-slow/15/

same issue it happens only every 2 days, ex if you restart services today it will work fine for 2 days and later website will not open untill you restart services.

today i restarted php-fpm but still it was not working.. and saw strange output while restarting services. given below

Please help

Code: [Select]
[root@server ~]# service php-fpm restart
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@server ~]# service php-fpm restart
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]


[root@server ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]


[root@server ~]# service mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]


[root@server ~]# service nginx restart
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]


[root@server ~]# sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:30080
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
supervise: fatal: unable to acquire send/supervise/lock: temporary failure
supervise: fatal: unable to acquire imap4-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire imap4-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire imap4-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire imap4/supervise/lock: temporary failure
supervise: fatal: unable to acquire submission/supervise/lock: temporary failure
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 pop3/supervise/lock: temporary failure
supervise: fatal: unable to acquire smtp-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire authlib/supervise/lock: temporary failure
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 pop3-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire smtp/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
Stopping kloxo-phpcgi: supervise: fatal: unable to acquire send/supervise/lock: temporary failure
supervise: fatal: unable to acquire submission/supervise/lock: temporary failure
supervise: fatal: unable to acquire smtp-ssl/supervise/lock: temporary failure
supervise: fatal: unable to acquire smtp/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
                                                           [FAILED]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: supervise: fatal: unable to acquire imap4/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
                                                           [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]


[root@server ~]# sh /script/restart-all                                       Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
                                                           [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@server ~]#



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #5 on: 2015-02-10, 01:48:46 »
If found 'supervise: fatal: unable to acquire' message, reboot usually fixed your issue. Also fixed issue for 'Starting httpd: (98)Address already in use:' (happen if try change web server).

If using non-OpenVZ VPS (that mean dedi, xen or kvm), you can add cron job with content 'sh /script/clearcache3; sh /script/restart-all -y' per-day.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Website will not open
« Reply #6 on: 2015-02-10, 04:37:24 »
If found 'supervise: .......

unfortunately it just happen the same, website was not being opened untill i do sh /script/restart-all.

i usually will have below traffic for now

users online everytime - 80-90
daily visitors - 4000 - 5000
pageviews - around 30000

it concluded that now it is not with every 2 days, it is happening with some reason..

Please help

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #7 on: 2015-02-10, 06:16:34 »
For Kloxo-MR 6.5, you must modified php-fpm template manually. In Kloxo-MR 7.0, it's easy with increasing 'fastcgi children' in 'limit' or 'resource plan'.
« Last Edit: 2015-02-15, 02:41:45 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Website will not open
« Reply #8 on: 2015-02-15, 02:09:58 »
For Kloxo-MR 6.5, you must modified php-fpm template manually. In Kloxo-MR 7.0, it's easy with increasing 'fastcgi children' in 'limit' or 'resource plan'.

it will plan some time later for upgradation with different server, for now can you let me know how to increase 'fastcgi children' in 'limit' or 'resource plan'. ?
« Last Edit: 2015-02-15, 02:42:05 by MRatWork »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #9 on: 2015-02-15, 02:43:35 »
In Kloxo-MR 7.0, 'fastcgi children' declare in 'limit' (in every client; if login as admin or reseller) or 'resource plan' (in admin or reseller).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline spurpose35

  • Junior Member
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Website will not open
« Reply #10 on: 2015-02-15, 03:39:04 »
In Kloxo-MR 7.0, 'fastcgi children' declare in 'limit' (in every client; if login as admin or reseller) or 'resource plan' (in admin or reseller).

sorry to ask - is this the guide for installation?
https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Website will not open
« Reply #11 on: 2015-02-15, 04:21:05 »
Yes, just follow B.2 and then re-setup web/dns/spam service in 'switch programs' (with a trick where select all as 'none' and then select again what you want, example: nginx-proxy, nsd, none and bogofilter).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.043 seconds with 21 queries.

web stats analysis