Gönderen Konu: [Çözüldü] Libux Mint 19x Php apache server başlatılamıyor.  (Okunma sayısı 1799 defa)

Çevrimdışı ByEfexor

  • Yeni Penguen
  • *
  • İleti: 62
  • Dağıtım: Linux Mint
  • Masaüstü Ortamı: Cinnamon
  • Grafik Kartı: Nvidia
  • İşlemci: İntel Core i7
Merhabalar, 1 saat önce apt-get autoremove yaptım, sistemde kalıntı falan varsa temizlesin dedim, yapmaz olaydım, Projelerim üzerinde çalışmaya devam edecektim tarayıcıya localhost yazdım, ve localhost açılmadı :) ve apache server çalışıyormu diye kontrol ettiğimde şöyle bir hata ile karşılaştım, apache bir türlü başlatılamıyor, sorunun sebebi nedir, ne yapmak gerek ?

Kod: [Seç]
root@ezel:/home/ezel# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Thu 2019-05-02 01:45:50 +03; 50s ago
  Process: 7099 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

May 02 01:45:50 ezel apachectl[7099]: [Thu May 02 01:45:50.461223 2019] [alias:warn] [pid 7102] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 wil
May 02 01:45:50 ezel apachectl[7099]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' dire
May 02 01:45:50 ezel apachectl[7099]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
May 02 01:45:50 ezel apachectl[7099]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/apache2/s
May 02 01:45:50 ezel apachectl[7099]: AH00014: Configuration check failed
May 02 01:45:50 ezel apachectl[7099]: Action 'start' failed.
May 02 01:45:50 ezel apachectl[7099]: The Apache error log may have more information.
May 02 01:45:50 ezel systemd[1]: apache2.service: Control process exited, code=exited status=1
May 02 01:45:50 ezel systemd[1]: apache2.service: Failed with result 'exit-code'.
May 02 01:45:50 ezel systemd[1]: Failed to start The Apache HTTP Server.

Mesajlar Birleştirildi.
Sorunu çözdüm, sanırım apache server ile alakalı bir takım paketleri silmişim, aşağıdaki komut yardımı ile eksik paketleri kuruyor. benim gibi sorun yaşayan arkadaşlar aşağıdaki komut ile sorunlarını gidermeyi deneyebilirler :)

Kod: [Seç]
sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2
« Son Düzenleme: 02 Mayıs 2019, 02:06:32 Gönderen: ByEfexor »