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

Pages: [1]
1
Installation / Re: Webservers: Nginx & apache. but Nginx is ignored
« on: March 20, 2020, 05:08:29 PM »
You are obviously a complete noob, from this and other posts, so walk before you run.
Revert to using Apache only and stick with basics.

(Nearly same advice applies to CWP developers: stick to the basics and fine tune until all the bugs are sorted. :p)

how to improve?

2
Installation / Re: Webservers: Nginx & apache. but Nginx is ignored
« on: March 20, 2020, 04:32:29 PM »
Working as expected.
Suggest you do a LOT MORE READING, especially on nginx as a reverse proxy.

ok i fixed it... I get Nginx default page, fpm included. But when I try to install Wordpress, instead of showing wp index page, I still see Nginx page... in the cwp manuals there is nothing about it, where can I read?

3
I'm sure it's as you said, and I'm pretty sure I'll install the pro version soon. But first I want to get the hang of it for good. I don't like just to use interfaces without knowing what's behind it, how to handle it without it... so please if you can give me an hint about it :D

4
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?

5
update - I fixed the user as nobody and now it started with no error. but inside cwp when I do php info I see Server API:   CGI/FastCGI shouldn't it be FPM/FastCGI ????

from ssh when I check fpm status it says is active and running...

6
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?

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

8
Installation / Re: hostname and rDNS issues
« on: March 18, 2020, 10:29:21 PM »
ok the post can be closed. It was my domain provider that still hadn't propagated the dns for a small issue of them. it's all regular now. thanks

9
Installation / Re: hostname and rDNS issues
« on: March 18, 2020, 09:41:11 PM »
did you added hostname/subdomain DNS A record ?

in cwp or in my provider panel? I did in my provider panel... never done in cwp

10
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]