Almost Over.

base : Turnkey core lucid

Currently i have some problem with phpmyadmin on port 12322

If someone is able to find the mistake , please help me .

 

Now every problem is solved ........

 

http://<ip>

PHPMyadmin - https://<ip>:12322

Forum: 

If LAMP for lucid is ready , i can use it as base for other appliances :)

Jeremy Davis's picture

That's nice. Now anyone who wishes to base appliances on Lucid Core can nest this patch in their LAMP based patch. The beauty of this is if TKL devs tweak the official TKL LAMP it shouldn't matter and they don't have to pull apart a patch that includes LAMP stuff as well as something else! Good work Basil.

[update] I've just tried patching Lucid Core with your patch and a couple of issues (not big ones though):
  • Firstly I don't think TKLPatch liked the patch in .zip format:
extracting patch LAMP.zip to /tmp/tmp.hOuTvioEHq
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

I repackaged it as .tar.gz and it started fine.

  • The patch is erroring out for me (just one file though):
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Does your patch use file(s) not within the repos that are enabled in TKL by default? I'll have a bit more of a look...

[update again] Turns out my error was caused by a corrupted file on my local Lucid mirror (I use a custom sources.list, same as default, but includes my local Ubuntu mirror listed higher than the default Ubuntu repo). I reverted to default Ubuntu repos and patch completed fine. There were some warnings but obviously not critical:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Thu Aug 12 15:23:44 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

Obviously not show stoppers and I'm sure for my purposes it'll be fine.

I just downloaded the zip file and extracted it ... here i 'm having no problem with the zip format .

Also i didn't used anything outside the repo .

As far as i know , the apt-get in lucid-core having some problem , sometimes it works , sometimes it won't.

just try one more time . i 'm sure , it will work.

The error may caused because of an invalid entry in resolv.conf

JedMeister , a new archive added .Please check that

Jeremy Davis's picture

Not sure whats happening with the zip, wonder why it works for you and not me? I'm doing all this within TKL Core Lucid with only an 'apt-get upgrade' and tklpatch installed. I only tried once and then repackaged as .tar.gz and it worked ok.

In case you missed my edited post above, it was a corrupted file on my mirror that was the problem.

I'll try to have a look tomorrow. Its very late now here and I have to go to sleep...

Goodnight ZZzzz...

I'll update the patch tommorow ,and will  upload it here ........

 

JedMeister , Thanks for checking !

Jeremy Davis's picture

Basil, from your post above:

I just downloaded the zip file and extracted it ... here i 'm having no problem with the zip format .

So you are extracting first? Then patching using the extracted patch? I reckon thats it then. If its in .tar.gz format you can use it as it is (no need to extract the patch first). Just like this:

tklpatch-apply tkl.iso patch.tar.gz

Could that be it do you think?

[update] Oops, I just noticed that you've removed the zip so I guess thats irrelevant now. I'll test shortly and report back.

so tar.gz  can be used for patching iso ?? that i didn't know.

What i mean is that , just extract the zip or tarball and run it as

tklpatch turnkey.iso LAMP_Patch_folder

Jeremy Davis's picture

Its all clear now. So your .zip patches probably would've worked fine, but I think having them packaged as .tar.gz is preferable and removes a step, so that's got to be good!

Thanks for uploading a new patch. Sorry I haven't had a chance to test it yet. I'll hopefully get to it in the next few days. I'm still a bit of a newb but I'll have a look at the phpMyAdmin issue too (although don't hold your breath).

PS I hope you don''t mind I edited some of your posts to take out extra line breaks (& fixed a minor typo).

The problem with phpmyadmin is solved , now everything is fine.

Jeremy Davis's picture

If I click on the LAMP.tar.gz link above it just opens in my browser as gibberish. (The address is http://www.turnkeylinux.org/files/attachments/LAMP.tar_1.gz)

Instead, if I 'Save as...' it defaults to saving a file called LAMP.tar_1.gz (as the address above would suggest.
If I 'Extract here' (using default Ubuntu Lucid 'right-click') I get a new file called LAMP.tar_1
If I open that in Archive Manager (File Roller 2.30) I can see a 30kb file/folder called LAMP but if I try to extract it I get "An error occurred while extracting files."
 
I also tried 'Save as...' and renamed the file to LAMP.tar.gz but it won't even open. I just get:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
 
Can you please try uploading again please? If a zip is easier, that's ok. Cheers

Reuploaded !!

Jeremy Davis's picture

Thanks Basil. Looks good. I just donwloaded and it saved and opened fine. I haven't actually fully tested it yet but will do a bit later.

* Install the turnkey core lucid on a VM

* apt-get update

* apt-get install tklpatch

* copy the downloaded patch and turnkey-core-lucid.iso  to /root

* route add defaults gw <your_network_gatweway>  (turnkey core lucid have some problem with dhcp client). Before continuing , check whether you can successfully ping google.com

* tklpatch turnkey-core-lucid.iso orange_hrm_patch_folder

Patch reuploaded in .tar.gz format

@ JedMeister

Actually i wasn't aware of that nesting of patches , Thanks a lot for the inforamation

Jeremy Davis's picture

Sorry I always seem to be saying "Oh Basil, just one more thing..." :) I'm glad you take it so well! (Obviously you realise I mean no offense).

smiley

Add new comment