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 ›

HTTPD Issues - Will not start

Started by daowen, August 29, 2017, 02:03:29 AM

Previous topic - Next topic

daowen

Hi all,

I have run into a problem with httpd not starting, even after reboots. When I try to start it I get the following error

Starting httpd: httpd: Syntax error on line 499 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf.d/suphp.conf: Cannot load modules/mod_suphp.so into server: /usr/local/apache/modules/mod_suphp.so: undefined symbol: ap_log_rerror
[FAILED]


The httpd.conf have 499 lines and the last ones are these


ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf


here's the suphp.conf


LoadModule suphp_module modules/mod_suphp.so
suPHP_Engine on
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
<Directory />
        suPHP_AddHandler application/x-httpd-php
</Directory>
#suPHP_UserGroup nobody nobody
suPHP_AddHandler application/x-httpd-php44
suPHP_AddHandler application/x-httpd-php52
suPHP_AddHandler application/x-httpd-php53
suPHP_AddHandler application/x-httpd-php54
suPHP_AddHandler application/x-httpd-php55
suPHP_AddHandler application/x-httpd-php56
suPHP_AddHandler application/x-httpd-php7


Business server is down right now. Any help would be appreciated.

studio4host

try this command
yum reinstall cwp-suphp
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

daowen

Okay, that got a little further. Now there is another error coming up:

Starting httpd: AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]


Pulled the file and:

Listen 443
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:E$

NameVirtualHost 23.111.69.102:443

studio4host

then run this commands one by one

yum reinstall cwp-httpd
yum reinstall cwp-php
yum reinstall cwp-suphp
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

daowen

Ran the three commands and still getting the following when trying to run HTTPD

Starting httpd: AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

daowen

Figured it out!

edited /usr/local/apache/conf.d/ssl.conf and add this into it

Code: [Select]
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>


httpd works now and was able to auto the ssl on the other addon domain that I had been working on.

Thanks! Would not have been able to get it fixed without your help.

Paveman

Hey,
i have the same Problem after Rebuild my Apache Re-Build!

But I can not reinstall my httpd and my suphp.

My error message translated in the terminal.

Loaded plugins: fastestmirror, presto, replace
Set up the reinstallation process
No match for argument: cwp-httpd
Loading mirror speeds from cached hostfile
  * base: ftp.plusline.de
  * extras: ftp.rz.uni-frankfurt.de
  * rpmforge: mirror.de.leaseweb.net
  * updates: mirror.23media.de
Package (s) cwp-httpd available but not installed.
Mistake: Nothing to do

Igor S.

Hello.

Seems like you do not have the cwp repo.

[root ~]# cat /etc/yum.repos.d/cwp.repo
[cwp]
name=CentOS Web Panel repo for Linux 6 - $basearch
baseurl=http://repo.centos-webpanel.com/repo/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
[root ~]#



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

s00ny

Hey guys,

I have the same exact problem. My server was working and I guess some updates ruined it and not I cant start the http again.

Tried all this bun when I do yum reinstall cwp-suphp I get this:

[root@webserver ~]# yum reinstall cwp-suphp
Loaded plugins: fastestmirror
Setting up Reinstall Process
No Match for argument: cwp-suphp
Loading mirror speeds from cached hostfile
* base: centos.mirrors.benatherton.com
* extras: centos.mirrors.benatherton.com
* remi-safe: remi.mirror.ate.info
* rpmforge: mirrors.ircam.fr
* updates: centos.mirrors.benatherton.com
Package(s) cwp-suphp available, but not installed.
Error: Nothing to do


Any help ?

Igor S.

Hello.

Try the command below:
yum --enablerepo=cwp install cwp-suphp

If you still have the problem show what do you see with:
yum --enablerepo=cwp repolist

Quote from: s00ny on March 31, 2019, 03:01:26 PM
Hey guys,

I have the same exact problem. My server was working and I guess some updates ruined it and not I cant start the http again.

Tried all this bun when I do yum reinstall cwp-suphp I get this:

[root@webserver ~]# yum reinstall cwp-suphp
Loaded plugins: fastestmirror
Setting up Reinstall Process
No Match for argument: cwp-suphp
Loading mirror speeds from cached hostfile
* base: centos.mirrors.benatherton.com
* extras: centos.mirrors.benatherton.com
* remi-safe: remi.mirror.ate.info
* rpmforge: mirrors.ircam.fr
* updates: centos.mirrors.benatherton.com
Package(s) cwp-suphp available, but not installed.
Error: Nothing to do


Any help ?



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

buelldm

This fixed it for me:

Modsecurity config file had some bad code. I set that back to default and everything starts.

As admin, go to Security>Mod Security

Click "Edit Rules" next to each one, and hit the "Edit File" link at the bottom.

Shows you the contents of:
"/usr/local/apache/conf/userdata/USERNAME/example.com/modsec.conf"

Mine was basically corrupted. I set back to:

<IfModule mod_security2.c>
SecRuleEngine On
</IfModule>

If your file is fine, try checking the other related security files. If you ever tried to manually edit any of those, it is a good chance thats the problem. Could just be a missing > or duplicate code.

Hope it helps someone else!