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 - DeveloperMcD

Pages: [1] 2 3 ... 5
This is the SECOND TIME this has happened.

All my "php" and "php-cgi" (for all versions) suddenly went NON-EXECUTABLE for all users, including root!

What would cause this?

I had to manually go and chmod +x each of them.

ALSO, at the same time, some kind of Apache config was clobbered -- I had to add a new line to .htaccess for EACH of my websites:
DirectoryIndex index.php

This was set by default in apache before.

Again, why did my existing CFG get clobbered?

CentOS 7 Problems / All domains suddenly bring up landing page or 500 error
« on: November 22, 2019, 03:12:14 PM »
I haven't done a thing to my server. All the sudden, all of my websites bring up the "default" page in CentOS, or an internal server error (500)
Did some update to Apache or CWP break my system?
What should I look at to fix this? This is urgent, all my websites are down!

Here is from the error logs on one of my sites:

[Fri Nov 22 09:12:57.242187 2019] [:error] [pid 19584:tid 140130245388032] [client] SoftException in Application.cpp:542: Could not execute script "/home/cathinfo/public_html/404.html"
[Fri Nov 22 09:12:57.242268 2019] [:error] [pid 19584:tid 140130245388032] [client] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php56/usr/bin/php-cgi" failed: Permission denied


Information / Re: Plans to support CentOS 8?
« on: November 05, 2019, 05:13:58 PM »
Why do we need centos 8 immediately?  I'd rather wait 6 months for all of the centos 8 bugs to be fixed.

I'll give you an example.

I recently upgraded my (bare metal) server, but unfortunately CentOS 7 uses a really old Linux kernel, so my 16-core CPU stays throttled because it thinks that each core is 50 degrees hotter than it actually is!

I looked into it, and the only solution is to upgrade to a newer Linux kernel above ______ (I forgot the version offhand) but as long as I'm stuck on CentOS 7, my CPU is going to run slow because the system thinks it's overheating. 2200 MHz per core instead of the usual max 3800 MHz per core!

So yes, we need CentOS 8.

Information / Re: Plans to support CentOS 8?
« on: October 26, 2019, 05:08:57 PM »
Still no answer on support for CentOS 8?

It's been released for weeks now. No announcement from CentOS Webpanel admin.

Information / Re: Plans to support CentOS 8?
« on: October 18, 2019, 03:14:23 PM »

When will CentOS Webpanel start supporting CentOS 8?
The homepage still advertises "New - CentOS 7!"

Getting kind of dated, there...

PHP / Re: PHP Selector
« on: October 07, 2019, 12:41:03 PM »
I woke up today, and a bunch of my websites are down. Just the ones that use PHP 5.6 I think!

Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php56/usr/bin/php-cgi" failed: Permission denied

Why would this happen ALL THE SUDDEN? I didn't touch anything. Everything was configured perfectly and ALL my websites worked fine, for many months now.

Information / Re: Plans to support CentOS 8?
« on: October 02, 2019, 08:39:39 PM »
Hi, it would be possible if CentOS can be upgraded from 7 to 8. For example, you are unable to upgrade CentOS 6 => CentOS 7

So, what's the verdict?

Information / Re: Plans to support CentOS 8?
« on: September 25, 2019, 08:09:09 PM »

Information / Plans to support CentOS 8?
« on: July 25, 2019, 10:08:09 PM »
It looks like CentOS 8 is coming in the not too distant future.

Are there plans to make a CentOS 8 version of CWP?

Apparently CentOS 7 was first released 7 July 2014, so it's about time for another major release.

So what is the real cause?

Do you need to rebuild Apache or maybe just the vhosts files to get things working?

No, still no luck.

I have moved over 2 websites from my old CWP webserver.

One of them has the problem described above.

However, the second website works fine when I set the IP manually (in my hosts file) to use the 2nd server instead of the old, currently public facing one that my router routes all port 80 traffic to.

Same guy set both of them up -- namely, me. But I'm trying to figure out what's different between the two sites.

One uses SSL, the other doesn't.

Sorry about that...let's just say it was a typo. The IP addresses actually match.

Any other ideas?

I have all the files for one of my accounts uploaded to the site, and the Vhost is set up.
I set my local machine to go to (local IP of my server) for the domain name
However, when I visit "" in my browser, it gives me the CentOS default page. Why isn't it directing such traffic to the account for which I set up in Apache?


PS I verified that there is only ONE index file (index.php) available -- there is no index.html or index.htm in the home directory.

Code: [Select]
#<IfModule mod_suphp.c>
# suPHP_ConfigPath /home/mydomain
# <Files php.ini>
#   order allow,deny
#   deny from all
# </Files>

ErrorDocument 401 /home/mydomain/public_html/index.php
ErrorDocument 404 /home/mydomain/public_html/index.php
ErrorDocument 500 /home/mydomain/public_html/index.php
DirectoryIndex index.php index.html index.htm

AddHandler application/x-httpd-php53 .php .html .htm
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# Use PHP53 as default
#AddHandler application/x-httpd-php53 .php

XSendFile on

Code: [Select]
        DocumentRoot /home/mydomain/public_html
        UseCanonicalName Off
        ScriptAlias /cgi-bin/ /home/mydomain/public_html/cgi-bin/

        CustomLog /usr/local/apache/domlogs/ bytes
        CustomLog /usr/local/apache/domlogs/ combined
        ErrorLog /usr/local/apache/domlogs/

        # Custom settings are loaded below this line (if any exist)
        # IncludeOptional "/usr/local/apache/conf/userdata/mydomain/*.conf"

        <IfModule mod_setenvif.c>
                SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on

        <IfModule mod_userdir.c>
                UserDir disabled
                UserDir enabled mydomain

        <IfModule mod_suexec.c>
                SuexecUserGroup mydomain mydomain

        <IfModule mod_suphp.c>
                suPHP_UserGroup mydomain mydomain
                suPHP_ConfigPath /home/mydomain

        <IfModule mod_ruid2.c>
                RMode config
                RUidGid mydomain mydomain

        <IfModule itk.c>
                AssignUserID mydomain mydomain

        <Directory "/home/mydomain/public_html">
                Options -Indexes -FollowSymLinks
                AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch


No matter what menu item I select in the webpanel, it brings me to the same screen!

High Performace WebServers Configuration

Do you want to install php-fpm?
(optional but highly recommended) PHP-FPM gives you the advantage to run PHP via php-fpm sockets with the highest performances!
You will still have the current setup like before but this will allow you to have an increase in performance.

* This step is NOT required and you can skip it or install PHP-FPM later.

This is insane. I tried to click on Manage Email Queue and many other items, and I can't access any of them, because the webpanel is somehow "stuck" on asking me about PHP-FPM. I don't want PHP-FPM, for what it's worth. I'm moving off this server, so it's not worth any risk.

Installation / CWP to CWP doesn't create MySQL databases
« on: March 04, 2019, 01:57:18 PM »
I just ran the CWP to CWP migration, and it seems like there are a couple of bugs
* MySQL databases are not created on the target machine
* Although the files seem to be there, when I go to "list accounts" it says it's using 0/100 KB.

The package definitions (for the user accounts) were moved over, so that is good.

Am I supposed to create the packages BEFORE I run the migration? Is there some issue with the system not knowing what rights to assign the new accounts?

Any advice is appreciated.

I can give more details -- just tell me what details you need.

Thank you in advance,


Pages: [1] 2 3 ... 5