[12:37] Good morning. I hope someone can help with with a sudden crisis! Today is the day I'm switching our network to the new Edubuntu 11.04 server. I did the testing last week and all was well. Today when I came in and turned on the server I can't get the dhcpd server to start! [12:37] Status of ISC DHCP server: dhcpd is not running [12:38] And if you try to start it? sudo service isc-dhcp-something start ? [12:38] Yup - let me post that now [12:38] It fails and asks me to check syslog. Syslog says: [12:39] Wrote 1 leases to leases file. No subnet declaration for Internet_0 (192.168.1.106). [12:39] ** Ignoring requests on Internet_0. If this is not what [12:39] you want, please write a subnet declaration [12:39] in your dhcpd.conf file for the network segment [12:39] to which interface Internet_0 is attached. ** [12:40] This is a standard 2-NIC server with an LTSP_1 (eth1) and Internet_0 (eth0) NICs [12:40] one more line in syslog: Not configured to listen on any interfaces! [12:40] If your run `sudo dpkg-reconfigure isc-dhcp-something`, do you see an interfaces declaration? [12:41] alkisg, I will try that now. [12:41] * alkisg doesn't know the exact name, he's still on 10.04 :D [12:41] there are three options for -something: client, common, server? [12:41] server I presume? [12:43] server, yeah [12:44] alkisg, it asks me for which NIC to listen on -- if I put eth1 it fails, and if I put the alias LTSP_1 it also fails [12:44] hmm [12:44] TheProf_: don't put any nic there at all [12:45] That's why I told you that command, to delete any entries you might have put there, which would break your dhcpd.conf [12:45] Once you've erased it, let's move on [12:45] oh my mistake - I misunderstood. [12:46] OK I'll leave it blank [12:46] alkisg, I've re-run the command and left the NIC blank, erasing all that was there. [12:47] Good. And still dhcpd not starting, with the same message? [12:47] Correct. It says starting failed. I'm checking syslog nw [12:47] now. [12:48] alkisg, there is one more line in syslog now after the same previous error [12:48] [ 1027.738797] type=1400 audit(1315831665.095:30): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/dhcpd" pid=3190 comm="apparmor_parser" [12:48] TheProf_: now, put the output of these to pastebin: [12:49] ip -oneline -family inet addr show [12:49] cat /etc/ltsp/dhcpd.conf [12:52] is there a pastebin for this channel? [12:52] !pastebin [12:52] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [12:52] there it is. [12:53] alkisg, http://paste.ubuntu.com/687603/ [12:54] Also I recall one change I made: /etc/udev/rules.d$ cat 70-persistent-net.rules changed the eth1 and eth0 to LTSP_1 and Internet_0 [12:54] In order to be able to tell them apart. [12:55] Where it says "NAME=" [13:01] TheProf_: wow... you named your interfaces LTSP_1 and internet_0? :D [13:01] That's what network-manager is for [13:01] To give you human names, so that you don't have to modify the internal names... [13:01] Anyway, the problem is that you don't have an ip address in your LTSP_1 interface [13:02] Because you changed it, but you didn't update /etc/network/interfaces [13:02] So either put it back to ethX, or update your /etc/network/interfaces file [13:02] (I propose the first one) [13:03] alkisg, It's that bad that I renamed them eh? [13:03] I just kept getting confused which NIC is which, hence the human name with the eth_number at the end. [13:03] And I had read other threads on the mailing list that network manager would conflict with LTSP and shouldn't be used. hence my actions. [13:04] OK I will change them back. [13:05] Do I need to reboot to activate the change or can I just restart a specific service? [13:06] try: sudo service network-manager stop, and networking stop, and then start them [13:06] But nah better restart [13:06] You'd need to fire udev rules too [13:06] alright - I'm on that same machine now so I will return. [13:09] Better? [13:09] Yes indeed! [13:10] alkisg, looks like we're up! [13:10] alkisg, thank you very much! [13:11] You're welcome [13:11] I will use the network manager to rename the interfaces as you recommended [13:11] You need to be careful there [13:12] You need to delete the eth* entries from /etc/network/interfaces, and create system connections for them from network-manager [13:12] Note what you change so that you can easily revert, and don't do it while you have people using your server [13:19] alkisg, alright I'll probably just put a post-it note with which NIC is which [13:19] Hehe [13:19] You can change them to ethi (internet) and ethl (ltsp) if you want, but remember to update /etc/network/interfaces too [13:23] Awesome thanks.