=== ogra_ is now known as ogra | ||
lazzurs | Hello guys, are many people up or are you all mostly US based? | 10:35 |
---|---|---|
faustino3333 | lazzurs: middle of the atlantic, in Pico island from Azores Portugal | 10:39 |
lazzurs | wow that is kinda cool :) | 10:43 |
faustino3333 | why? | 10:44 |
lazzurs | just being on a small island :) | 10:46 |
faustino3333 | it's not that small it has 447sqkm | 10:47 |
faustino3333 | just 15000 habitants | 10:47 |
faustino3333 | where do you live? | 10:48 |
lazzurs | in Scotland | 10:51 |
faustino3333 | it's also an island a little bit bigger but it's an island | 11:14 |
lazzurs | indeed :) | 11:14 |
cyclops | hi 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 |
lazzurs | cyclops: not that I know anything about the edubuntu setup but are you sure it is not running from inet/xinetd ? | 16:14 |
cyclops | lazzurs, it's actually ubuntu 8.04x ,install docs from edubuntu easyclustering. I did set up as service in inetd. per wiki-docs | 16:16 |
lazzurs | cyclops: cool well if it is running from inetd then you will only see a process running when it is being used | 16:16 |
cyclops | when I issue command: sudo /etc/init.d/tftpd-hpa restart , nothing happens & nodes do not boot. | 16:17 |
lazzurs | that is what inetd does, it listens on the port for the application and when a connection comes in it starts the application | 16:17 |
lazzurs | if 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 inetd | 16:17 |
cyclops | I believe that it is set that way . | 16:18 |
lazzurs | cyclops: can you paste in a link to the wiki page you are working from? | 16:19 |
cyclops | stndby | 16:19 |
cyclops | lazzurs, https://wiki.edubuntu.org/EasyUbuntuClustering/UbuntuKerrighedClusterGuide | 16:20 |
lazzurs | cyclops: ok so if you followed that guide then it is running from inetd and is most likely working fine | 16:22 |
cyclops | lazzurs, dhcp3 starts, nfs-kernel starts. testing with default ubuntu image 1st , not kerrighed- though I did patch a kernel. | 16:22 |
cyclops | yet I can't get a node to boot. | 16:23 |
lazzurs | what happens when it boots? | 16:23 |
cyclops | nothing , pxe is looking for dhcp server | 16:23 |
ogra | thats not a tftp error | 16:24 |
cyclops | I am on the server machine now. 2 x nics | 16:24 |
ogra | are you sure there is no second dhcpd running anywhere in your network ? | 16:24 |
lazzurs | ok so the nic eth0 that dhcp will be listening on, is that the same network that the clients are running on | 16:25 |
cyclops | eth1 (100x) dhcp client to internet eth0 (1000x) dhcp3-server ,just 1 node connected right now on a switch. | 16:26 |
lazzurs | and that node is connected to eth1? | 16:27 |
cyclops | no to eth0 | 16:28 |
cyclops | eth1 is traight out to firewall & internet | 16:28 |
lazzurs | what address do you have on eth0 and did you copy the dhcp configuration exactly from the wiki? | 16:29 |
cyclops | netstat -lu does not show tftp listening on udp. | 16:30 |
lazzurs | cyclops: it might show inetd listening however...which might need restarted after the reconfiguration | 16:30 |
lazzurs | that document is broken TBH | 16:30 |
alkisg | cyclops: to restart the tftp server, you do: sudo invoke-rc.d openbsd-inetd restart | 16:31 |
alkisg | To test the tftp server, just install a tftp client and try to connect and download a file from the server | 16:31 |
alkisg | To see if the dhcp server is running, you do: sudo invoke-rc.d dhcp3-server status | 16:32 |
cyclops | sudo invoke-rc.d openbsd-inetd restart | 16:32 |
cyclops | * Restarting internet superserver inetd [ OK ] | 16:32 |
cyclops | Status of DHCP server: dhcpd3 is running. | 16:33 |
alkisg | sudo apt-get install tftp-hpa (that's the client) | 16:34 |
alkisg | tftp localhost | 16:34 |
alkisg | get /ltsp/i386/pxelinux.cfg | 16:34 |
cyclops | still don't see any change in netstat -lu for tftp , not listed | 16:34 |
cyclops | I am not using ltsp. | 16:35 |
alkisg | OK, use a different test file | 16:35 |
ogra | if your PXE client looks for an address you are not even near the tftp stage | 16:35 |
alkisg | You don't see this in netstat -lu? udp 0 0 *:tftp *:* | 16:35 |
cyclops | no | 16:35 |
cyclops | am starting tftp as per the docs - easyubuntuclustering. | 16:36 |
ogra | "<cyclops> nothing , pxe is looking for dhcp server" | 16:37 |
ogra | thats what you said above | 16:38 |
cyclops | ok so then i should look 1st to dhcp3-server error, as node is still looking for dhcp. | 16:38 |
ogra | ltsp or not, if your pxe client is looking for a dhcpd that should be the first issue you solve .... | 16:38 |
cyclops | I have the dhcp-conf set to hand out fixed, no range. i will try to change to a range. | 16:40 |
ogra | woah, thats a broken guide | 16:40 |
ogra | there seems to be not a single default he doesnt set differently for no purpose at all | 16:41 |
cyclops | ogra, thanks for the info. so what scrap the installation? | 16:41 |
ogra | well, it seems to have worked for him | 16:41 |
ogra | just debugging something that was set up after suchg a guide isnt easy, since all defaults are different | 16:42 |
ogra | # /etc/default/dhcp3-server # | 16:43 |
ogra | interfaces="eth0" | 16:43 |
ogra | thats just mean | 16:43 |
ogra | #Defaults for tftp-hpa | 16:43 |
ogra | RUN_DAEMON="YES" | 16:43 |
ogra | OPTIONS="-l -s /srv/tftp" | 16:43 |
ogra | that completely contradicts with the part below | 16:43 |
ogra | your tftp cant start if its run by two daemons ... it will just clash | 16:43 |
cyclops | I 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-hpa | 16:50 |
ogra_ | (this netsplitting of freenode is annoying today) | 16:50 |
=== ogra_ is now known as ogra | ||
ogra | oh, the inetd setup surely breaks if you dont use xinetd | 16:52 |
ogra | (which isnt the default inetd in ubuntu) | 16:53 |
ogra | trying to apply xinetd configs to openbsd-inetd isnt going to work at all | 16:53 |
cyclops | ogra, so apt-get install xinetd? | 16:54 |
ogra | no | 16:55 |
ogra | use the instealled inetd | 16:55 |
ogra | just remove the cruft you added per that howto | 16:55 |
ogra | then comment in the old tftp line | 16:55 |
cyclops | ok :)...nice vocabulary. | 16:56 |
ogra | and if you really want to go with /srv/tftp change the old line from /var/lib/tftpboot to /srv/tftp | 16:56 |
cyclops | yes, doing that now. | 16:57 |
ogra | then restart openbsd-inetd | 16:58 |
ogra | i dont get why he makes you add xinetd config to /etc/inetd.conf | 16:58 |
ogra | that doesnt make any sense at all | 16:58 |
cyclops | ok restrarted inetd | 16:59 |
ogra | now try what alkisg told you | 16:59 |
cyclops | i see tftp in netstat. | 17:00 |
ogra | ah, good | 17:00 |
ogra | now to your dhcpd | 17:01 |
cyclops | ok | 17:01 |
ogra | did you revert /etc/default/dhcp3-server ? | 17:01 |
ogra | interfaces="" is the correct setting | 17:01 |
cyclops | u mean revert back to default orig? | 17:01 |
ogra | right | 17:01 |
cyclops | stndby. | 17:02 |
ogra | setting the inetrfaces line enforces dhcpd to start even if it cant serve anything ... thats a very bad thing | 17:02 |
ogra | interfaces="" makes it run a selftest so it tells you if there is actually an interface it can work on | 17:02 |
cyclops | ok have the orig back | 17:03 |
ogra | good | 17:03 |
ogra | try to restart your dhcp3-server | 17:03 |
ogra | and see if it starts up | 17:03 |
cyclops | restart - fail. | 17:04 |
ogra | right, thats what i expected | 17:04 |
ogra | paste the output of "ifconfig -a" to paste.ubuntu.com | 17:04 |
cyclops | ogra, done: http://paste.ubuntu.com/138395/plain/ | 17:06 |
ogra | looks ok so far, do you use exactly the dhcpd.conf file from the howto ? | 17:07 |
LaserJock | highvoltage: ping | 17:08 |
cyclops | I did original, but now i deleted everything below for nodes, & left a range. I could revert-though. | 17:09 |
ogra | try that | 17:10 |
ogra | also you dont have ltsp installed, right ? | 17:10 |
cyclops | sory it is already orig per ur suggestion. | 17:10 |
ogra | else the files needs to be in /etc/ltsp/ | 17:11 |
cyclops | stndby. | 17:11 |
cyclops | ogra, /etc/default/dhcp3-server & /etc/dhcp3/dhcpd.conf are orig! | 17:14 |
ogra | and you dont have ltsp-server or ltsp-server-standalone installed, right ? | 17:15 |
cyclops | correct | 17:16 |
ogra | ok, so now copy the exact file from the howto in place for /etc/dhcp3/dhcpd.conf | 17:18 |
cyclops | ok | 17:19 |
cyclops | ogra, there is a mistake with the howto conf, he is missing declaring subnet-mask. | 17:21 |
ogra | subnet 192.168.1.0 netmask 255.255.255.0 { | 17:22 |
ogra | looks ok to me | 17:22 |
cyclops | at the dns section ? | 17:22 |
ogra | # Information about the network setup | 17:22 |
cyclops | shall I try dhcp3 restart? | 17:23 |
ogra | yep | 17:23 |
ogra | it shouldnt fail | 17:23 |
cyclops | * Starting DHCP server dhcpd3 [ OK ] | 17:24 |
ogra | good | 17:24 |
ogra | you need to make sure the MAC addresses match for your nodes though | 17:24 |
ogra | else your clients wont get IPs | 17:25 |
cyclops | aw..not an easy thing with built in pxe boot on each. | 17:26 |
cyclops | what if i use etherboot? | 17:26 |
cyclops | do i still need the mac address? | 17:26 |
ogra | if you want fixed ip adresses for your nodes you always need the mac address | 17:27 |
cyclops | oh, i can be without fixed, don't think it's necessary. | 17:29 |
ogra | well, then just drop all the group stuff | 17:30 |
ogra | and add: range 192.168.1.20 192.168.1.250; | 17:30 |
alkisg | ...and also drop: deny unknown-clients; | 17:30 |
ogra | right in the subnet declaration | 17:30 |
ogra | that will serve dynamic IPs between 20 and 250 | 17:31 |
cyclops | ok, for now i added the mac, & node 1 is trying to get tftp. | 17:31 |
cyclops | it didn't get tftp. | 17:31 |
ogra | whats the error ? | 17:32 |
cyclops | a timeout. | 17:33 |
ogra | do you have all files in place in /srv/tftp | 17:33 |
ogra | pxelinux.0, pxelinux.cfg, vmlinuz and initrd.img should be in there | 17:34 |
ogra | pxelinux.cfg being a dir with a single file in it called "default" | 17:35 |
cyclops | am defaulting to 1st test scenario, with initrd.img-2.6.24-23-generic & vmlinuz-2.6.24-23-generic & pxelinux.0 | 17:35 |
ogra | pxelinux.cfg/default ? | 17:35 |
cyclops | yes | 17:35 |
ogra | and the file is configured right i assume ? | 17:36 |
cyclops | as per the howto 1st test setup | 17:37 |
ogra | try what alkisg said before | 17:38 |
ogra | tftp localhost | 17:38 |
cyclops | u mean local tftpclient? | 17:38 |
ogra | get pxelinux.cfg/default | 17:38 |
ogra | or get pxelinux.0 | 17:39 |
cyclops | from where? | 17:40 |
ogra | tftp localhost | 17:40 |
ogra | get pxelinux.0 | 17:40 |
ogra | try that | 17:40 |
ogra | after you installed tftp-pha | 17:40 |
ogra | *hpa | 17:40 |
cyclops | no get command | 17:42 |
ogra | can you elaborate ? | 17:44 |
cyclops | sorry, installed tftp-hpa, then tftp localhost, then get pxelinux.0 & transfer timed out. | 17:45 |
ogra | aha | 17:46 |
ogra | grep tftp /etc/inetd.conf ... | 17:46 |
ogra | paste the output here | 17:46 |
cyclops | tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /srv/tftpboot | 17:47 |
cyclops | aw, i see the mistake. | 17:48 |
ogra | :) | 17:49 |
cyclops | ok node 1 loading . | 17:51 |
cyclops | ok got a login prompt. | 17:52 |
ogra | good :) | 17:52 |
ogra | congrats | 17:52 |
cyclops | this is with default image, i will try with the kerrighed image-already made. | 17:52 |
cyclops | thank - mucho. | 17:53 |
ogra | enjoy | 17:55 |
cyclops | wait, i am going to reboot node to see if it works.stndby. | 17:56 |
cyclops | it 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 amended | 17:58 |
ogra | or fixed :) | 17:59 |
cyclops | might be the patched kernel wasn't built properly , I will redo it. | 18:01 |
cyclops | ogra, I have the kerrighed image booting up now on node1 | 18:05 |
ogra | good | 18:05 |
ogra | or bad, whatever kerrighed is :) | 18:06 |
cyclops | is supposed to be a replacement for openmosix using 2.6 kernels, or clustering as SSI. | 18:07 |
ogra | right, and i think there were reasons both was abandoned upstream | 18:10 |
ogra | but i dont have enough insight to judge :) | 18:10 |
cyclops | I 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!