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

Pages: 1 ... 12 13 [14] 15 16 ... 26
196
CentOS 7 Problems / Re: Netdata
« on: March 30, 2019, 09:09:03 PM »
CentOS7..??:
Code: [Select]
# systemctl stop netdata
# systemctl disable netdata

To remove it completely, included your data:
Code: [Select]
# yum purge netdata

Regards,
Netino

197
Information / Re: Some Information
« on: March 30, 2019, 09:06:08 PM »
CWP uses MariaDB, not exaclty MySQL.
But nothing stops you to downgrade your MariaDB version with CWP.
Just dump your dbs before, and reimport when downgraded.

Regards,
Netino

198
Dovecot / Re: Can't login to accounts
« on: March 30, 2019, 09:03:19 PM »
Yous message says only about "auth failed".
Why you conclude your installation have a problem..??

199
Installation / Re: Hpw to install mssql support
« on: March 26, 2019, 03:14:03 AM »
You must to install freetds-devel, and recompile php with php-switcher, enabling PDO_DBLIB driver (according https://www.php.net/manual/en/ref.pdo-dblib.php).

May be you will need to change the files /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/*.ini to recompile automatically next time you install a new version of php.
I didn't use it in CWP (although I already use it in other servers), but seems is possible to do it directly in php switcher.

Regards,
Netino

200
Updates / Re: python3.7 and pip3
« on: March 26, 2019, 02:21:32 AM »
Python is available in rpm format just up to the version 7.6, in several repositories over internet.
I think you will need a tutorial to install 3.7 from sources, like suggested in:

https://tecadmin.net/install-python-3-7-on-centos/

Or, instead, search for a "testing" repository like "Remi".

Regards,
Netino

201
MySQL / Re: PMA time out when accessing via user panel
« on: March 26, 2019, 02:04:08 AM »
I experienced the same thing.

(...)

Just you are reporting error 502 (Bad Gateway).

Check your logfile '/usr/local/cwpsrv/logs/error_log'.
This is the only way to know what is happening to your server.
Post here if you cannot understand the output.

Regards,
Netino

202
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

203
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.:(

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

205
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:
Code: [Select]
*|80|*|2087|tcp

And then need to restart the firewall:
Code: [Select]
# csf -x; csf -e

Regards,
Netino

206
Surely, the  building process does not take three weeks.
Check the last lines of your logfiles, with the following command:
Code: [Select]
# tail -50 /var/log/php-selector-rebuild.log

Regards,
Netino

207
To list the current cronjobs for a given user, just type in prompt shell:
Code: [Select]
# crontab -l -u [user]

To edit the current cronjobs for a given user, just type:
Code: [Select]
# crontab -e -u [user]

Regards,
Netino

208
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:
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

209
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

210
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:
Code: [Select]
# systemctl stop netdata
# systemctl disable netdata

Didn't uninstalled, just to wait until next movement of CWP.

Regards,
Netino

Pages: 1 ... 12 13 [14] 15 16 ... 26