Tom: APACHE2: Abfage der geladenen Module

Beitrag lesen

Hello,

ich steh gerade im Wald.
Ich wollte die geladenen Module des Apachen abfragen und bekomme leider nur eine Fehlermeldung. Wo liegt denn da jetzt mein Denkfehler?

debian4:/usr/sbin# apache2 -t
apache2: bad user name ${APACHE_RUN_USER}

debian4:/usr/sbin# apache2 -D
apache2: option requires an argument -- D
Usage: apache2 [-D name] [-d directory] [-f file]
               [-C "directive"] [-c "directive"]
               [-k start|restart|graceful|graceful-stop|stop]
               [-v] [-V] [-h] [-l] [-L] [-t] [-S] [-X]
Options:
  -D name            : define a name for use in <IfDefine name> directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C "directive"     : process directive before reading config files
  -c "directive"     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files
  -X                 : debug mode (only one worker, do not detach)

debian4:/usr/sbin# apache2 -D DUMP_MODULES
apache2: bad user name ${APACHE_RUN_USER}

debian4:/usr/sbin# ps -aux | grep apache
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root      3033  0.0  1.3  30384  6776 ?        Ss   10:20   0:00 /usr/sbin/apache2 -k start
www-data  3053  0.0  0.9  30716  4680 ?        S    10:21   0:00 /usr/sbin/apache2 -k start
www-data  3054  0.0  0.6  30384  3480 ?        S    10:21   0:00 /usr/sbin/apache2 -k start
www-data  3055  0.0  0.6  30384  3476 ?        S    10:21   0:00 /usr/sbin/apache2 -k start
www-data  3056  0.0  0.6  30384  3476 ?        S    10:21   0:00 /usr/sbin/apache2 -k start
www-data  3057  0.0  0.6  30384  3476 ?        S    10:21   0:00 /usr/sbin/apache2 -k start
root      3516  0.0  0.1   3140   760 pts/0    R+   11:35   0:00 grep apache

debian4:/usr/sbin# ./apache2 -t
apache2: bad user name ${APACHE_RUN_USER}
debian4:/usr/sbin#

Und nun?

Liebe Grüße aus Syburg bei Dortmund

Tom vom Berg

--
Nur selber lernen macht schlau
http://bergpost.annerschbarrich.de