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.


Topics - antoaunix

Pages: [1]
1
Installation / Webservers: Nginx & apache. but Nginx is ignored
« on: March 20, 2020, 03:44:48 PM »
Hello, I have installed my cwp, I have set the combination nginx+apache+varnish but what I add in my Nginx folder is sort of ignored. For example I tried to change the default page that comes out when going to the hostname address... if I add it in the /usr/local/apache/htdocs it works... but if I try to add it in the /usr/share/nginx/html/ folder, it is not shown...

it's like my cwp it's keeping apache and ignoring Nginx... why?

2
hello, I want to try install php-fpm on my server with cwp. I noticed that the automatic installation with a selector is just for the pro version so I tried to install it manually.

I have php 7.3.15 and followed this guide to install php-fpm https://www.mynotepaper.com/install-latest-php-php-fpm-on-centos-7/
but when I try to run it, I get an error

Code: [Select]
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
if I check the status for details I get

Code: [Select]
php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/php-fpm.service.d
           └─override.conf
   Active: failed (Result: exit-code) since ven 2020-03-20 00:00:45 CET; 4s ago
  Process: 13403 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
 Main PID: 13403 (code=exited, status=78)

mar 20 00:00:45 cwp.mydomain.com systemd[1]: Starting The PHP FastCGI Process Manager...
mar 20 00:00:45 cwp.mydomain.com php-fpm[13403]: [20-Mar-2020 00:00:45] ERROR: [pool www] please specify user and g... root
mar 20 00:00:45 cwp.mydomain.com php-fpm[13403]: [20-Mar-2020 00:00:45] ERROR: FPM initialization failed
mar 20 00:00:45 cwp.mydomain.com systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
mar 20 00:00:45 cwp.mydomain.com systemd[1]: Failed to start The PHP FastCGI Process Manager.
mar 20 00:00:45 cwp.mydomain.com systemd[1]: Unit php-fpm.service entered failed state.
mar 20 00:00:45 cwp.mydomain.com systemd[1]: php-fpm.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

i have Nginx&apache&varnish...
from what I see the error is probably in the file /etc/php-fpm.d/www.conf
user and group and listen.user listen.group are set to root... is that wrong? if I do a grep to Nginx.conf it says I just have user nobody

how can I fix?

3
PHP / Cwp free and php fpm
« on: March 18, 2020, 10:49:19 PM »
is it possible to install and use php-fpm with cwp free?

4
Installation / hostname and rDNS issues
« on: March 18, 2020, 08:40:38 PM »
hello, this is my first post.
I already configured cwp many times with no issues. This time I have a weird error on a freshly installed server.

Your Hostname is: xxx.mydomain.tld and it resolves to IP: (ERROR: You don't have a valid hostname set!)
rDNS/PTR = FAILED, check with your hosting provider! FAILED

i have no idea why I'm getting this. if I go to list my zones it seems everything fine.
When I configured my server I had my FQDN set correctly, changed my network configuration to a static ip... just like I always did on many other installations. in my domain provider the name servers are customized to my ip...
what can be wrong?

Thanks in advance

Pages: [1]