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 ›

CentOS6 Upgrade

Started by Administrator, March 14, 2017, 08:24:48 PM

Previous topic - Next topic

Darkroom

Still no mod_security

Quote from: Darkroom on March 16, 2017, 08:59:08 PM
Quote from: Administrator on March 15, 2017, 10:25:26 PM
have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp

gauravsingh

Hello,

My hosting provider did the process as mentioned above, but it is giving error. According to him. :-

Quote"There is an issue while upgrading Apache using the script being provided by CentOS webpanel as the Apache service doesn't start after getting upgraded to Apache 2.4.  The below error was showing while starting Apache service after the upgrade."

==========================================
[root@vps modsecurity-2.9.1]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]
==========================================

darkness

Hello again,
I just noticed something. I got 1 machine with 90 days uptime on which I updated CWP manually. It passed around 50 hours after the update and the version is 0.9.8.188. I got 1 more machine on which I`m developing "OpenVZ with CWP" and there I made a fresh install of CWP. On the second machine the version is 0.9.8.194. Why is this difference?
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

je2u

On of my servers, after upgrade, got the same problem with apache:

Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]


Any tip?

darkness

Try:
Login to CWP6
Go to:
Apache Settings -> Apache Re-Build
Select:
Apache 2.4.25 & suPHP 0.7.2
Press:
Next -> Start compiler in background
After it finishes 99.99% your problems with Apache will be gone. Have fun.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

darkness

I didn`t get answer why is the difference in the versions so I decided to take the things under my control even with the risk to blow up my system. I found that the cron for updating CWP is not working. I go to /scripts/ and I run 2 times "update_cwp" manually. Now I got CWP version: 0.9.8.195. I also added "0 0 * * * /scripts/update_cwp" as a "Add Full Custom Cron Jobs".
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

je2u

Already tryied to rebuild apache, but that didn't work.

billyf

 :P No one answered so let me try again.

I have this problem when trying to upgrade. Can someone help me please ? I am running 0.9.8.153

[root@hostname src]# wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
--2017-03-17 09:01:38--  http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
Resolving dl1.centos-webpanel.com... 37.187.72.216
Connecting to dl1.centos-webpanel.com|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8482 (8.3K) [application/x-sh]
Saving to: "cwpsrv.sh.2"

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - "cwpsrv.sh.2" saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#

darkness

Quote from: billyf on March 20, 2017, 01:03:06 PM

Saving to: "cwpsrv.sh.2"

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - "cwpsrv.sh.2" saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Did you try:
1. rm -rf cwpsrv.sh
2. mv cwpsrv.sh.2 cwpsrv.sh
3. sh cwpsrv.sh
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

darkness

Quote from: je2u on March 20, 2017, 06:51:04 AM
Already tryied to rebuild apache, but that didn't work.
Can you give some error log to see what`s going on?
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

billyf

Thanks for responding. I did not because I got the error the very first time i tried.  But since I tried multiple times it looks like it kept renaming the old one.  That's why i have the .sh.2

Quote from: darkness on March 21, 2017, 04:44:06 AM
Quote from: billyf on March 20, 2017, 01:03:06 PM

Saving to: "cwpsrv.sh.2"

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - "cwpsrv.sh.2" saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Did you try:
1. rm -rf cwpsrv.sh
2. mv cwpsrv.sh.2 cwpsrv.sh
3. sh cwpsrv.sh

johnny09

#41
Finaly got cwp version 0.9.8.188, but in mysql get this:

The configuration file now needs a secret passphrase (blowfish_secret).

1.Cant find info how to fix it or were..... help

2.And the second thing is that I cant import mysql db size 1m, loads loads and then - The connection was reset... help...its urgent....

MySQL info

    Server: Localhost via UNIX socket
    Server type: MariaDB
    Server version: 10.1.22-MariaDB - MariaDB Server
    Protocol version: 10
    User: libau_bad@localhost
    Server charset: UTF-8 Unicode (utf8)

     nginx/1.10.2
    Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.0.16

Version information: 4.6.6 (up to date)

johnny09

The strange part is that the blow fish secret is filled already at
usr/local/apache/htdocs/phpmyadmin/config.inc.php
line 17
$cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Still no luck of fixing it and cant import db? Maybe reinstall myphp or something without loosing data???

Administrator

Quote from: johnny09 on March 22, 2017, 01:15:52 PM
The strange part is that the blow fish secret is filled already at
usr/local/apache/htdocs/phpmyadmin/config.inc.php

this location is not in use anymore so you can delete that folder
/usr/local/apache/htdocs/phpmyadmin/
and use new link for phpmyadmin inside your cwp

johnny09

OK, if that is the old one, were can I find the new one to check the secret?