Error de Git bash: No se pudo bifurcar proceso hijo: No hay terminales disponibles (-1)


He tenido hasta 8 terminales git bash funcionando al mismo tiempo antes.

Actualmente solo tengo 2 up.

No he visto este error antes y no estoy entendiendo lo que lo está causando.

Cualquier ayuda sería apreciada!

Imagen adjunta:

introduzca la descripción de la imagen aquí

Author: A. Petrizza, 2017-08-21

15 answers

Encontramos un problema similar y una posible solución aquí: https://groups.google.com/forum/#! topic / git-for-windows / EO27WWvHx64

No estoy seguro de si ustedes todavía tienen un problema con esto, pero encontré una solución muy simple que funcionó para mí. Abrí un símbolo del sistema de Windows y ejecuté el comando tas tasklist

Parece que las conexiones ssh que había hecho en mis shells de git bash no se estaban cerrando cuando esas ventanas estaban cerradas y estaban colgando ventanas de shell git bash disponibles.

Esta puede ser una solución peligrosa, pero desde el símbolo del sistema de Windows ejecuté tas taskkill /F /IM ssh.exe

Todo parece estar funcionando de nuevo después de esto. Puede que no haya sido directamente un problema de procesos huérfanos, pero esto funcionó al menos para mí. ¡Buena suerte!

 33
Author: Scott Newson,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-08-21 18:59:58

Veo el problema en Windows en git bash cuando mato mi consola git bash sin usar exit. Encontré matando a ssh-agente.tarea exe del administrador de tareas de Windows para solucionar el problema.

 27
Author: Joe z,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-08-23 18:24:01

Me dirijo a esto con una solución:

  1. Cierra la ventana de Git Bash.
  2. Abra el administrador de tareas.
  3. Encuentra el proceso 'Git for Windows'.
  4. Mátalo.
  5. Abre Git Bash.

Ahora debería estar bien.

 9
Author: Return_Of_The_Archons,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-02-06 10:32:33

Reinicie su máquina.

(Las otras respuestas no funcionaron para mí. (No intenté reinstalar. Reiniciar es probablemente más rápido.))

 4
Author: andydavies,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-11-16 16:05:53

Para mí (o para cualquier persona que ejecute protractor, que puede activar un servidor Selenium/WebDriver independiente), necesitaba taskkill el webdriver específico que estaba ejecutando mis pruebas.

Así que solo un argumento diferente: o su chromedriver versión puede variar

taskkill /f /im chromedriver_2.34.exe

Tenga en cuenta que su controlador puede variar: IEDriverServer*.*.*.exe vs chromedriver_*.**exe

Su controlador puede la versión {[9] } puede variar: chromedriver_2.34.exe vs chromedriver_2.33.exe

Este problema empeoró después de que el transportador se cerrara sin cerrar automated / test-driven browser , (debido a un problema separado que aún no entiendo.) Naturalmente muchas tareas chromedriver permanecen en ejecución, por eso las matan.

 2
Author: The Red Pea,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-01-06 02:43:04

Abra el administrador de tareas y elimine el proceso con el nombre bash, esto funcionó para mí.

 2
Author: Hari,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-07-16 15:29:18

Killing ssh-agent.exe fue un punto en mi caso.

Así es como puedes hacerlo rápidamente. Ejecute esto en la línea de comandos:

taskkill /F /IM ssh-agent.exe

 2
Author: klimat,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-09-27 17:00:50

Reinstalado git, ahora está funcionando bien.

 1
Author: prathesh p,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-09-18 10:25:28

Traté de matar a todos mis terminales git en el administrador de tareas resuelve el problema. Esto funciona para mí también. buena suerte.

 1
Author: Rahul Naiknaware,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-02-02 10:01:25

Abra su administrador de tareas, buscar "sh" procces y matarlos. Buena suerte

 1
Author: Grace Nikole,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-04-14 05:44:34

En una versión más reciente de git para windows, el proceso para matar en el administrador de tareas fue "GitExtensions.exe". Mató eso y las terminales se reiniciaron sin problemas.

 1
Author: Joe Shelby,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-05-09 20:08:54

Encontré que matar el terminal msys2 en el administrador de tareas resuelve el problema

 0
Author: user2293554,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-10-17 07:43:25

Por favor, encuentre el proceso ssh-agent en la ventana del Administrador de tareas. Después de detener o matar el proceso ssh-agent, el error desaparecerá.

 0
Author: Sohan Jangid,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-05-31 12:23:23

Abra el administrador de tareas, encuentre bash.proceso exe y matarlo. Ayudó en mi caso.

 0
Author: Bahti,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-08-17 15:10:00

En mi caso, tenía visual studio code ejecutándose y cerrándolo, resolviendo el problema.

 0
Author: mhand,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-09-15 01:29:52