Dell Server with Linux and Plesk 7

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Mon Dec 20 01:18:53 UTC 2004


On Fri, Dec 17, 2004 at 08:54:30PM -0500, James Mendez wrote
> Sorry , but I have not got a clue of what you just said...
> 
> thanks
> 
> James

  I was listing some possible technical reasons for your problems.
Let's get back to basics.  Go to your desktop machine, log in as root
and execute the command...
ifconfig > x.txt

Go to your server, log in as root, and execute the command...
ifconfig > y.txt

  On my home machine, I get...

[m450][root][~]ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:5A:85:FC:BC
          inet addr:192.168.123.250  Bcast:192.168.123.255 Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1454 Metric:1
          RX packets:93208 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:99624329 (95.0 Mb)  TX bytes:8481404 (8.0 Mb)
          Interrupt:10 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11718 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11718 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4820983 (4.5 Mb)  TX bytes:4820983 (4.5 Mb)

  View x.txt and y.txt with any text editor (vim/pico/nano/whatever).
You're usually interested in the block labelled "eth0".  What are the
numbers immediately after "inet addr:" in the two files?  then we go on
to the next step.

> 
> -----Original Message-----
> From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org]On Behalf Of Walter
> Dnes
> Sent: Friday, December 17, 2004 6:54 PM
> To: tlug-lxSQFCZeNF4 at public.gmane.org
> Subject: Re: [TLUG]: RE: Dell Server with Linux and Plesk 7
> 
> 
> On Thu, Dec 16, 2004 at 09:02:05PM -0500, James Mendez wrote
> > I need help from anyone wishing to assist.
> > 
> > I have a Dell server with linux redhat and plesk 7 installed. my
> > ports does not seems to work at all. I cant SSH, FTP or call up
> > any of my websites. Seems like the ports closes everytime I reset
> > them. The server is attached to a linksys AP router and another
> > desktop is also attached to this router. The router is attached to
> > cogeco cable box. All recieve internet. But the desktop cannot ftp
> > or see the website. Please assist even if it means coming over.
> 
>   Cogeco territory is a bit outside the range of a Toronto or York
> Region bus fare, so my help will have to be remote.  Here's a basic
> checklist; hope it doesn't insult you by mentioning some glaringly
> obvious things.  I don't know your expertise level, so I'm going to
> start from square 1.
> 
>   - I assume that the router shows one public IP address and an RFC1918
>     IP address internally, like 192.168.0.1 (or something similar)
> 
>   - If you want your machines to talk to each other, it becomes much
>     easier if you assign static IP addresses to them (e.g. 192.168.0.2,
>     192.168.0.3, etc).  Imagine trying to maintain a long-distance
>     romance if your girlfriend's phone number changes every day.  While
>     you're at it, make sure that all machines on your lan have names in
>     /etc/hosts on all machines.
> 
>   - Some firewalls have rules to block RFC1918 addresses.  They should
>     never be seen coming in from outside.  However, they're perfectly
>     OK coming in from your little LAN.  Check for any iptables rules
>     blocking the IP address of your desktop.
> 
>   - The sshd and ftpd servers I've used require holes to be poked in
>     /etc/hosts.allow, regardless of whether or not you're running inetd
>     or xinetd.  While you need an entry for sshd in hosts.allow, do *NOT*
>     put an entry for sshd in your inetd configuration file.
> 
>   - sshd requires an entry in its config file, specifying which IP
>     address it is listening on.  ftpd is very nitpicky if you're setting
>     up anonymous ftp.  You need the right set of directories with the
>     right set of permissions
> 
> -- 
> Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
> An infinite number of monkeys pounding away on keyboards will
> eventually produce a report showing that Windows is more secure,
> and has a lower TCO, than linux.
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> 
> 
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
> 

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list