Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Probleme beim Starten von Apache2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
smog_at
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 215

PostPosted: Sun Oct 22, 2006 6:17 pm    Post subject: [SOLVED] Probleme beim Starten von Apache2 Reply with quote

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
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Sun Oct 22, 2006 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
smog_at
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 215

PostPosted: Sun Oct 22, 2006 6:30 pm    Post subject: Reply with quote

Das unklare dabei ist das ich nichts geändert habe... ist alles frisch vom Portage

Lg smog_at
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Sun Oct 22, 2006 6:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
smog_at
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 215

PostPosted: Sun Oct 22, 2006 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Sun Oct 22, 2006 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum