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.
361
Apache / Re: dict.mysite.com.cert' does not exist or is empty
« on: December 21, 2018, 04:03:53 AM »
Apache stops when is configured a site with a invalid or inexistent path.
So, seems the site was removed, but the configuration in apache was not.
Try to check one of the most important files in apache (always):
/usr/local/apache/logs/error_log
(This path is for CentOS7)
As an emergency measure, try to recreate that paths claimed, or remove the configuration at apache. in the configuration file '/usr/local/apache/conf.d/vhosts-ssl.conf'.
Keep in mind you always MUST try to clean any [error:] message at Apache log '/usr/local/apache/logs/error_log' to restart apache.
Try to solve in any ways the problems pointed there.
And restart the apache server:
# systemctl restart apache
(This is for CentOS7)
If not come back, check again the logs for another problems, solve it, and restart again.
Or you can use the "Rebuild VHosts" feature of CWP, when your CWP came up again.
The same is valid for CWP server, but with logfile:
/usr/local/cwpsrv/logs/error_log
Regards,
Netino
So, seems the site was removed, but the configuration in apache was not.
Try to check one of the most important files in apache (always):
/usr/local/apache/logs/error_log
(This path is for CentOS7)
As an emergency measure, try to recreate that paths claimed, or remove the configuration at apache. in the configuration file '/usr/local/apache/conf.d/vhosts-ssl.conf'.
Keep in mind you always MUST try to clean any [error:] message at Apache log '/usr/local/apache/logs/error_log' to restart apache.
Try to solve in any ways the problems pointed there.
And restart the apache server:
# systemctl restart apache
(This is for CentOS7)
If not come back, check again the logs for another problems, solve it, and restart again.
Or you can use the "Rebuild VHosts" feature of CWP, when your CWP came up again.
The same is valid for CWP server, but with logfile:
/usr/local/cwpsrv/logs/error_log
Regards,
Netino
362
CSF Firewall / Re: firewall cant be enabled
« on: December 21, 2018, 03:14:07 AM »
Try to execute the following commands at prompt shell:
# csf -x; csf -e
At leas it show the error message, if any.
Regards,
Netino
# csf -x; csf -e
At leas it show the error message, if any.
Regards,
Netino
363
Updates / Re: New updats+SSL+Email Alias+webservers
« on: December 21, 2018, 03:09:42 AM »
It does not give any result because the alias is not found in table 'alias' from database 'postfix' in mysql.
When it finds an alias, it returns its pointing.
May be you drop that alias..??
Try to recreate any other alias, and check if is working.
Check your '/var/log/maillog' file for error messages, with the folloing command:
# egrep --color '(warning|error|fatal|panic):' /var/log/maillog
When it finds an alias, it returns its pointing.
May be you drop that alias..??
Try to recreate any other alias, and check if is working.
Check your '/var/log/maillog' file for error messages, with the folloing command:
# egrep --color '(warning|error|fatal|panic):' /var/log/maillog
364
Other / Re: My server is hacked
« on: December 20, 2018, 03:33:41 AM »
Just installing CWP is not enough to ensure the security of your server.
You have a firewall installed..?!
You check regularly you logs..??
You have installed Logwatch, LogCheck, or similar tool..??
How you are reactive with security events in your logs..??
Servers connected to the internet suffer from constant virtual harassment, and should be constantly monitored.
However, all this may still not be enough. Your server has scripts / programs installed, of which you know / audit .. ??
The security of a server is like a "chain": it is as strong as its weakest link.
You can monitor all your logs, but if you have programs with weak security, that's where the crackers will come in.
It all depends a lot on your experience as a server administrator.
Regards,
Netino
You have a firewall installed..?!
You check regularly you logs..??
You have installed Logwatch, LogCheck, or similar tool..??
How you are reactive with security events in your logs..??
Servers connected to the internet suffer from constant virtual harassment, and should be constantly monitored.
However, all this may still not be enough. Your server has scripts / programs installed, of which you know / audit .. ??
The security of a server is like a "chain": it is as strong as its weakest link.
You can monitor all your logs, but if you have programs with weak security, that's where the crackers will come in.
It all depends a lot on your experience as a server administrator.
Regards,
Netino
365
Updates / Re: New updats+SSL+Email Alias+webservers
« on: December 19, 2018, 04:24:09 AM »
What is the result of the command (as root)..??:
# postmap -q alias@yourdomain.com mysql:/etc/postfix/mysql-virtual_alias_maps.cf
Obviously, replace "alias@yourdomain.com" with your real alias.
Regards,
Netino
# postmap -q alias@yourdomain.com mysql:/etc/postfix/mysql-virtual_alias_maps.cf
Obviously, replace "alias@yourdomain.com" with your real alias.
Regards,
Netino
366
Updates / Re: phpMyAdmin security update
« on: December 14, 2018, 01:04:24 AM »
Well, I don't know what security question you are pointing, but security questions are important, and sometimes cannot wait.
I've never tried this before, but you can try this site:
https://blog.bullten.com/centos-web-panel/upgrading-phpmyadmin-in-new-version-of-cwp/
Don't forget to make backups *before*.
Regards,
Netino
I've never tried this before, but you can try this site:
https://blog.bullten.com/centos-web-panel/upgrading-phpmyadmin-in-new-version-of-cwp/
Don't forget to make backups *before*.
Regards,
Netino
367
Updates / Re: ERROR: Missing extension file /apcu.so
« on: December 12, 2018, 02:32:41 AM »
Seems you don't have libxml2-devel installed, causing cascade effects in other libs.
Try to install with yum:
# yum install libxml2 libxml2-devel
Regards,
Netino
Try to install with yum:
# yum install libxml2 libxml2-devel
Regards,
Netino
368
Updates / Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
« on: December 12, 2018, 02:17:17 AM »
Try to return you sites to php-CGI mode. Now this just can be made one by one.
Check one by one it is working.
Once you've made your sites work again, you can to convert again to PHP-FPM one by one, after you check they are working.
At least this is what I would do.
Regards,
Netino
Check one by one it is working.
Once you've made your sites work again, you can to convert again to PHP-FPM one by one, after you check they are working.
At least this is what I would do.
Regards,
Netino
369
MySQL / Re: Does it mean the database is not created?
« on: December 10, 2018, 01:10:41 AM »
Hello,
This wasn't the detail I was expecting..
Your installation is claiming about the following:
===========================================
Error establishing a database connection
---
This either means that the username and password information in your wp-config.php file is incorrect or we can not contact the database server at localhost. This could mean your host’s database server is down.
1) Are you sure you have the correct username and password?
2) Are you sure that you have typed the correct hostname?
3) Are you sure that the database server is running?
===========================================
Was typed 'localhost', is just only thing I can assure is correct.
You need to assure you login is correct.
Try to access the PhpMyAdmin in your server, and check if you can login to it.
If you can't login, you must to create a correct login.
If you can login correclty, you must check the permissions of your file:
/home/USERNAME/public_html/wp-config.php
It must needed to set +rw (or 666) to your username, at this file.
Do it with FileManager, ou SSH login to your server, with the following command:
# chmod +rw USERNAME:USERNAME /home/USERNAME/public_html/wp-config.php
...and do not provide your login details publicly, unless you want to be hacked. change it immediately.
Regards,
Netino
This wasn't the detail I was expecting..

Your installation is claiming about the following:
===========================================
Error establishing a database connection
---
This either means that the username and password information in your wp-config.php file is incorrect or we can not contact the database server at localhost. This could mean your host’s database server is down.
1) Are you sure you have the correct username and password?
2) Are you sure that you have typed the correct hostname?
3) Are you sure that the database server is running?
===========================================
Was typed 'localhost', is just only thing I can assure is correct.
You need to assure you login is correct.
Try to access the PhpMyAdmin in your server, and check if you can login to it.
If you can't login, you must to create a correct login.
If you can login correclty, you must check the permissions of your file:
/home/USERNAME/public_html/wp-config.php
It must needed to set +rw (or 666) to your username, at this file.
Do it with FileManager, ou SSH login to your server, with the following command:
# chmod +rw USERNAME:USERNAME /home/USERNAME/public_html/wp-config.php
...and do not provide your login details publicly, unless you want to be hacked. change it immediately.
Regards,
Netino
370
Updates / Re: After Last Update no access to Web GUI admin page
« on: December 08, 2018, 07:16:09 PM »
You must have "access_log logs/access_log;" line in file '/usr/local/cwpsrv/conf/cwpsrv.conf'.
You haven't..?!
You haven't..?!
371
MySQL / Re: Does it mean the database is not created?
« on: December 08, 2018, 06:54:26 PM »
Hi Yeknafar,
I don't know what version WP you are installing.
I do not know the code of CWP Mysql Manager.
But I can assure to you if your DB is not listed in PhpMyAdmin, you surely have not created that database.
So, my recommendation is:
1) be sure you create the database in any way (mysql command line, CWP DB Manager, PhpMyAdmin, etc.), and be sure it will be listed in PhpMyAdmin.
2) meet the requirements listed in INSTALL file of WordPress. We can hel if you list it here.
Regards,
Netino
I don't know what version WP you are installing.
I do not know the code of CWP Mysql Manager.
But I can assure to you if your DB is not listed in PhpMyAdmin, you surely have not created that database.
So, my recommendation is:
1) be sure you create the database in any way (mysql command line, CWP DB Manager, PhpMyAdmin, etc.), and be sure it will be listed in PhpMyAdmin.
2) meet the requirements listed in INSTALL file of WordPress. We can hel if you list it here.
Regards,
Netino
372
Information / Re: 0.9.8.741 - attention
« on: December 05, 2018, 11:04:03 PM »
OK, it's all working now.
Thanks!
Thanks!
374
Updates / Re: After Update all domains have HTTP Test Page
« on: December 05, 2018, 04:28:29 AM »
In my case, seems that the original file '/usr/local/apache/conf.d/vhosts.conf' was emptied.
My customer (the root admin in a VPS server) has been deleted a site, and I find that file was empty.
In an another server, I have that file with the original configuration, with the following content:
==========================================
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
==========================================
So, instead to configure as my earlier post, change like this.
The server is working now.
For now, all that remains is to know why this happened to that file.
May be a bug..??
My customer (the root admin in a VPS server) has been deleted a site, and I find that file was empty.
In an another server, I have that file with the original configuration, with the following content:
==========================================
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
==========================================
So, instead to configure as my earlier post, change like this.
The server is working now.
For now, all that remains is to know why this happened to that file.
May be a bug..??
375
Updates / Re: After Update all domains have HTTP Test Page
« on: December 05, 2018, 02:51:56 AM »
I have the same problem in just only one server.
How you solve this problem.?
I did included a directive in '/usr/local/apache/conf/httpd.conf':
==============================================
Include /usr/local/apache/conf.d/vhosts/*.conf
==============================================
But this change could be overwritten in next releases..??
Regards,
How you solve this problem.?
I did included a directive in '/usr/local/apache/conf/httpd.conf':
==============================================
Include /usr/local/apache/conf.d/vhosts/*.conf
==============================================
But this change could be overwritten in next releases..??
Regards,