Blocage au niveau de Gearman job server et worker

66 views
Skip to first unread message

adama pouye

unread,
Jan 22, 2018, 9:58:20 AM1/22/18
to AtoM Users
Bonjour
Je suis archiviste et je tente d'installer Atom version 2.4 pour informatiser mon fonds documentaire.J'utilise Ubuntu qui est installé sur une machine virtuelle vu que j'ai un système d'exploitation windows. J'ai suivi le processus décrit dans la documentation de la page d'accueil du site https://www.accesstomemory.org/fr/docs/2.4/admin-manual/installation/linux/ubuntu-trusty/ . 

Après être parvenue à installer presque toutes les dépendances je me retrouve bloquée en ce qui concerne Gearman job server et worker : https://www.accesstomemory.org/fr/docs/2.4/admin-manual/installation/asynchronous-jobs/#installation-asynchronous-jobs voici le lien de la partie à partie de laquelle plus rien ne marche.

J'ai essayé, après multiples vaines tentatives d'essayer avec la version antérieure 2.2.1 qui, au moment de la configuration du site n'offre pas de touche de validation des différents paramètres.

Je vous mets en fichiers joints les différents problèmes que je rencontre en espérant avoir votre appui pour pouvoir terminer l'installation.

Je reste à l'écoute. Merci d'avance.

Bien à vous..
erreur systemctl.PNG
gearman_restart.PNG
Capture erreur configurationn atom.PNG

Dan Gillean

unread,
Jan 22, 2018, 11:10:16 AM1/22/18
to ICA-AtoM Users
Bonjour Adama, 

I noticed a couple things looking at your screenshots. First, you mentioned that you followed these instructions when installing 2.4: 
These are our installation instructions using Ubuntu 14.04 and PHP 5.x - but the commands you have tried in your first screenshot (AKA sudo systemctl) are the commands for Ubuntu 14.04 / PHP7.0. For an installation on PHP 5.x and Ubuntu 14.04, try the following commands: 
  • sudo start atom-worker   # Starts the worker
  • sudo stop atom-worker    # Stops the worker
  • sudo restart atom-worker # Restarts the workers
  • sudo status atom-worker  # Obtain current running status
Before you can run these commands, you will have to make sure that you have added the proper configuration file first as outlined in the following section: 
I suggest that you clear the application cache and restart PHP-FPM and memcached after ensuring the configuration file is in place as well. On Ubuntu 14.04: 
  • php symfony cc
  • sudo service php5-fpm restart
  • sudo service memcached restart
Finally, you will need to run these commands from the root AtoM directory. If you have followed the installation instructions to the letter, then this location should be: 
  • /usr/share/nginx/atom
Make sure you change directories before trying to run the commands. You will also want to make sure that you have all the permissions configured correctly, so that the www-data user has the correct permissions for all files. You can try re-running the following: 
  • sudo chown -R www-data:www-data /usr/share/nginx/atom
If you have everything correctly configured now, you might want to restart the final steps configuring the web installer. Return to:
I noticed as well that the CSS does not appear to be working on that page. You might want to try the following first (again, run from the root AtoM directory):
  • make -C plugins/arDominionPlugin
Make sure on the first configuration screen you have entered all the credentials for your search index and database correctly - use the same ones you used during installation. You can check the database credentials in the config/config.php configuration file, if needed. See: 
I hope that helps! Let us know how it goes! 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/95dc7c87-71e2-4c3a-bcf3-15a504f98cb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

adama pouye

unread,
Jan 22, 2018, 12:39:20 PM1/22/18
to ica-ato...@googlegroups.com
Merci beaucoup pour votre aide Dan. Je vais corriger tout ça et vous revenir dès que je parviendrai à terminer l'installation.
Bonne soirée.



To post to this group, send email to ica-ato...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/glF-edSaNyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-users+unsubscribe@googlegroups.com.

To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

adama pouye

unread,
Jan 23, 2018, 7:27:08 AM1/23/18
to ica-ato...@googlegroups.com
Bonjour Dan, je vous reviens. En fait après avoir suivi vos indications j'ai beaucoup évolué dans l'installation. Il s'agit de l'atom 2.4. Il ne reste plus qu'à configurer les différents paramètres atom et voila waouh plus rien ne fonctionne. En p.j. les differentes captures que j'ai faites, voudriez vous bien y jeter un oeil je vous prie?
Bien à vous.

arret configuration.PNG
bug installation atom.PNG
Capture atom.PNG
Capture erreur configurationn atom.PNG
probleme systeme detecte.PNG
pronleme php-fpm.PNG

Dan Gillean

unread,
Jan 23, 2018, 10:34:32 AM1/23/18
to ICA-AtoM Users
Salut encore Adama, 

The last screenshot suggests to me that your VM does not have enough memory assigned. If possible, I would try to increase the amount of memory assigned to the virtual machine, and then restart PHP-FPM. 

When we deploy a hosted AtoM instance for our hosting clients, we tend to use the following allocations: 
  • At least 2 CPU cores
  • At least 8GB of RAM
  • Usually 500 GB of disk space
I do recommend at least 2 CPUs if possible. For both memory and disk, you could likely get away with less - you will likely need at least 2GB of RAM during the installation process however, as the installation of Elasticsearch tends to require a fair bit of memory. 

One other thing you could try is increasing the execution limits, so the processes have more time to complete before timing out. See this post: 
Finally: are you installing this on a server, or on a local laptop or desktop computer? AtoM is intended to be installed on a server. If you are trying to make a local test instance on a laptop or desktop personal computer, then you might want to use our Vagrant box instead - it is created specifically for local testing and development, and can be installed on any platform. I use it daily for all AtoM testing we do here. More information: 

First, the Vagrant box is only intended for local testing and development - it is not intended to be used as a production site, and any data you create in the Vagrant box that you want to keep should be regularly backed up. For backup instructions see: 
Second, because it is intended as a development environment, if you follow the current instructions, you will install our qa/2.5.x development branch in the Vagrant box. This is our work-in-progress branch for the upcoming 2.5 release, and should not be considered stable. 

If you want to install a more stable 2.4 version with Vagrant, then you will need to make a few changes. 

First, when you run the initial vagrant init command, let's specify the box version we want, like this:
  • vagrant init artefactual/atom --box-version=2.4.0.1
You may need to change branches before you pull in the most recent updates as well - the 2.4 Vagrant box was set to follow our qa/2.4.x branch, but after the 2.4.0 release, we changed the branch name to stable/2.4.x. To get on the right branch, run:
  • git checkout stable/2.4.x
Now you can pull in the latest changes:
  • git pull --rebase
Now you can follow the instructions in slides 19-24 in the Vagrant slide deck to finish updating the box. 

For more context on what the commands in the slides are, what they do, and why you are running them, see: 
I hope this helps!


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

To post to this group, send email to ica-atom-users@googlegroups.com.

adama pouye

unread,
Jan 23, 2018, 11:31:36 AM1/23/18
to ica-ato...@googlegroups.com
Bien reçu. Merci encore pour votre aide, elle m'est d'une grande utilité Dan je vais m'atteler à suivre toutes vos indications et enfin terminer le processus d'installation (assez fastidieux quand meme) du logiciel.
Bien à vous.


--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/glF-edSaNyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

moi moi

unread,
Nov 1, 2020, 2:19:38 PM11/1/20
to AtoM Users
Bonjour,
j'ai eu le meme message d'erreur mais d'apres des recherches il faut installer elastisearch
là j'ai rien compris de ou l'installer
est ce que vous avez réussi à installer atom et travailler avec
bien cordialement
moussaoui
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/glF-edSaNyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.

To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

Dan Gillean

unread,
Nov 2, 2020, 2:48:04 PM11/2/20
to ICA-AtoM Users
Salut moussaoui, 

What version of AtoM are you installing?

Have you followed our recommended installation instructions? For the latest (26.) version, see: 
You will see the instructions for installing Elasticsearch 5.6 on that page (here)

If you have made changes from our recommended 2.6 instructions (i.e. Ubuntu 18.04; MySQL v8.0; PHP 7.2; Elasticsearch 5.6, etc), please let us know what you have done differently.

What exactly is the error that you are encountering? Please share any error messages you have, and what led to them. 

If it relates to the job scheduler (i.e. Gearman), which this thread was originally about, you must first make sure it is installed as well. See: 
If you can provide more information about your installation and the error you are experiencing, hopefully we can provide further suggestions. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


Reply all
Reply to author
Forward
0 new messages