a really basic apache question recently set up a new box with fedora7 apache svn I can see the svn repositories
]:443
no listening sockets available, shutting down
Unable to open logs
disregard i found the answer
you'll need to change the listening port as well
httpd -f /etc/httpd/conf/httpd_cf8
could not bind to address
could not bind to address is Either 1) you're not root, 2) something's already running on that port or 3) there are multiple listen or port directives. Please see http://wiki.apache.org/httpd/CouldNotBindToAddress
What fajita said.
which i would've thought would've been fairly obvious…
http://apache.pastebin.ca/668394
already changed listening port…
The problem is that you have VirtualHosts that don't match the NameVirtualHost directive.
The solution is the following:
faq1
exactly. For example, NameVirtualHost *:80 must be used with VirtualHost *:80
what should be the privs on web docs? 755?
Replace the NameVirtualHost line with: NameVirtualHost *:80
line with VirtualHost *:80
If you're getting 404 errors, then file permissions are not relevant.
help pls - when apache starts i get an error saying " could not reliably determine the server's fully qualified domain name, using 192.168.0.2 for servername
Whoops! That's not the name of a module.
fqdn
fqdn is http://wiki.apache.org/httpd/CouldNotDetermineServerName
r-c: ^^
same error when I run httpd without alternate config
fajita seen lewellyn
I haven't seen 'lewellyn', Dave. Close matches are: _lewellyn [356d, 21:48:35]
Nice timming
assy
brb
Did you consider the three things that fajita said for you to check?
Did you consider the three things that fajita said for you to check?
uDid you consider the three things that fajita said for you to check?/u
oops
oops is right…
gmail?
gmail is awesome but REALLY needs IMAP access! and integration with ldap address books! (bug mailto:gstein@google.com) or bug megaspaz
:]
lool
:o
/usr/sbin/getenforce
daMaestro++
brb
:O
disabled
Allow Daveman
and the NameVirtual also. restarted Apache and tried beta.mydomain.com and got 404 error
What, exactly, does the error log say?
what does the error log say, exactly?
oops, overlap.
what does proxypassreverse do
proxypassreverse
proxypassreverse is http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypassreverse or a way to Adjusts the URL in HTTP response headers sent from a reverse proxied server or at http://httpd.apache.org/docs/mod/mod_proxy.html#proxypassreverse useful for RewriteRule [P]
^^
Also, are you actually getting a 404, or are you getting a browser "could not find server" error message?
nop idea what that meant
it meant look up
Hi frank
at the links
yes?
clicky clicky
it does not apear that httpd is not picking up the -f config
tell rajkosto about proxypassreverse
alivedata, megaspaz.. if selinux is disabled; well, exactly that
lol
read your PM
alivedata, ok?
alivedata, /usr/sbin/httpd ?
it's already running
he just wants to use a different config and do a second instance
correct
in which case httpd -f
second instance
providing that you in fact changed the listening port in that second conf file
changed the port
alivedata, -f should be working
yup - i agree - wondering if there is something unique about the RHEL 4 implementation
fine. i'll test
\o/
umm… fc6 != el4
what *are* you using?
sorry - RHEL - been switching back and forth
ok. and i need to know what you are using, so i can test
need to start and additional instance of httpd on fedora core 6 - new httpd.conf file - changed pid
and are you sure selinux is disabled on the given box? (seeing as how you have more then one)
sorry - was checking error log
megaspaz, i know.. i read
yes - selinux is disabled
no, I get a "webpage cannot be found"
DAMAESTROS!
YOU HAVE BEEN LOCATED!
Dave, man.
lol
but like I said, only if I go into the subdom folder; not when accessing the root.
oh, it's davemon now ?~
eh, not in a Jamaican mood today?
ok, i looked at it
:p
oh?
alivedata, is this a live box? can we b0rk it?
the connection is being closed right after the handshake
seven times, that's consistent with your logs
yeah
either it doesn't like the certs or it can't agree on an encryption
are you certain that nothing other than the certs changed?
dev box
absolutely not
but I can find out
just seeing php warnings on the error log
you could try telling mod_ldap to not verify the certs
or have you tried that already?
it appears that when calling httpd it does not load the switches that you throw at it
don't think we have… how would I do that?
NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# ssl hosting protocol.
wtf?
alivedata, /etc/init.d/httpd stop && /usr/sbin/httpd -f /full/path/to/your/new/httpd.conf
alivedata, ps axZ|grep httod
grr
alivedata, ps axZ|grep httpd
what distro is this?
that's so blatently wrong
BTW - one instance is currently running on port 80 with PID
sure, whatever… kill it
lol
this instance has diff pid + port 81
you change the pid value as well?
guess so
yup
one sec
oh, good question
paste your current vhost config.
/me reads
stupid 2.0
2.2 has a directive for it, but 2.0 doesn't
sorry, i guess you can't try that
k - i can start one or the other
well, based on the other machines working, we could ignore certs for now?
are those the only two reasons?
so i have a config issue…
alivedata, anyways.. when we ask for commands.. and output it helps if you show us
;-)
chuck norris fact
Chuck Norris' tears cure cancer… but the real shame is the world will never be able to use this because Chuck Norris has never cried.
no, but they're the most probably ones
i wanted to see if -f showed up in ps axZ and if the httpd had a selinux context
on sec
(checking to make sure you really have selinux disabled)
0
out put from standard apachectl start
i don't see any way of configuring the encryption methods either
but i suppose if the ldap server had been upgraded it might have changed.
i'm still thinking that it's the cert.
but i can't see why it would try seven times, which is bugging me.
but sclient was happy..
0 /usr/sbin/httpd -f /etc/httpd/conf/httpd_cf8 -k
s/sclient/ldapsearch/
yeah. it's possible that ldapsearch is using a different version of libldap than apache, i suppose.
lsof should tell us that
but i'm inclined to go with an error in the certs
hello???
Hail, mactrom!
i mean, the handling of the certs
Hmm?
HELLO
bonjour, Dave.
oh, it's also possible that ldapsearch is using a different version of libssl
huh?
Please state the nature of your computing emergency
botsnack
which could affect cert parsing
ignoring the virthost for now.
alivedata, netstat -plant|grep httpd
alivedata, check what ports it is listening on.
if I can access a folder, but not the contents in the folder? what does that indicate?
(with your -f config)
Damaestro
Damaestro is dumb; don't ask him.. he is a n00b
:P
domain.com/folder/ displays but domain.com/folder/index.php doesn't
gives a 404 error
yes, php web hosting is set up in the conf file; works fine on domain.com/index.php
oh?
ahm
i set up the proxy thing
tcp 0 0