Might help if :
Knew what version of apache was giving problems ( additions? php?
mod_perl? ssl? )
OS version and patch level / libgc / kernel ( solaris, redhat, debian,
*cc stats ( gcc, ecgs, pcgs version? )
What is the nature of the problem? In explicit detail.
What procedures you attempted to correct this problem ( resources
used, rtfm's , faq's , bug reports of similar natures, web mirrored
list servs ). Did you search for similar problems on the Apache bug
report database for similar problems? For instance, I just searched
the PR bug database:
query-pr -i --multitext="socket operation on non-socket"
and found 6 entries...
Haven't seen a psychic interface to usenet yet >;}~
If you haven't given out this info, it does make it near impossible to
offer any links, hints, or sharing os similar experience.
OK, found your old post. Answered by Marc S.
>> When I try to start the apache demon I get the following in the error
>>getpeername: Socket operation on non-socket
>>getsockname: Socket operation on non-socket
>>Error getting local address
>> I am wondering what might be the reason. I will guess that I missed
>>something in the config file, but I don't know.
>Yea, you missed the point that you shouldn't arbitrarily change the
>ServerType directive without having any clue what it does.
What did you changes did you make in your ~/conf or ~/etc directory
regarding *.conf files to create this error?
>Erm... your question doesn't make much sense.
is client dependant for this functionality ). You may want to take
Quote:>> How would I set up a restricted directory that will require
>>authentication before allowing access?
>You read the FAQ and/or the docs.
Back to the major rtfm paradigm in unix. If you pull attitude on
usenet, you are asking to be flamed. Take a good look at the bug
Take a look at how others post problem reports on usenet and note
their style. Maybe take a humble pill and try again. Or do your
homework and make a cognisant request next time around.
Here is an example:
Full text of PR number 2734: <http://bugs.apache.org/index/full/2734>
Received: (qmail 788 invoked by uid 2012); 29 Jul 1998 09:19:02 -0000
Date: 29 Jul 1998 09:19:02 -0000
Subject: Why i ma getting "getpeername: Socket operation on
non-socket" when i try to start httpd?
>Synopsis: Why am i getting "getpeername: Socket operation on non-socket" when i try to start httpd?
>Arrival-Date: Wed Jul 29 02:20:04 PDT 1998
>Last-Modified: Wed Jul 29 09:47:49 PDT 1998
BULL - AIX 4.1.4 - AIX jacinthe 1 4 000006166700 -
When i try to start de server the following message appears.
/usr/local/apache/bin (root) >./httpd -d /usr/local/apache -f
getpeername: Socket operation on non-socket
getsockname: Socket operation on non-socket
Error getting local address
State-Changed-When: Wed Jul 29 09:47:46 PDT 1998
You are getting it because you are unable
to read the docs or the FAQ and for some
unknown reason decided you had to change the ServerType
to inetd without knowing what it does.
<< That might be a clue to your problem if you did your homework, so
<< you probably tweaked your /etc/inetd.conf file or something like
<< that, so then it ISN'T an Apache bug, but a DFU problem IMHO.
hastily wrote full of anger and frustration:
> I have asked for assistance twice regarding my problem in not getting
>apache httpd to start, and outside of two non-helpful replies (one was
>actually very rude) I have heard nothing, so I will start to fix the
>problem as though it is a bug, and report it as such. My reasoning is
>that there is no solution (lack of response) or no one cares to assist,
>and I will go from the former, since I will get it working that way.
> I am writing this to let any developers here know that possibly next
>week (this is a minor problem at the moment since I am currently using
>Suitespot, from Netscape) I will send a bug report to the mailing list for