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.
661
CentOS 7 Problems / Re: Attention Serious Fault. DataBase Account connects to another DataBase of diff
« on: March 13, 2020, 12:20:55 AM »
That is the nature of MySQL. It doesn't matter what account you connect from of you use the proper user/pass combo. It is not tied to a home directory.
662
E-Mail / Re: I get spam email 2000 thousand in 24H
« on: March 06, 2020, 04:30:09 AM »
1) Why? Are you spamming with a php script???
2) Cron Redirect "> /dev/null 2>&1" at end of cron line
2) Cron Redirect "> /dev/null 2>&1" at end of cron line
663
CentOS 7 Problems / Re: Change Maine PHP version thru PHP selector or PHP Switcher?
« on: March 04, 2020, 12:37:38 AM »
I also tried to change on the domain. There it looks like the PHP 7.3 is an alternative but when I change the domain to PHP 7.3 it add an .htaccess on the domain files with this in it
AddHandler application/x-httpd-php73 .php
But that gives me 500 internal error
What can be the problem?
Please anybody?
Chances are, that a script you are running on that domain requires a module that is not compiled into the php7.3. Check /usr/local/apache/domlogs/(Domain).error.log to find out what the specific php error is, and post that.
664
Apache / Re: Ajax Links not loading
« on: March 02, 2020, 07:08:39 AM »
403 is not authorized.
Does his ajax requests have an API key that is tied to an IP address? That would be my guess.
Does his ajax requests have an API key that is tied to an IP address? That would be my guess.
665
DNS / Re: CWP BIND DNS Server stop every couple of hours
« on: February 29, 2020, 07:34:40 PM »
systemctl status named
should give you last couple of lines of the error log
make sure it is enabled. systemctl enable named
as for csf,
systemctl enable csf
should give you last couple of lines of the error log
make sure it is enabled. systemctl enable named
as for csf,
systemctl enable csf
666
CentOS 7 Problems / Re: installed "Nuell" Menu certificates SSL?
« on: February 27, 2020, 06:08:38 AM »
It appears you have an account without a domain name associated to it. Hence null domain.
667
CentOS 7 Problems / Re: Change session save place
« on: February 25, 2020, 12:22:01 PM »
If your using php-fpm
In each users pool file.
php_value[session.save_path] = path/to/savepath. Ex: /home/user/tmp
In PHP.ini session.save_path a default location can be set server wide.
In each users pool file.
php_value[session.save_path] = path/to/savepath. Ex: /home/user/tmp
In PHP.ini session.save_path a default location can be set server wide.
668
Installation / Re: centos 7 with virtualbox
« on: February 25, 2020, 07:56:36 AM »
if your running apache only, that's normal. If your trying to run nginx+apache, then apache needs to change ports. But nginx requires php-fpm, as it cannot runn on normal php. try yum install php-fpm
669
Installation / Re: centos 7 with virtualbox
« on: February 25, 2020, 03:04:32 AM »
if your running apache on 8181, you must be running nginx on 80/443. Most likely an issue with php-fpm.
Check the error logs in
/usr/local/apache/domlogs/
/var/log/nginx
/var/log/messages | grep httpd
Check the error logs in
/usr/local/apache/domlogs/
/var/log/nginx
/var/log/messages | grep httpd
670
Installation / Re: How does BIND9 on CentOS Web Panel manage custom ns1 and ns2 name servers?
« on: February 24, 2020, 03:32:37 PM »
If your main server has CWP Pro,
https://wiki.centos-webpanel.com/slave-dns-server-manager-dns-cluster
https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version is the instructions. You don't really even need CWP, just apache or nginx with php will work as long as your follow the directions.
If you are uncomfortable, I'm sure the support team can help you set it all up for a fee.
https://wiki.centos-webpanel.com/slave-dns-server-manager-dns-cluster
https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version is the instructions. You don't really even need CWP, just apache or nginx with php will work as long as your follow the directions.
If you are uncomfortable, I'm sure the support team can help you set it all up for a fee.
671
SSL / Re: SSL_ERROR_BAD_CERT_DOMAIN after SSL renewal
« on: February 24, 2020, 03:14:43 PM »
I would try rebuilding all vhosts then. That seems very odd. Could be possible that the certificate renewal failed. check /var/log/cwp/cwp_sslmod.log for any errors.
672
PHP / Re: manual install php fpm
« on: February 24, 2020, 02:41:16 PM »
CWP builds PHP from source, which is why they can choose where to install it, and specifically what mods to compile. If you want that ability, spend the $12/year and get pro.
Otherwise, follow the google directions, and pray for the best.
Otherwise, follow the google directions, and pray for the best.
673
SSL / Re: SSL_ERROR_BAD_CERT_DOMAIN after SSL renewal
« on: February 24, 2020, 02:37:33 PM »
Unless your modified a vhost, nothing should break. You can rebuild JUST that one domains vhosts as well.
CWP -> Webserver Settings -> Webservers Domain Config
CWP -> Webserver Settings -> Webservers Domain Config
674
CentOS 7 Problems / Re: The requested URL /Work1/a.php was not found on this server.
« on: February 24, 2020, 02:35:20 PM »
Let's try this again.
The more information you can provide, the more someone can help you.
1) What setup are you running. Apache, NGINX+ Apache, ... ***CWP -> Webserver Settings -> Select Webserver **
2) If you don't mine, post the domain your having trouble with.
3) check your error log, and possibly post the last 30 lines or so right after you try to hit the page. Of course this error log will depend on #1.
The more information you can provide, the more someone can help you.
1) What setup are you running. Apache, NGINX+ Apache, ... ***CWP -> Webserver Settings -> Select Webserver **
2) If you don't mine, post the domain your having trouble with.
3) check your error log, and possibly post the last 30 lines or so right after you try to hit the page. Of course this error log will depend on #1.
675
DNS / Re: Suddenly ns1 and ns2 resolves to nothing...
« on: February 24, 2020, 02:29:07 PM »
1) Find out why bind/named failed. Check the error logs /var/log
2) Your NS servers should ALWAY have an IP if setup correctly. You should register your nameservers/host records with your domain registar.
3) Even if 2 is true and you bind has failed on both servers nothing will resolve. But if even 1 is running you should be able to resolve dns, albeit a few failures. So keep the serves up
2) Your NS servers should ALWAY have an IP if setup correctly. You should register your nameservers/host records with your domain registar.
3) Even if 2 is true and you bind has failed on both servers nothing will resolve. But if even 1 is running you should be able to resolve dns, albeit a few failures. So keep the serves up