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
1
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?

2
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)
Why?
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 65.19.138.33:65124] 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 65.19.138.33:65124] Caused by SystemException in API_Linux.cpp:444: execve() for program "/opt/alt/php56/usr/bin/php-cgi" failed: Permission denied

Matthew

3
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.

4
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.

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

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

Getting kind of dated, there...

6
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.

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

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

9
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.
https://wiki.centos.org/About/Building_8

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.

10
So what is the real cause?

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

11
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.

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

Any other ideas?

13
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 192.168.1.10 (local IP of my server) for the domain name mydomain.com
However, when I visit "mydomain.com" in my browser, it gives me the CentOS default page. Why isn't it directing such traffic to the account for mydomain.com which I set up in Apache?

Matthew

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.

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

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

Vhosts:
Code: [Select]
<VirtualHost 192.168.1.20:80>
        ServerName mydomain.com
        ServerAlias www.mydomain.com
        ServerAdmin webmaster@mydomain.com
        DocumentRoot /home/mydomain/public_html
        UseCanonicalName Off
        ScriptAlias /cgi-bin/ /home/mydomain/public_html/cgi-bin/

        CustomLog /usr/local/apache/domlogs/mydomain.com.bytes bytes
        CustomLog /usr/local/apache/domlogs/mydomain.com.log combined
        ErrorLog /usr/local/apache/domlogs/mydomain.com.error.log

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

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

        <IfModule mod_userdir.c>
                UserDir disabled
                UserDir enabled mydomain
        </IfModule>

        <IfModule mod_suexec.c>
                SuexecUserGroup mydomain mydomain
        </IfModule>

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

        <IfModule mod_ruid2.c>
                RMode config
                RUidGid mydomain mydomain
        </IfModule>

        <IfModule itk.c>
                AssignUserID mydomain mydomain
        </IfModule>

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

</VirtualHost>

14
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.

15
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,

Matthew

Pages: [1] 2 3 ... 5