I just finished installing my first Ubuntu server box using the instructions on http://www.howtoforge.com/perfect_setup_ubuntu_6.10. Then I installed Webmin using the instructions at http://ictfreak.wordpress.com/2006/09/25/how-to-install-webmin-on-ubuntu/. But now when I try and use Webmin it can't find most of the files it needs. For example the Apache configuration file. Did I do something wrong during the install? And how do I find these files? I have tried searching for them with Webmin's file manager but no luck. Thanks for the help.
I was able to find the Apache stuff but now I am trying to get the DHCP server part working. This is the error that I am getting. The DHCP server /usr/local/webmin/dhcpd does not appear to be correct version. Webmin only supports ISC DHCPD versions 2 to 3. Also if I try to do a manual restart of the DHCP server from the cli I get a failed error. I have run the webmin upgrade forcing the install. That is everything I can think of and I am still getting that error. Any ideas Thanks for the help
As far as I know, the referenced tutorials do not describe the installation of a dhcp server. You would need to add that to your server sofware packages Code: apt-get install dhcp3-server
I am not sure if I installed it during the tutorial or not but it is installed now. and I still get that error.
I finally got an error while trying to start dhcp invoke-rc.d: initscript dhcp3-server, action "start" failed.
Please log in on the shell as root and run Code: /etc/init.d/dhcp3-server start You might have to modify the DHCP configuration before the DHCP server will start. Take a look at this tutorial: http://www.howtoforge.com/dhcp_server_linux_debian_sarge (should work for Ubuntu as well).
Ok I went to the web site and edited the config file to look like this option domain-name-servers 24.247.24.53; default-lease-time 86400; max-lease-time 604800; authoritative; subnet 192.186.0.0 netmask 255.255.255.0 { range 192.168.0.200 192.168.0.229; option subnet-mask 255.255.255.0; option brodcast-address 192.168.0.255; option routers 192.168.0.1; } and when I tried to start up dhcp again this is what I got root@LBox:/home/jacob# /etc/init.d/dhcp3-server start dhcpd self-test failed. Please fix the config file. The error was: root@LBox:/home/jacob#
Sorry about that. sow the config file looks like option domain-name-servers 24.247.24.53; default-lease-time 86400; max-lease-time 604800; authoritative; subnet 192.186.0.0 netmask 255.255.255.0 { range 192.168.0.200 192.168.0.229; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; } and I am still getting the error
Here's mine (without comments): Code: # ddns-update-style none; option domain-name "tiempo.loc"; option domain-name-servers ns0.tiempo.loc, adslgw.tiempo.loc; default-lease-time 86400; max-lease-time 86400; authoritative; log-facility local7; subnet 172.16.3.0 netmask 255.255.255.0 { range 172.16.3.100 172.16.3.150; option routers 172.16.3.254; }