Installation sur VPS. Problème apache sur serveur ubuntu 14.04

Accueil Forums Gestion d’un serveur WIMS Installation d’un serveur WIMS Installation sur VPS. Problème apache sur serveur ubuntu 14.04

Vous lisez 2 fils de discussion
  • Auteur
    Messages
    • #2410
      ambali
      Maître des clés
      Up
      0
      Down
      ::

      Bonjour,

      J’essaye d’installer wims sur un serveur virtuel. Pour cela j’ai suivi l’excellent pas-à-pas du wiki

      Tout se passe bien, sauf à la fin, où j’ai le message :

      /home/wims# ./bin/apache-config 
      ./bin/apache-config: 28: ./bin/apache-config: httpd: not found
      ./bin/apache-config: 29: ./bin/apache-config: apache: not found
      [Wed Aug 20 07:16:32.255522 2014] [core:warn] [pid 1055] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
      [Wed Aug 20 07:16:32.255617 2014] [core:warn] [pid 1055] AH00111: Config variable ${APACHE_PID_FILE} is not defined
      [Wed Aug 20 07:16:32.255631 2014] [core:warn] [pid 1055] AH00111: Config variable ${APACHE_RUN_USER} is not defined
      [Wed Aug 20 07:16:32.255635 2014] [core:warn] [pid 1055] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
      [Wed Aug 20 07:16:32.255650 2014] [core:warn] [pid 1055] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
      [Wed Aug 20 07:16:32.258880 2014] [core:warn] [pid 1055:tid 140137285572480] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
      [Wed Aug 20 07:16:32.259032 2014] [core:warn] [pid 1055:tid 140137285572480] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
      [Wed Aug 20 07:16:32.259041 2014] [core:warn] [pid 1055:tid 140137285572480] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
      AH00526: Syntax error on line 79 of /etc/apache2/apache2.conf:
      Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
      dirname: missing operand
      Try 'dirname --help' for more information.
      
      Unknown web server. Version too early?
      Please first update your web server to Apache >=1.3.

      Que faire ?

      Question subsidiaire : J’ai installé la version svn, pour une mise à jour, comment faire ?

      Bien à vous,

      Jbaptiste

    • #2411
      jm.evers
      Participant
      Up
      0
      Down
      ::

      Hi, again…
      I know nothing of Debian specifics, but just « google »
      Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
      And you will find some possible clues..like:
      debian related apache2

      It looks like you did not define required variables APACHE_LOCK_DIR,
      APACHE_PID_FILE and so on.
      This is exactly what envvar file is for. You *need* to source it before runing apache.

      apache2 is a service. On Debian, you need to start services using
      service(8) on the command line:
      # service apache2 start
      This will call /etc/init.d/apache2 that does all the magic.
      Alternatively, you could find apache2ctl(8) useful.

      hope this helps?
      joke

      • Cette réponse a été modifiée le il y a 9 années et 8 mois par jm.evers.
    • #2413
      ambali
      Maître des clés
      Up
      0
      Down
      ::

      Merci Joke, mais cela ne fonctionne pas.
      J’ai bien lancé apache2 avec la commande
      service apache2 start
      mais le message d’erreur revient…

      JBA

Vous lisez 2 fils de discussion
  • Vous devez être connecté pour répondre à ce sujet.