View previous topic :: View next topic |
Author |
Message |
smog_at Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 08 Jul 2003 Posts: 215
|
Posted: Sun Oct 22, 2006 6:17 pm Post subject: [SOLVED] Probleme beim Starten von Apache2 |
|
|
Hey @all,
ich habe mir heute neu den Apache2 installiert ([ebuild R ] net-www/apache-2.0.59-r1 USE="apache2 ssl -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads" 0 kB)
jedoch bekomme ich den Apachen nicht zum laufen
jedesmal wenn ic hversuche apache zu starten (/etc/init.d/apache2 start bzw. (/etc/init.d/apache2 restart) bekomm eich folgende Fehlermeldung:
Code: |
MyHost ~ # /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
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 : run syntax check for config files
|
Kann mir disbezüglich jemand weiterhelfen, im Forum selbst hatte ich noch keine Lösung gefunden.
libexpat ist vorhanden und auch ein redev-rebuild bringt keinen Erfolg
Code: |
MyHost ~ # revdep-rebuild --library=libexpat.so.0
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries using libexpat.so.0
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Checking dynamic linking...
done.
(/root/.revdep-rebuild_77938876.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild_77938876.5_order)
There are no dynamic links to libexpat.so.0... All done.
|
Vielen Dank im Voraus
Lg smog_at
Last edited by smog_at on Sun Oct 22, 2006 6:36 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b3cks Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2950913324bb3561d0d0e4.jpg)
Joined: 23 Mar 2004 Posts: 1481 Location: Bremen (GER)
|
Posted: Sun Oct 22, 2006 6:28 pm Post subject: |
|
|
Hi,
was ist denn bitte an
Quote: | * Apache2 has detected a syntax error in your configuration files |
unklar?
Prober mal folgendes:
Code: | /usr/sbin/apache2 -t <dein_apache.config_file> |
_________________ I am /root and if you see me laughing you better have a backup. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smog_at Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 08 Jul 2003 Posts: 215
|
Posted: Sun Oct 22, 2006 6:30 pm Post subject: |
|
|
Das unklare dabei ist das ich nichts geändert habe... ist alles frisch vom Portage
Lg smog_at |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
b3cks Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2950913324bb3561d0d0e4.jpg)
Joined: 23 Mar 2004 Posts: 1481 Location: Bremen (GER)
|
Posted: Sun Oct 22, 2006 6:33 pm Post subject: |
|
|
Vielleicht sind in der Default-Config aber irgendwelche Infos drinne, die du mittels USE-Flags deaktiviert hast. Z.B. das Laden irgendwelcher Module. Deswegen kann man die Config ja mal durchchecken (lassen), vor allem wenn Apache einen schon darauf hinweist.
Ich muss zu meiner Unschuld aber sagen, dass ich von Apache unter Gentoo keinen Plan habe. _________________ I am /root and if you see me laughing you better have a backup. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smog_at Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 08 Jul 2003 Posts: 215
|
Posted: Sun Oct 22, 2006 6:35 pm Post subject: |
|
|
Sorry, hatte doch was geändert und hatte tatsächlich einen Syntax fehler drinnen...
Gehört natürlich statt
Code: |
-D SVN - DSVN_AUTHZ
|
das..
Code: |
-D SVN -D SVN_AUTHZ
|
Seit wann schreibt er nicht mehr dazu wo was falsch ist?
Lg smog_at |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firefly Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 31 Oct 2002 Posts: 5329
|
Posted: Sun Oct 22, 2006 7:00 pm Post subject: |
|
|
im init-script vom apache gibt es die cmd-option "configtest". _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|