Linux Mint Türkiye

Yazılım => Yazılım Sorunları => Konuyu başlatan: serdar - 21 Temmuz 2016, 01:22:31

Başlık: PHP 404 not found
Gönderen: serdar - 21 Temmuz 2016, 01:22:31
İyi geceler olsun;
Az önce phpmyadmin ile işlem yapmak istediğimde "404 Not Found nginx/1.4.6 (Ubuntu)"uyarısını aldım.
Daha önce açılmış başlıktaki kodları uygulayarak aldığım çıktı şöyle:
Kod: [Seç]
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
[sudo] password for mehmet:
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ sudo /etc/init.d/apache2 restart
 * Restarting web server apache2                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ Include /etc/phpmyadmin/apache.conf
Include: komut bulunamadı
mehmet[member=1581]Mehmet[/member]-All-Series ~ $
Bu durumda ne yapabilirim?
Başlık: Ynt: PHP 404 not found
Gönderen: Genizcil_N - 21 Temmuz 2016, 02:08:25
Şu iletideki (https://forum.linuxmint.net.tr/index.php?topic=2468.msg15624#msg15624) öneriyi denediniz değil mi? Kod etiketi içerisindeki son kısım komut olmadığı için hata vermiş.
Kod: [Seç]
sudo xed /etc/apache2/apache2.confkomutuyla açılan dosyaya
Kod: [Seç]
Include /etc/phpmyadmin/apache.confsatırını eklemeyi deneyiniz.  Linux Mint 17.x kullanıyorsanız komuttaki xed yerine; Mate için pluma Cinnamon için gedit, Kde için kate yazınız.
Başlık: Ynt: PHP 404 not found
Gönderen: serdar - 21 Temmuz 2016, 02:40:44
İyi geceler olsun,
Genizcil_N, verdiğiniz bağlantıdaki iletiyi biraz önce denemiştim ve o sayede elde ettiğim uçbirim çıktısını ilk iletime yapıştırmıştım.
"include " ile başlayan satırı daha önce eklemiştim. Fakat biraz önce silip yeniden ekledim. ancak sonuç değişmedi. Hala "404 not found" uyarısını almaya devam ediyorum.
Bu arada "include " ile başlayan satırı "apache2.conf" dosyasının en sonuna ekledim. Daha önce yaptığım gibi.



Mesajlar Birleştirildi.
İyi günler olsun,
Biraz önce yukarıda anlatılan komutlarla yeni bir deneme daha yaptım.  Uçbirim çıktısı şöyle:
Kod: [Seç]
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
[sudo] password for mehmet:
ln: failed to create symbolic link `/var/www/html/phpmyadmin/phpmyadmin': Dosya var
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ sudo /etc/init.d/apache2 restart
 * Restarting web server apache2                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

                                                                         [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
mehmet[member=1581]Mehmet[/member]-All-Series ~ $
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ Include /etc/phpmyadmin/apache.conf
Include: komut bulunamadı
mehmet[member=1581]Mehmet[/member]-All-Series ~ $ sudo gedit /etc/apache2/apache2.conf
mehmet[member=1581]Mehmet[/member]-All-Series ~ $