Local baglantiyi nasil test ettiniz ? Sunucu uzerinde asagidaki komutu deneyin.
telnet 192.168.1.30 80 calisiyor mu ? Calismiyorsa, IPv4 dinlemiyor sunucunuz. (netstat sunucunuz sadece IPv6 gostermis cunku). IPv6'yi disable edip deneyebilirsiniz. On Thu, Jan 18, 2018 at 5:41 PM, Mehmet Recep Turkoglu <[email protected]> wrote: > Merhaba > > KVM Modunda kurmuş olduğum centos 7 de httpd servisini kurdum ve > başlattım. Lokalde çalışmakta (bunu ssh tünel yaparak anladım). Ancak aynı > ağdaki uzaktaki bir makineden çalışmamaktadır. serverın ip si 192.168.1.30 > benim ip ise aynı subnette 192.168.1.26 > > ssh ile bağlanabiliyorum ama http üzerinden yanıt vermiyor yani 80 portu. > > > > > ------------------------------------------------------------ > ------------------------ > # netstat -anp |grep httpd > tcp6 0 0 :::80 :::* > LISTEN 1014/httpd > unix 3 [ ] STREAM CONNECTED 19532 1014/httpd > > ------------------------------------------------------------ > --------------------------- > > more /etc/httpd/logs/error_log dosyam şu şekilde > > > [Thu Jan 18 16:44:24.040273 2018] [core:notice] [pid 1686] SELinux policy > enabled; httpd running as context system_u:system_r:httpd_t:s0 > [Thu Jan 18 16:44:24.042441 2018] [suexec:notice] [pid 1686] AH01232: > suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > AH00558: httpd: Could not reliably determine the server's fully qualified > domain name, using localhost.localdomain. Set the 'ServerName' directive > globally to suppress this message > [Thu Jan 18 16:44:24.075830 2018] [auth_digest:notice] [pid 1686] AH01757: > generating secret for digest authentication ... > [Thu Jan 18 16:44:24.078140 2018] [lbmethod_heartbeat:notice] [pid 1686] > AH02282: No slotmem from mod_heartmonitor > [Thu Jan 18 16:44:24.089969 2018] [mpm_prefork:notice] [pid 1686] AH00163: > Apache/2.4.6 (CentOS) configured -- resuming normal operations > [Thu Jan 18 16:44:24.090062 2018] [core:notice] [pid 1686] AH00094: > Command line: '/usr/sbin/httpd -D FOREGROUND' > [Thu Jan 18 16:52:51.666668 2018] [autoindex:error] [pid 1689] [client > 127.0.0.1:34058] AH01276: Cannot serve directory /var/www/html/: No > matching DirectoryIndex (index.html) found, and server-generated directory > index forbidden by Options directive > [Thu Jan 18 16:52:54.456589 2018] [autoindex:error] [pid 1688] [client > 127.0.0.1:34060] AH01276: Cannot serve directory /var/www/html/: No > matching DirectoryIndex (index.html) found, and server-generated directory > index forbidden by Options directive > [Thu Jan 18 17:09:20.544275 2018] [mpm_prefork:notice] [pid 1686] AH00170: > caught SIGWINCH, shutting down gracefully > [Thu Jan 18 17:10:25.078356 2018] [core:notice] [pid 1014] SELinux policy > enabled; httpd running as context system_u:system_r:httpd_t:s0 > [Thu Jan 18 17:10:25.095640 2018] [suexec:notice] [pid 1014] AH01232: > suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > AH00558: httpd: Could not reliably determine the server's fully qualified > domain name, using localhost.localdomain. Set the 'ServerName' directive > globally to suppress this message > [Thu Jan 18 17:10:25.183650 2018] [auth_digest:notice] [pid 1014] AH01757: > generating secret for digest authentication ... > [Thu Jan 18 17:10:25.192765 2018] [lbmethod_heartbeat:notice] [pid 1014] > AH02282: No slotmem from mod_heartmonitor > [Thu Jan 18 17:10:25.211226 2018] [mpm_prefork:notice] [pid 1014] AH00163: > Apache/2.4.6 (CentOS) configured -- resuming normal operations > [Thu Jan 18 17:10:25.211355 2018] [core:notice] [pid 1014] AH00094: > Command line: '/usr/sbin/httpd -D FOREGROUND' > [Thu Jan 18 17:12:39.782390 2018] [autoindex:error] [pid 1066] [client > 127.0.0.1:52596] AH01276: Cannot serve directory /var/www/html/: No > matching DirectoryIndex (index.html) found, and server-generated directory > index forbidden by Options directive > > httpd.conf ve iptables-save dosyam da ektedir > > Yardımlarınız için şimdiden teşekkür ederim. > > Saygılarımla > > Mehmet Recep Türkoğlu > <--/ www.turkoglu.me /--> > > > _______________________________________________ > Linux E-Posta Listesi > [email protected] > Liste kurallari: http://liste.linux.org.tr/kurallar.php > > Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen > e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 > dakika içinde üyeliğinizi sonlandırabilirsiniz. > https://liste.linux.org.tr/mailman/listinfo/linux > >
_______________________________________________ Linux E-Posta Listesi [email protected] Liste kurallari: http://liste.linux.org.tr/kurallar.php Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 dakika içinde üyeliğinizi sonlandırabilirsiniz. https://liste.linux.org.tr/mailman/listinfo/linux
