New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

appached failed after reboot

Started by sundigital, December 02, 2018, 07:54:44 PM

Previous topic - Next topic

sundigital

hi,


# service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.


systemctl status httpd.service



● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 45s ago
  Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


journalctl -xe



-- Unit cwpsrv.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to post process the configuration
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: FPM initialization failed
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:19:35 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.

[root@nl1 ~]# journalctl -xe
Dec 02 23:20:32 nl1.xxx.ovh crond[654]: postdrop: warning: mail_queue_enter: create file maildrop/203726.1732: Read-only file system
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to post process the configuration
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: FPM initialization failed
Dec 02 23:20:33 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.




httpd status


● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 5min ago
  Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.





what's wrong?

Administrator

you need to do fsck on reboot as your server is in read-only mode.

sundigital

Quote from: Administrator on December 02, 2018, 08:12:21 PM
you need to do fsck on reboot as your server is in read-only mode.

why it happened?
I just install cwp and add 2 website with auto ssl
just this

sundigital

Quote from: Administrator on December 02, 2018, 08:12:21 PM
you need to do fsck on reboot as your server is in read-only mode.

I found the problem

It happened after install user quotas
http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/

this is /etc/fstab before change


/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=b4b31406-d16c-4ebe-9a2f-2d8cea25da15 /boot                   xfs     defau$
/dev/mapper/centos-swap swap                    swap    defaults        0 0



and it's after change


/dev/mapper/centos-root /                       xfs     usrjquota=quota.user,jqfmt=vfsv0        0 0
UUID=b4b31406-d16c-4ebe-9a2f-2d8cea25da15 /boot                   xfs     defau$
/dev/mapper/centos-swap swap                    swap    defaults        0 0


when I edit it to before change the problem solved