Another thing to try is debug level 3000, eg:
Code:
echo "action=httpd&value=restart" > data/task.queue; ./dataskq d3000
I'm interested in the ~13 lines after the string "Apache::figure_out_setup:", as it will show us what DA has loaded from the CB options.conf.
It's possible that if something is weird in the options.conf, or some different case, that DA isn't reading the php versions/types correctly, thus the php-fpm isn't getting reloaded.
eg:
Code:
Apache::figure_out_setup:
cb_ver=2
php1_ver=5.5
php2_ver=5.6
php1_fpm=1
php2_fpm=1
php1_fcgi=0
php2_fcgi=0
suphp=0
cli=0
safe_mode=0
mod_ruid2=0
suexec_per_dir=0
webapps_inbox_prefix=0
We can see php1_fpm=1 and php2_fpm=1, so DA should be able to restart the php1_ver and php2_ver correctly.
Paste us what you get for those values.
And after that, if the above settings are correct, lower in the dataskq output should be:
Code:
doservice('php-fpm55', 'graceful')
execute('/sbin/service php-fpm55 graceful >/dev/null 2>/dev/null ', maxsize=0, fd=1, env=0)
doservice('php-fpm56', 'graceful')
execute('/sbin/service php-fpm56 graceful >/dev/null 2>/dev/null ', maxsize=0, fd=1, env=0)
which shows us that php-fpmXX are being given a 'graceful' restart.
Last thing, when you do it manually are you doing a "restart" or a "graceful"?
Make sure that this works:
Code:
/sbin/service php-fpm56 graceful
as it's what DA uses.
John
# echo "action=httpd&value=restart" > data/task.queue; ./dataskq d3000
Debug mode. Level 3000
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
dataskq: command: action=httpd&value=restart
doservice('httpd', 'restart')
int Apache::figure_out_setup. Class instance
Apache::figure_out_setup:
cb_ver=2
php1_ver=5.6
php2_ver=5.3
php1_fpm=1
php2_fpm=1
php1_fcgi=0
php2_fcgi=0
suphp=0
cli=0
safe_mode=0
mod_ruid2=0
suexec_per_dir=1
webapps_inbox_prefix=0
InternalText::init(serverinfo)
ServerInfo::getVersions: parsing httpd version from 'Server version: Apache/2.4.12 (Unix)
Server built: Apr 30 2015 05:10:21
'
doservice('php-fpm52', 'graceful')
Error gracefuling service php-fpm52 : uid 0 gid 0 : /sbin/service php-fpm52 graceful >/dev/null 2>/dev/null : returned 1
doservice('php-fpm55', 'graceful')
Error gracefuling service php-fpm55 : uid 0 gid 0 : /sbin/service php-fpm55 graceful >/dev/null 2>/dev/null : returned 1
Tally::scan_log: /var/log/exim/mainlog: cur_size (230051) == last_size (230051). Assuming nothing changed. Skipping.
Tally::scan_log: /var/log/maillog: cur_size (5403) == last_size (5403). Assuming nothing changed. Skipping.
Tally::scan_log: /var/www/html/roundcube/logs/errors: cur_size (0) == last_size (0). Assuming nothing changed. Skipping.
Tally::scan_log: /var/www/html/squirrelmail/data/squirrelmail_access_log: cur_size (0) == last_size (0). Assuming nothing changed. Skipping.
Tally::scan_log: /var/www/html/phpMyAdmin/log/auth.log: cur_size (10783) == last_size (10783). Assuming nothing changed. Skipping.
check_brute_force_logs: begin IP sorting
check_brute_force_logs: done IP sorting. Begin User sorting
check_brute_force_logs: done User sorting
No need to write ./data/admin/login.hist as it hasn't changed
done queue
This is the result of my server.
It seems like DA had a mistake when gracefuling service php.
I am using php-fpm56 and php-fpm53 but DA do a gracefuling job for php-fpm55 and php-fpm52 then the error occurs.
Is that the problem is caused by this "suexec_per_dir=1"?
How can I fix it?