Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - adamjedgar

Pages: 1 2 [3] 4
Updates / why is cron for php 71 running when i have php73 installed?
« on: April 30, 2019, 09:37:46 PM »
why is the following cron using php71 being automatically generated by CWP?

I have setup webserver to run php 7.3 fpm.

   0 2 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php

Also, what does this cron actually do?

Issue 1.

If i attempt to install an AutoSSL from user account, it says its updated successfully, however, when i check on the front end (ie a wordpress website for example), there is no SSL.

If i then go to the root administrator CWP and create an SSL from there for all domains, then voila, wordpress now detects SSL for the domain and works as expected.

I am confused by this?

Issue 2.

Also, even though the user domain now has a valid SSL, in CWP.user dashboard>Domains>AutoSSL, there are no valild SSL certificates listed (when i select the users domain, SSL area below is completely blank.

Can someone advise as to what is causing the above 2 issues?

Updates / Anacron <root@domain.guest>
« on: April 27, 2019, 08:15:58 AM »
Can someone explain what is wrong below.
How do i resolve this?


Cannot load the ionCube PHP Loader - it was already loaded

============= CentOS Web Panel Cron ================

Firewall Flush Daily Blocks

Update Server Packages
Cannot load the ionCube PHP Loader - it was already loaded
Cannot load the ionCube PHP Loader - it was already loaded
grep: /root/*/*.conf: No such file or directory
Redirecting to /bin/systemctl restart cwpsrv.service
Cannot load the ionCube PHP Loader - it was already loaded

Date which backup script is using: 2019-04-26 17:43:18

cpulimit: no process found

hi guys,
i am repeatedly getting this error when logged into CWP. What causes this and how do i get rid of the error?

Time:         Fri Apr 26 17:00:20 2019 +1000
Account:      rpc
Resource:     Process Time
Exceeded:     598476 > 1800 (seconds)
Executable:   /usr/sbin/rpcbind
Command Line: /sbin/rpcbind -w
PID:          1462 (Parent PID:1462)
Killed:       No

Can i just remove RPCbind? Or
do i need to modify CSF so it doesnt continue to throw this error? (if so, what modification is required in CSF)

CentOS 7 Problems / error 403 Forbidden
« on: April 19, 2019, 11:04:43 AM »
I have researched this forum under the above and found more than a dozen forum posts about it.

Not one of them offers any kind of solution and not one of them has ever been marked as resolved. This leads me to think that every one of these people has dumped this panel and gone somewhere else due to not solution. Its time that stopped and a working list of possible methods of resolving this issue is documented here!

So with the above in mind FFS dont answer if you havent got a reasonable suggestion on how to problem solve this.

For those who come back with the usual "check the logs"...

1. the logs i have checked are empty of anything related to the above error
2. I am running nginx, which logs should i search for errors relating to the above?

None of the websites on a brand new server of them throw this exact same error.

I have disabled and uninstalled mod security,
I have disabled all firewalls
I have changed web servers from nginx to apache...doesnt do anything.
I have hard reset the VPS, no change.
selinux is disabled

There is something in a central location that is independant of nginx and apache that is doing this...but i for the life of me cannot figure out what it is?

I am not sure what else i can do?

Installation / Allowed IP's not set or you don't have access from IP
« on: April 17, 2019, 12:24:19 AM »
I am trying to setup CWP API manager for billing module (Blesta).

I have Allowed New API access
Short Name = Blesta
IP Origin = <server IP> (where Blesta billing is installed)
Key Code = (the key given me by CWP)
Request = Json

I have copied the appropriate details into the Blesta Module, however the module is returning the following error

Allowed API's not set or you dont have access from IP : <blesta installation IP> (server where blesta is installed)

The Blesta developers believe there is a bug in the Allow API access is not functioning correctly?

I have disabled all security from CWP GUI and the error still exists!

Is there anyone here that has the knowledge to offer advice on this problem?

How do i fix this?

I am getting this warning/error repeated over and over in my server logs?

Is this fixable in CWP? its filling my logs up with complete rubbish that i dont want or need to see!

[error] 15790#0: *2447 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0" while reading response header from upstream, client:, server: localhost, request: "POST /cwp_856158d2310f86179e3b7627e6f940a9/admin/loader_ajax.php?ajax=gauges HTTP/1.1"

CentOS-WebPanel GUI / Change Root Password doesnt work
« on: April 11, 2019, 11:01:47 AM »
Hi guys,
from the CWP gui, i decided to change my root password Server Settings> Change Root Password.

I entered my new password (numerals and letters 12 characters in total),
I then logged out,
attempted to log in again using the new doesnt work!

Imagine my suprise when the old password is still the active one???

Any ideas on what is going on and why the change password function isnt working?

Information / How to Configure Blesta to work with CWP
« on: April 11, 2019, 09:22:31 AM »
Hi guys,
I am not sure if this forum can help, however, i have Blesta (alternative to whmcs) and am trying to configure the Blesta CWP module to automatically provision webhosting services on my CWP VPS.

There is no documentation that i can find that explains how to configure the module so that it communicates with CWP.

Does anyone have a simple guide on how to setup Blesta with CWP? (note i have alread installed the module in Blesta, i just need to have a very easy guide to configure it to work)

Hi guys,
in my dashboard monitor, i notice that it shows:


apache webserver = active (httpd.service web server apache "loaded" and "running")
niginx reverse proxy = active

In webserver settings, i have chosen only to run nginx as the webserver by itself.

Can i shut down and disable apache here? Or is this actually running nginx as the webserver but displaying it in dashboard monitor list as "apache"? If it is showing this way, why is nginx also showing up as a reverse proxy when i did not select that option under web server settings?

I am also running cgroups. Is this why apache has started up even though its not selected as a webserver?


I am compiling php72-fpm from the selector in the background.

It is using 100% of my available cpu for the root user.
Is there a way that i can prevent these kinds of tasks from using all available CPU? (or do i not have to worry about this as centos will automatically ensure that webserver processes and websites still function ok?)

I have struck this twice in two successive Wordpress installations on two different brand new servers.

The WordPress script is not copying the entire automatically generated password from the script installer to wp-config.php.

Here is an example showing what CWP put in and, the password its meant to be is shown below it.

/** MySQL database password */
define( 'DB_PASSWORD', '?-lWdWw*' );

This is what the password is supposed to be ?-lWdWw*$D00

As i said, two brand new servers, with fresh installations...and twice in a row the Wordpress Automated installer script has thrown a "cannot connect to database" error because the wp-config.php file mysql password as entered into wp-config.php by CWP is incomplete!

I must reinforce...this is the automatically generated password done by CWP itself (not a manual password i entered).

I wonder if it may have something to do with the screen size and resolution on the laptop device i used to do this. On both occasions, the password box wasn't wide enough to display the full automatically generated password (not sure if this has anything to do with developers problem solving this one...but i thought i would add that just in case). There is definitely a bug here.

i am following the wiki to install ftp tls.
when i get to the section where it says,

edit /etc/pure-ftp/pure-ftp.conf

the terminal enters an infinite loop and completely stuffs the entire web broswer session. The only way out is to completely clear browser cache.

so i created a new user account in CWP and a blank website for it...setting up auto SSL too.

I ensured that both http and https are resolving correctly for dns (i use A records from my domain registrar to point straight at the CWP server...I dont use CWP nameserver functionality at all, even though it may be enabled by default on my system?)

I went to Installatron remote, enterred all of the correct details and have now come to sudden hault with MYSQL errors...

Code: [Select]
mysql database connection failed:
host = localhost
database = wp-goan
username = goannado_wp-goanna
password = **HIDDEN**
prefix = ktvc_
errstr = array (
0 => false,
1 => NULL,
2 =>
array (
0 => 'mysqli::__construct(): (HY000/1045): Access denied for user \'goannado_wp-goanna\'@\'localhost\' (using password: YES) in /home/goannado/public_html/deleteme.dbfnmovma.php[18] (PHP 7.3.3 Linux)',
1 => 'Could not connect to `localhost` using the username `goannado_wp-goanna` and password **HIDDEN** (mysqli) -- [1045] Access denied for user \'goannado_wp-goanna\'@\'localhost\' (using password: YES)',[/i]

I then went back into CWP and i note that it has not created a new database.
So, as the website user, i manually go into mysql and attempt to create a "new user and database".

Centos web panel says it successfully completed the task however, only a new user is created...CWP keeps saying mysql databases= 0/10

I go into phpmyadmin, manually create a new does so, however, refuses to give my user privileges for said database.

I note that CWP still says Mysql 0/10 databases, even though CWP clearly shows databse with no tables in it (even if i log out and log back in...the database is recorded as being there with a valid user[host]???

I go back to mysql, and manage to manually provide the CWP user with privileges for database, go back to phpmyadmin...again "no privileges"?

Hi guys,
I am new to Centos Web Panel and am coming from a Webmin/Virtualmin system. Virtualmin is extremely powerful and has some really great features, however, my main reason for considering a complete changover is a lack of forum responses and a user interface that is essentially an illogical confusing mess. IF its difficult for me, my clients havent a hope.

So with the above in mind, i wish to thank the developers of CWP for a great interface (particularly the client side one...its brilliant)

My current CWP system specs

Vultr VPS
2 V/Core CPU
Bandwidth 3 TB
Storage 80GB SSD

What i have begun to notice about running shared hosting clients on VPS is that the most significant system need is RAM. I run out of available RAM long before i get anywhere near using up storage, cpu, or bandwidth.

I mainly host Wordpress websites (and some static html sites)

What is the most memory efficent configuration for Shared Wordpress Hosting?

At present i have setup Nginx & Apache+Varnish (both running FPM v 7.3). I was wondering if i wouldnt be better instead going with just Nginx?

kind regards

Other / System Stats Memory RAM (with Cache) vs Memory RAM (No Cache)
« on: March 27, 2019, 11:11:01 PM »
I dont quite understand what the above mean?

My Vultr VPS has 2 GB RAM.

After a default Centos 7 Install + CWP (nginx, apache + Varnish) and nothing else other than I am compiling php version 7.3.3 in the background, what does the following actually refer too?

How much of my Vultr Instance 2 GB RAM is actually being used?

Memory RAM (with Cache): 1.48GB / 2GB ( 74%) [DC]
Memory RAM (NO Cache): 0.44GB / 2GB ( 22%)
Number of processes: 104

My assumption is that the one i should be keeping an eye on, with regard to this provisioned to become a small webhosting server with shared websites, is Memory RAM ( No Cache)?

Pages: 1 2 [3] 4