PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : openSuse10.3 Apache2 error: cannot adjust 'apache2' service



fredolin
13.03.08, 10:51
Hey Leute,

so mal wieder ne fehler..
habe mein system wohl zerschossen.. mein apache will nicht mehr laufen und somit auch kein internet bekommt..

bekomme seit gestern die meldung :
Apache2 error: cannot adjust 'apache2' service

so kann mir einer erklären was das bedeutet und wo ich mir erlesen kann was das für eine fehler ist und wo ich diesen Fehler beheben kann.

würde mich freuen wenn einer was dazu sagen kann...

danke

fredolin

drcux
13.03.08, 11:33
Logfiles?


1234567890

fredolin
13.03.08, 11:42
mmhh guter ansatz.. aber wo finde ich die....

dann würde ich die hier sofort posten...
hilfe....

drcux
13.03.08, 12:02
/var/log/apache2

Ist eigentlich nicht schwer zu finden...

fredolin
13.03.08, 12:35
so das mit dem apache2.service hab ich hinbekommen. habe unter yast2 bei den http module proxy mit angeklickt. aber ich habe keinen proxy-server laufen.. somit funktioniert auch der apache nicht.

nunhab ich ein neues prob. wenn ich über den browser auf meinen server zugreife und eine php datei aufrufe, dann will der browser sie im editor öffen..

was ist nun da falsch??

cane
13.03.08, 12:48
Du hast kein PHP Modul installiert oder es ist nicht inkludiert.

Such dir am besten eine Anleitung an die Du dich halten kannst :)

mfg
cane

fredolin
13.03.08, 13:53
Hallo Cane,

in meiner loadmodule.conf steht aber drinne, dass das Modulephp5 reingeladen wird



#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#

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

LoadModule authz_host_module /usr/lib/apache2-prefork/mod_authz_host.so
LoadModule actions_module /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib/apache2-prefork/mod_auth_basic.so
LoadModule authz_groupfile_module /usr/lib/apache2-prefork/mod_authz_groupfile.so
LoadModule authn_file_module /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule authz_user_module /usr/lib/apache2-prefork/mod_authz_user.so
LoadModule autoindex_module /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib/apache2-prefork/mod_dir.so
LoadModule include_module /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule status_module /usr/lib/apache2-prefork/mod_status.so
LoadModule userdir_module /usr/lib/apache2-prefork/mod_userdir.so
LoadModule asis_module /usr/lib/apache2-prefork/mod_asis.so
LoadModule imagemap_module /usr/lib/apache2-prefork/mod_imagemap.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
LoadModule php5_module /usr/lib/apache2/mod_php5.so
LoadModule perl_module /usr/lib/apache2/mod_perl.so
LoadModule python_module /usr/lib/apache2/mod_python.so
LoadModule authz_default_module /usr/lib/apache2-prefork/mod_authz_default.so
#



oder muss ich da noch irgentwo was eintragen??

gruss
fredolin

Oliski
18.03.08, 10:02
na du kannst ja mal eine leere phpseite mit <?php phpinfo(); ?> als inhalt erstellen und dann schauen ob php wirklich mitgeladen wird

was sagt denn der apache error/accesslog, wenn du die phpdatei aufrufst?

marce
18.03.08, 10:07
... und dass das Modul geladen wird hat noch lange nicht zu bedeuten, dass auch eine entsprechende Verknüpfung mit php konfiguriert ist...