oomguarpages Ressourcenalarm

Zotti

New Member
Hallo zusammen. Ich habe folgendes Problem mit meinem vServer "L" bei 1&1: In unregelmäßigen Abständen zeigt das Virtuozzo-Panel Ressourcenalarme im gelben und roten Bereich für "oomguarpages" an. Habe schon etliche Einstellungen ausprobiert, bekomme die Alarme aber nicht ganz weg. Der Support meint, ich solle weiter optimieren! Zurzeit läuft auf dem Server lediglich ein WordPress-Blog mit einer MySQL Datenbank. Vielleicht kann mir einer von euch helfen? An welchen Schrauben könnte ich noch drehen?? Tausend Dank, Zotti

Hier einige Daten: Operating system Linux 2.6.18-028stab092.1
openSUSE 10.3 mit Plesk 9 (64 Bit)
CPU AuthenticAMD, Quad-Core AMD Opteron(tm) Processor 2352 (2100 MHz) - Average load: 0.12; 0.08; 0.02

Dienste: PSA, SMB, ECHO, FINGER und NAMED sind deaktiviert!

<IfModule prefork.c>
StartServers 1
MinSpareServers 1
MaxSpareServers 3
ServerLimit 50
MaxClients 50
MaxRequestsPerChild 4000
</IfModule>

Timeout 40
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 2

[mysqld]
set-variable=local-infile=0
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 2M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 512K
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 4M

Code:
top:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 7952 root      15   0 16704 1184  916 R    0  0.1   0:00.12 top
    1 root      18   0   824  304  244 S    0  0.0   0:02.83 init
 1281 messageb  16   0 14632  844  636 S    0  0.1   0:00.16 dbus-daemon
 1293 root      15   0 24008 1596 1332 S    0  0.1   0:00.04 console-kit-dae
 1294 haldaemo  15   0 31096 2108 1752 S    0  0.2   0:00.39 hald
 1295 root      16   0 17600 1132  960 S    0  0.1   0:00.00 hald-runner
 1662 root      18   0 29116  764  408 S    0  0.1   0:00.00 saslauthd
 1663 root      19   0 29116  480  124 S    0  0.0   0:00.00 saslauthd
 1670 root      15   0  5860  692  552 S    0  0.1   0:00.39 syslogd
 1682 root      20   0 18068  756  460 S    0  0.1   0:00.00 couriertcpd
 1685 root      18   0 13740  948  684 S    0  0.1   0:00.00 courierlogger
 1693 root      25   0 18068  756  460 S    0  0.1   0:00.00 couriertcpd
 1695 root      25   0 13740  948  684 S    0  0.1   0:00.00 courierlogger
 1702 root      25   0 18068  760  460 S    0  0.1   0:00.00 couriertcpd
 1706 root      25   0 13740  948  684 S    0  0.1   0:00.00 courierlogger
 1712 root      22   0 18068  756  460 S    0  0.1   0:00.00 couriertcpd
 1714 root      25   0 13740  948  684 S    0  0.1   0:00.00 courierlogger
 1742 root      19   0 13156 1488 1184 S    0  0.1   0:00.00 mysqld_safe
 1789 mysql     15   0  200m  20m 5128 S    0  1.6   0:31.16 mysqld
 1848 root      15   0 61828 1288  668 S    0  0.1   0:01.81 sshd
 1865 root      18   0 19040  952  744 S    0  0.1   0:00.00 xinetd
 1926 root      15   0 43108 2280 1748 S    0  0.2   0:00.34 master
 1937 postfix   15   0 45212 2328 1788 S    0  0.2   0:00.13 qmgr
 1976 root      15   0 20524  812  628 S    0  0.1   0:00.70 cron
 5621 postfix   15   0 45168 2188 1692 S    0  0.2   0:00.00 pickup
 5889 wwwrun    15   0  300m  42m 4756 S    0  3.3   0:01.26 httpd2-prefork
 5960 wwwrun    15   0  299m  41m 3904 S    0  3.3   0:01.12 httpd2-prefork
 7896 wwwrun    15   0  262m  11m 3052 S    0  0.9   0:00.05 httpd2-prefork
 7899 root      15   0 96180 3604 2656 S    0  0.3   0:00.06 sshd
 7902 root      18   0 22488 2720 1508 S    0  0.2   0:00.06 bash
15547 postfix   15   0 47280 2360 1836 S    0  0.2   0:00.03 tlsmgr
16034 root      18   0  261m  15m 7684 S    0  1.2   0:05.50 httpd2-prefork
16035 wwwrun    18   0  260m 7380  500 S    0  0.6   0:01.17 httpd2-prefork


Code:
free -m:
             total       used       free     shared    buffers     cached
Mem:          1280        214       1065          0          0          0
-/+ buffers/cache:        214       1065
Swap:            0          0          0
 

Attachments

  • beancounters.PNG
    beancounters.PNG
    34.5 KB · Views: 99
Last edited by a moderator:
Hallo,

zu dem von dir beschriebenen Limit habe ich hier eine ganz Gute erklärung gefunden: http://virtualist.de/wb/pages/virtualisierungs--techniken/--openvz-ram-speichermanagement.php

Der Tarif vServer L bei 1&1 hat einen zugesicherten Arbeitsspeicher von 512 MB die 2 GB Maximal beziehen sich daraf sollte was frei sein kann der vServer mehr bekommen. (Grob ausgedrückt)

Zur Ursache des ganzen kann ich leider noch nicht viel sagen, folgende Fragen daher an dich:
  • Passierte dieser Alarm immer nach ausführen einer Aktion z.B. anlegen einer Domain o.ä.?
  • Kahm es immer um einen bestimmten Zeitrahmen zu diesem Alarm (z.B. immer zwischen 0:00 und 05:00 Uhr nachts)?
  • Wie viele Domains verwaltest du mit dem vServer? (nicht wie viele kannst du sondern wie viele werden aktuell verwaltet)
  • Wenn du nur eine Domain mit einer MySQL verwaltest, wieso dann mit Plesk?
  • Wie viele Besucher hast du ca. pro Tag?
  • Hast du ein Statistik-Tool wie z.B. Munin auf dem Server welches dir z.B. die Speicherauslstung Monitort?
 
Danke für Dein Feedback und den Link!!!

Dachte, ich hätte 1GB Speicher, "free -m" zeigt ja total:1280, davon keine 200mb belegt!?

Zu den Fragen:
- Alarm (rot,gelb) kommt unregelmässig (24h), bleibt häufig nur 1 min. auch ohne ausgeführte Aktionen
- verwaltet werden lediglich zwei Domains, eine davon nur geparkt
- hatte ursprünglich mehrere Projekte auf diesem Server geplant, deshalb PSA (Dienst eigentlich immer deaktiviert!)
- Besucher: 500 bis 1000 pro Tag
- habe entsprechendes Caching (WP Supercache und xCache) aktiviert!

Nach dem Monitoring-Tool muss ich mal schauen...
Laut Wordpress-Plugin TPC nur 2% Memory Usage!!!

Habe übrigens noch folgende Ungereimtheiten entdeckt:

# php -v
PHP Warning: PHP Startup: mm_create(0, /var/lib/php5/session_mm_cli0) failed, err mm:core: failed to acquire shared memory segment (Invalid argument) in Unknown on line 0

# /usr/sbin/apache2ctl -S
which: no w3m in (//sbin://bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin)
[Thu Oct 13 05:13:52 2011] [warn] module rewrite_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module alias_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module authz_host_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module autoindex_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module dir_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module expires_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module log_config_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module mime_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module negotiation_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module setenvif_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module php5_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module rewrite_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module deflate_module is already loaded, skipping
[Thu Oct 13 05:13:52 2011] [warn] module headers_module is already loaded, skipping

#tail -f /var/log/apache2/error_log
[Thu Oct 13 02:55:04 2011] [warn] module setenvif_module is already loaded, skipping
[Thu Oct 13 02:55:04 2011] [warn] module php5_module is already loaded, skipping
[Thu Oct 13 02:55:04 2011] [warn] module rewrite_module is already loaded, skipping
[Thu Oct 13 02:55:04 2011] [warn] module deflate_module is already loaded, skipping
[Thu Oct 13 02:55:04 2011] [warn] module headers_module is already loaded, skipping
PHP Warning: PHP Startup: mm_create(0, /var/lib/php5/session_mm_apache2handler0) failed, err mm:core: failed to acquire shared memory segment (Invalid argument) in Unknown on line 0
[Thu Oct 13 02:55:05 2011] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Oct 13 02:55:05 2011] [notice] mod_python: Creating 8 session mutexes based on 50 max processes and 0 max threads.
[Thu Oct 13 02:55:05 2011] [notice] mod_python: using mutex_directory /tmp
[Thu Oct 13 02:55:05 2011] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.11 with Suhosin-Patch mod_ssl/2.2.4 OpenSSL/0.9.8e mod_python/3.3.1 Python/2.5.1 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations

Kannst Du damit was anfangen, mySeb???
 
Last edited by a moderator:
- Alarm (rot,gelb) kommt unregelmässig (24h), bleibt häufig nur 1 min. auch ohne ausgeführte Aktionen
Kann es sein das in diesem, Zeitraum ein Cronjob druchläuft?

PHP Warning: PHP Startup: mm_create(0, /var/lib/php5/session_mm_cli0) failed, err mm:core: failed to acquire shared memory segment (Invalid argument) in Unknown on line 0
GIDF: https://bugs.php.net/bug.php?id=49913 (sollte also beim nächsten PHP-Update auf deinem Server gefixt sein!)

Zu dem Apache fehler kann ich leider nicht viel sagen, bin eigentlich Debian (only) User. Was bewirkt der Parameter "-S"? (Hab auf die schnelle nichts gefunden) Hast du Apache schonmal gestoppt und wieder gestartet (kein Restart)? sonst evtl. mal Stoppen, "killall" auf Apache machen und wieder starten.
 
So, die Installation von XCache scheint das Problem gelöst zu haben. Seit heute morgen 4 Uhr werden keine Resourcenalarme mehr angezeigt.

Danke auch nochmal für den Hinweis auf den PHP-Bug!

Bleibt nur noch die Frage, wie die doppelten Module in den Griff zu kriegen sind?

apache2ctl -M
which: no w3m in (//sbin://bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/lo cal/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sb in)
[Thu Oct 13 21:56:31 2011] [warn] module rewrite_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module alias_module is already loaded, skippin g
[Thu Oct 13 21:56:31 2011] [warn] module authz_host_module is already loaded, sk ipping
[Thu Oct 13 21:56:31 2011] [warn] module autoindex_module is already loaded, ski pping
[Thu Oct 13 21:56:31 2011] [warn] module dir_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module expires_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module log_config_module is already loaded, sk ipping
[Thu Oct 13 21:56:31 2011] [warn] module mime_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module negotiation_module is already loaded, s kipping
[Thu Oct 13 21:56:31 2011] [warn] module setenvif_module is already loaded, skip ping
[Thu Oct 13 21:56:31 2011] [warn] module php5_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module rewrite_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module deflate_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module headers_module is already loaded, skipp ing
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_host_module (shared)
autoindex_module (shared)
dir_module (shared)
expires_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
php5_module (shared)
deflate_module (shared)
headers_module (shared)
rewrite_module (shared)
actions_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
authn_dbm_module (shared)
cgi_module (shared)
env_module (shared)
include_module (shared)
ssl_module (shared)
userdir_module (shared)
fcgid_module (shared)
perl_module (shared)
python_module (shared)
suexec_module (shared)
 
[warn] module & [notice] mod_python

Sind diese Modul-Warnungen denn bedenklich? Und wie bekomme ich die ggf. weg??

Auch diese Python-Meldung beunruhigt mich etwas:

[notice] mod_python: Creating 8 session mutexes based on 50 max processes and 0 max threads.
[notice] mod_python: using mutex_directory /tmp

Über Eure Hilfe würde ich mich sehr freuen! Gute Nacht, Zotti
 
Last edited by a moderator:
OK, danke virtual2. Und was hälst Du von den "[warn] module xyz" Meldungen?

apache2ctl -M

which: no w3m in (//sbin://bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/lo cal/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sb in)
[Thu Oct 13 21:56:31 2011] [warn] module rewrite_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module alias_module is already loaded, skippin g
[Thu Oct 13 21:56:31 2011] [warn] module authz_host_module is already loaded, sk ipping
[Thu Oct 13 21:56:31 2011] [warn] module autoindex_module is already loaded, ski pping
[Thu Oct 13 21:56:31 2011] [warn] module dir_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module expires_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module log_config_module is already loaded, sk ipping
[Thu Oct 13 21:56:31 2011] [warn] module mime_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module negotiation_module is already loaded, s kipping
[Thu Oct 13 21:56:31 2011] [warn] module setenvif_module is already loaded, skip ping
[Thu Oct 13 21:56:31 2011] [warn] module php5_module is already loaded, skipping
[Thu Oct 13 21:56:31 2011] [warn] module rewrite_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module deflate_module is already loaded, skipp ing
[Thu Oct 13 21:56:31 2011] [warn] module headers_module is already loaded, skipp ing
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_host_module (shared)
autoindex_module (shared)
dir_module (shared)
expires_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
php5_module (shared)
deflate_module (shared)
headers_module (shared)
rewrite_module (shared)
actions_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
authn_dbm_module (shared)
cgi_module (shared)
env_module (shared)
include_module (shared)
ssl_module (shared)
userdir_module (shared)
fcgid_module (shared)
perl_module (shared)
python_module (shared)
suexec_module (shared)

a2enmod -l zeigt übrigens nur diese an:

alias authz_host autoindex dir expires log_config mime negotiation setenvif php5 deflate mod_headers rewrite actions perl python suexec
 
Last edited by a moderator:
[warn] module "xyz" is already loaded, skipping

Hat denn niemend eine Idee, wie die o.a. Module-Warnungen zu beseitigen sind? Die verursachen doch sicherlich unnötige Serverlast, oder???
 
Du musst nachsehen, wo in welchen Apache-Konfigurationsdateien der Befehl LoadModule ... schon drinsteht und die nachfolgend geladenen Konfigurationen die nochmals laden wollen.

Mit find und grep ist das möglich heauszufinden in welchen Dateien das ist.
 
OK, danke.

find / -name "*loadmodule*" zeigt:

/etc/init.d/boot.loadmodules
/etc/init.d/boot.d/K19boot.loadmodules
/etc/init.d/boot.d/S02boot.loadmodules
/etc/apache2/sysconfig.d/loadmodule.conf
/usr/local/psa/var/cgitory/typo3-4.0-20/htdocs/t3lib/class.t3lib_loadmodules.php
/usr/local/psa/var/cgitory/joomla-1.5.1-7/htdocs/administrator/language/en-GB/en-GB.plg_content_loadmodule.ini
/usr/local/psa/var/cgitory/joomla-1.5.1-7/htdocs/administrator/language/fr-FR/fr-FR.plg_content_loadmodule.ini
/usr/local/psa/var/cgitory/joomla-1.5.1-7/htdocs/administrator/language/de-DE/de-DE.plg_content_loadmodule.ini
/usr/local/psa/var/cgitory/joomla-1.5.1-7/htdocs/plugins/content/loadmodule.php
/usr/local/psa/var/cgitory/joomla-1.5.1-7/htdocs/plugins/content/loadmodule.xml

Welche sind davon relevant?
 
Nein du musst in den Apache-Konfigurationsdateien, auf deinem System in /etc/apache2 suchen, nicht nach dem Dateiendung loadmodule.

Zu suchen in Beispiel (Debian)
/etc/apache2/apache2.conf
/etc/apache2/conf.d
/etc/apache2/mods-enabled
/etc/apache2/sites-enabled

Sowie in den Domainspezifischen Konfigurationen in
/var/www/vhosts/*

Wo was ist, kannst du für dein Betriebssystem unter http://wiki.apache.org/httpd/DistrosDefaultLayout nachlsen.


Bei SuSE dann in
/etc/apache2/*.conf
/etc/apache2/sysconfig.d/*.conf
/etc/apache2/vhosts.d/*.conf

Weißt du wie man mit grep sucht?
 
Last edited by a moderator:
#etc/apache2/conf.d
dirs.conf 0.10 KB 09. Dez 2010, 00:33:20
mod_fcgid.conf 3.13 KB 22. Sep 2007, 01:36:49
mod_perl.conf 0.69 KB 01. Nov 2008, 21:01:25
php5.conf 0.44 KB 24. Sep 2009, 14:59:54
php_cgi.conf 0.09 KB 09. Dez 2010, 00:33:20
zz010_psa_httpd.conf 3.34 KB 14. Okt 2011, 05:16:30
zzz_horde_vhost.conf 2.47 KB 14. Okt 2011, 05:16:34

#etc/apache2/sysconfig.de
global.conf
include.conf
loadmodule.conf :
Code:
   LoadModule alias_module                   /usr/lib64/apache2-prefork/mod_alias.so
   LoadModule authz_host_module              /usr/lib64/apache2-prefork/mod_authz_host.so
   LoadModule autoindex_module               /usr/lib64/apache2-prefork/mod_autoindex.so
   LoadModule dir_module                     /usr/lib64/apache2-prefork/mod_dir.so
   LoadModule expires_module                 /usr/lib64/apache2-prefork/mod_expires.so
   LoadModule log_config_module              /usr/lib64/apache2-prefork/mod_log_config.so
   LoadModule mime_module                    /usr/lib64/apache2-prefork/mod_mime.so
   LoadModule negotiation_module             /usr/lib64/apache2-prefork/mod_negotiation.so
   LoadModule setenvif_module                /usr/lib64/apache2-prefork/mod_setenvif.so
   LoadModule php5_module                    /usr/lib64/apache2/mod_php5.so
   LoadModule deflate_module                 /usr/lib64/apache2-prefork/mod_deflate.so
   LoadModule headers_module                 /usr/lib64/apache2-prefork/mod_headers.so
   LoadModule rewrite_module                 /usr/lib64/apache2-prefork/mod_rewrite.so

#etc/apache2/vhosts.d
vhost-ssl.template
vhost.template

Und was jetzt?
 
Meine mod_info.conf sieht z.B. so aus:

Code:
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule rewrite_module                 /usr/lib64/apache2-prefork/mod_rewrite.so
LoadModule actions_module                 /usr/lib64/apache2-prefork/mod_actions.so
LoadModule alias_module                   /usr/lib64/apache2-prefork/mod_alias.so
LoadModule auth_basic_module              /usr/lib64/apache2-prefork/mod_auth_basic.so
LoadModule authn_file_module              /usr/lib64/apache2-prefork/mod_authn_file.so
LoadModule authz_host_module              /usr/lib64/apache2-prefork/mod_authz_host.so
LoadModule authz_groupfile_module         /usr/lib64/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_default_module           /usr/lib64/apache2-prefork/mod_authz_default.so
LoadModule authz_user_module              /usr/lib64/apache2-prefork/mod_authz_user.so
LoadModule authn_dbm_module               /usr/lib64/apache2-prefork/mod_authn_dbm.so
LoadModule autoindex_module               /usr/lib64/apache2-prefork/mod_autoindex.so
LoadModule cgi_module                     /usr/lib64/apache2-prefork/mod_cgi.so
LoadModule dir_module                     /usr/lib64/apache2-prefork/mod_dir.so
LoadModule env_module                     /usr/lib64/apache2-prefork/mod_env.so
LoadModule expires_module                 /usr/lib64/apache2-prefork/mod_expires.so
LoadModule include_module                 /usr/lib64/apache2-prefork/mod_include.so
LoadModule log_config_module              /usr/lib64/apache2-prefork/mod_log_config.so
LoadModule mime_module                    /usr/lib64/apache2-prefork/mod_mime.so
LoadModule negotiation_module             /usr/lib64/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module                /usr/lib64/apache2-prefork/mod_setenvif.so
LoadModule ssl_module                     /usr/lib64/apache2-prefork/mod_ssl.so
LoadModule userdir_module                 /usr/lib64/apache2-prefork/mod_userdir.so
LoadModule php5_module                    /usr/lib64/apache2/mod_php5.so
LoadModule fcgid_module                   /usr/lib64/apache2/mod_fcgid.so
LoadModule rewrite_module                 /usr/lib64/apache2-prefork/mod_rewrite.so
LoadModule perl_module                    /usr/lib64/apache2/mod_perl.so
LoadModule python_module                  /usr/lib64/apache2/mod_python.so
LoadModule suexec_module                  /usr/lib64/apache2-prefork/mod_suexec.so
LoadModule deflate_module                 /usr/lib64/apache2-prefork/mod_deflate.so
LoadModule headers_module                 /usr/lib64/apache2-prefork/mod_headers.so

Die dazugehörige APACHE_MODULES Datei so:

Code:
# This allows you to add e.g. VirtualHost statements without touching 
# /etc/apache2/httpd.conf itself, which makes upgrading easier. 
#
APACHE_CONF_INCLUDE_FILES=""

## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Here you can name directories, separated by spaces, that should be Include'd 
# from httpd.conf. 
#
# All files contained in these directories will be recursively included by apache.
# If a pattern like *.conf is appended, apache will use it.
#
# Examples: "/etc/apache2/my_conf/"
#           "/etc/apache2/virtual_hosts/*.conf"
#           "local/*.conf /srv/www/virtual/"
#
APACHE_CONF_INCLUDE_DIRS=""

## Type:	string
## Default:	"actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"
## ServiceRestart: apache2
#
# [It might look silly to not simply edit httpd.conf for the LoadModule statements.
# However, since the LoadModule statements might need an absolute path to the modules,
# switching between MPMs can be quite a hassle. It's easier to just give the names here.]
#
# * list of all modules shipped with the base distribution: 
#
#    actions alias asis auth_basic auth_digest authn_alias authn_anon
#    authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_dbm
#    authz_default authz_groupfile authz_host authz_owner authz_user
#    autoindex bucketeer cache case_filter case_filter_in cern_meta cgi
#    charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
#    echo env expires ext_filter file_cache filter headers ident imagemap
#    include info ldap log_config log_forensic logio mem_cache mime mime_magic
#    negotiation optional_fn_export optional_fn_import optional_hook_export
#    optional_hook_import proxy proxy_ajp proxy_balancer proxy_connect
#    proxy_ftp proxy_http rewrite setenvif speling ssl status suexec unique_id
#    userdir usertrack version vhost_alias 
#
#   see http://httpd.apache.org/docs-2.2/mod/ !
#
# * It pays to use IfDefine statements... like
#    <IfModule mod_xyz.c>
#        ....
#    </IfModule>
#
# * In the APACHE_MODULES variable, you can use mod_xyz or just xyz syntax.
#   You may also name an absolute path if you like.
#
# * NOTE ON MOD_SSL: before you can enable this module, you need a server certificate. 
#   A test certificate can be created by entering 
#   'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root.
#   Also, you need to set the ServerName inside the <VirtualHost _default_:443> 
#   block to the fully qualified domain name (see /etc/HOSTNAME).
#
# * if your server certificate is protected by a passphrase you should increase the
#   APACHE_START_TIMEOUT (see above)
#
# * modules listed here will be ignored if they are not installed
#
#
# EXAMPLES:
#
# fairly minimal
# APACHE_MODULES="authz_host alias auth dir log_config mime setenvif"
#
# apache's default installation
# APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir"
# your settings
APACHE_MODULES="alias authz_host autoindex dir expires log_config mime negotiation setenvif php5 deflate mod_headers rewrite  "

Liegt hier der Hase vielleicht im Pfeffer???
 
Last edited by a moderator:
Und wo sind bitte die Vhost-Einstellungen für die Domain?

Du musst rauskriegen, wo doppelt geladen wird.
grep -i LoadModule /etc/apache2/conf.d/*.conf
grep -i LoadModule /etc/apache2/sysconfig.de/*.conf

Ich bin allerdingg der Meinung, dass die Warnung ja nur beim Start auftritt und das System wenig belastet, aber wenn es dir stört.
 
Hmmm. Ich weiß jetzt auch nicht, wo sonst noch irgendwelche Konfigurationsdateien geschriebn werden. Musst du auf jemand warten der sich genauer mit SuSE-Servern auskennt.

Die Warnungen sind doch eigentlich kein Problem, ok sie füllen bei jedem Apache-Start das Log. Ignorier das doch.
 
Back
Top