|
chrisbirkinshaw
|
 |
« on: April 11, 2009, 12:10:27 am » |
|
I have defined an MD and clicked rebuild but it seemed to be instant. I had a snoop around the system and saw /usr/pluto/diskless does not exist. No warning is given by /usr/pluto/bin/Diskless_Setup.sh, yet nothing is created for that MD. I tried creating /usr/pluto/diskless and running the Diskless_Setup again but still nothing is created.
Has anyone seen this?
Chris
|
|
|
|
|
Logged
|
|
|
|
|
tkmedia
|
 |
« Reply #1 on: April 11, 2009, 12:22:42 am » |
|
|
|
|
|
|
Logged
|
|
|
|
|
schaferj
|
 |
« Reply #2 on: April 11, 2009, 05:40:28 am » |
|
And - give it some time, it's slow. joseph
|
|
|
|
|
Logged
|
|
|
|
|
chrisbirkinshaw
|
 |
« Reply #3 on: April 11, 2009, 07:30:08 pm » |
|
Yes, it looks like it worked, but then /usr/pluto/diskless is empty. It also seems odd that it was not created in the first place. I want to try the install again, but do I need to wipe everything or can I run the scripts again?
|
|
|
|
|
Logged
|
|
|
|
pigdog
wants to work for LinuxMCE
 
Posts: 785
|
 |
« Reply #4 on: April 11, 2009, 07:58:51 pm » |
|
Hi chrisbirkinshaw,
After you run the Diskless script boot the MD again.
If that doesn't work try the script again before re-installing.
Cheers.
|
|
|
|
|
Logged
|
|
|
|
|
ProfFalken
|
 |
« Reply #5 on: April 16, 2009, 07:35:16 pm » |
|
I can confirm that this does not work on a fresh install of LMCE-0810-alpha2. The device shows up as a media director in the web interface, however there is no data created in /usr/pluto/diskless and the reboot of the MD tries to re-run diskless_setup. I had to create /usr/pluto/diskless as root and still no joy. output from console when running Diskless_Setup.sh is as follows: 22217 Thu Apr 16 19:34:02 BST 2009 TryLock 'Diskless_Setup' (Diskless_Setup) 22217 Thu Apr 16 19:34:02 BST 2009 Lock 'Diskless_Setup' (Diskless_Setup) 22217 Thu Apr 16 19:34:02 BST 2009 Lock 'Diskless_Setup' (Diskless_Setup) success 22217 Thu Apr 16 19:34:02 BST 2009 TryLock 'Diskless_Setup' (Diskless_Setup) success Getting list of Media Directors 22302 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP.sh) 22302 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP.sh) success 22302 Thu Apr 16 19:34:02 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP.sh) 22302 Thu Apr 16 19:34:02 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP.sh) success 22217 Thu Apr 16 19:34:02 BST 2009 Unlock 'Diskless_Setup' (Diskless_Setup) 22217 Thu Apr 16 19:34:02 BST 2009 Unlock 'Diskless_Setup' (Diskless_Setup) success dcerouter_112298:~# 22313 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP_config) 22313 Thu Apr 16 19:34:02 BST 2009 WaitLock 'PlutoDHCP' (PlutoDHCP_config) success Device 1 has bad mac address * Stopping DHCP server dhcpd3 [ OK ] * Starting DHCP server dhcpd3 [ OK ] 22313 Thu Apr 16 19:34:07 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP_config) 22313 Thu Apr 16 19:34:07 BST 2009 Unlock 'PlutoDHCP' (PlutoDHCP_config) success
Hope that's of some use.
|
|
|
|
|
Logged
|
|
|
|
|
chrisbirkinshaw
|
 |
« Reply #6 on: April 16, 2009, 07:46:19 pm » |
|
I also tried booting an MD and letting it auto create, rather than use the web interface, however I get a "unable to load config file" from the PXE boot.
|
|
|
|
|
Logged
|
|
|
|
pigdog
wants to work for LinuxMCE
 
Posts: 785
|
 |
« Reply #7 on: April 16, 2009, 07:50:48 pm » |
|
Hi,
Just curious. Did you get the "we announce ourselves to the router" message?
|
|
|
|
|
Logged
|
|
|
|
|
chrisbirkinshaw
|
 |
« Reply #8 on: April 16, 2009, 07:56:50 pm » |
|
Doesn't even PXE boot. PXE fails to get a config file. I have to dash out but can debug it over the weekend.
|
|
|
|
|
Logged
|
|
|
|
|
ProfFalken
|
 |
« Reply #9 on: April 16, 2009, 07:58:08 pm » |
|
pigdog,
I get the "we announce ourselves to the router" message however it immediately tries to run the Diskless_Setup.sh and then fails regardless of how many times I've tried to rebuild the disk image.
|
|
|
|
|
Logged
|
|
|
|
pigdog
wants to work for LinuxMCE
 
Posts: 785
|
 |
« Reply #10 on: April 16, 2009, 08:06:53 pm » |
|
Hi ProfFalken,
If I remember correctly I think one of my MD's did something like this.
Was an entry created in webadmin but mostly blank?
|
|
|
|
|
Logged
|
|
|
|
pigdog
wants to work for LinuxMCE
 
Posts: 785
|
 |
« Reply #11 on: April 16, 2009, 08:09:36 pm » |
|
Hi chrisbirkinshaw,
If it doesn't PXE boot check your BIOS settings.
If it tries to PXE boot you get a DHCP message with MAC addresses and stuff, then some messages.
Do you get at least that far?
Cheers.
|
|
|
|
|
Logged
|
|
|
|
|
ProfFalken
|
 |
« Reply #12 on: April 16, 2009, 08:12:55 pm » |
|
PigDog,
Yup, I've just noticed that there's no information for this MD apart from the following:
Diskless boot Architecture Extra Parameters Override Model Last Update Release IP MAC
Is it worth deleting the MD from the webadmin and retrying the addition process?
PF.
|
|
|
|
|
Logged
|
|
|
|
|
tkmedia
|
 |
« Reply #13 on: April 16, 2009, 08:22:26 pm » |
|
Ok here's how it works currently. for me at least.
If you boot a MD from a fresh install. It will not pxe boot, it fails looking for a config file iirc. If you run /usr/pluto/bin/Diskless_BuildDefaultImage.sh
It should now enable the pc's to boot. You should see announce to router
Alot of MD's will fail while running the Diskless Setup ..... this is due to the lack of a 64bit diskless image.
After the diskless failure you will have an entry for the new MD in web admin.
Change the Arc to i386 select update, then press the rebuild image button. Once finished the web admin will say so.
At this point the directory structure should exist for that MD.
Follow the 0810 MD instructions regarding the password and updating of drivers.
HTH
Tim
|
|
|
|
« Last Edit: April 16, 2009, 10:40:25 pm by tkmedia »
|
Logged
|
|
|
|
pigdog
wants to work for LinuxMCE
 
Posts: 785
|
 |
« Reply #14 on: April 16, 2009, 08:24:36 pm » |
|
Yes,
To agree with tkmedia, he was faster with the post.
Hope this works for you.
|
|
|
|
|
Logged
|
|
|
|
|