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

Pages: 1 ... 3 4 [5] 6 7
FTP / Re: Ftp doesn't work with firewall
« on: June 23, 2020, 10:10:18 PM »
The eternal questions:
Why do so many people think that they are in a position to host websites?
Why do so many people have problems doing their own research?
Why do so many people need to be spoon-fed these days?

Finally, why have CWP removed the official CSF GUI interface?

FTP / Re: Ftp doesn't work with firewall
« on: June 23, 2020, 06:55:08 PM »
If you read the CSF readme file, it tells you what you need to do.

Mod_Security / Re: Wordpress problems post migration from another cp
« on: June 23, 2020, 08:39:46 AM »
Hi. i have installed cwp to replace vestacp.
HestiaCP might have been a safer option. Responsive developers who actually listen/respond to my suggestions.  :o

Installation / Re: Installing Cockpit before CWP
« on: June 17, 2020, 03:14:59 PM »

yes it looks like it coincide with the scheduled daily backup there a  to fix it ?

The fact that you need to ask, suggests that you shouldn't touch anything!
A simple renaming of /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php to cron.php.old, then replacing it with your own script would do. It'll likely get overwritten during an update though.

I suggest that it's a CWP cron task: does it coincide with the scheduled daily backup time, even if disabled?
You've also got a number of issues to address from the output.


Update Server Packages
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload httpd.service

Of course, this is ioncube encoded so its' contents are obscured - thus hiding CWP developer's mistakes. ::)

Think this forum has an echo.  ::)

CentOS-WebPanel GUI / Re: Web panel very slow
« on: June 10, 2020, 05:57:09 PM »
A different server, literally at the other side of the World, takes a couple of seconds to load some user interface panels. It's not horrendously slow but isn't instantaneous.

4GB RAM (41% usage)
1GB swap (23% usage)
CPU Model: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
CPU Details: 4 Core (2600 MHz)
Distro Name: CentOS Linux release 7.8.2003 (Core)
Kernel Version: 3.10.0-1127.el7.x86_64
Platform: x86_64 kvm
 Apache version: Apache/2.4.41
PHP version: 7.3.14
MySQL version: 10.1.45-MariaDB 

vm.swappiness = 1
Separate partitions for /,/home,/backup,/tmp and preferably /var
Check mod_security logs and disable select rules, where they are triggered by CWP activity.
Try to limit the memory used by clamav/clamd - think there may be a post in a thread on here somewhere.
If you have a medium/large user base, then run periodic database optimisation, via a cron task.
Be careful of misinformation on the 'web of which there are plenty. ;)

Keep the main/root CWP page open and monitor CPU and disc I/O, whilst using the user panel - this may help to determine whether disc or CPU constrained. You may prefer to use 'top -c'. A simple debug for seasoned sysadmins.

CentOS-WebPanel GUI / Re: Web panel very slow
« on: June 10, 2020, 05:21:58 PM »
It's something to do with your configuration/setup
Works fine for me albeit with only a few accounts on one server:

50GB SSD - multiple LVM partitions
2GB RAM (66% usage)
2GB swap (15% usage)
CPU Model: QEMU Virtual CPU version (cpu64-rhel6)
CPU Details: 2 Core (2500 MHz)
Distro Name: CentOS Linux release 7.8.2003 (Core)
Kernel Version: 3.10.0-1127.10.1.el7.x86_64
Platform: x86_64 kvm
 Apache version: Apache/2.4.41
PHP version: 7.3.18
MySQL version: 10.1.45-MariaDB

The above is a seriously cheap ($13/yr) VPS on a network not exactly renowned for performance.

Better to get yourself a $3/month VPS and don't use out-of-date CentOS 6, if you want to learn.  ::)
Do a lot of searching/reading.

I think that in the future this panel will be improved if we all collaborate.
Collaboration implies communication in both directions..


PHP Selector / Re: How to add PHP 7.4 to PHP Selector 2 (CWP Pro)?
« on: June 05, 2020, 12:07:52 AM »
Try to think.. I know it's difficult.
Ioncube is needed for CWP encoded files.  >:(

Why the desperation for bleeding edge? Servers are about stability and security (unless running CWP  :o )
"..PHP 7.4 was releases 5 or 6 months ago.." Bloody hell! A whole half a year, you gotta be kidding. /sarcasm

Server provider blocking port 25?

Aplications / Re: PRESTASHOP - Api integration?
« on: June 02, 2020, 01:43:58 PM »
I'm sure that this has been mentioned before but general e-commerce software such as Prestashop isn't really a suitable alternative to WHMCS. Blesta is a great low-cost alternative and is free with some provider's VPS.
Others: ClientExec, BoxBilling (discontinued), HostBill. A general purpose invoice/billing package might be suitable such as InvoiceNinja

CSF Firewall / Re: Resellers should be able to unlock IPS
« on: June 01, 2020, 01:21:01 PM »
I think that you'd find this to be a core change in how CSF operates and not necessarily for the better. It is much better to determine the cause for the client block and educate the client to prevent it happening.
  • Port scanning setting increased from the default to say, 14. This is a sensible/practical number of simultaneous ports to allow clients to attach to. It allows clients to access services yet prevents malicious attacks on the server.
  • Limit (s)FTP connections to 4 per client
  • Educate clients not to open control panel, website and FTP at the same time
  • Educate clients to not allow their devices (PC,Mac,Ios,Android) to broadcast services

The alternative is cumbersome, along the lines of a sticky bit for the csf executable(s); determining limits for a particular reseller to only alter blocks that pertain to their clients. Remember that a firewall is there to protect the whole of the server.

Pages: 1 ... 3 4 [5] 6 7