Página 1 de 1

Error al iniciar los servicios

Publicado: 25 de mayo de 2016 - 09:11
por IiscsiI
Buen día,

Desde esta mañana no he podido iniciar los servicios waptserver y waptapache.
Tengo mensajes de error en los archivos de registro

waptservice.log

Código: Seleccionar todo

Traceback (most recent call last):
  File "C:\wapt\waptservice\waptservice.py", line 43, in <module>
    import requests
ImportError: No module named requests
2016-05-24 04:20:25,941 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 04:20:26,017 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 04:20:26,112 CRITICAL OperationalError: cannot rollback - no transaction is active
2016-05-24 06:20:28,022 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 06:20:28,065 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 06:20:28,071 CRITICAL OperationalError: cannot rollback - no transaction is active
2016-05-24 08:20:34,838 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 08:20:34,884 CRITICAL Unable to store status of update in DB : OperationalError: cannot rollback - no transaction is active
2016-05-24 08:20:34,888 CRITICAL OperationalError: cannot rollback - no transaction is active
2016-05-24 09:57:16,726 ERROR Traceback (most recent call last):
  File "C:\wapt\lib\site-packages\rocket\main.py", line 143, in start
    time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call

Traceback (most recent call last):
  File "C:\wapt\waptservice\waptservice.py", line 45, in <module>
    from rocket import Rocket
  File "C:\wapt\lib\site-packages\rocket\__init__.py", line 7, in <module>
    import sys
KeyboardInterrupt
2016-05-25 08:23:41,561 ERROR Traceback (most recent call last):
  File "C:\wapt\lib\site-packages\rocket\main.py", line 143, in start
    time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call
nss_waptmongodb.log

Código: Seleccionar todo

Traceback (most recent call last):
  File "C:\wapt\waptserver\mongodb\mongod.py", line 3, in <module>
    import iniparse
ImportError: No module named iniparse
C:\wapt\waptserver\mongodb\mongod.py trying to start mongodb
Traceback (most recent call last):
  File "C:\wapt\waptserver\mongodb\mongod.py", line 55, in <module>
    subprocess.check_output([sys.argv[1], '--config', sys.argv[2]])
  File "C:\wapt\lib\subprocess.py", line 567, in check_output
    output, unused_err = process.communicate()
  File "C:\wapt\lib\subprocess.py", line 791, in communicate
    stdout = _eintr_retry_call(self.stdout.read)
  File "C:\wapt\lib\subprocess.py", line 476, in _eintr_retry_call
    return func(*args)
waptserver.log

Código: Seleccionar todo

2016-05-12 12:07:43,786 ERROR Traceback (most recent call last):
  File "C:\wapt\lib\site-packages\rocket\main.py", line 143, in start
    time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call
nssm_waptserver.log

Código: Seleccionar todo

Traceback (most recent call last):
  File "C:\wapt\waptserver\waptserver.py", line 40, in <module>
    import pymongo
ImportError: No module named pymongo
¿Cómo puedo "arreglar" Wapt sin modificar la base de datos y las claves de seguridad?
gracias de antemano

Resuelto: Error al iniciar servicios

Publicado: 15 de junio de 2016 - 08:24
por IiscsiI
La instalación se realizó en Windows junto con un servidor WSUS.
Se siguió la documentación al pie de la letra, sin Apache.

Sin embargo, el servicio Apache está presente y parece ser la causa del problema de vez en cuando.

La única "solución" (si es que se le puede llamar así) que he encontrado es hacer una copia de seguridad de los directorios de WAPT, desinstalarlo, reinstalarlo en los mismos directorios, detener los servicios de WAPT y reemplazar las carpetas con las de la copia de seguridad (10-15 minutos en total).