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. 2017-11-08, 01:39:35

Author Topic: php54m-fpm Disk quota exceeded (122)  (Read 1613 times)

0 Members and 1 Guest are viewing this topic.

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
php54m-fpm Disk quota exceeded (122)
« on: 2015-12-09, 12:30:37 »
Hello :D
My website is showing ERROR 500,
I tried this :
[root@s2 ~]#  sh /script/fixweb; sh /script/restart-web -y

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

Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
*******

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


Stopping php54m-fpm:                                       [FAILED]
pkill to make sure stopped
Starting php54m-fpm: [09-Dec-2015 06:23:42] ERROR: failed to chown() the socket '/opt/configs/php-fpm/sock/medomine.sock': Disk quota exceeded (122)
[09-Dec-2015 06:23:42] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

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

- For help, type '/script/restart-web [--help|-h]'
----------------
[root@s2 ~]# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs            100G   49G   52G  49% /
[root@s2 ~]# df -a -i -h
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/simfs               50M    561K     50M    2% /
proc                       0       0       0    -  /proc
sysfs                      0       0       0    -  /sys
none                     64K     109     64K    1% /dev
none                       0       0       0    -  /dev/pts
none                       0       0       0    -  /proc/sys/fs/binfmt_misc
[root@s2 ~]# sh /script/restart-web -y

Stopping php54m-fpm:                                       [FAILED]
pkill to make sure stopped
Starting php54m-fpm: [09-Dec-2015 06:30:05] ERROR: failed to chown() the socket '/opt/configs/php-fpm/sock/e00y.sock': Disk quota exceeded (122)
[09-Dec-2015 06:30:05] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

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

- For help, type '/script/restart-web [--help|-h]'
[root@s2 ~]# sh /script/fixweb; sh /script/fixphp; sh /script/restart-web -y

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

Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
*******************

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


- For help, type '/script/fixphp [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing php.ini/php-fpm.conf/php.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php.fcgi' at 'localhost'
- '/home/****/.htaccess' ('****') at 'localhost'
- '/home/kloxo/client/*****/php.ini' at 'localhost'
- '/home/kloxo/client/****/php.fcgi' at 'localhost'
- '/home/kloxo/client/****/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/****.conf' at 'localhost'
- '/home/000my/****/.htaccess' ('00my') at 'localhost'
bla bla

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


Stopping php54m-fpm:                                       [FAILED]
pkill to make sure stopped
Starting php54m-fpm: [09-Dec-2015 06:30:36] ERROR: failed to chown() the socket '/opt/configs/php-fpm/sock/****.sock': Disk quota exceeded (122)
[09-Dec-2015 06:30:36] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

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

- For help, type '/script/restart-web [--help|-h]'
[root@s2 ~]# dir -l /etc/php-fpm.d; cat /etc/php-fpm.d/default.conf
total 56
-rw-r--r-- 1 root root 2135 Dec  9 06:30 admin.conf
-rw-r--r-- 1 root root 1959 Dec  9 06:30 akkk.conf
-rw-r--r-- 1 root root 1959 Dec  9 06:30 dakter.conf
-rw-r--r-- 1 root root 1876 Dec  9 06:30 default.conf
-rw-r--r-- 1 root root 1951 Dec  9 06:30 egkky.conf
-rw-r--r-- 1 root root 1932 Dec  9 06:30 fkkid.conf
-rw-r--r-- 1 root root 1941 Dec  9 06:30 fkkke.conf
-rw-r--r-- 1 root root 1951 Dec  9 06:30 hkkkg.conf
-rw-r--r-- 1 root root 1923 Dec  9 06:30 mkko.conf
-rw-r--r-- 1 root root 1915 Dec  9 06:30 rskks.conf
-rw-r--r-- 1 root root 1905 Dec  9 06:30 skkkh.conf
-rw-r--r-- 1 root root 1968 Dec  9 06:30 vkkker.conf
-rw-r--r-- 1 root root 1923 Dec  9 06:30 wkkkf.conf
-rw-r--r-- 1 root root   86 Dec  9 06:30 www.conf
[default]
;catch_workers_output = yes
;listen = 127.0.0.1:50000
listen = /opt/configs/php-fpm/sock/apache.sock
listen.backlog = 65536
listen.allowed_clients = 127.0.0.1
listen.owner = apache
listen.group = apache
listen.mode = 0666
user = apache
group = apache
;pm = dynamic
pm = ondemand
pm.max_children = 6
;pm.start_servers = 4
;pm.min_spare_servers = 2
;pm.max_spare_servers = 4
pm.max_requests = 1000

pm.process_idle_timeout = 20s

;pm.status_path = /status
;ping.path = /ping
;ping.response = pong
request_terminate_timeout = 120s
request_slowlog_timeout = 30s
slowlog = /var/log/php-fpm/slow.log
rlimit_files = 1024
rlimit_core = 0
;;chroot = /home/kloxo/httpd
;chdir = /
catch_workers_output = yes
security.limit_extensions = .php .php3 .php4 .php5

env[HOSTNAME] = $HOSTNAME
env[PATH] = /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[OSTYPE] = $OSTYPE
env[MACHTYPE] = $MACHTYPE
env[MALLOC_CHECK_] = 2

php_flag[zlib.output_compression] = off
php_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,popen,show_source
php_flag[display_errors] = off
php_flag[file_uploads] = on
php_admin_value[upload_max_filesize] = 2048M
php_flag[log_errors] = off
php_flag[output_buffering] = off
php_flag[register_argc_argv] = on
php_flag[mysql.allow_persistent] = off
php_admin_value[max_execution_time] = 120
php_admin_value[max_input_time] = 120
php_admin_value[memory_limit] = 128M
php_admin_value[post_max_size] = 32M
php_flag[allow_url_fopen] = on
php_flag[allow_url_include] = on
php_admin_value[session.save_path] = /var/lib/php/session
php_flag[cgi.force_redirect] = on
php_flag[enable_dl] = on
php_admin_value[open_basedir] = /home/:/tmp/:/usr/share/pear/:/var/lib/php/session/
php_admin_value[max_input_vars] = 3000
php_admin_value[date.timezone] = "Africa/Cairo"

« Last Edit: 2015-12-09, 12:32:23 by medo.mine »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54m-fpm Disk quota exceeded (122)
« Reply #1 on: 2015-12-09, 12:42:34 »
Check client quota setting.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: php54m-fpm Disk quota exceeded (122)
« Reply #2 on: 2015-12-09, 13:26:48 »
Check client quota setting.
I checked it and the client is not using 50% of his qouta and i changed all hosting plans to unlimited disk spae and bw
Also the same ERROR 500 appears on all websites hosted on the server
« Last Edit: 2015-12-09, 13:30:52 by medo.mine »

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: php54m-fpm Disk quota exceeded (122)
« Reply #3 on: 2015-12-09, 14:53:48 »
Stopping php54m-fpm:                                       [FAILED]
pkill to make sure stopped
Starting php54m-fpm: [09-Dec-2015 09:02:28] ERROR: failed to chown() the socket '/opt/configs/php-fpm/sock/egy.sock': Disk quota exceeded (122)
[09-Dec-2015 09:02:28] ERROR: FPM initialization failed
                                                           [FAILED]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 11 of /etc/httpd/conf.d/suphp.conf: Cannot load /etc/httpd/modules/libphp5-zts.so into server: /etc/httpd/modules/libphp5-zts.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
-------------------------------------------------------------------
I fixed the httpd error by running the following :

yum update -y
sh /script/cleanup
>> please help me with the "php54m-fpm" error :)
"Error 500 - Internal Server Error

A generic error message, given when no more specific message is suitable"
Thanks in advance
« Last Edit: 2015-12-09, 15:14:51 by medo.mine »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54m-fpm Disk quota exceeded (122)
« Reply #4 on: 2015-12-09, 15:21:12 »
If php-fpm not work your website will be have error 500.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: php54m-fpm Disk quota exceeded (122)
« Reply #5 on: 2015-12-09, 15:32:34 »
If php-fpm not work your website will be have error 500.
[root@s2 script]# sh fixphp ; sh phpm-updater

- For help, type 'fixphp [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing php.ini/php-fpm.conf/php.fcgi/.htaccess
- '/etc/php.ini' at 'localhost'
- Fix 'extension_dir' path in php.ini at 'localhost'
- '/etc/php-fpm.d/default.conf' at 'localhost'
- '/home/kloxo/client/php.fcgi' at 'localhost'
- '/home/egyarmy/egyarmy.net/.htaccess' ('egyarmy') at 'localhost'
- '/home/kloxo/client/egyy/php.ini' at 'localhost'
- '/home/kloxo/client/egy/php.fcgi' at 'localhost'
- '/home/kloxo/client/egyy/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/egy.conf' at 'localhost'
- '/home/egyarmy/egyt/.htaccess' ('emy') at 'localhost'
- '/home/farid/alfacoatings.com/.htaccess' ('farid') at 'localhost'
- '/home/kloxo/client/farid/php.ini' at 'localhost'
- '/home/kloxo/client/farid/php.fcgi' at 'localhost'
- '/home/kloxo/client/farid/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/farid.conf' at 'localhost'
bla bla
- '/home/kloxo/client/admin/php.ini' at 'localhost'
- '/home/kloxo/client/admin/php.fcgi' at 'localhost'
- '/home/kloxo/client/admin/prefork.inc' at 'localhost'
- '/etc/php-fpm.d/admin.conf' at 'localhost'

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


- For help, type '/script/phpm-installer --help'
=== BEGIN 'php52m' install ===
- 'php52-5.2.17-102.mr.el5' ready to installed/updated

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


- For help, type '/script/phpm-installer --help'
=== BEGIN 'php53m' install ===
- 'php53u-5.3.29-1.ius.el5' ready to installed/updated

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


- For help, type '/script/phpm-installer --help'
=== BEGIN 'php54m' install ===
- 'php54-5.4.45-1.ius.el5' ready to installed/updated

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


- For help, type '/script/phpm-installer --help'
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Remove Process
No Match for argument: php54s*
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * extras: mirrors.advancedhosters.com
 * mratwork-epel: reflector.westga.edu
 * mratwork-ius-stable: mirror.symnds.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirrors.advancedhosters.com
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
No Packages marked for removal
error: package php54s-fpm is not installed
=== BEGIN 'php54s' install ===
- Dependencies rpms... Please wait!
-- Check dependencies rpms
-- Install dependencies rpms
- Download all rpms (debug and devel will be deleted)... Please wait!
- Extract all rpms to '/opt/php54s'
- Disable certain modules (rename to .nonini) in 'php.d' and 'php-zts.d'
-- Disable 'dba' modules in '/etc/php54s/etc/php.d'
-- Disable 'dba' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'pdo_dblib' modules in '/etc/php54s/etc/php.d'
-- Disable 'pdo_dblib' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'pdo_odbc' modules in '/etc/php54s/etc/php.d'
-- Disable 'pdo_odbc' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'pdo_pgsql' modules in '/etc/php54s/etc/php.d'
-- Disable 'pdo_pgsql' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'pgsql' modules in '/etc/php54s/etc/php.d'
-- Disable 'pgsql' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'suhosin' modules in '/etc/php54s/etc/php.d'
-- Disable 'odbc' modules in '/etc/php54s/etc/php.d'
-- Disable 'odbc' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'mongo' modules in '/etc/php54s/etc/php.d'
-- Disable 'apc' modules in '/etc/php54s/etc/php.d'
-- Disable 'imagick' modules in '/etc/php54s/etc/php.d'
-- Disable 'interbase' modules in '/etc/php54s/etc/php.d'
-- Disable 'interbase' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'ioncube-loader' modules in '/etc/php54s/etc/php.d'
-- Disable 'memcache' modules in '/etc/php54s/etc/php.d'
-- Disable 'memcached' modules in '/etc/php54s/etc/php.d'
-- Disable 'mssql' modules in '/etc/php54s/etc/php.d'
-- Disable 'mssql' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'pdo_firebird' modules in '/etc/php54s/etc/php.d'
-- Disable 'pdo_firebird' modules in '/etc/php54s/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php-zts.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php.d'
-- Enable 'mysqlnd' instead 'mysql' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'xdebug' modules in '/etc/php54s/etc/php.d'
-- Disable 'xcache' modules in '/etc/php54s/etc/php.d'
-- Disable 'opcache' modules in '/etc/php54s/etc/php.d'
-- Disable 'opcache' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'lzf' modules in '/etc/php54s/etc/php.d'
-- Disable 'redis' modules in '/etc/php54s/etc/php.d'
-- Disable 'redis' modules in '/etc/php54s/etc/php-zts.d'
-- Disable 'enchant' modules in '/etc/php54s/etc/php.d'
-- Disable 'enchant' modules in '/etc/php54s/etc/php-zts.d'
- Copy certain files to '/opt/php54s/custom'
- Set .sh to 755
- Create .sh symlink
-- From '/opt/php54s/custom/php-cgi.sh' to '/usr/bin/php54s-cgi'
-- From '/opt/php54s/custom/php-cli.sh' to '/usr/bin/php54s-cli'
-- From '/opt/php54s/custom/php-ls.sh' to '/usr/bin/php54s-ls'
-- From '/opt/php54s/custom/php-fpm.sh' to '/usr/bin/php54s-fpm'
=== END 'php54s' install ===

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


Note:
 - See '/opt/php54s/install.log' for detail install process
 - Example: copy 'xcache.nonini' to '_xcache.ini' or 'xcache_used.ini'
      for enable 'xcache' module in '/etc/php54s/etc/php.d'
 - For config setup only, run 'sh /script/phpm-config-setup php54s

[root@s2 script]#

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: php54m-fpm Disk quota exceeded (122)
« Reply #6 on: 2015-12-09, 15:34:32 »
[root@s2 script]# sh restart-php-fpm

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php-fpm:                                         [FAILED]
-------------------------------------------------------------------

- For help, type 'restart-php-fpm [--help|-h]'
[root@s2 sock]# quota egyy
Disk quotas for user egyy (uid 7810):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/simfs 1928000* 1280000 1280000    none  114576*  51201   51201    none

« Last Edit: 2015-12-09, 15:49:37 by medo.mine »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54m-fpm Disk quota exceeded (122)
« Reply #7 on: 2015-12-09, 16:02:45 »
Try change php54m to php55m or php56m in 'php used'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: php54m-fpm Disk quota exceeded (122)
« Reply #8 on: 2015-12-09, 16:12:07 »
Try change php54m to php55m or php56m in 'php used'.
I got the php-fpm to work by removing the user "egyy".
But now all websites show "Server error 500" !! :D
Also I down't have php55m or php56m ,
Multiple_php_already_installed:   php52m php53m php54m

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php54m-fpm Disk quota exceeded (122)
« Reply #9 on: 2015-12-09, 16:19:54 »
So, look like your server OS is CentOS 5.
..:: 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.043 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM