/srv/irclogs.ubuntu.com/2009/03/26/#edubuntu.txt

=== ogra_ is now known as ogra
lazzursHello guys, are many people up or are you all mostly US based?10:35
faustino3333lazzurs: middle of the atlantic, in Pico island from Azores Portugal10:39
lazzurswow that is kinda cool :)10:43
faustino3333why?10:44
lazzursjust being on a small island :)10:46
faustino3333it's not that small it has 447sqkm10:47
faustino3333just 15000 habitants10:47
faustino3333where do you live?10:48
lazzursin Scotland10:51
faustino3333it's also an island a little bit bigger but it's an island11:14
lazzursindeed :)11:14
cyclopshi all, I'm trying to install clustering. Having trouble starting tftpd-ha. it doesn't show as listening in netstat or running in ps.16:12
lazzurscyclops: not that I know anything about the edubuntu setup but are you sure it is not running from inet/xinetd ?16:14
cyclopslazzurs, it's actually ubuntu 8.04x ,install docs from edubuntu easyclustering. I did set up as service  in inetd. per wiki-docs16:16
lazzurscyclops: cool well if it is running from inetd then you will only see a process running when it is being used16:16
cyclopswhen I issue command: sudo /etc/init.d/tftpd-hpa restart , nothing happens & nodes do not boot.16:17
lazzursthat is what inetd does, it listens on the port for the application and when a connection comes in it starts the application16:17
lazzursif you are going to start it with the init.d script then you will have to reconfigure it to run as a daemon rather than through inetd16:17
cyclopsI believe that it is set that way .16:18
lazzurscyclops: can you paste in a link to the wiki page you are working from?16:19
cyclopsstndby16:19
cyclopslazzurs, https://wiki.edubuntu.org/EasyUbuntuClustering/UbuntuKerrighedClusterGuide16:20
lazzurscyclops: ok so if you followed that guide then it is running from inetd and is most likely working fine16:22
cyclopslazzurs, dhcp3 starts, nfs-kernel starts. testing with default ubuntu image 1st , not kerrighed- though I did patch a kernel.16:22
cyclopsyet I can't get a node to boot.16:23
lazzurswhat happens when it boots?16:23
cyclopsnothing , pxe is looking for dhcp server16:23
ograthats not a tftp error16:24
cyclopsI am on the server machine now. 2 x nics16:24
ograare you sure there is no second dhcpd running anywhere in your network ?16:24
lazzursok so the nic eth0 that dhcp will be listening on, is that the same network that the clients are running on16:25
cyclopseth1 (100x) dhcp client to internet eth0 (1000x) dhcp3-server ,just 1 node connected right now on a switch.16:26
lazzursand that node is connected to eth1?16:27
cyclopsno to eth016:28
cyclopseth1 is traight out to firewall & internet16:28
lazzurswhat address do you have on eth0 and did you copy the dhcp configuration exactly from the wiki?16:29
cyclopsnetstat -lu does not show tftp listening on udp.16:30
lazzurscyclops: it might show inetd listening however...which might need restarted after the reconfiguration16:30
lazzursthat document is broken TBH16:30
alkisgcyclops: to restart the tftp server, you do: sudo invoke-rc.d openbsd-inetd restart16:31
alkisgTo test the tftp server, just install a tftp client and try to connect and download a file from the server16:31
alkisgTo see if the dhcp server is running, you do: sudo invoke-rc.d dhcp3-server status16:32
cyclopssudo invoke-rc.d openbsd-inetd restart16:32
cyclops * Restarting internet superserver inetd                                 [ OK ]16:32
cyclopsStatus of DHCP server: dhcpd3 is running.16:33
alkisgsudo apt-get install tftp-hpa (that's the client)16:34
alkisgtftp localhost16:34
alkisgget /ltsp/i386/pxelinux.cfg16:34
cyclopsstill don't see any change in netstat -lu for tftp , not listed16:34
cyclopsI am not using ltsp.16:35
alkisgOK, use a different test file16:35
ograif your PXE client looks for an address you are not even near the tftp stage16:35
alkisgYou don't see this in netstat -lu? udp        0      0 *:tftp                  *:*16:35
cyclopsno16:35
cyclopsam starting tftp as per the docs - easyubuntuclustering.16:36
ogra"<cyclops> nothing , pxe is looking for dhcp server"16:37
ograthats what you said above16:38
cyclopsok so then i should look 1st to dhcp3-server error, as node is still looking for dhcp.16:38
ograltsp or not, if your pxe client is looking for a dhcpd that should be the first issue you solve ....16:38
cyclopsI have the dhcp-conf set to hand out fixed, no range. i will try to change to a range.16:40
ograwoah, thats a broken guide16:40
ograthere seems to be not a single default he doesnt set differently for no purpose at all16:41
cyclopsogra, thanks for the info. so what scrap the installation?16:41
ograwell, it seems to have worked for him16:41
ograjust debugging something that was set up after suchg a guide isnt easy, since all defaults are different16:42
ogra# /etc/default/dhcp3-server #16:43
ograinterfaces="eth0"16:43
ograthats just mean16:43
ogra#Defaults for tftp-hpa16:43
ograRUN_DAEMON="YES"16:43
ograOPTIONS="-l -s /srv/tftp"16:43
ograthat completely contradicts with the part below16:43
ograyour tftp cant start if its run by two daemons ... it will just clash16:43
cyclopsI realize that, it seems the only guide around dealing with kerrighed.16:43
ogra_start with reverting /etc/default/dhcp3-server and /etc/default/tftpd-hpa16:50
ogra_(this netsplitting of freenode is annoying today)16:50
=== ogra_ is now known as ogra
ograoh, the inetd setup surely breaks if you dont use xinetd16:52
ogra(which isnt the default inetd in ubuntu)16:53
ogratrying to apply xinetd configs to openbsd-inetd isnt going to work at all16:53
cyclopsogra, so apt-get install xinetd?16:54
ograno16:55
ogrause the instealled inetd16:55
ograjust remove the cruft you added per that howto16:55
ograthen comment in the old tftp line16:55
cyclopsok :)...nice vocabulary.16:56
ograand if you really want to go with /srv/tftp change the old line from /var/lib/tftpboot to /srv/tftp16:56
cyclopsyes, doing that now.16:57
ograthen restart openbsd-inetd16:58
ograi dont get why he makes you add xinetd config to /etc/inetd.conf16:58
ograthat doesnt make any sense at all16:58
cyclopsok restrarted  inetd16:59
ogranow try what alkisg told you16:59
cyclopsi see tftp in netstat.17:00
ograah, good17:00
ogranow to your dhcpd17:01
cyclopsok17:01
ogradid you revert /etc/default/dhcp3-server ?17:01
ograinterfaces="" is the correct setting17:01
cyclopsu mean revert back to default orig?17:01
ograright17:01
cyclopsstndby.17:02
ograsetting the inetrfaces line enforces dhcpd to start even if it cant serve anything ... thats a very bad thing17:02
ograinterfaces="" makes it run a selftest so it tells you if there is actually an interface it can work on17:02
cyclopsok have the orig back17:03
ogragood17:03
ogratry to restart your dhcp3-server17:03
ograand see if it starts up17:03
cyclopsrestart - fail.17:04
ograright, thats what i expected17:04
ograpaste the output of "ifconfig -a" to paste.ubuntu.com17:04
cyclopsogra,  done: http://paste.ubuntu.com/138395/plain/17:06
ogralooks ok so far, do you use exactly the dhcpd.conf file from the howto ?17:07
LaserJockhighvoltage: ping17:08
cyclopsI did original, but now i deleted everything below for nodes, & left a range. I could revert-though.17:09
ogratry that17:10
ograalso you dont have ltsp installed, right ?17:10
cyclopssory it is already orig per ur suggestion.17:10
ograelse the files needs to be in /etc/ltsp/17:11
cyclopsstndby.17:11
cyclopsogra, /etc/default/dhcp3-server & /etc/dhcp3/dhcpd.conf are orig!17:14
ograand you dont have ltsp-server or ltsp-server-standalone installed, right ?17:15
cyclopscorrect17:16
ograok, so now copy the exact file from the howto in place for /etc/dhcp3/dhcpd.conf17:18
cyclopsok17:19
cyclopsogra, there is a mistake with the howto conf, he is missing declaring subnet-mask.17:21
ograsubnet 192.168.1.0 netmask 255.255.255.0 {17:22
ogralooks ok to me17:22
cyclopsat the dns section ?17:22
ogra# Information about the network setup17:22
cyclopsshall I try dhcp3 restart?17:23
ograyep17:23
ograit shouldnt fail17:23
cyclops* Starting DHCP server dhcpd3                                           [ OK ]17:24
ogragood17:24
ograyou need to make sure the MAC addresses match for your nodes though17:24
ograelse your clients wont get IPs17:25
cyclopsaw..not an easy thing with built in pxe boot on each.17:26
cyclopswhat if i use etherboot?17:26
cyclopsdo i still need the mac address?17:26
ograif you want fixed ip adresses for your nodes you always need the mac address17:27
cyclopsoh, i can be without fixed, don't think it's necessary.17:29
ograwell, then just drop all the group stuff17:30
ograand add: range 192.168.1.20 192.168.1.250;17:30
alkisg...and also drop: deny unknown-clients;17:30
ograright in the subnet declaration17:30
ograthat will serve dynamic IPs between 20 and 25017:31
cyclopsok, for now i added the mac, & node 1 is trying to get tftp.17:31
cyclopsit didn't get tftp.17:31
ograwhats the error ?17:32
cyclopsa timeout.17:33
ogrado you have all files in place in /srv/tftp17:33
ograpxelinux.0, pxelinux.cfg, vmlinuz and initrd.img should be in there17:34
ograpxelinux.cfg being a dir with a single file in it called "default"17:35
cyclopsam defaulting to 1st test scenario, with initrd.img-2.6.24-23-generic & vmlinuz-2.6.24-23-generic & pxelinux.017:35
ograpxelinux.cfg/default ?17:35
cyclopsyes17:35
ograand the file is configured right i assume ?17:36
cyclopsas per the howto 1st test setup17:37
ogratry what alkisg said before17:38
ogratftp localhost17:38
cyclopsu mean local tftpclient?17:38
ograget pxelinux.cfg/default17:38
ograor get pxelinux.017:39
cyclopsfrom where?17:40
ogratftp localhost17:40
ograget pxelinux.017:40
ogratry that17:40
ograafter you installed tftp-pha17:40
ogra*hpa17:40
cyclopsno get command17:42
ogracan you elaborate ?17:44
cyclopssorry, installed tftp-hpa, then tftp localhost, then get pxelinux.0 & transfer timed out.17:45
ograaha17:46
ogragrep tftp /etc/inetd.conf ...17:46
ograpaste the output here17:46
cyclopstftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /srv/tftpboot17:47
cyclopsaw, i see the mistake.17:48
ogra:)17:49
cyclopsok node 1 loading .17:51
cyclopsok got a login prompt.17:52
ogragood :)17:52
ogracongrats17:52
cyclopsthis is with default image, i will try with the kerrighed image-already made.17:52
cyclopsthank - mucho.17:53
ograenjoy17:55
cyclopswait, i am going to reboot node to see if it works.stndby.17:56
cyclopsit didn't boot , bu i think it's a name problem , I will work on it. Thanks for all the help. the howto should be amended17:58
ograor fixed :)17:59
cyclopsmight be  the patched kernel wasn't built properly , I will redo it.18:01
cyclopsogra, I have the kerrighed image booting up now on node118:05
ogragood18:05
ograor bad, whatever kerrighed is :)18:06
cyclopsis supposed to be a replacement for openmosix using 2.6 kernels, or clustering as SSI.18:07
ograright, and i think there were reasons both was abandoned upstream18:10
ograbut i dont have enough insight to judge :)18:10
cyclopsI understand.  I have some apps for a friend that needs massive  computing & rendering, so I was trying to help him.18:12
=== Eeyore-Jr is now known as Ahmuck

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!