Bonjour à tous,

 

Voici ce que donne l’exécution du script postconf.py sous Ubuntu 14.04 LTS :

 

update-rc.d: warning:  start runlevel arguments (none) do not match mongodb Default-Start values (2 3 4 5)

update-rc.d: warning:  stop runlevel arguments (none) do not match mongodb Default-Stop values (0 1 6)

update-rc.d: warning:  start runlevel arguments (none) do not match waptserver Default-Start values (2 3 4 5)

update-rc.d: warning:  stop runlevel arguments (none) do not match waptserver Default-Stop values (0 1 6)

stop: Unknown job: mongodb

start: Unknown job: mongodb

Traceback (most recent call last):

  File "/opt/wapt/waptserver/scripts/postconf.py", line 347, in <module>

    main()

  File "/opt/wapt/waptserver/scripts/postconf.py", line 277, in main

    start_mongod()

  File "/opt/wapt/waptserver/scripts/postconf.py", line 162, in start_mongod

    subprocess.check_output(['service', 'mongodb', 'restart'])

  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output

    raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command '['service', 'mongodb', 'restart']' returned non-zero exit status 1

 

Quelqu’un a-t-il déjà rencontré ce soucis sur son installation?

 

De plus quelle serait la meilleure méthode pour migrer mon ancien serveur sous Debian vers le nouveau sous Ubuntu ?

 

Merci d’avance !

 

Thomas Muller