TurnKey Linux Virtual Appliance Library

Wordpress image problems

First of all, thank you for putting these images together. It saves a lot of time and simplifies installations for the inexperienced.

Now the bad news. After a fresh install in a VPS.NET node, I've had some problems with your Wordpress and Drupal images.

 

1) You say that the default credentials for MySQL and phpMyAdmin are "username root, no password (user sets password during installation)". In my case, they are not and I can't even change anything at all.

 

I visit [mydomain:port] to access phpMyAdmin. Using username root and no password, as you suggest, I can't log in. Admin and no password works but when I go from Home to "Change Password", another error comes up.

#1044 - Access denied for user ''@'localhost' to database 'mysql'

 

Clicking "MySQL Database Server - Global Options - User Permissions" from Webmin, I get this:

DBI connect failed : Access denied for user ''@'localhost' to database 'mysql'
 


Next stop, "MySQL Database Server - Global Options - Change Administration Password" and I see:

Administration login     admin
Current password     No password!

 

Fine, let's put one. I enter a  password and the result is:

Failed to change administration password : DBI connect failed : Access denied for user ''@'localhost' to database 'mysql'

 

2) I'm trying to find the option to protect web directories from Webmin's interface. There is nowhere to be found, unless if I didn't look hard enough. But I found it in the Webmin demo, in "Others - Protected Web Directories". There is no "Others" menu in your image.

 

3) There is always a difference between the real free memory reported in Webmin and the console. I hit refresh in Webmin's sidebar, input "free" via SSH at the same time and the results are different. Webmin always reports more free memory. The percentage of the difference varies from 15% (Wordpress image) to 70% (a fresh Drupal image I tested earlier). The node has absolutely no load at all.

 

Thank you in avance for any help. :)

 

P.S.: Maybe thematic forums (according to image) would be easier?  The current format is not very handy.

Jeremy's picture

Assuming that ISOs are used to install

1) The reference to "no password" doesn't mean that there is no password, it means that there is no password until it is set at install so either you set it and didn't realise or when it was installed for you (not sure how the VPS.NET thing works) someone has entered a password (and you'll need to get it from your host. (I think the VM image files do have preset default passwords so that may be a different story).

2) Not sure even quite what you mean here....

3) No idea at all here either, sorry (not all that helpful am I!?) I have also noticed discrepancies between Webmin's reporting, inside my TKL servers and external to my servers (I have my servers running inside OpenVZ containers). I have never really worried about it although I can understand why others may.

Hopefully someone else will be along shortly with some more answers for you.

Redundant

I see no option to delete.

Clarifications

1) I didn't set anything at all. I wrote "fresh install". There are no questions during the installation in VPS.NET; they just generate a root password which you can change later (I did).

The problem is that phpMyAdmin's admin password is blank and cannot be changed from Webmin or phpMyAdmin. Also user permissions for MySQL are inaccessible from Webmin.

2) Webmin has an option to protect directories. Turnkey's Webmin doesn't. The relevant option seems to be missing.

3) It's very odd, since Webmin is supposed to source its data from the same server. When Webmin says that real free memory is 80 Mb for example and the free command reports 30 Mb, something is very wrong. I don't know if this has to do with Webmin in general or the custom Webmin in Turnkey images.

Major problem renders Turnkey images unusable in VPS.NET

According to VPS.NET "the new turnkey images seem to still experience the dread 11s timeout, this is a ubuntu/debian issue on the 32 bits kernel on a virtualized environment, not caused by vps.net". Many customers have the same problems.

http://www.vps.net/forum/10858-post16

My console output:

81483.303572]  =======================                                        
[81495.055717] BUG: soft lockup - CPU#1 stuck for 11s! [apache2:11021]         
[81495.055727]                                                                 
[81495.055731] Pid: 11021, comm: apache2 Tainted: G      D (2.6.24-24-xen #1)  
[81495.055735] EIP: 0061:[<c03285ba>] EFLAGS: 00200282 CPU: 1                  
[81495.055744] EIP is at _spin_lock+0xa/0x10                                   
[81495.055746] EAX: c1752dcc EBX: 00000000 ECX: c1752dc0 EDX: 00000968         
[81495.055749] ESI: 06cf8067 EDI: 00000004 EBP: c0477158 ESP: c1115de4         
[81495.055752]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069                   
[81495.055757] CR0: 80050033 CR2: b752db20 CR3: 0e187000 CR4: 00002620         
[81495.055761] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000         
[81495.055764] DR6: ffff0ff0 DR7: 00000000                                     
[81495.055767]  [<c016bd88>] __do_fault+0x3b8/0x6b0                            
[81495.055777]  [<c0130a87>] lock_timer_base+0x27/0x60                         
[81495.055783]  [<c0170d53>] handle_mm_fault+0x223/0x1360                      
[81495.055788]  [<c02aacac>] sk_reset_timer+0xc/0x20                           
[81495.055793]  [<c0185595>] do_sync_read+0xd5/0x120                           
[81495.055801]  [<c032a14e>] do_page_fault+0x35e/0xe70                         
[81495.055807]  [<c019bc33>] mntput_no_expire+0x13/0x70                        
[81495.055814]  [<c01837d9>] filp_close+0x49/0x80                              
[81495.055818]  [<c0329df0>] do_page_fault+0x0/0xe70                           
[81495.055821]  [<c0328a95>] error_code+0x35/0x40                              
[81495.055826]  =======================       

The install was fresh and the uptime was just a few hours.

Unfortunately, given the situation, Turnkey images are unusable in such conditions.

Liraz Siri's picture

Trying to work with VPS.NET to resolve these issues

Thanks for the feedback. For what it's worth, we've been working with VPS.NET to try to get to the bottom of this and resolve these issues. The problem seems to be triggered by the combination of the Ubuntu kernel version and the version of the Xen hypervisor VPS.NET are using.

Unfortunately this is completely out of our control. We don't build our own kernels, it's a standard Ubuntu kernel. We also don't control or even have access to VPS.NET's Xen configuration so we can't investigate directly. We've talked to their engineering team and suggested a few ideas. We also offered them a commercial support package which would cover this sort of thing but they seem to prefer to handle this in-house.

Note, we've had some successful experiments with other providers such as GigaTux and XLS hosting which haven't reported these issues.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)