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 ›

Apache Webserver Error

Started by glutha, July 25, 2022, 01:36:01 PM

Previous topic - Next topic

glutha

Hi
Please help

I'm a new CWP user
I just installed CWP a month ago
Since i finished installing until now, apache web server can't be active

please guide and help

"Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details."

for the error :
[root@svr1 ~]# 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 Mon 2022-07-25 09:23:27 EDT; 1min 11s ago
  Process: 96886 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Jul 25 09:23:27 svr1 systemd[1]: Starting Web server Apache...
Jul 25 09:23:27 svr1 apachectl[96886]: httpd: Could not open configuration file /usr/local/apache/conf/httpd.conf: No such file or directory
Jul 25 09:23:27 svr1 systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 25 09:23:27 svr1 systemd[1]: Failed to start Web server Apache.
Jul 25 09:23:27 svr1 systemd[1]: Unit httpd.service entered failed state.
Jul 25 09:23:27 svr1 systemd[1]: httpd.service failed.

Please guide and help
Thanks

Starburst

Problem shows, "Could not open configuration file /usr/local/apache/conf/httpd.conf: No such file or directory"

Have you tried to rebuild Apache with the defaults?

glutha

#2
Thanks for the advice.. 
I immediately rebuild apache according to the advice given
I tried apache 2.4.52 then nothing happens
I then rebuild apache again using version 2.4.51 and there are changes
now the error has changed to :

● httpd.service - Web server Apache
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Tue 2022-07-26 19:05:56 EDT; 2h 42min ago
    Process: 12432 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=127)

       Jul 26 19:05:56 svr1 systemd[1]: Starting Web server Apache...
       Jul 26 19:05:56 svr1 apachectl[12432]: /usr/local/apache/bin/httpd: symbol lookup error: /usr/local/apache/bin/httpd: undefined symbol: apr_ldap_ssl_init
       Jul 26 19:05:56 svr1 systemd[1]: httpd.service: control process exited, code=exited status=127
       Jul 26 19:05:56 svr1 systemd[1]: Failed to start Web server Apache.
       Jul 26 19:05:56 svr1 systemd[1]: Unit httpd.service entered failed state.
       Jul 26 19:05:56 svr1 systemd[1]: httpd.service failed.

Please guide and help again

Starburst

Was this server done form an image?

You can try this: https://www.uxlinux.com/install-latest-apache-version-in-cwp-control-web-panel/

But once you manually update Apache, you have to disable the cwp.repo in /etc/yum.repos.d/
Otherwise if you try the built-in CWP version changer, you'll get odd errors like you are getting now.