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.
331
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
332
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
333
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
334
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
335
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
336
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
337
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
338
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..?!
339
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
340
Information / Re: 0.9.8.741 - attention
« on: December 05, 2018, 11:04:03 PM »
OK, it's all working now.
Thanks!
Thanks!
342
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..??
343
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,
344
Information / Re: 0.9.8.741 - attention
« on: December 03, 2018, 08:18:49 PM »
Ok, I installed all PHP-FPM, each one at time, and selected the webserver, following the procedure at <http://wiki.centos-webpanel.com/webservers-update>, and this seems solved the problem.
I could not find any information about install PHP-FPM once at time. It was executed, but it is installed just the prerequisites to PHP, not the PHP-FPM.
This information could added that page.
Seems was wiped out all old earlier PHP versions, except 7.1, and an old 4.4 I had installed before. That processes remains in memory, so the panel was trying to execute that old PHP4.4 version, bringing the error in logs:
=================================================
2018/12/03 16:54:09 [error] 25422#0: *8994 FastCGI sent in stderr: "PHP Fatal error: <br>The file <b>/usr/local/cwpsrv/htdocs/admin/admin/loader.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 or PHP 7.0 to be installed. in Unknown on line 0" while reading response header from upstream, client: 12.23.34.45, server: localhost, request: "GET /admin/loader.php?func=get_load&_=1543788552450 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "panel.domain.com:2031", referrer: "https://panel.domain.com:2031/admin/index.php?module=php_selector3"
=================================================
And bringing the panel completely down.
After reboot the server, it is working now.
Thanks.
I could not find any information about install PHP-FPM once at time. It was executed, but it is installed just the prerequisites to PHP, not the PHP-FPM.
This information could added that page.
Seems was wiped out all old earlier PHP versions, except 7.1, and an old 4.4 I had installed before. That processes remains in memory, so the panel was trying to execute that old PHP4.4 version, bringing the error in logs:
=================================================
2018/12/03 16:54:09 [error] 25422#0: *8994 FastCGI sent in stderr: "PHP Fatal error: <br>The file <b>/usr/local/cwpsrv/htdocs/admin/admin/loader.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 or PHP 7.0 to be installed. in Unknown on line 0" while reading response header from upstream, client: 12.23.34.45, server: localhost, request: "GET /admin/loader.php?func=get_load&_=1543788552450 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "panel.domain.com:2031", referrer: "https://panel.domain.com:2031/admin/index.php?module=php_selector3"
=================================================
And bringing the panel completely down.
After reboot the server, it is working now.
Thanks.
345
Updates / Re: Every menu item showing : High Performace WebServers Configuration
« on: December 03, 2018, 05:38:10 PM »
@josemnunez is right, the per-directory configuration, in theory, must be handled in CGI mode.