erreur au lancement du service
Bonjour merci pour le travail que vous faites.
quand j'essaie de lancer le service j'ai cette erreur :
mai 16 12:05:47 serv-linux systemd[1]: Starting Restore your calc's old revisions...
mai 16 12:05:47 serv-linux carton[2786]: Can't create listen socket: Address already in use at /home/administrateur/ert/local/lib/perl5/Mojo/IOLoop.pm line 124.
mai 16 12:05:47 serv-linux systemd[1]: ethercalc_revision_tool.service: Control process exited, code=exited status=98
mai 16 12:05:47 serv-linux systemd[1]: Failed to start Restore your calc's old revisions
mai 16 12:05:47 serv-linux systemd[1]: ethercalc_revision_tool.service: Unit entered failed state.
mai 16 12:05:47 serv-linux systemd[1]: ethercalc_revision_tool.service: Failed with result 'exit-code'.
j'ai trouvé ce post (https://framagit.org/framasoft/ert/issues/3)avec un souci identique ou vous demandez
Et à la main ? En allant dans
/home/ethercalc/ethercalc/misc/ert/
et en lançantcarton exec hypnotoad script/ethercalc_revision_tool
? Qu'est-ce que ça donne ? Est-ce que le fichiercpanfile
est bien dans/home/ethercalc/ethercalc/misc/ert/
?
le fichier 'cpanfile est bien dans /opt/ethercalc/misc
par contre quand je lance carton exec hypnotoad script/ethercalc_revision_tool
dans /opt/ethercalc/misc/ert/
il me retourne un message d'erreur
root@serv-linux:/opt/ethercalc/misc/ert# carton exec hypnotoad script/ethercalc_revision_tool
Can't load application from file "/opt/ethercalc/misc/ert/script/ethercalc_revision_tool": Can't load configuration from file "/opt/ethercalc/misc/ert/script/../ethercalc_revision_tool.conf": syntax error at (eval 93) line 25, next token ???
Compilation failed in require at (eval 39) line 1, <DATA> line 2125.
je suis débutant en linux
le fichier
/opt/ethercalc/misc/ert/script/ethercalc_revision_tool.conf
ne comportant que 8 lignes
j'ai regardé mon fichier
/opt/ethercalc/misc/ert/ethercalc_revision_tool.conf
qui lui a bien une saisie sur la ligne 25
voici le fichier de conf :
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
{
####################
# Hypnotoad settings
####################
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
hypnotoad => {
# array of IP addresses and ports you want to listen to
listen => ['http://127.0.0.1:8080'],
# if you use EthercalcRevisionTool behind a reverse proxy like Nginx, you want $
# if you use EthercalcRevisionTool directly, let it commented
#proxy => 1,
},
# The directory where the revisions, extracted with `archive.ls` provided by etherc$
# This can be an absolute path or a relative one (relative to this ERT installation$
# MANDATORY, no default, uncomment and set it!
#rev_dir => '',
rev_dir => '/opt/ethercalc/misc'
# The absolute URL path of the Ethercalc instance you want to restore the calcs to
# You can't set a full URL like 'https://ethercalc.org'
# Valid examples: '/calc', '/calc/', '/'
# MANDATORY, no default, uncomment and set it!
#ethercalc_url => '',
ethercalc_url => 'http://127.0.0.1'
# array of random strings used to encrypt cookies
# optional, default is ['fdjsofjoihrei'], PLEASE, CHANGE IT
#secrets => ['fdjsofjoihrei'],
# choose a theme. See the available themes in `themes` directory
# optional, default is 'default'
#theme => 'default',
# if you want to have piwik statistics, provide a piwik image tracker
# only the image tracker is allowed, no javascript
# optional, no default
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
# URL sub-directory in which you want EthercalcRevisionTool to be accessible
# example: you want to have EthercalcRevisionTool under https://example.org/ert/
# => set prefix to '/ert' or to '/ert/', it doesn't matter
# optional, defaut is /
#prefix => '/',
};
la ligne 25 correspond à
ethercalc_url => 'http://127.0.0.1'
j'ai beau mettre /
ou 127.0.0.1:8000
j'ai toujours le meme souci
auriez vous une idée
Par avance merci