Re: Getting Apache Started on a New Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What is the new error?

On Sat, May 20, 2023 at 5:24 PM John Iliffe <john.iliffe@xxxxxxxxx> wrote:
Thanks Frank.

Hasn't started yet but at least the problem has moved to another line :-)

Regards,

John
======
On Sat, 2023-05-20 at 14:48 -0400, Frank Gingras wrote:
> You need a mpm to start httpd. I recommend using the event mpm, so just load
> the appropriate module.
>
> On Sat, May 20, 2023 at 2:27 PM John Iliffe <john.iliffe@xxxxxxxxx> wrote:
> > Rocky Linux 9.0, new install
> > Rocky distro version of Apache/httpd
> >
> > As recommended I used the distro's download httpd and that has lead me into
> > a
> > week's worth of chasing phantoms.
> >
> > Specifically, I copied the httpd.conf file from the old server
> > (Apache.2.4.25)
> > to the new server and after clearing all the path problems (Apache is spread
> > all
> > over the file tree instead of in one compact area under /usr/apache... as
> > previously) I still can't get httpd to start.  The error I can't seem to
> > resolve
> > is:
> >
> > AH00534: httpd: Configuration error: No MPM loaded.
> > May 20 13:42:22 prod02 systemd[1]: httpd.service: Main process exited,
> > code=exited, status=1/FAILURE
> > May 20 13:42:22 prod02 systemd[1]: httpd.service: Failed with result 'exit-
> > code'.
> > May 20 13:42:22 prod02 systemd[1]: Failed to start The Apache HTTP Server.
> >
> > As I understand it I shouldn't need an MPM running because everything is
> > proxy'd
> > to php-fpm (which IS running and has created all necessary pools) using
> > config
> > lines like:
> > "^/.*\.php(/.*)?$" fcgi://127.0.0.1:90xx/httpd/xxxx
> > one 'xxxx' for each virtual host.  There are sockets 9002 - 9011 in use,
> > excluding 9010 that originally refused to bind to php-fpm and I'll try to
> > debug
> > later.  Also I have been informed that I should now be using Unix Domain
> > sockets
> > and I will resolve that whenever I can get Apache running stably.
> >
> > The config file DOES load mod_proxy_fcgi so as I understand it this should
> > work
> > properly:
> > 140:LoadModule proxy_module modules/mod_proxy.so
> > 141:LoadModule proxy_connect_module modules/mod_proxy_connect.so
> > 143:LoadModule proxy_http_module modules/mod_proxy_http.so
> > 144:LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
> >
> > Apache's error log has nothing.  Previously, the "It Works!" version
> > provided by
> > the distro did log startup messages properly here.
> >
> > Has anyone any ideas where to look?  Without Apache running it is fairly
> > hard to
> > debug it as I can't ask it what it thinks it is doing! 
> >
> > Help appreciated,
> >
> > John
> > ======
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux