is my setup broken again :-( ? please help

Looks to be a kernel lockup in 4.18.0-513.x that reintroduces an old behavior for flushing blkio statistics. This old behavior was reintroduced in response to a kernel panic in blkcg_iostat_update as seen above. It’s stabilized for now.

For anyone else, I’ve added a script to restore the git repository to pristine condition in apnscp-release.

yum clean all
yum update -y apnscp-release

Thanks for searching more on the topic :slight_smile:

do u ment the ‘stop job’ ?

do i need to run the run the commands ?

yum clean all
yum update -y apnscp-release

or im i good for now ?

I have the same or similar problem on one server. apiscp fails to restart. The sites are running fine. I ran the yum commands and the update appeared to work without errors. However, restarting gives this syntax error:

May 03 12:53:44 httpd[125975]: httpd: Syntax error on line 82 of /usr/local/apnscp/config/httpd.conf: Cannot load sys/httpd/private/modules/libphp7.so into server: /usr/local/apnscp/sys/httpd/private/modules/libphp7.so: cannot open shared object fi>

The kernel is Linux 4.18.0-513.24.1.el8_9.x86_64

I didn’t reboot. Is that necessary? I’m a little concerned about it not coming back up, although I do have a remote backup of everything if it’s needed.

No, a reboot isn’t necessary.

(
. /etc/sysconfig/apnscp

APNSCP_ROOT="${APNSCP_ROOT:-/usr/local/apnscp}"
APNSCP_SYSTEM_USER="${APNSCP_SYSTEM_USER:-apnscp}"
pushd "${APNSCP_ROOT}"
git status > /dev/null 2>&1 && exit 0

# Busted repo from blkio remount
mv .git .git-20240502-hotfix
git clone https://gitlab.com/apisnetworks/apnscp.git ../apnscp-tmp
mv ../apnscp-tmp/.git .
chown -R "${APNSCP_SYSTEM_USER}:${APNSCP_SYSTEM_USER}" .git
git fetch
git reset --hard
upcp
rm -rf ../apnscp-tmp 
)

Give that a go. Hit enter once pasted. It’s a subshell to ensure all commands are delivered before running.

I copied and pasted that into shell and the only output was:

/usr/local/apnscp /usr/local/apnscp/config

Then I did service apiscp restart and got the same syntax error as before.

What does this report?

cd /usr/local/apnscp
./bin/apnscpd -f

./bin/apnscpd -f
PHP Fatal error: Uncaught Error: Class “Error_Reporter” not found in /usr/local/apnscp/lib/log_wrapper.php:14
Stack trace:
#0 /usr/local/apnscp/lib/apnscpcore.php(35): include()
#1 /usr/local/apnscp/lib/lservice.php(25): include(‘/usr/local/apns…’)
#2 {main}
thrown in /usr/local/apnscp/lib/log_wrapper.php on line 14

Fatal error: Uncaught Error: Class “Error_Reporter” not found in /usr/local/apnscp/lib/log_wrapper.php:14
Stack trace:
#0 /usr/local/apnscp/lib/apnscpcore.php(35): include()
#1 /usr/local/apnscp/lib/lservice.php(25): include(‘/usr/local/apns…’)
#2 {main}
thrown in /usr/local/apnscp/lib/log_wrapper.php on line 14

cd /usr/local/apnscp
git reset --hard
systemctl restart apiscp

git reset --hard wasn’t run to store the code base to a pristine state. I imagine these commands were run out of order manually.

That did it. Thank you!

I copied and pasted the whole group of commands at once. When it didn’t work I tried it a second time, after pasting into my text editor and looking for odd characters that might have interfered, but I didn’t notice any.