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 ... 14 15 [16] 17 18 ... 28
226
CentOS 7 Problems / Re: Trying To Upgrade Php Version But Not Working
« on: March 30, 2019, 09:36:37 PM »
Sems you have at least one serious problem:
Code: [Select]
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

Beyond you need your domain poiting to you IP address, you must have your IP address pointing back to your domain.
If you don't know how to do it, ask for your ISP to do it for you.

Regards,
Netino


227
CSF Firewall / Re: /bin/bash^M: bad interpreter and iptables
« on: March 30, 2019, 09:20:58 PM »
I do not know what commands you are putting there, or what their purpose is, but to disable all IP connections, first I would change the default sshd server port to any other unused port, then I would remove the default access permission from that port of the file '/etc/csf/csf.conf', the TCP_IN directive, and TCP6_IN.
And only then, if it was a fixed IP address, would it put the IP address permission on '/etc/csf/csf.allow'.
If it were a dynamic address, it would just portknocking on that port.
This solution would not suit you .. ??

Regards,
Netino

228
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

229
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

230
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..??

231
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

232
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

233
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

234
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

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

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

237
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

238
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

239
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

240
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

Pages: 1 ... 14 15 [16] 17 18 ... 28