Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: dirk-maes on May 31, 2005, 09:05:13 PM

Title: wget -> failed: Host not found
Post by: dirk-maes on May 31, 2005, 09:05:13 PM
Please help,

server only can't use wget anymore :evil: , gateway can... :-D

[root@faxserver /]# wget http://mirror.contribs.org/smeserver/contribs/rvandenaker/beta/e-smith-cups/SME_6.0/optional/hpijs-1.4.1-0smea2.i386.rpm
--20:52:26--  http://mirror.contribs.org/smeserver/contribs/rvandenaker/beta/e-smith-cups/SME_6.0/optional/hpijs-1.4.1-0smea2.i386.rpm
           => hpijs-1.4.1-0smea2.i386.rpm'
Resolving contribs.org... failed: Host not found.
Title: wget -> failed: Host not found
Post by: Brenno on May 31, 2005, 10:55:11 PM
dirk-maes,

I run SME as both server-only and server/gateway and both installations utizilze wget perfectly.

Perhaps it's a spelling or cAsE sEnSiTiViTy issue?
Title: wget -> failed: Host not found
Post by: dirk-maes on May 31, 2005, 11:02:10 PM
wget used to work well untill today...
wget still works on gateway.
(same rule)
Title: wget -> failed: Host not found
Post by: Brenno on May 31, 2005, 11:07:24 PM
What's the output of:

Code: [Select]
#wget --version

Does this come back with a version number and info?
Title: wget -> failed: Host not found
Post by: dirk-maes on May 31, 2005, 11:10:56 PM
gateway = Gnu Wget 1.8.1
server only = GNU Wget 1.8.2

Grtz Dirk
Title: wget -> failed: Host not found
Post by: dirk-maes on May 31, 2005, 11:13:24 PM
even can't ping on server only
?????
Title: wget -> failed: Host not found
Post by: Brenno on May 31, 2005, 11:13:43 PM
I'm assuming that you're either running different versions of SME, or you've upgraded one system and not the other?  To my (limited) knowledge, there isn't a different wget installed depending on the server mode you choose.  That would seem odd.

In either case, you could try a manual upgrade of wget on the problem box and see if that helps out.
Title: wget -> failed: Host not found
Post by: dirk-maes on May 31, 2005, 11:17:56 PM
server-only is a new faxserver (on old machine), running on SME Mitel 6.0.1
Gateway is the gateway, with SME 5.6

wget worked fine, just after installing cups it died...
Title: wget -> failed: Host not found
Post by: raem on June 01, 2005, 07:38:28 AM
dirk-maes

> even can't ping on server only

What can't you ping ?
If your Internet connection is not present you can't expect wget to work.

So can you successfully ping a site that you are unsuccessfully trying to acess using wget ?
Title: wget -> failed: Host not found
Post by: dirk-maes on June 01, 2005, 08:58:18 AM
yes, you are right.
It seems i've got no connection to the internet anymore (on the server-only).
But the settings haven't been changed.....
Gateway is still the correct IP.

Can't ping to any adress.
Title: wget -> failed: Host not found
Post by: jackl on June 01, 2005, 12:32:51 PM
Like Ray says "What can't you ping?"
Can you ping the ip address of the site? if so you need to look at your DNS settings

Regards
Jack
Title: wget -> failed: Host not found
Post by: dirk-maes on June 01, 2005, 12:58:56 PM
I can ping for example "216.17.211.37"
but can't ping "contribs.org"

how do i check the DNS?
Title: wget -> failed: Host not found
Post by: raem on June 01, 2005, 01:06:04 PM
Like Jack says "Can you ping the ip of your server"

also check

/etc/init.d/tinydns status
gives me
/service/tinydns: up (pid 1576) 1047706 seconds, normally down

/etc/init.d/dnscache status
gives me
/service/dnscache: up (pid 5586) 1041957 seconds, normally down
Title: wget -> failed: Host not found
Post by: dirk-maes on June 01, 2005, 01:17:23 PM
[root@faxserver root]# /etc/rc.d/init.d/dnscache status
/service/dnscache: up (pid 4097) 606 seconds, normally down
[root@faxserver root]# /etc/rc.d/init.d/tinydns status
/service/tinydns: up (pid 1162) 51373 seconds, normally down

i can ping to adress of server, website,...
but can't ping to a name...
Title: wget -> failed: Host not found
Post by: raem on June 01, 2005, 01:37:43 PM
dirk-maes
> server-only is a new faxserver  running on SME Mitel 6.0.1

There is a Mitel 6.0 or a contribs.org 6.0.1, which is it ?


> wget worked fine, just after installing cups it died...

Perhaps you should uninstall cups and see if dns/wget is OK then, at least you will know whether the cups install is to blame or not.
Title: wget -> failed: Host not found
Post by: jackl on June 01, 2005, 03:41:31 PM
dirk-maes

Sorry I have never used SME in server only mode but I would suspect that at the admin console there needs to be an entry made to let the server know the address of the server that is handling DNS on the local network e.g. your gateway PC. I can't verify this as I'm away from base at the moment and working behind a secure system that does not allow me out-going VPN connections.
Have a look at the settings and see if there is any reference to a DNS server as it appears names are not being resolved for the Server only machine.

Regards
Jack
Title: wget -> failed: Host not found
Post by: raem on June 01, 2005, 03:46:13 PM
jack & dirk-maes

Yes that's correct, it's in the Configure this server menu selection, after logging in as admin.
You need to point your server only box at a gateway in order to get Internet access.
Title: wget -> failed: Host not found
Post by: dirk-maes on June 01, 2005, 04:35:53 PM
This is the review of my server-manager:
my gateway is called Linux and his Ip is 192.168.0.2

Review configuration
Networking Parameters
Server Mode serveronly
Local IP address / subnet mask 192.168.0.254/255.255.255.0
Gateway 192.168.0.2
Additional local networks 192.168.0.0/255.255.255.0
DHCP server disabled
Server names
DNS server 192.168.0.254
Web server www.***.be
Proxy server proxy.***.be:3128
FTP server ftp.***.be
SMTP, POP, and IMAP mail servers mail.***.be
Domain information
Primary domain ***.be
Virtual domains ***.be
Primary web site http://www.***.be
Server manager http://faxserver/server-manager/
User password panel http://faxserver/user-password/
Email Addresses useraccount@***.be
firstname.lastname@***.be
firstname_lastname@***.be

Do I have to change DNS server into 192.168.0.2?
Grtz
Title: wget -> failed: Host not found
Post by: jackl on June 01, 2005, 10:12:07 PM
Quote

Do I have to change DNS server into 192.168.0.2?



Yes

Regards
Jack