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

Pages: [1]
1
I got the following errors?

Transaction check error:
  file /usr/local/apache/conf/httpd.conf from install of cwp-httpd-2.4.39-3.x86_64 conflicts with file from package httpd-2.4.6-90.el7.centos.x86_64
  file /usr/local/apache/logs from install of cwp-httpd-2.4.39-3.x86_64 conflicts with file from package httpd-2.4.6-90.el7.centos.x86_64
  file /usr/local/apache/modules from install of cwp-httpd-2.4.39-3.x86_64 conflicts with file from package httpd-2.4.6-90.el7.centos.x86_64

When I tried to start apache, it failed again. This time, with a different error:
Cannot load modules/mod_authn_file.so into server: /usr/local/apache/modules/mod_authn_file.so: cannot open shared object file: No such file or directory

I'll give some of the other suggestions a try.

2
I switched from Apache to nginx server for a few reasons. First, it seems nginx performance is better. When doing this, nginx created a bunch of conf files for each user account and a vhost based on the user domains listed (all the same domain, different sites).

The installation worked for 2 of the user accounts on the server, but the third one gave me a 502 bad gateway error.

On the server side, I got the following entry:
2020/03/03 23:27:54 [crit] 22783#22783: *568 connect() to unix:/opt/alt/php-fpm56/usr/var/sockets/xxx.sock failed (2: No such file or directory) while connecting to upstream, client: 99.229.203.249, server: *.domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/alt/php-fpm56/usr/var/sockets/xxx.sock:", host: "xxx.domain.com"

where 'xxx' is the user account and 'domain.com' is the fqdn of the server domain.

When I look at the /opt/alt/php-fpm56/usr/var/sockets/ directory, it shows .sock files for each of the other users plus a 'nobody.sock' which I suppose is the default.

how do i either configure nginx to create xxx.sock or create the file myself so I can resolve this issue?

Any help is appreciated.

3
tried uninstall reinstall route. Will report back.

4
Installation / Apache Nginx & Varnish install failed to load apache
« on: March 02, 2020, 06:18:14 PM »
I used the Apache Nginx, Varnish option under web servers. I believe the configuration is correct, but when I tried to launch, Apache failed.

Under the web control panel, it shows nginx running, apache is not running. My html pages are working, other sites based on php don't seem to be working.

Here's the error message. I have searched for this on the internet but found no similar post.

httpd: Syntax error on line 72 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authz_host.so into server: /usr/local/apache/modules/mod_authz_host.so: undefined symbol: ap_get_useragent_host

Pages: [1]