LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-27-2010, 03:39 AM   #1
MortenOnDebian
LQ Newbie
 
Registered: Aug 2010
Posts: 14

Rep: Reputation: 1
Debian server on vmware can't be found after being online several hours


Hi,

Recently I set up a Debian server following this guide:
http://www.howtoforge.org/perfect-se...nny-ispconfig3

However I wasn't able to connect to the internet after the clean install of debian. So I googled and found a fix:

ifconfig eth0 192.168.15.x
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.15.y

Where x is a number not in use by any machine
Where y is the number on the gateway

These commands are appended to /etc/rc.d/rc.local and works fine.

The server is virtual and running on a vmware installation.


The problem, I have, appears randomly after the server has been startet. Sometimes after 20 hours and sometimes after 9 hours only.

I can't connect to the server through the web (server.mydomain.com). However I can reach my computer running vmware at (host.mydomain.com). In vmwares terminal window I can access the debian installation which is running all fine. No errors or so. I can even ping remote ip-adresses from the debian server without problems. Restarting the server fixes the problem. But it then re-appears after some time.

Any ideas how to solve??

Regards
Morten
 
Old 08-28-2010, 12:47 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,632

Rep: Reputation: 106Reputation: 106
Things to check/investigate:

1) did you enable the 'keepalive' options?
2) what is the TTL of the DNS entries of the guest machine? (TTL: time to live, i.e. the period for which the data is valid)
 
Old 08-29-2010, 12:47 PM   #3
MortenOnDebian
LQ Newbie
 
Registered: Aug 2010
Posts: 14

Original Poster
Rep: Reputation: 1
Well, since I don't know where those options are designed (or the fact that they exists), it sounds like it could be one the reason. Can you help me change these settings?

Regards
Morten
 
Old 08-29-2010, 05:38 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,632

Rep: Reputation: 106Reputation: 106
I'm afraid I can't: I'm not familiar with VMWare. However, the TTL is set by the DHCP server (most likely in your router) and you may find a setting for 'keepalive' there too.
 
Old 09-26-2010, 04:56 AM   #5
MortenOnDebian
LQ Newbie
 
Registered: Aug 2010
Posts: 14

Original Poster
Rep: Reputation: 1
Well that seemed to solve the problem. Thank you very much for your help!
 
  


Reply

Tags
debian, network, server, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Vmware Server 2.0.2 503 Service Unavailable ibaydan Linux - Virtualization and Cloud 1 05-25-2010 09:02 AM
[SOLVED] Cannot install Vmware server on debian 64bit lunitix Linux - Virtualization and Cloud 7 04-30-2010 04:42 AM
online update command line option not found in SuSE Linux Enterprise server 10 manisarma_pspl Suse/Novell 0 07-16-2007 04:17 AM
vmware-server-console crashes after Debian upgrade jlinkels Linux - Software 2 04-23-2007 01:58 PM
vmware server on testing debian scottybwoy Linux - Software 2 07-20-2006 04:45 PM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration