+ Reply to Thread
Results 1 to 8 of 8

Thread: ubuntu in virtual box on server 2008

  Share/Bookmark
  1. #1

    Reputation Reputation Reputation
    mjs_mjs's Avatar
    Join Date
    Jan 2009
    Location
    bexleyheath, london
    Posts
    546
    Blog Entries
    4
    Thank Post
    16
    Thanked 45 Times in 37 Posts
    Rep Power
    14

    Default ubuntu in virtual box on server 2008

    i running ubuntu 8.10 within a sun's virtual box on a server 2008 server being a DC, DNS. i can vnc into the server and ping it but apache is having issues. Anyone else seen this? nither the address or localhost will connect to the webserver?

    i moved the image onto the server after making it on my laptop (xp). no problems until it hit the server.

  2. #2

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    are you sure the apache is startingproperly? my favourite mistake when building linux servers it to install and start the service, but forget to edit the sysvconfig/chkconfig to get it to start on boot.

    seems unlikey it would work on xp, but not windows server.

  3. #3

    Reputation Reputation Reputation
    mjs_mjs's Avatar
    Join Date
    Jan 2009
    Location
    bexleyheath, london
    Posts
    546
    Blog Entries
    4
    Thank Post
    16
    Thanked 45 Times in 37 Posts
    Rep Power
    14

    Default

    Even when i start apache2 manually it says ''ok'' but i cant access it. The conf file worked on the the xp machine (withint the same VM), and i havent changed it. I'm gunna try reinstalling ubuntu and LAMP from scratch to see if that helps. I just though it could be something to do with it being on a DC, as i had problems installing things on them before. But even then i should be able to see it using http://localhost correct? So the problem must be with apache?

  4. #4

    Reputation

    Join Date
    Dec 2005
    Location
    Northampton
    Posts
    125
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    11

    Default

    have you tried accessing it by IP address.

    depending on how the DHCP and DNS client is configured it may not create its own entry in the DNS server (this is how it is supposes to work, DNS should tell the client what it is called)

  5. #5

    Reputation Reputation Reputation
    mjs_mjs's Avatar
    Join Date
    Jan 2009
    Location
    bexleyheath, london
    Posts
    546
    Blog Entries
    4
    Thank Post
    16
    Thanked 45 Times in 37 Posts
    Rep Power
    14

    Default

    Quote Originally Posted by deanc View Post
    have you tried accessing it by IP address.

    depending on how the DHCP and DNS client is configured it may not create its own entry in the DNS server (this is how it is supposes to work, DNS should tell the client what it is called)
    The client (ubuntu 8.10) withing a virtual box is configued with a static IP, and DNS server i have on the network. I don't use windows DHCP, nor a windows DNS for non windows devices.

    Yes i've tried both it's interernal ip 127.0.0.1, external 192.168.x.x and localhost, non of which work from within the virtual box. The external IP doesn't work from any machines on the network. but i can VNC into it using the network address.

  6. #6

    Reputation

    Join Date
    Dec 2005
    Location
    Northampton
    Posts
    125
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    11

    Default

    last time I used Sun Virtual box i found that the NAT option was a bit broken on my system

    try changin Settings>Network from NAT to Bridged adapter

    worked for me!

  7. #7

    Reputation Reputation Reputation
    mjs_mjs's Avatar
    Join Date
    Jan 2009
    Location
    bexleyheath, london
    Posts
    546
    Blog Entries
    4
    Thank Post
    16
    Thanked 45 Times in 37 Posts
    Rep Power
    14

    Default

    Quote Originally Posted by deanc View Post
    last time I used Sun Virtual box i found that the NAT option was a bit broken on my system

    try changin Settings>Network from NAT to Bridged adapter

    worked for me!
    same NAT isn't the best option, i only ever used bridged as it's more reliable.

  8. #8

    Reputation Reputation Reputation
    mjs_mjs's Avatar
    Join Date
    Jan 2009
    Location
    bexleyheath, london
    Posts
    546
    Blog Entries
    4
    Thank Post
    16
    Thanked 45 Times in 37 Posts
    Rep Power
    14

    Default

    I solved it by re-installing ubuntu from stratch.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Virtual Box and linux
    By andy_nic in forum *nix
    Replies: 5
    Last Post: 05-11-2009, 06:35 AM
  2. Server 2008 box not showing in WSUS
    By FN-GM in forum Windows Server 2008
    Replies: 10
    Last Post: 23-05-2009, 08:19 PM
  3. Virtual Server Box
    By Starkiller in forum Hardware
    Replies: 14
    Last Post: 15-12-2008, 09:33 PM
  4. ubuntu 8.10 on virtual server 2005 R2?
    By browolf in forum *nix
    Replies: 6
    Last Post: 30-11-2008, 10:54 AM
  5. Virtual Box On Eee
    By My220x in forum *nix
    Replies: 1
    Last Post: 27-10-2008, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts