kalamuna / kalaboxv1

NodeJS frontend sex to kalastack
MIT License
28 stars 9 forks source link

Make sure terminatur_keys() exists by checking for correct terminatur version before calling it #78

Open kjwaddel opened 10 years ago

kjwaddel commented 10 years ago

Hi, have been having issues with Kalabox not being able to connect to the internet. I found this issue: https://github.com/kalamuna/kalabox/issues/47 and was in the process of uninstalling and reinstalling on the admin account but I got an error (that is too long to paste in here). I tried uninstalling and reinstalling one more time before posting this and got the same result.

Here is the beginning of the error log:

Kalabox Log

2014-07-18T20:55:43.545Z - info: Box initialized. 2014-07-18T20:55:43.546Z - info: Kalabox Version: 1.0-beta6 2014-07-18T20:55:43.546Z - info: Mac OS Version: 10.7.5

2014-07-18T20:55:43.546Z - info: VirtualBox Version: 4.3.6r91406

2014-07-18T20:55:43.546Z - info: Vagrant Version: Vagrant 1.4.3

2014-07-18T20:55:58.173Z - info: Existing VirtualBox installation, version 4.3.6 2014-07-18T20:55:58.174Z - info: Existing Vagrant installation, version 1.4.3 2014-07-18T21:03:17.187Z - info: Box image downloaded. 2014-07-18T21:03:18.503Z - info: Installing Vagrant plugin vagrant-hostsupdater 2014-07-18T21:03:19.327Z - info: Kalastack downloaded 2014-07-18T21:03:19.327Z - info: Installing Vagrant plugin vagrant-hostsupdater 2014-07-18T21:03:30.345Z - info: Adding base box image to Vagrant. 2014-07-18T21:03:40.132Z - info: Wrote configuration file. 2014-07-18T21:03:40.500Z - info: Executing box spinup. 2014-07-18T21:03:40.839Z - info: Starting spinup attempt 0 2014-07-18T21:04:39.576Z - warn: Spinup attempt 0 failed with error: Command failed: The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

Thanks Keith

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3193783-make-sure-terminatur_keys-exists-by-checking-for-correct-terminatur-version-before-calling-it?utm_campaign=plugin&utm_content=tracker%2F1250748&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1250748&utm_medium=issues&utm_source=github).
pirog commented 10 years ago

Do you have the exact error that you are getting when it cant connect? I would def try to pate the whole log in here if you can!

kjwaddel commented 10 years ago

I put it in a gist: https://gist.github.com/kjwaddel/f9f928ca8d07c5693f38

pirog commented 10 years ago

Ok interesting. There are a couple possible things here.

  1. Are you logged in as an admin user on your mac? do you have a password for that user? Are you being prompted for it and are you entering it correctly?
  2. Are you behind a firewall or do you have your mac firewall turned on?
kjwaddel commented 10 years ago

Ah, I don't use that account very often so I forgot to turn off the firewall. The account is an admin, I have the pw but I'm not being prompted for it.

I'll turn the firewall off and see if that changes anything.

pirog commented 10 years ago

Sounds good! I think that can def mess things up.

If you aren't being prompted for the password you can always open up keychain and see if there is an entry for "kalabox" in there with the correct password.

On Mon, Jul 21, 2014 at 7:56 PM, kjwaddel notifications@github.com wrote:

Ah, I don't use that account very often so I forgot to turn off the firewall. The account is an admin, I have the pw but I'm not being prompted for it.

I'll turn the firewall off and see if that changes anything.

— Reply to this email directly or view it on GitHub https://github.com/kalamuna/kalabox/issues/78#issuecomment-49681960.

Cheers,

Mike Pirog Kalamuna www.kalamuna.com

pirog commented 10 years ago

@kjwaddel did this seem to resolve your issue?

kjwaddel commented 10 years ago

Sorry for not getting back to you sooner. No it didn't. I had the same error popup. Here's the gist for it in case it give any more info: https://gist.github.com/kjwaddel/83197b4d1f5a05542ef2

rovo79 commented 10 years ago

I am having the same problems. I've disabled my firewall already. I've checked the keychain has the password entered. I'm a bit stuck now.

Kalabox Log

2014-05-14T15:16:02.053Z - info: Box initialized. 2014-05-14T15:16:02.055Z - info: Kalabox Version: 1.0-beta5 2014-05-14T15:16:02.056Z - info: Mac OS Version: 10.9.2

2014-05-14T15:16:02.056Z - info: VirtualBox Version: false 2014-05-14T15:16:02.056Z - info: Vagrant Version: false 2014-05-14T15:16:14.959Z - info: User accepted license. 2014-05-14T15:16:22.543Z - info: VirtualBox not installed or wrong version. Installing. 2014-05-14T15:16:22.543Z - info: User granted permission to install VirtualBox 2014-05-14T15:20:05.020Z - info: Successfully downloaded VirtualBox DMG. 2014-05-14T15:20:19.420Z - info: Successfully mounted VirtualBox DMG. 2014-05-14T15:20:55.969Z - info: VirtualBox installation complete. 2014-05-14T15:20:56.412Z - info: Successfully ejected VirtualBox DMG. 2014-05-14T15:20:56.418Z - info: Vagrant not installed or wrong version. Installing. 2014-05-14T15:20:56.419Z - info: User granted permission to install Vagrant 2014-05-14T15:21:51.241Z - info: Successfully downloaded Vagrant DMG. 2014-05-14T15:21:54.187Z - info: Successfully mounted Vagrant DMG. 2014-05-14T15:22:00.248Z - info: Vagrant installation complete. 2014-05-14T15:22:00.354Z - info: Successfully ejected Vagrant DMG. 2014-05-14T15:26:12.039Z - info: Box image downloaded. 2014-05-14T15:26:13.240Z - info: Installing Vagrant plugin vagrant-hostsupdater 2014-05-14T15:26:14.890Z - info: Kalastack downloaded 2014-05-14T15:26:14.891Z - info: Installing Vagrant plugin vagrant-hostsupdater 2014-05-14T15:26:42.570Z - info: Adding base box image to Vagrant. 2014-05-14T15:26:47.581Z - info: Wrote configuration file. 2014-05-14T15:26:47.673Z - info: Executing box spinup. 2014-05-14T15:26:47.716Z - info: Starting spinup attempt 0 2014-05-14T15:38:21.425Z - info: Box initialized. 2014-05-14T15:38:21.425Z - info: Kalabox Version: 1.0-beta5 2014-05-14T15:38:21.425Z - info: Mac OS Version: 10.9.2

2014-05-14T15:38:21.428Z - info: VirtualBox Version: 4.3.6r91406

2014-05-14T15:38:21.428Z - info: Vagrant Version: Vagrant 1.4.3

2014-05-14T15:38:21.428Z - info: Installation completed successfully. 2014-08-04T13:12:27.589Z - info: Box initialized. 2014-08-04T13:12:27.591Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:12:27.591Z - info: Mac OS Version: 10.9.3

2014-08-04T13:12:27.591Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:12:27.591Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:13:29.402Z - warn: Command failed: Identity added: /Users/rob/.ssh/id_rsa (/Users/rob/.ssh/id_rsa) SSH connection was refused! This usually happens if the VM failed to boot properly. Some steps to try to fix this: First, try reloading your VM with vagrant reload, since a simple restart sometimes fixes things. If that doesn't work, destroy your VM and recreate it with a vagrant destroy followed by a vagrant up. If that doesn't work, contact a Vagrant maintainer (support channels listed on the website) for more assistance.

2014-08-04T13:20:26.246Z - info: Box initialized. 2014-08-04T13:20:26.247Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:20:26.247Z - info: Mac OS Version: 10.9.3

2014-08-04T13:20:26.247Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:20:26.247Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:21:56.392Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.9KXeZS/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:25:57.088Z - info: Box initialized. 2014-08-04T13:25:57.089Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:25:57.090Z - info: Mac OS Version: 10.9.3

2014-08-04T13:25:57.090Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:25:57.090Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:27:00.010Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.PEKZYI/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:27:14.036Z - info: Box initialized. 2014-08-04T13:27:14.037Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:27:14.038Z - info: Mac OS Version: 10.9.3

2014-08-04T13:27:14.038Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:27:14.038Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:27:48.273Z - warn: Box has no Internet connection. 2014-08-04T13:28:13.289Z - warn: Box has no Internet connection. 2014-08-04T13:29:32.993Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.Vtb09g/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:30:40.748Z - info: Box initialized. 2014-08-04T13:30:40.750Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:30:40.750Z - info: Mac OS Version: 10.9.3

2014-08-04T13:30:40.750Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:30:40.750Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:30:58.301Z - warn: Box has no Internet connection. 2014-08-04T13:31:25.215Z - info: Box initialized. 2014-08-04T13:31:25.216Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:31:25.216Z - info: Mac OS Version: 10.9.3

2014-08-04T13:31:25.217Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:31:25.217Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:32:29.210Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.5BuojR/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:40:30.509Z - info: Box initialized. 2014-08-04T13:40:30.510Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:40:30.510Z - info: Mac OS Version: 10.9.3

2014-08-04T13:40:30.510Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:40:30.510Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:40:48.869Z - warn: Box has no Internet connection. 2014-08-04T13:44:18.207Z - info: Box initialized. 2014-08-04T13:44:18.208Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:44:18.209Z - info: Mac OS Version: 10.9.3

2014-08-04T13:44:18.209Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:44:18.209Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:45:29.358Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.mwZVif/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:46:12.989Z - info: Box initialized. 2014-08-04T13:46:12.990Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:46:12.990Z - info: Mac OS Version: 10.9.3

2014-08-04T13:46:12.990Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:46:12.990Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:46:52.918Z - warn: Box has no Internet connection. 2014-08-04T13:47:20.854Z - warn: Box has no Internet connection. 2014-08-04T13:53:00.654Z - warn: Box has no Internet connection. 2014-08-04T13:53:57.258Z - info: Box initialized. 2014-08-04T13:53:57.260Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:53:57.260Z - info: Mac OS Version: 10.9.3

2014-08-04T13:53:57.260Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:53:57.260Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:54:57.558Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.wqFKfI/kalabox/box.js:168:108', mapping: { description: 'tail' } } ] 2014-08-04T13:55:09.556Z - info: Box initialized. 2014-08-04T13:55:09.557Z - info: Kalabox Version: 1.0-beta7 2014-08-04T13:55:09.558Z - info: Mac OS Version: 10.9.3

2014-08-04T13:55:09.558Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T13:55:09.558Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T13:56:19.887Z - warn: Box has no Internet connection. 2014-08-04T13:57:42.322Z - warn: Box has no Internet connection. 2014-08-04T14:14:22.083Z - warn: Box has no Internet connection. 2014-08-04T14:20:00.891Z - warn: Box has no Internet connection. 2014-08-04T14:23:24.393Z - error: An error occurred in an async call. cause stack is ... Error: Command failed: PHP Fatal error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code on line 1 PHP Stack trace: PHP 1. {main}() /usr/share/drush/drush.php:0 PHP 2. drush_main() /usr/share/drush/drush.php:16 PHP 3. _drush_bootstrap_and_dispatch() /usr/share/drush/drush.php:61 PHP 4. drush_dispatch() /usr/share/drush/drush.php:92 PHP 5. call_user_func_array() /usr/share/drush/includes/command.inc:175 PHP 6. drush_command() /usr/share/drush/includes/command.inc:0 PHP 7. _drush_invoke_hooks() /usr/share/drush/includes/command.inc:208 PHP 8. call_user_func_array() /usr/share/drush/includes/command.inc:334 PHP 9. drush_core_php_eval() /usr/share/drush/includes/command.inc:0 PHP 10. eval() /usr/share/drush/commands/core/core.drush.inc:1047 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function _terminatur_keys() in /usr/share/drush/commands/core/core.drush.inc(1047) : eval()'d code, line 1

at ChildProcess.exithandler (child_process.js:661:12)
at ChildProcess.EventEmitter.emit (events.js:101:17)
at maybeClose (child_process.js:773:16)
at Socket.eval (child_process.js:994:11)
at Socket.EventEmitter.emit (events.js:98:17)
at Pipe.eval [as close] (net.js:459:12)

async call history is ... [ { function: 'startBox4', location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.WfJyXS/kalabox/box.js:168:108', mapping: { description: 'tail' } } ]

pirog commented 10 years ago

I see you upgraded from Beta5 to either Beta7 or Beta8. It's possible the upgrade pathway does not work from that far back.

What i would do to resolve the issue is to download the latest kalasack from here https://github.com/kalamuna/kalastack/releases/tag/3.0-beta5 and extract it into ~/.kalabox/kalastack so that the Vagrantfile exists at ~/.kalabox/kalastack/Vagrantfile. After doing that try to restart the box.

pirog commented 10 years ago

@reynoldsalec i think the issue here is older versions of the box don't have terminatur_keys() and its being called re: #69 before updates can run. We might just want to check to see if the terminatur version is high enough before we try to run that stuff.

rovo79 commented 10 years ago

I've downloaded the kalasack and replaced the kalastack folder with it. Rebooted my machine, started Kalabox back up, but now just get this generic error popup when I go to the configure tab and try to connect to Pantheon. screen shot 2014-08-05 at 2 22 35 pm

pirog commented 10 years ago

are you able to restart (ie stop then start) kalabox?

can you SSH into the box and run the below command? what is the output?

curl --connect-timeout 5 http://google.com

rovo79 commented 10 years ago

​Hello, I am able to restart Kalabox, and I can SSH into it, but I can't CURL to google.com curl: (6) name lookup timed out​

On Tue, Aug 5, 2014 at 7:51 PM, Mike Pirog notifications@github.com wrote:

are you able to restart (ie stop then start) kalabox?

can you SSH into the box and run the below command? what is the output?

curl --connect-timeout 5 http://google.com

— Reply to this email directly or view it on GitHub https://github.com/kalamuna/kalabox/issues/78#issuecomment-51276300.

pirog commented 10 years ago

very strange. what happens when you curl --connect-timeout 5 http://google.com from just your Mac terminal, not inside Kalabox?

Are you running anything that may prevent the Kalabox VM from connecting to the internet or resolving DNS?

rovo79 commented 10 years ago

When I CURL from my Mac Terminal I receive this:

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>

As for prevention/blocking, I had completely disabled my Mac Firewall while testing Kalabox.

pirog commented 10 years ago

Ok... that is all normal...

Can you open up virtualbox and post a screen shot of the Kalabox config?

pirog commented 10 years ago

should look something like this screen shot 2014-08-13 at 11 28 56 am

rovo79 commented 10 years ago

I don't have that. I think it's one of the errors I get.

### Kalabox Log ###

2014-08-04T15:07:31.637Z - info: Box initialized.
2014-08-04T15:07:31.639Z - info: Kalabox Version: 1.0-beta7
2014-08-04T15:07:31.640Z - info: Mac OS Version: 10.9.3

2014-08-04T15:07:31.640Z - info: VirtualBox Version: false
2014-08-04T15:07:31.640Z - info: Vagrant Version: false
2014-08-04T15:07:35.707Z - info: VirtualBox not installed or wrong version. Installing.
2014-08-04T15:07:35.707Z - info: User granted permission to install VirtualBox
2014-08-04T15:12:24.310Z - info: Box initialized.
2014-08-04T15:12:24.312Z - info: Kalabox Version: 1.0-beta7
2014-08-04T15:12:24.313Z - info: Mac OS Version: 10.9.3

2014-08-04T15:12:24.313Z - info: VirtualBox Version: false
2014-08-04T15:12:24.313Z - info: Vagrant Version: false
2014-08-04T15:12:31.725Z - info: VirtualBox not installed or wrong version. Installing.
2014-08-04T15:12:31.726Z - info: User granted permission to install VirtualBox
2014-08-04T15:17:43.653Z - info: Successfully downloaded VirtualBox DMG.
2014-08-04T15:17:57.205Z - info: Successfully mounted VirtualBox DMG.
2014-08-04T15:18:15.757Z - info: VirtualBox installation complete.
2014-08-04T15:18:15.838Z - info: Successfully ejected VirtualBox DMG.
2014-08-04T15:18:15.838Z - info: Vagrant not installed or wrong version. Installing.
2014-08-04T15:18:15.839Z - info: User granted permission to install Vagrant
2014-08-04T15:19:51.367Z - info: Successfully downloaded Vagrant DMG.
2014-08-04T15:19:55.104Z - info: Successfully mounted Vagrant DMG.
2014-08-04T15:20:05.368Z - info: Vagrant installation complete.
2014-08-04T15:20:05.426Z - info: Successfully ejected Vagrant DMG.
2014-08-04T15:30:37.989Z - info: Box image downloaded.
2014-08-04T15:30:40.972Z - info: Installing Vagrant plugin vagrant-hostsupdater
2014-08-04T15:30:41.921Z - info: Kalastack downloaded
2014-08-04T15:30:41.922Z - info: Installing Vagrant plugin vagrant-hostsupdater
2014-08-04T15:30:51.058Z - info: Adding base box image to Vagrant.
2014-08-04T15:30:53.687Z - info: Wrote configuration file.
2014-08-04T15:30:53.726Z - info: Executing box spinup.
2014-08-04T15:30:53.766Z - info: Starting spinup attempt 0
2014-08-04T15:46:08.600Z - info: Box initialized.
2014-08-04T15:46:08.608Z - info: Kalabox Version: 1.0-beta7
2014-08-04T15:46:08.609Z - info: Mac OS Version: 10.9.3

2014-08-04T15:46:08.609Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T15:46:08.609Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T15:46:08.610Z - info: Installation completed successfully.
2014-08-04T15:46:09.423Z - info: Existing VirtualBox installation, version 4.3.6
2014-08-04T15:46:09.424Z - info: Existing Vagrant installation, version 1.4.3
2014-08-04T15:46:09.437Z - info: Kalabox image already downloaded.
2014-08-04T15:46:09.438Z - info: Box image downloaded.
2014-08-04T15:46:09.439Z - info: Kalastack already downloaded
2014-08-04T15:46:09.440Z - info: Installing Vagrant plugin vagrant-hostsupdater
2014-08-04T15:46:10.351Z - info: Kalastack downloaded
2014-08-04T15:46:10.354Z - info: Installing Vagrant plugin vagrant-hostsupdater
2014-08-04T15:46:19.100Z - info: Wrote configuration file.
2014-08-04T15:46:19.133Z - info: Executing box spinup.
2014-08-04T15:46:19.169Z - info: Starting spinup attempt 0
2014-08-04T15:46:21.337Z - info: Box initialized.
2014-08-04T15:46:21.337Z - info: Kalabox Version: 1.0-beta7
2014-08-04T15:46:21.338Z - info: Mac OS Version: 10.9.3

2014-08-04T15:46:21.338Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T15:46:21.338Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T15:46:21.338Z - info: Installation completed successfully.
2014-08-04T15:46:32.269Z - warn: Box has no Internet connection.
2014-08-04T15:58:50.452Z - warn: Box has no Internet connection.
2014-08-04T15:59:00.378Z - warn: Box has no Internet connection.
2014-08-04T16:01:53.770Z - warn: Box has no Internet connection.
2014-08-04T16:02:23.823Z - info: Box initialized.
2014-08-04T16:02:23.824Z - info: Kalabox Version: 1.0-beta7
2014-08-04T16:02:23.825Z - info: Mac OS Version: 10.9.3

2014-08-04T16:02:23.825Z - info: VirtualBox Version: 4.3.6r91406

2014-08-04T16:02:23.825Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-04T16:03:36.470Z - warn: Box has no Internet connection.
2014-08-05T18:14:23.634Z - info: Box initialized.
2014-08-05T18:14:23.635Z - info: Kalabox Version: 1.0-beta7
2014-08-05T18:14:23.635Z - info: Mac OS Version: 10.9.3

2014-08-05T18:14:23.635Z - info: VirtualBox Version: 4.3.6r91406

2014-08-05T18:14:23.635Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-05T18:15:00.304Z - warn: Box has no Internet connection.
2014-08-05T18:18:17.426Z - info: Box initialized.
2014-08-05T18:18:17.427Z - info: Kalabox Version: 1.0-beta7
2014-08-05T18:18:17.427Z - info: Mac OS Version: 10.9.3

2014-08-05T18:18:17.427Z - info: VirtualBox Version: 4.3.6r91406

2014-08-05T18:18:17.427Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-05T18:21:17.510Z - warn: Box has no Internet connection.
2014-08-05T18:22:26.534Z - warn: Box has no Internet connection.
2014-08-05T18:26:03.701Z - warn: Box has no Internet connection.
2014-08-05T18:27:12.084Z - warn: Box has no Internet connection.
2014-08-05T18:59:03.282Z - info: Box initialized.
2014-08-05T18:59:03.284Z - info: Kalabox Version: 1.0-beta7
2014-08-05T18:59:03.284Z - info: Mac OS Version: 10.9.3

2014-08-05T18:59:03.284Z - info: VirtualBox Version: 4.3.6r91406

2014-08-05T18:59:03.284Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-05T19:01:20.653Z - warn: Box has no Internet connection.
2014-08-05T19:02:13.920Z - info: Box initialized.
2014-08-05T19:02:13.922Z - info: Kalabox Version: 1.0-beta7
2014-08-05T19:02:13.922Z - info: Mac OS Version: 10.9.3

2014-08-05T19:02:13.922Z - info: VirtualBox Version: 4.3.6r91406

2014-08-05T19:02:13.922Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-05T19:04:12.553Z - warn: Box has no Internet connection.
2014-08-05T19:05:26.351Z - info: Box initialized.
2014-08-05T19:05:26.353Z - info: Kalabox Version: 1.0-beta7
2014-08-05T19:05:26.353Z - info: Mac OS Version: 10.9.3

2014-08-05T19:05:26.353Z - info: VirtualBox Version: 4.3.6r91406

2014-08-05T19:05:26.353Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-06T13:24:25.426Z - info: Box initialized.
2014-08-06T13:24:25.428Z - info: Kalabox Version: 1.0-beta7
2014-08-06T13:24:25.429Z - info: Mac OS Version: 10.9.3

2014-08-06T13:24:25.429Z - info: VirtualBox Version: 4.3.6r91406

2014-08-06T13:24:25.429Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-13T00:52:56.637Z - info: Box initialized.
2014-08-13T00:52:56.638Z - info: Kalabox Version: 1.0-beta7
2014-08-13T00:52:56.639Z - info: Mac OS Version: 10.9.3

2014-08-13T00:52:56.639Z - info: VirtualBox Version: 4.3.6r91406

2014-08-13T00:52:56.639Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-13T00:57:32.996Z - warn: Box has no Internet connection.
2014-08-13T00:58:23.047Z - warn: Box has no Internet connection.
2014-08-13T01:50:06.306Z - warn: Box has no Internet connection.
2014-08-13T01:56:05.267Z - warn: Box has no Internet connection.
2014-08-13T18:29:20.269Z - info: Box initialized.
2014-08-13T18:29:20.271Z - info: Kalabox Version: 1.0-beta7
2014-08-13T18:29:20.272Z - info: Mac OS Version: 10.9.3

2014-08-13T18:29:20.272Z - info: VirtualBox Version: 4.3.6r91406

2014-08-13T18:29:20.272Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-13T18:33:05.624Z - info: Box initialized.
2014-08-13T18:33:05.626Z - info: Kalabox Version: 1.0-beta7
2014-08-13T18:33:05.627Z - info: Mac OS Version: 10.9.3

2014-08-13T18:33:05.627Z - info: VirtualBox Version: 4.3.6r91406

2014-08-13T18:33:05.627Z - info: Vagrant Version: Vagrant 1.4.3

2014-08-13T18:35:43.663Z - error: An error occurred in an async call.
cause stack is ...
  Error: Command failed: No user UUID found. Please authenticate first using 'drush pauth'        [error]
Connection to 127.0.0.1 closed by remote host.

    at ChildProcess.exithandler (child_process.js:661:12)
    at ChildProcess.EventEmitter.emit (events.js:101:17)
    at maybeClose (child_process.js:773:16)
    at Socket.eval (child_process.js:994:11)
    at Socket.EventEmitter.emit (events.js:98:17)
    at Pipe.eval [as close] (net.js:459:12)
async call history is ...
 [ { function: 'startBox4',
    location: '/private/var/folders/w9/9pgc_zy163n84vw4tpp8nfwc0000gp/T/.org.chromium.Chromium.sKnmQl/kalabox/box.js:168:108',
    mapping: { description: 'tail' } } ]
pirog commented 10 years ago

Might have already suggested this and im sure youve probably done it but have you run the uninstall.tool with option #2 and then tried the install again?