Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [APACHE] Nie mogę odpalić serwera
Forum PHP.pl > Forum > Przedszkole
zmorajlb
Witam, instalowalem spamassasina, nie wiem gdzie popełniłem błąd ale teraz nie mogę za cholerę odpalić serwera.
Error log apache czysto :/

Nakieruje mnie ktoś ?
Nawet zapłacę za nakierowanie :*

  1. ● apache2.service - The Apache HTTP Server
  2. Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  3. Active: failed (Result: exit-code) since Tue 2018-01-16 18:25:40 CET; 16s ago
  4. Process: 8960 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
  5. Main PID: 11289 (code=exited, status=0/SUCCESS)
  6.  
  7. Jan 16 18:25:40 rekin2 systemd[1]: Starting The Apache HTTP Server...
  8. Jan 16 18:25:40 rekin2 apachectl[8960]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fc
  9. Jan 16 18:25:40 rekin2 apachectl[8960]: Action 'start' failed.
  10. Jan 16 18:25:40 rekin2 apachectl[8960]: The Apache error log may have more information.
  11. Jan 16 18:25:40 rekin2 systemd[1]: apache2.service: Control process exited, code=exited status=1
  12. Jan 16 18:25:40 rekin2 systemd[1]: Failed to start The Apache HTTP Server.
  13. Jan 16 18:25:40 rekin2 systemd[1]: apache2.service: Unit entered failed state.
  14. Jan 16 18:25:40 rekin2 systemd[1]: apache2.service: Failed with result 'exit-code'.


pozdrawiam
nospor
Cytat
Nawet zapłacę za nakierowanie :*

ok smile.gif
Cytat
Jan 16 18:25:40 rekin2 apachectl[8960]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fc

Stowka sie nalezy smile.gif
zmorajlb
Ten plik nie był edytowany, a dodatkowo w lini 146 jest: IncludeOptional mod-enabled/*.load

to nie to panie kolego
nospor
Cytat
Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fc

Druga stowka sie nalezy wink.gif
zmorajlb
Gdyby błąd leżał w tych plikach to bym nie pisał na tym forum wink.gif

  1. Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so:


:/ pliki się zgadzaja z plikami z drugiego serwera,
nie wiem jestem nemo

Podsyłam jeszcze journal


  1. Jan 16 20:46:29 rekin2 systemd[1]: apt-daily-upgrade.timer: Adding 6min 39.309011s random time.
  2. Jan 16 20:46:29 rekin2 systemd[1]: certbot.timer: Adding 35min 40.202708s random time.
  3. Jan 16 20:46:29 rekin2 systemd[1]: apt-daily.timer: Adding 1h 29min 46.427028s random time.
  4. Jan 16 20:46:36 rekin2 systemd[1]: Starting The Apache HTTP Server...
  5. -- Subject: Unit apache2.service has begun start-up
  6. -- Defined-By: systemd
  7. -- Support: <a href="https://www.debian.org/support" target="_blank">https://www.debian.org/support</a>
  8. --
  9. -- Unit apache2.service has begun starting up.
  10. Jan 16 20:46:36 rekin2 apachectl[17695]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so
  11. Jan 16 20:46:36 rekin2 apachectl[17695]: Action 'start' failed.
  12. Jan 16 20:46:36 rekin2 apachectl[17695]: The Apache error log may have more information.
  13. Jan 16 20:46:36 rekin2 systemd[1]: apache2.service: Control process exited, code=exited status=1
  14. Jan 16 20:46:36 rekin2 systemd[1]: Failed to start The Apache HTTP Server.
  15. -- Subject: Unit apache2.service has failed
  16. -- Defined-By: systemd
  17. -- Support: <a href="https://www.debian.org/support" target="_blank">https://www.debian.org/support</a>
  18. --
  19. -- Unit apache2.service has failed.
  20. --
  21. -- The result is failed.
  22. Jan 16 20:46:36 rekin2 systemd[1]: apache2.service: Unit entered failed state.
  23. Jan 16 20:46:36 rekin2 systemd[1]: apache2.service: Failed with result 'exit-code'.




Dodam, że poza edycją plików master.cf dla postfixa nie edytowałem nic :/


i nie będzie dwóch stóweczek specu...
pozdrawiam, leci reinstall serwera.
Pyton_000
sudo apt-get install --reinstall libapache2-mod-fcgid

Stówka dla mnie wink.gif
nospor
Cytat
nie będzie dwóch stóweczek specu...
Musze cie niestesy zawiesc, ale nie jestem specem. Ale o stowke zawsze warto bylo zapytac biggrin.gif
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.