You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charles Marcus <CM...@Media-Brokers.com> on 2007/09/24 01:59:55 UTC
[users@httpd] Upgrade 2.0 to 2.2 on Gentoo - apache won't start...
Hello,
I'm in a bit of a bind... the consultant I normally use is unavailable,
and I did something dumb... I upgraded apache from 2.0.58 to 2.2.6
without him being available, and now it won't start...
It was working fine before, so this is hopefully just a config issue,
and I'd appreciate any help anyone can offer...
First, my box:
AMD Dual Opteron, Tyasn S2895 MB, 2GB RAM
Gentoo, kernel 2.6.17 (yes, I'm planning on updating it soon)
When I upgraded, it also updated PHP from 5.2.4_pre200708051230-r2 to
5.2.4_p20070914-r2, and installed apache-tools...
I'm using SSL only, and vhosts. I did opt to use the new config files,
so if someone could point me to a HowTo for setting up SSL and vhosts,
maybe that would be enough... anyway...
When I try to start it via the init script, I'm getting this error:
* Starting apache2 ...
apache2: Could not reliably determine the server's fully qualified
domain name, using m.y.i.p for ServerName
[Sun Sep 23 19:45:50 2007] [warn] NameVirtualHost m.y.i.p:443 has no
VirtualHosts
I have my hostname correctly set in /etc/hosts - remember, it was
working fine before...
netstat -tapn definitely shows it is NOT running...
I only want SSL (443) running, and want any requests to port 80
redirected to 443. I do remember seeing something about SSL being
started a bit differently...
Anyway, any pointers would be much appreciated!
Thanks,
--
Charles
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Upgrade 2.0 to 2.2 on Gentoo - apache won't
start...
Posted by Nick Kew <ni...@webthing.com>.
On Sun, 23 Sep 2007 19:59:55 -0400
Charles Marcus <CM...@Media-Brokers.com> wrote:
> Hello,
>
> I'm in a bit of a bind... the consultant I normally use is
> unavailable, and I did something dumb... I upgraded apache from
> 2.0.58 to 2.2.6 without him being available, and now it won't start...
Upgrading to 2.0.60 should be trivial, but 2.0 -> 2.2 is likely
to require (minor) configuration changes.
If the error log + TFM doesn't help, reinstall 2.0 until your consultant
returns. The upgrade might be ten minutes or an hours work for your
consultant, but anyone else has a much bigger job familiarising
themselves with your needs.
> [Sun Sep 23 19:45:50 2007] [warn] NameVirtualHost m.y.i.p:443 has no
> VirtualHosts
You don't want NameVirtualHost with https. But that's just a warning.
> I only want SSL (443) running, and want any requests to port 80
> redirected to 443. I do remember seeing something about SSL being
> started a bit differently...
Then just don't listen on port 80 at all. Links to your site
should refer to https://your.domain/, not http://your.domain/.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org