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 - André Bastos

Pages: [1]
1
PHP Selector / Re: PHP-FPM Not Working (503 Service Unavailable)
« on: March 16, 2024, 05:05:11 PM »
Error:

ERROR failed at quota or security limits

Solved: update package

2
This solved the problem. My httpd.service was different, I don't know why. Thank you.

if the service is already running, and you try to start it again, of course you are going to get bind errors.   try "nginx -s reload" if you want to reload config files, other than that, leave it alone.

Your only issue is apache failing to start due to trying to bind to port 80 as well.  That should have been resolved.  If your saying the systemctl doesn't list an httpd service:

nano /usr/lib/systemd/system/httpd.service

Code: [Select]
[Unit]
Description=Web server Apache
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/apache/bin/apachectl start
ExecReload=/usr/local/apache/bin/apachectl graceful
ExecStop=/usr/local/apache/bin/apachectl graceful-stop

[Install]
WantedBy=multi-user.target
systemctl enable httpd
systemctl start httpd

3
I had the same problem just now and managed to solve it.

The mistake:

Problem when unzipping the file, the path /home/tmpback/./cp/ is not available

The solution:

1- extract the user.tar.gz backup into a folder;

2- create the "cp" folder inside the user's folder, and then inside his vmail:
/home/tmp/user/cp
/home/tmp/user/vmail/cp

Yes, he will complain about the "vmail/cp" folder later.

3- compact everything again as user.tar.gz;

Okay, now try to restore and it will work (it worked for me).

4
CentOS 7 Problems / Re: Change Server Date & Time
« on: January 15, 2023, 05:37:50 AM »
Use "

date.timezone = "aa/bb"

5
CWP -> Mod Security -> Change to Comodo WAF

6
Hello guys!

I've been experimenting with CWP for a while now. We already have several servers in production using it and we like it.

Most errors are resolved by doing a "rebuild".

I solved this problem on one of the servers by doing the following:

Select WebServers -> Save & Rebuild Configuration

I understand that many days have passed, but I hope this information can help someone in the future.


Pages: [1]