Linux Debian support - Can't access localhost.

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > July 2005 > Can't access localhost.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can't access localhost.
john@wexfordpress.com

2005-07-20, 8:46 pm

I set up a Debian partition for the purpose of using sql-ledger. Now I
am at the point where I have to access localhost from a browser on the
desktop and access is denied. This is a brand new install with apache2
instead of the older versions I am familiar with.

My background is in Slackware.

John Culleton

Bill Marcum

2005-07-21, 5:48 pm

On 20 Jul 2005 16:25:26 -0700, john@wexfordpress.com
<john@wexfordpress.com> wrote:
> I set up a Debian partition for the purpose of using sql-ledger. Now I
> am at the point where I have to access localhost from a browser on the
> desktop and access is denied. This is a brand new install with apache2
> instead of the older versions I am familiar with.
>
> My background is in Slackware.
>
> John Culleton
>

Can you ping localhost? If so, what interface(s) is your server
configured to listen to?

--
Tonight you will pay the wages of sin; Don't forget to leave a tip.
john@wexfordpress.com

2005-07-22, 7:49 am



Bill Marcum wrote:
> On 20 Jul 2005 16:25:26 -0700, john@wexfordpress.com
> <john@wexfordpress.com> wrote:

When I ping lcalhost it shows the usual address 127.0.0.1. The problem
is that
httpd is not running, and I don't know how to make it start on Debian.
the mechaniam on Slack is entirely different. Can you suggest what I
need to do to make Debian start httpd automatically?[vbcol=seagreen]
> Can you ping localhost? If so, what interface(s) is your server
> configured to listen to?
>

Yes I can ping. No I don't know what if any my server is listening to.

Hekp!

John Culleton

Paul Cupis

2005-07-22, 7:49 am

john@wexfordpress.com wrote:
> Can you suggest what I
> need to do to make Debian start httpd automatically?


How did you install apache? If you just installed the Debian package, it
will start on boot by default. You can start it manually by running:

/etc/init.d/apache2 start

> No I don't know what if any my server is listening to.


Post the output from:

netstat -plunt
john@wexfordpress.com

2005-07-22, 5:47 pm



Paul Cupis wrote:
> john@wexfordpress.com wrote:
>
> How did you install apache? If you just installed the Debian package, it
> will start on boot by default. You can start it manually by running:
>
> /etc/init.d/apache2 start
>
>
> Post the output from:
>
> netstat -plunt


OK I used the line you prescribed above to boot apache. Now all I have
to do is to automate that process.

That partition is pure Debian downloads. I downloaded the small Debian
iso image and burned a cdr. then I booted that and after a bit of
handwavng let at-get download almost everything. Apache was included.
But for some reason it won't start witout coaxing.

Bootom line, thanks to your help I got Apache going which after some
more mubmling of incantations meant I could get sql-ledger going. So I
have a lot of work ahead of me building a chart of accounts etc. But
the road forward looks promising.

The rival to this package was web-ERP. I had a terrible password hangup
on that application and Debian +sql-ledger got there first.

Mission accomplished, initially at least. Thanks to all who replied.

John Culleton

Paul Cupis

2005-07-23, 7:45 am

john@wexfordpress.com wrote:
> OK I used the line you prescribed above to boot apache. Now all I have
> to do is to automate that process.


It should be automated when you install apache.

What is the output of:

find /etc/rc* | grep apache

and what are the contents of /etc/default/apache2 ?
john@wexfordpress.com

2005-07-24, 5:47 pm




6. Paul Cupis
Jul 23, 11:07 am show options
















j...@wexfordpress.com wrote:
> OK I used the line you prescribed above to boot apache. Now all I

have
> to do is to automate that process.


It should be automated when you install apache.


What is the output of:



find /etc/rc* | grep apache
etc/rc3.d/S91apache2



and what are the contents of /etc/default/apache2 ?
# 0 = start on boot; 1 = don't start on boot
NO_START=0

So I will reboot that partition, see if apache starts, and report back.


John C

john@wexfordpress.com

2005-07-24, 5:47 pm



john@wexfordpress.com wrote:
> 6. Paul Cupis
> Jul 23, 11:07 am show options
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> j...@wexfordpress.com wrote:
> have
>
> It should be automated when you install apache.
>
>
> What is the output of:
>
>
>
> find /etc/rc* | grep apache
> etc/rc3.d/S91apache2
>
>
>
> and what are the contents of /etc/default/apache2 ?
> # 0 = start on boot; 1 = don't start on boot
> NO_START=0
>
> So I will reboot that partition, see if apache starts, and report back.
>
>
> John C


I did and it did. Thanks for helping me when I was stumbling around.
Debian is soooo different!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com