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.
196
Apache / Re: httpd and nobody high load
« on: March 25, 2019, 02:51:55 AM »
Your apache server is heavy loaded.
You have too much to do. For example, some (not exhaustive) tasks to do:
-1) Know your sites;
-2) know your hosted scripts;
-3) watch all apache logs carefully;
-4) know how your firewall works;
-5) Install Mod_Security;
-6) Parse *every* day some parsing logs software, like "LogWatch", or "Logcheck";
-7) React to every attack manually, and improve *everyday* the configuration of the firewall, to react automatically as much as possible
-8) Know and improve the configuration of you webservers/Apache server, to balance loads;
-9) Optimize your database access;
-10) Optimize the priority of your processes to meet your demand, optimizing your load.
In other words, your must administer your server and your Apache server with hard work, everyday.
And this could demand some experience, that you will acquire just working every day in every aspect of your server.
It may be that your server is unable to meet your demand too, but we can only conclude this after doing the above analysis.
Regards,
Netino
You have too much to do. For example, some (not exhaustive) tasks to do:
-1) Know your sites;
-2) know your hosted scripts;
-3) watch all apache logs carefully;
-4) know how your firewall works;
-5) Install Mod_Security;
-6) Parse *every* day some parsing logs software, like "LogWatch", or "Logcheck";
-7) React to every attack manually, and improve *everyday* the configuration of the firewall, to react automatically as much as possible
-8) Know and improve the configuration of you webservers/Apache server, to balance loads;
-9) Optimize your database access;
-10) Optimize the priority of your processes to meet your demand, optimizing your load.
In other words, your must administer your server and your Apache server with hard work, everyday.
And this could demand some experience, that you will acquire just working every day in every aspect of your server.
It may be that your server is unable to meet your demand too, but we can only conclude this after doing the above analysis.
Regards,
Netino
197
CentOS-WebPanel GUI / Re: Almost all pages lead to "High Performace WebServers Configuration"
« on: March 25, 2019, 02:29:42 AM »
For some reason, the system is not considering that you have upgraded. You may have to rebuild (re-install) the Apache server again through the "Install" button. Again.
198
CentOS-WebPanel GUI / Re: Almost all pages lead to "High Performace WebServers Configuration"
« on: March 23, 2019, 10:05:39 PM »
I think the build process is ended.
I have the exact same logs, ending with the same messages, and my server is already working in the new version.
I have the exact same logs, ending with the same messages, and my server is already working in the new version.
199
CentOS Configuration / Re: How to access CWP using a subdomain?
« on: March 23, 2019, 09:51:24 PM »
Your domain "example.com" is used only for the CWP panel..??
I would not recommend this unless you're already watching *carefully* your http and firewall accesses logs in your server.
This is due to virtual harassment, and although you can not prevent someone from discovering that you use CWP, is not good you make it easier.
The robot scanners would very easily find your main login page and try to hack it.
But I am not adept of "security by obscurity".
And what you want is easy to do, if your domain is used only for the CWP panel, just add a line to your '/etc/csf/csf.redirect' file, which has the following syntax:
=============================
IPx|portA|*|portB|tcp/udp - To IPx to portA redirects to portB
*|portA|*|portB|tcp/udp - To portA redirects to portB
=============================
But this would break access to roundcube, if you use it.
And will break any site acessing the same IP address.
You would need more than one IP address to use another services/sites.
So, you would need to append the following line to that file:
And then need to restart the firewall:
Regards,
Netino
I would not recommend this unless you're already watching *carefully* your http and firewall accesses logs in your server.
This is due to virtual harassment, and although you can not prevent someone from discovering that you use CWP, is not good you make it easier.
The robot scanners would very easily find your main login page and try to hack it.
But I am not adept of "security by obscurity".
And what you want is easy to do, if your domain is used only for the CWP panel, just add a line to your '/etc/csf/csf.redirect' file, which has the following syntax:
=============================
IPx|portA|*|portB|tcp/udp - To IPx to portA redirects to portB
*|portA|*|portB|tcp/udp - To portA redirects to portB
=============================
But this would break access to roundcube, if you use it.
And will break any site acessing the same IP address.
You would need more than one IP address to use another services/sites.
So, you would need to append the following line to that file:
Code: [Select]
*|80|*|2087|tcp
And then need to restart the firewall:
Code: [Select]
# csf -x; csf -e
Regards,
Netino
200
CentOS-WebPanel GUI / Re: Almost all pages lead to "High Performace WebServers Configuration"
« on: March 23, 2019, 09:23:16 PM »
Surely, the building process does not take three weeks.
Check the last lines of your logfiles, with the following command:
Regards,
Netino
Check the last lines of your logfiles, with the following command:
Code: [Select]
# tail -50 /var/log/php-selector-rebuild.log
Regards,
Netino
201
CentOS-WebPanel GUI / Re: Unable to run/edit or remove crons for user after creating them from Cwp
« on: March 19, 2019, 02:21:09 AM »202
CentOS 7 Problems / Re: httpd.service - Web server Apache
« on: March 19, 2019, 02:12:32 AM »
Apache is claiming about the fully qualified domain name: svr1.hawax.net
Checking your host:
But checking with the IP address:
... is returning another address.
So, you must to set the PTR DNS record of your IP address, probably in your ISP.
Regards,
Netino
Checking your host:
Code: [Select]
# host svr1.hawax.net
svr1.hawax.net has address 54.37.205.38
But checking with the IP address:
Code: [Select]
# host 54.37.205.38
38.205.37.54.in-addr.arpa domain name pointer 38.ip-54-37-205.eu.
... is returning another address.
So, you must to set the PTR DNS record of your IP address, probably in your ISP.
Regards,
Netino
203
Information / Re: CWP email send on login
« on: March 19, 2019, 01:59:42 AM »
Ok, just getting in touch with the support, because this feature does not exist.
The CWP code is not open, so it depends on whether they can meet your request as a new feature.
Regards,
Netino
The CWP code is not open, so it depends on whether they can meet your request as a new feature.
Regards,
Netino
204
Other / Re: Netdata is empty
« on: March 18, 2019, 01:34:47 AM »
Me too.
Just clicked, and seems was installed netdata, and sending dozens of mail messages, and simply *doubled* the daily load of my server.
Just stop and disable netdata with:
Didn't uninstalled, just to wait until next movement of CWP.
Regards,
Netino
Just clicked, and seems was installed netdata, and sending dozens of mail messages, and simply *doubled* the daily load of my server.
Just stop and disable netdata with:
Code: [Select]
# systemctl stop netdata
# systemctl disable netdata
Didn't uninstalled, just to wait until next movement of CWP.
Regards,
Netino
205
Installation / Re: CWPPRO upgrade
« on: March 18, 2019, 12:06:49 AM »
What results when you access CWP -> Webserver Settings -> Apache Status..??
Regards,
Netino
Regards,
Netino
206
CentOS 7 Problems / Re: named.ca
« on: March 18, 2019, 12:04:14 AM »
Run the following command, at the shell prompt:
... and post the results.
Regards,
Netino
Code: [Select]
# named-checkconf
... and post the results.
Regards,
Netino
207
CentOS 7 Problems / Re: two instances of httpd after update
« on: March 16, 2019, 10:38:00 PM »
There are httpd for virtual hosts, and httpd for cwp, they are not the same.
How have you tried to reinstall the httpd .. ??
Apache for virtual hosts is a customized version, and must be installed as needed and guided by cwp.
Did you tried to rebuild Apache to the same version and settings..??
Regards,
Netino
How have you tried to reinstall the httpd .. ??
Apache for virtual hosts is a customized version, and must be installed as needed and guided by cwp.
Did you tried to rebuild Apache to the same version and settings..??
Regards,
Netino
208
CentOS 7 Problems / Re: HTTP Test page on IP Change
« on: March 16, 2019, 10:32:42 PM »
I have never been through this situation, but instead I would first try to see if any IP has been left to change, with the following command:
If you find a file in the list, you would give it a look at the file, and if you really needed to change the IP, you would use the following command:
Regards,
Netino
Code: [Select]
# find /var/named -type f -exec grep -l "XX.XX.XX.218" {} +
# find /usr/local/apache/conf* -type f -exec grep -l "XX.XX.XX.218" {} +
If you find a file in the list, you would give it a look at the file, and if you really needed to change the IP, you would use the following command:
Code: [Select]
# find /var/named -type f -exec grep -l "XX.XX.XX.218" {} + | xargs -i perl -pi -e "s/XX.XX.XX.218/XX.XX.XX.220/g" {}
# find /usr/local/apache/conf* -type f -exec grep -l "XX.XX.XX.218" {} + | xargs -i perl -pi -e "s/XX.XX.XX.218/XX.XX.XX.220/g" {}
Regards,
Netino
209
CentOS 7 Problems / Re: Problem mysql
« on: March 16, 2019, 10:18:38 PM »
1) the correct script for execution is
2) Did you check your MySQL root password in: "/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php" and "/root/.my.cnf" files, if match..??
Regards,
Netino
Code: [Select]
# sh /scripts/restart_cwpsrv
not "sh / scripts / restart_cwpsrv".2) Did you check your MySQL root password in: "/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php" and "/root/.my.cnf" files, if match..??
Regards,
Netino
210
Backup / Re: Connection Failed
« on: March 16, 2019, 10:12:00 PM »Should I have to click "Generate New Key" Button under the "Remote Backup Settings" or manually copy the /root/.ssh/id_rsa to the /root/.ssh/backup/id_rsa
The SSHD server, in the default configuration, will read the key only in the '/root/.ssh/' directory.