Nach vserver restart verbindungs fehler mit meiner seite

Alles, was den Apache betrifft, kann hier besprochen werden.

Nach vserver restart verbindungs fehler mit meiner seite

Postby cranky » 21. September 2008 22:57

kann nach dem restart meines vservers nicht mehr auf meine hompage kontekten verbindungs fehler halt ich habe in putty gekuckt ob der http server online ist dabei krieg ich immer ne fehler meldung die geht so Starting httpd2 (prefork) Syntax error on line 1 of /etc/apache2/httpd.conf:
Invalid command 'option', perhaps misspelled or defined by a module not included in the server configuration
leider kenne ich mich da nciht so aus und weiß grade nicht wie ich das behben soll kan mir wer helfen ?
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 07:51

Invalid command 'option', perhaps misspelled or defined by a module not included in the server configuration

Die Directive "option" gibt es bei einem normalen Apachen nicht.
--> "Options" würde es aber geben (je nach dem, wie der Rest dieser Zeile aussieht).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 13:19

was muss ich den jetzt genau machen habe linux suse und weiß nicht im gerningsten wie ich das wegkriege also was muss ich machen ?
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 13:26

also was muss ich machen ?

Das Naheliegende:
Du öffnest die Datei in einem Editor und schaust, was in dieser Zeile 1 überhaupt drinsteht (bzw. postest das hier).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 14:17

option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf


# Note: instead of adding your own configuration here, consider
# adding it in your own file (/etc/apache2/httpd.conf.local)
# putting its name into APACHE_CONF_INCLUDE_FILES in
# /etc/sysconfig/apache2 -- this will make system updates
# easier :)
AddOutputFilter INCLUDES .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


das stand da drinne weiß nicht was ich da machen soll
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 14:23

Code: Select all
option '-S' to verify your virtual host

Diese Zeile gehört da so nicht hin. (löschen oder ein "#" davor hinmachen)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 14:26

oh man wer ja zu schön wens schon geklappt hätte jetzt steht da
/etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 12 of /etc/apache2/httpd.conf:
Invalid command 'AddOutputFilter', perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 14:30

Invalid command 'AddOutputFilter', perhaps misspelled or defined by a module not included in the server configuration

Da scheint das Apache-Modul "mod_mime" nicht geladen zu sein.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 14:32

hir ich habe mime.types gefunden also die textdatei da drine steht
Code: Select all
mime.types
# This file controls what Internet media types are sent to the client for # given file extension(s). Sending the correct media type to the client # is important so they know how to handle the content of the file. # For more information about Internet media types, please read # RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type # registry is at <ftp://ftp.iana.org/assignments/media-types/>. # MIME type Extension application/andrew-inset ez application/chemtool cht application/dicom dcm application/docbook+xml docbook application/ecmascript es application/flash-video flv application/illustrator ai application/javascript js application/mac-binhex40 application/mathematica nb application/msword doc application/octet-stream bin application/oda oda application/ogg ogg application/pdf pdf application/pgp pgp application/pgp-encrypted application/pgp-encrypted pgp gpg application/pgp-keys application/pgp-keys skr pkr application/pgp-signature application/pgp-signature sig application/pkcs7-mime application/pkcs7-signature p7s application/postscript ps application/rtf rtf application/sdp sdp application/smil smil smi sml application/stuffit sit application/vnd.corel-draw cdr application/vnd.hp-hpgl hpgl application/vnd.hp-pcl pcl application/vnd.lotus-1-2-3 123 wk1 wk3 wk4 wks application/vnd.mozilla.xul+xml xul application/vnd.ms-excel xls xlc xll xlm xlw xla xlt xld application/vnd.ms-powerpoint ppz ppt pps pot application/vnd.oasis.opendocument.chart odc application/vnd.oasis.opendocument.database odb application/vnd.oasis.opendocument.formula odf application/vnd.oasis.opendocument.graphics odg application/vnd.oasis.opendocument.graphics-template otg application/vnd.oasis.opendocument.image odi application/vnd.oasis.opendocument.presentation odp application/vnd.oasis.opendocument.presentation-template otp application/vnd.oasis.opendocument.spreadsheet ods application/vnd.oasis.opendocument.spreadsheet-template ots application/vnd.oasis.opendocument.text odt application/vnd.oasis.opendocument.text-master odm application/vnd.oasis.opendocument.text-template ott application/vnd.oasis.opendocument.text-web oth application/vnd.palm pdb application/vnd.rn-realmedia application/vnd.rn-realmedia rm application/vnd.rn-realmedia-secure rms application/vnd.rn-realmedia-vbr rmvb application/vnd.stardivision.calc sdc application/vnd.stardivision.chart sds application/vnd.stardivision.draw sda application/vnd.stardivision.impress sdd sdp application/vnd.stardivision.mail smd application/vnd.stardivision.math smf application/vnd.stardivision.writer sdw vor sgl application/vnd.sun.xml.calc sxc application/vnd.sun.xml.calc.template stc application/vnd.sun.xml.draw sxd application/vnd.sun.xml.draw.template std application/vnd.sun.xml.impress sxi application/vnd.sun.xml.impress.template sti application/vnd.sun.xml.math sxm application/vnd.sun.xml.writer sxw application/vnd.sun.xml.writer.global sxg application/vnd.sun.xml.writer.template stw application/vnd.wordperfect wpd application/x-abiword abw abw.CRASHED abw.gz zabw application/x-amipro sam application/x-anjuta-project prj application/x-applix-spreadsheet as application/x-applix-word aw application/x-arc application/x-archive a application/x-arj arj application/x-asax asax application/x-ascx ascx application/x-ashx ashx application/x-asix asix application/x-asmx asmx application/x-asp asp application/x-awk application/x-axd axd application/x-bcpio bcpio application/x-bittorrent torrent application/x-blender blender blend BLEND application/x-bzip bz bz2 application/x-bzip bz2 bz application/x-bzip-compressed-tar tar.bz tar.bz2 application/x-bzip-compressed-tar tar.bz tar.bz2 tbz tbz2 application/x-cd-image iso application/x-cgi cgi application/x-chess-pgn pgn application/x-chm chm application/x-class-file application/x-cmbx cmbx application/x-compress Z application/x-compressed-tar tar.gz tar.Z tgz taz application/x-compressed-tar tar.gz tgz application/x-config config application/x-core application/x-cpio cpio application/x-cpio-compressed cpio.gz application/x-csh csh application/x-cue cue application/x-dbase dbf application/x-dbm application/x-dc-rom dc application/x-deb deb application/x-designer ui application/x-desktop desktop kdelnk application/x-devhelp devhelp application/x-dia-diagram dia application/x-disco disco application/x-dvi dvi application/x-e-theme etheme application/x-egon egon application/x-executable exe application/x-font-afm afm application/x-font-bdf bdf application/x-font-dos application/x-font-framemaker application/x-font-libgrx application/x-font-linux-psf psf application/x-font-otf application/x-font-pcf pcf application/x-font-pcf pcf.gz application/x-font-speedo spd application/x-font-sunos-news application/x-font-tex application/x-font-tex-tfm application/x-font-ttf ttc TTC application/x-font-ttf ttf application/x-font-type1 pfa pfb gsf pcf.Z application/x-font-vfont application/x-frame application/x-frontline aop application/x-gameboy-rom gb application/x-gdbm application/x-gdesklets-display display application/x-genesis-rom gen md application/x-gettext-translation gmo application/x-glabels glabels application/x-glade glade application/x-gmc-link application/x-gnome-db-connection connection application/x-gnome-db-database database application/x-gnome-stones caves application/x-gnucash gnucash gnc xac application/x-gnumeric gnumeric application/x-graphite gra application/x-gtar gtar application/x-gtktalog application/x-gzip gz application/x-gzpostscript ps.gz application/x-hdf hdf application/x-ica ica application/x-ipod-firmware application/x-jamin jam application/x-jar jar application/x-java class application/x-java-archive jar ear war application/x-java-jnlp-file jnlp application/x-jbuilder-project jpr jpx application/x-karbon karbon application/x-kchart chrt application/x-kformula kfo application/x-killustrator kil application/x-kivio flw application/x-kontour kon application/x-kpovmodeler kpm application/x-kpresenter kpr kpt application/x-krita kra application/x-kspread ksp application/x-kspread-crypt application/x-ksysv-package application/x-kugar kud application/x-kword kwd kwt application/x-kword-crypt application/x-lha lha lzh application/x-lha lzh application/x-lhz lhz application/x-linguist ts application/x-lyx lyx application/x-lzop lzo application/x-lzop-compressed-tar tar.lzo tzo application/x-macbinary application/x-machine-config application/x-magicpoint mgp application/x-master-page master application/x-matroska mkv application/x-mdp mdp application/x-mds mds application/x-mdsx mdsx application/x-mergeant mergeant application/x-mif mif application/x-mozilla-bookmarks application/x-mps mps application/x-ms-dos-executable exe application/x-mswinurl application/x-mswrite wri application/x-msx-rom msx application/x-n64-rom n64 application/x-nautilus-link application/x-nes-rom nes application/x-netcdf cdf nc application/x-netscape-bookmarks application/x-object o application/x-ole-storage application/x-oleo oleo application/x-palm-database application/x-palm-database pdb prc application/x-par2 PAR2 par2 application/x-pef-executable application/x-perl pl pm al perl application/x-php php php3 php4 application/x-pkcs12 p12 pfx application/x-planner planner mrproject application/x-planperfect pln application/x-prjx prjx application/x-profile application/x-ptoptimizer-script pto application/x-pw pw application/x-python-bytecode pyc pyo application/x-quattro-pro wb1 wb2 wb3 application/x-quattropro wb1 wb2 wb3 application/x-qw qif application/x-rar rar application/x-rar-compressed rar application/x-rdp rdp application/x-reject rej application/x-remoting rem application/x-resources resources application/x-resourcesx resx application/x-rpm rpm application/x-ruby application/x-sc application/x-sc sc application/x-scribus sla sla.gz scd scd.gz application/x-shar shar application/x-shared-library-la la application/x-sharedlib so application/x-shellscript sh application/x-shockwave-flash swf application/x-siag siag application/x-slp application/x-smil kino application/x-smil smi smil application/x-sms-rom sms gg application/x-soap-remoting soap application/x-streamingmedia ssm application/x-stuffit application/x-stuffit bin sit application/x-sv4cpio sv4cpio application/x-sv4crc sv4crc application/x-tar tar application/x-tarz tar.Z application/x-tex-gf gf application/x-tex-pk k application/x-tgif obj application/x-theme theme application/x-toc toc application/x-toutdoux application/x-trash bak old sik application/x-troff tr roff t application/x-troff-man man application/x-troff-man-compressed application/x-tzo tar.lzo tzo application/x-ustar ustar application/x-wais-source src application/x-web-config application/x-wpg wpg application/x-wsdl wsdl application/x-x509-ca-cert der cer crt cert pem application/x-xbel xbel application/x-zerosize application/x-zoo zoo application/xhtml+xml xhtml application/zip zip audio/ac3 ac3 audio/basic au snd audio/midi mid midi audio/mpeg mp3 audio/prs.sid sid psid audio/vnd.rn-realaudio ra audio/x-aac aac audio/x-adpcm audio/x-aifc audio/x-aiff aif aiff audio/x-aiff aiff aif aifc audio/x-aiffc audio/x-flac flac audio/x-it it audio/x-m4a m4a audio/x-mod mod ult uni XM m15 mtm 669 audio/x-mp3-playlist audio/x-mpeg audio/x-mpegurl m3u audio/x-ms-asx audio/x-pn-realaudio ra ram rm audio/x-pn-realaudio ram rmm audio/x-riff audio/x-s3m s3m audio/x-scpls pls audio/x-scpls pls xpl audio/x-stm stm audio/x-voc voc audio/x-wav wav audio/x-xi xi audio/x-xm xm image/bmp bmp image/cgm cgm image/dpx image/fax-g3 g3 image/g3fax image/gif gif image/ief ief image/jpeg jpeg jpg jpe image/jpeg2000 jp2 image/png png image/rle rle image/svg+xml svg image/tiff tif tiff image/vnd.djvu djvu djv image/vnd.dwg dwg image/vnd.dxf dxf image/x-3ds 3ds image/x-applix-graphics ag image/x-cmu-raster ras image/x-compressed-xcf xcf.gz xcf.bz2 image/x-dcraw bay BAY bmq BMQ cr2 CR2 crw CRW cs1 CS1 dc2 DC2 dcr DCR fff FFF k25 K25 kdc KDC mos MOS mrw MRW nef NEF orf ORF pef PEF raf RAF rdc RDC srf SRF x3f X3F image/x-dib image/x-eps eps epsi epsf image/x-fits fits image/x-fpx image/x-icb icb image/x-ico ico image/x-iff iff image/x-ilbm ilbm image/x-jng jng image/x-lwo lwo lwob image/x-lws lws image/x-msod msod image/x-niff image/x-pcx image/x-photo-cd pcd image/x-pict pict pict1 pict2 image/x-portable-anymap pnm image/x-portable-bitmap pbm image/x-portable-graymap pgm image/x-portable-pixmap ppm image/x-psd psd image/x-rgb rgb image/x-sgi sgi image/x-sun-raster sun image/x-tga tga image/x-win-bitmap cur image/x-wmf wmf image/x-xbitmap xbm image/x-xcf xcf image/x-xfig fig image/x-xpixmap xpm image/x-xwindowdump xwd inode/blockdevice inode/chardevice inode/directory inode/fifo inode/mount-point inode/socket inode/symlink message/delivery-status message/disposition-notification message/external-body message/news message/partial message/rfc822 message/x-gnu-rmail model/vrml wrl multipart/alternative multipart/appledouble multipart/digest multipart/encrypted multipart/mixed multipart/related multipart/report multipart/signed multipart/x-mixed-replace text/calendar vcs ics text/css css CSSL text/directory vcf vct gcrd text/enriched text/html html htm text/htmlh text/mathml mml text/plain txt asc text/rdf rdf text/rfc822-headers text/richtext rtx text/rss rss text/sgml sgml sgm text/spreadsheet sylk slk text/tab-separated-values tsv text/vnd.rn-realtext rt text/vnd.wap.wml wml text/x-adasrc adb ads text/x-authors text/x-bibtex bib text/x-boo boo text/x-c++hdr hh text/x-c++src cpp cxx cc C c++ text/x-chdr h h++ hp text/x-comma-separated-values csv text/x-copying text/x-credits text/x-csharp cs text/x-csrc c text/x-dcl dcl text/x-dsl dsl text/x-dsrc d text/x-dtd dtd text/x-emacs-lisp el text/x-fortran f text/x-gettext-translation po text/x-gettext-translation-template pot text/x-gtkrc text/x-haskell hs text/x-idl idl text/x-install text/x-java java text/x-js js text/x-ksysv-log text/x-literate-haskell lhs text/x-log log text/x-makefile text/x-moc moc text/x-msil il text/x-nemerle n text/x-objcsrc m text/x-pascal p pas text/x-patch diff patch text/x-python py text/x-readme text/x-rng rng text/x-scheme scm text/x-setext etx text/x-speech text/x-sql sql text/x-suse-ymp ymp text/x-suse-ymu ymu text/x-tcl tcl tk text/x-tex tex ltx sty cls text/x-texinfo texi texinfo text/x-texmacs tm ts text/x-troff-me me text/x-troff-mm mm text/x-troff-ms ms text/x-uil uil text/x-uri uri url text/x-vb vb text/x-xds xds text/x-xmi xmi text/x-xsl xsl text/x-xslfo fo xslfo text/x-xslt xslt xsl text/xmcd text/xml xml video/3gpp 3gp video/dv dv dif video/isivideo video/mpeg mpeg mpg mp2 mpe vob dat video/quicktime qt mov moov qtvr video/vivo video/vnd.rn-realvideo rv video/wavelet video/x-3gpp2 3g2 video/x-anim anim[1-9j] video/x-avi video/x-flic fli flc video/x-mng mng video/x-ms-asf asf asx video/x-ms-wmv wmv video/x-msvideo avi video/x-nsv nsv NSV video/x-real-video video/x-sgi-movie movie




liegt es daran ?
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 14:40

und wie lade ich das

In einer Konfigdatei über LoadModule (In der, wo die anderen Module auch geladen werden).

gibs da nen tut ?

http://httpd.apache.org/docs/2.2/mod/mo ... loadmodule

(Ich würde mich aber mal an den wenden, der die Datei verändert hat, bzw. den Admin des VServers (der zu Deinem Interesse hoffentlich nicht du bist...))
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 14:47

nein ich bin nicht der admin hehe.....



//edit: man ich steig da nciht durch und der admin kennt sich weniger aus als ich.... was muss ich jetzt machen mit diesem load modul ?
Last edited by cranky on 22. September 2008 15:01, edited 2 times in total.
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 14:56

ich habe mime.types gefunden ... liegt es daran ?

Nein.

man ich steig da nciht durch und der admin kennt sich weniger aus als ich

Dann solltet Ihr einen managed Server buchen, einen Admin bezahlen, oder vorher daheim tüchtig üben (bevor man sich einen VServer holt)...

was muss ich jetzt machen mit diesem load modul ?

In der Datei "/etc/apache2/httpd.conf" oder in einer Datei in "/etc/apache2/vhosts.d/" sollte es schon Zeilen mit "LoadModule" geben. Und da das "LoadModule" für "mod_mime" aktivieren bzw. hinzufügen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 14:59

ich hab das im loadmodul.conf gefunden
Code: Select all
#
# 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 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 authn_file_module              /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule authz_host_module              /usr/lib/apache2-prefork/mod_authz_host.so
LoadModule authz_groupfile_module         /usr/lib/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_default_module           /usr/lib/apache2-prefork/mod_authz_default.so
LoadModule authz_user_module              /usr/lib/apache2-prefork/mod_authz_user.so
LoadModule authn_dbm_module               /usr/lib/apache2-prefork/mod_authn_dbm.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 env_module                     /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.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 ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
LoadModule php5_module                    /usr/lib/apache2/mod_php5.so
LoadModule fcgid_module                   /usr/lib/apache2/mod_fcgid.so
LoadModule perl_module                    /usr/lib/apache2/mod_perl.so
LoadModule python_module                  /usr/lib/apache2/mod_python.so
LoadModule suexec_module                  /usr/lib/apache2-prefork/mod_suexec.so
#




muss ich da was ändern ? xD wieso soll ich mir den jemanden mieten ist nicht mein server.... will aber gern helfen.
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Postby Wiedmann » 22. September 2008 15:08

ich hab das im loadmodul.conf gefunden
Code: Select all
LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so

Und diese Datei liegt im Verzeichnis "/etc/apache2/vhosts.d/"? Jedenfalls scheint ja dort das benötigte Modul geladen zu werden.

Code: Select all
# Files in this directory are created at apache start time by /usr/sbin/rcapache2

Aber evtl. frägst du mal in einem Suse Support Forum nach (bzw. beim Support deines Servers). Bei Suse scheint man das ja auch irgendwie über ein Konfigtool machen zu können was geladen wird.

(Oder hier schaut mal jemand zufällig in den Thread, der Suse benutzt.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby cranky » 22. September 2008 15:15

ah ich glaub ich hab den fehler den mod mime ist da nciht drine da sind viele mods drine aber nicht mime kann ich mir das mime mod irgendwo laden und da einbauen ?

und /usr/sbin/rcapache2 gibt es auch nicht
cranky
 
Posts: 9
Joined: 21. September 2008 22:53

Next

Return to Apache

Who is online

Users browsing this forum: No registered users and 19 guests