Gönderen Konu: [Çözüldü] Apache Kaldırdıktan Sonra Çalıştıramama Sorunu  (Okunma sayısı 5299 defa)

Çevrimdışı swiper93

  • Yeni Penguen
  • *
  • İleti: 42
    • @skenderci
  • Dağıtım: Linux Mint 19
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: Nvidia 610m
  • İşlemci: İntel i5
Apache2 bi türlü başlamıyor terminal çıktısı şu şekilde
Aslında daha önce LAMP kurulumu yaptım sonra Laravel Framework'u bir türlü serverda çalıştıramadığım için sonra tek tek "apt-get remove" komutuyla geri kaldırmıştım fakat değişik birşey yaptım "/etc/apache2" dizindeki apache2 klasörünü de yönetici olarak sildim tekrar kurduğumda ise apache çalışmadı ne yapabilirim?
Kod: [Seç]
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun starting up.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * Starting Apache httpd web server apache2
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  *
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * The apache2 configtest failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Output of config test was:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: AH00526: Syntax error on line 156 of /etc/apache2/apache2.conf:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Invalid command 'Require', perhaps misspelled or defined by a module not inc
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Action 'configtest' failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: The Apache error log may have more information.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Control process exited, code=exited status=1
Ağu 06 20:10:00 notebook-K53SD systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Unit entered failed state.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Failed with result 'exit-code'.
Ağu 06 20:10:00 notebook-K53SD sudo[27397]: pam_unix(sudo:session): session closed for user root
lines 1522-1544/1544 (END)
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun starting up.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * Starting Apache httpd web server apache2
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  *
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * The apache2 configtest failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Output of config test was:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: AH00526: Syntax error on line 156 of /etc/apache2/apache2.conf:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Action 'configtest' failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: The Apache error log may have more information.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Control process exited, code=exited status=1
Ağu 06 20:10:00 notebook-K53SD systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Unit entered failed state.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Failed with result 'exit-code'.
Ağu 06 20:10:00 notebook-K53SD sudo[27397]: pam_unix(sudo:session): session closed for user root
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
...skipping...
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has begun starting up.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * Starting Apache httpd web server apache2
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  *
Ağu 06 20:10:00 notebook-K53SD apache2[27400]:  * The apache2 configtest failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Output of config test was:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: AH00526: Syntax error on line 156 of /etc/apache2/apache2.conf:
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: Action 'configtest' failed.
Ağu 06 20:10:00 notebook-K53SD apache2[27400]: The Apache error log may have more information.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Control process exited, code=exited status=1
Ağu 06 20:10:00 notebook-K53SD systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Unit entered failed state.
Ağu 06 20:10:00 notebook-K53SD systemd[1]: apache2.service: Failed with result 'exit-code'.
Ağu 06 20:10:00 notebook-K53SD sudo[27397]: pam_unix(sudo:session): session
« Son Düzenleme: 23 Ağustos 2016, 10:52:23 Gönderen: swiper93 »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #1 : 06 Ağustos 2016, 23:37:07 »
Mesajınızı bölüp yeni bir başlık oluşturdum. Nasıl belgeleri altından sorun çözmek ilgili belgeleri karmaşık hale getirebiliyor.



Apache'yi aşağıdaki komutla kaldırıp ardından yeniden kurmayı deneyiniz.

Kod: [Seç]
sudo apt-get remove --auto-remove apache2
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı swiper93

  • Yeni Penguen
  • *
  • İleti: 42
    • @skenderci
  • Dağıtım: Linux Mint 19
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: Nvidia 610m
  • İşlemci: İntel i5
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #2 : 07 Ağustos 2016, 15:10:11 »
Denedim fakat aynı problem devam ediyor

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #3 : 07 Ağustos 2016, 18:33:06 »
Aşağıdaki komutla yapılandırma dosyaları ile birlikte kaldırdıktan sonra yeniden kurulum deneyebilrisiniz.

Kod: [Seç]
sudo apt-get remove --purge --auto-remove apache2
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı swiper93

  • Yeni Penguen
  • *
  • İleti: 42
    • @skenderci
  • Dağıtım: Linux Mint 19
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: Nvidia 610m
  • İşlemci: İntel i5
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #4 : 10 Ağustos 2016, 13:29:58 »
Sorun daha da karmaşık hale gelmeye başladı localhost adresinde php sunucu apache çalışmıyor zannedersem çünkü php dosyasında yazan kodları olduğu gibi gösteriyor tarayıcıda :)

Mesajlar Birleştirildi.
LAMP içinde kurulan Apache,MariaDB, PHP server vb.. hepsini birden hiçbir dosyası yapılandırma ayarı kalmadan kaldırabilme imkanım var mı? Çünkü kaç kere kurup kaldırma işlemi başka başka işlemler denedim. Hatta Xampp falan da yükledim kaldırdım. Sanırım sistemde bazı ayarlarda sıkıntı oldu. Bunu Format atmadan çözebilme imkanım var mı? Çünkü sıfırdan LinuxMint kurmak istemiyorum kendime göre özelleştirdim. Tekrardan kurmaya üşeniyorum :)
« Son Düzenleme: 10 Ağustos 2016, 13:44:58 Gönderen: swiper93 »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #5 : 10 Ağustos 2016, 15:14:28 »
XAMMP kaldırmak için aşağıdaki komutu kullanabilirsiniz.

Kod: [Seç]
sudo /opt/lampp/uninstall
Aşağıdaki komutla LAMP öğelerini kaldırmak denenebilir.

Kod: [Seç]
sudo apt-get remove --purge --auto-remove apache2  mariadb-server mariadb-client php7.0* libapache2-mod-php7.0 phpmyadmin
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı swiper93

  • Yeni Penguen
  • *
  • İleti: 42
    • @skenderci
  • Dağıtım: Linux Mint 19
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: Nvidia 610m
  • İşlemci: İntel i5
Ynt: Apache Kaldırdıktan Sonra Çalıştıramama Sorunu
« Yanıtla #6 : 23 Ağustos 2016, 10:46:56 »
Bunları denedim fakat istediğim sonucu alamadım en sonunda linux minti yeniden kurup hemen ardından LAMP kurulumu yaptım ve herşey güzel çalışıyor sonunda  :)