Pagina 1 di 1

Errore durante l'avvio dei servizi

Pubblicato: 25 maggio 2016 - 09:11
di IiscsiI
Buongiorno,

Da stamattina non riesco ad avviare i servizi waptserver e waptapache.
Ho dei messaggi di errore nei file di registro

waptservice.log

Codice: Seleziona tutto

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

Codice: Seleziona tutto

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

Codice: Seleziona tutto

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

Codice: Seleziona tutto

Traceback (most recent call last):
  File "C:\wapt\waptserver\waptserver.py", line 40, in <module>
    import pymongo
ImportError: No module named pymongo
Come posso "riparare" Wapt senza modificare il database e le chiavi di sicurezza?
grazie in anticipo

Risolto: Errore durante l'avvio dei servizi

Pubblicato: 15 giugno 2016 - 08:24
di IiscsiI
L'installazione è stata effettuata su Windows insieme a un server WSUS.
La documentazione è stata seguita alla lettera, senza Apache.

Tuttavia, il servizio Apache è presente e sembra essere la causa del problema di tanto in tanto.

L'unica "soluzione" (se così si può definire) che ho trovato è quella di eseguire il backup delle directory di WAPT, disinstallarlo, reinstallarlo nelle stesse directory, arrestare i servizi di WAPT e sostituire le cartelle con quelle di backup (10-15 minuti in totale).