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.


Messages - LiamTGCS

Pages: [1] 2
1
Installation / CPU Usage Limited to 50% - CGroups Installed & Setup
« on: April 14, 2022, 05:01:28 AM »
Hi all,

When loading my site using Wordpress + WooCommerce, often I will see php-fpm using high resources - it'll often flog the CPU usage to 50%. Firstly, is this normal? I am using a caching plugin, which has helped now to reduce PHP load, though often I still see CPU usage stuck at 50% until the process is complete, sometimes taking up to 10-20 seconds before the processes finish.

For some reason, I can't seem to allow more CPU usage to help speed-up those processes. Is there a way I can allow my hosting account to use up to 80% CPU, rather than capping it at 50% CPU usage?

Since I'm the sole account under CWP, I can allocate more resources to the cPanel account.

Screenshot of CGroups: https://i.kutit.net/h/UPIBZF.png

The server is an 8 vCore server, so I presume by the CPU monitor capping out at 50%.

I have set the CPU percentage to 750% in CGroups for the account I want to allow 7+ cores, though the main CWPpro Performance monitor.

Am I setting something up incorrectly?



2
Apache / Re: Redirect Domain using CNAME outside of CWP Instance
« on: May 05, 2021, 11:19:21 PM »
Bump.

3
Apache / Re: Redirect Domain using CNAME outside of CWP Instance
« on: April 29, 2021, 12:33:53 PM »
Any help would be sincerely appreciated. Thanks all.

4
Apache / Re: Redirect Domain using CNAME outside of CWP Instance
« on: April 26, 2021, 11:26:17 PM »
Still no luck with this - any help would be appreciated.

5
Apache / Re: Redirect Domain using CNAME outside of CWP Instance
« on: April 19, 2021, 11:25:56 PM »
@Sandeep
@Igor S.

Any idea on this?

6
Apache / Re: Redirect Domain using CNAME outside of CWP Instance
« on: April 17, 2021, 01:26:09 PM »
Have tried a few other work arounds but still can't get website.com to "mask/frame" (using CNAME) example.com.

Whenever I point website.com to example.com, navigating to website.com will take me to the CWP HTTP Test Page as mentioned.

Anyone with any idea on this would be sincerely appreciated as I'm still having troubles despite my attempts at trying to work around this. There's probably something I'm missing other than the vHost's file.


7
Apache / Redirect Domain using CNAME outside of CWP Instance
« on: April 14, 2021, 11:50:09 AM »
Good afternoon all,

I currently have CWP setup with Apache.

I have tried tinkering with the conf.d files (Including the SSL config file), however, I have had no luck.

Essentially, I have a CWP User with domain example.com, with a website setup and working great, no issues.

I want to point another domain, let's say: website.com to example.com using CNAME.

The reason for this is that I have a URL shortening script which allows for custom domains to be linked to the script.

I have tried adjusting/editing the conf.d files for example.com to try and allow website.com (and other domains pointed to example.com). When I point website.com to example.com using CNAME and load website.com in a browser, it shows the "HTTP Test Page" from CWP, and it does NOT show the content on example.com.

I have tried tinkering around, including copying the conf.d configuration as suggested by the developer of the script, however, I feel there is a misconfiguration somewhere with CWP and/or Apache, since it is wanting to handle the domain, website.com, as if it were a new domain pending to be linked to a CWP user account.

The virtual host recommended by the script developer is as it comes below - FYI, I have attempted to configure both conf.d files, including the SSL conf file, to no avail. Not sure where I'm going wrong in this particular instance, or if there are additional files I need to edit in order to allow website.com to CNAME example.com...

(IP Changed for privacy)
Code: [Select]
<VirtualHost 123.123.123.123:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /home/kutitnet/public_html

        <Directory "/home/examplecom/public_html">
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted
        </Directory>

CustomLog /usr/local/apache/domlogs/kutit.net.bytes bytes
CustomLog /usr/local/apache/domlogs/kutit.net.log combined
ErrorLog /usr/local/apache/domlogs/kutit.net.error.log

        <IfModule mod_dir.c>
            DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
        </IfModule>

</VirtualHost>

I also did the same for the SSL Config file, adding the required SSL certificates.

Unfortunately, as mentioned, when I visit website.com, it takes me to the HTTP Test Page instead of the content hosted on example.com. I DO NOT want to have to add website.com to the CWP user panel, and I don't want to have to manually add the domain into any config files if I don't have to, as I have clients who I want to be able to point their domains to example.com and allow the script to accept/reject traffic according to how their account is setup on the PHP script hosted on example.com.

To clarify, everything works great when visiting example.com. Somewhere within CWP is preventing website.com from using example.com as a CNAME, and it CWP wants to handle it as if it were an add-on domain.

8
CentOS-WebPanel Bugs / Re: Logging into CWP User Error
« on: May 16, 2020, 11:25:41 AM »
Please run this

Code: [Select]
sh /scripts/update_cwp

Sorry for the late reply @josemnunez - All good is now after updating, thanks for the assistance, much appreciated :-) Have a great weekend ahead.

9
Still getting this error even with the latest CWP updates.
Can I confirm whether this is an issue with my installation or if it is a known issue?


10
CentOS-WebPanel Bugs / Re: Logging into CWP User Error
« on: May 15, 2020, 01:34:06 PM »
Please update your CWP to the latest version

No luck, sadly.

11
CentOS-WebPanel Bugs / Re: Logging into CWP User Error
« on: May 15, 2020, 01:33:35 PM »
Hi @josemnunez,

I've just updated again to the latest version, and the error is still persistent, sadly.

12
CentOS-WebPanel Bugs / Logging into CWP User Error
« on: May 15, 2020, 11:57:13 AM »
When attempting to login to CWP User cPanel, an error is thrown: "uerror"

I noticed that this has only happened since updating CWP to the latest update that was released today.
(Scroll the image to the right to see the error)

* PS: This is happening both when accessing via "cpanel.domain.tld" as well as the hostname "srv1.domain.tld:2083" - logging into CWP Admin panel works fine. All accounts will not login via CWP user and they're all showing this "uerror". Creating new CWP User accounts also show the same login error, so it's effecting the entire CWP User panel. I had an old tab opened which was logged into CWP User and that's working fine to navigate the account, but as soon as I logged out and tried to log back in, the "uerror" occurs. Have tried on alternative browsers/IP/computers.




13
Apache / Re: cPanel Account Backup to CWP
« on: May 08, 2020, 01:38:46 PM »
I'm not sure if the developers are usually this hopeless and unwilling to help - after sending an email to CWP support, they literally told me, and I quote: "you had probably configured wrongly server ip if you get default page, this should be checked by experienced system admin." and "we can't guide you as said this needs to be checked by experienced system admin, home folder settings are only in the vhost files"

For anyone who has this issue when transferring from cPanel to CWP (just one account), simply add a new vHost file named: YOURDOMAIN.TLD.ssl.conf - (IE: google.com.ssl.conf) - Before doing that, however, be sure to add an SSL certificate on the domain if there is not already one present, you can do this by navigating to "WebServer Settings" -> "SSL Certificates" -> AutoSSL and proceed to manually add the SSL to the domain(s) which were transferred over with your cPanel backup.

You can simply use a pre-existing ssl.conf file, assuming you already have other domains on the server with an SSL certificate installed, and just edit the /home/USERNAME/public_html to point to the domain you're wanting to transfer-into your CWP from cPanel.

** This thread can now be closed, thanks for nothing. **

14
Hi there,

When visiting the WebServers Config Editor under the WebServer Settings tab, I've noticed that CWP is throwing an error:
Code: [Select]
Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf_editor.php on line 0
Obviously, can't view the PHP file as it's obfuscated... Any advice?

15
Apache / Re: cPanel Account Backup to CWP
« on: May 06, 2020, 10:37:52 AM »
I've "Rebuild vHosts" as well as "Apache Re-Build", and unfortunately, the domain is still pointing to some unknown folder - I've had another look through the folders within the /home/USERNAME/ folder, and there's no index.html file... Strange! Any assistance would be lovely ^_^

ALSO: I've double-checked the vHosts config file for the domain, and compared it to a known-working domain (again) and can verify that the DocumentRoot and all other configs within the file are correct. So I'm quite stumped at this point.

Pages: [1] 2