On Thu, Jan 22, 2009 at 1:14 PM, shampavman <shampavman.cg at gmail.com> wrote:
> Venky wrote:
>> On Tue, Jan 20, 2009 at 08:26:24PM +0530, shampavman wrote:
>>
>>> I am unable to Setup Apache2.2 to execute cgi programs!
>>> First of all trying to resolve 'localhost' and its is taking me nowhere.
>>> Am automatically guided to opendns.com , for some reason !!
>>>
>>
>> Looks like you don't have 'localhost' defined in /etc/hosts.  Check
>> if it has this line:
>>
>> 127.0.0.1   localhost
>>
>> Not sure how this would be missing, though.  It should be set on
>> every install.  You haven't modified the "hosts" line in
>> nsswitch.conf, right?  You almost always want the "files" entry to
>> be first:
>>
>> $ grep '^hosts:' /etc/nsswitch.conf
>> hosts:      files dns
>>
>>
>>> This is what i tried,
>>> - /usr/apache2/2.2/bin/apachectl start
>>>   (I can see apache2.2 running using ptree)
>>> - svcs -a |grep apache
>>>   legacy_run     18:07:03 lrc:/etc/rc3_d/S50apache
>>>   maintenance    18:07:13 svc:/network/http:apache22
>>>   So i renamed S50apache to something not starting from 'S' ,
>>>
>>
>> Should not matter.
>>
>>
>>>   Then restarted apache22, ,but it still shows maintenance mode.
>>>
>>
>> Check the log files.  You can get the location of the log file by
>> running this:
>>
>> svcs -x apache22
>>
>> IIRC, there used to be some problem with the default SSL setup in
>> Apache.  If that is the problem and you are not using SSL, you
>> should be able to get around it by renaming the
>> /etc/apache2/2.2/conf.d/ssl.conf file to something like
>> /etc/apache2/2.2/conf.d/ssl.conf.disabled.
>>
>> After that, use "svcadm clear apache22" to restart the service.
>>
>>
>>> PS: This is the 2nd time am asking ,please dont........ :(
>>>
>>
>> Sorry about that!
>>
>> Venky.
>> _______________________________________________
>> ug-bosug mailing list
>> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
>> List-Owner: mailto:ug-bosug-owner at opensolaris.org
>> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>>
>>
> Hi,
> I have localhost defined....
> I am guessing its the issue with firefox....
> Reason being,when I tried to resolve localhost ,it says "It Works" when
> I run it in opera!!!!
> There must be something that I'm missing in firefox...

Sham, I am just guessing: In case you are using a proxy server, just
check if it is bypassed for localhost in your FF settings.

HTH,
-Amit

>
> Thanks
> Shampavman
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>



-- 
Amit Kumar Saha
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
*Bangalore Open Java Users Group*:http:www.bojug.in

Reply via email to