|
|
| |||||||
| Site & Server Administration Server Yönetimi hakkında, .htaccess, Apache configuration ve log analiz, güvenlik |
| |
|
| | | LinkBack | Seçenekler |
| ||||
| Linux Virtuozzo VPS (centos 4.7) sunucum var. Her gün mail geliyor; httpd failed @ xxx date. A restart was attempted automagically. Service Check Method: [tcp connect] Failure Reason: Unable to connect to port 80 şeklinde... Nadiren de diğer servislerde bu tür hatalar oluyor. Fakat apache'nin neden sürekli böyle yaptığını anlamıyorum. Apache log'larında da sıradığı bir durum göremedim. Saldırı da almıyorum. Hitim de 2000 civarında. Sizce sorun ne olabilir? Bu arada 2 tane örnek kesinti anını ve kesintilerden hemen önceki logları yazıyorum. Bir sorun göremedim ben loglarda. Yalnız dikkat ettim, kesinti anından (ya da reboot zamanı da olabilir bu bilmiyorum; e-postada yazan saat) 10 dk öncesine kadar falan apacheye erişim olmuyormuş. Alıntı:
Apache ayarlarım: Alıntı:
Teşekkürler. Teşekkürler. |
| |||
| Alıntı:
Diğer arkadaşların önerilerini deneyip sonucu buraya yazacağım. |
| |||
| Apache Update yaptım, sorun düzelmedi. Bazen de spamd, ftp serverlar falan reset atıyor ama genelde httpd. Alıntı:
[Wed Aug 26 21:40:15 2009] [error] [client 94.54.35.18] File does not exist: /home/XXXXX/public_html/administrator/components/com_res/js, referer: http://www.XXXXX.com/incelemeler/cep...html?showall=1 [Wed Aug 26 21:40:15 2009] [error] [client 94.54.35.18] File does not exist: /home/XXXXX/public_html/404.shtml, referer: http://www.XXXXX.com/incelemeler/cep...html?showall=1 [Wed Aug 26 21:40:17 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/favicon.ico [Wed Aug 26 21:40:17 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/404.shtml [Wed Aug 26 21:40:35 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/administrator/components/com_res/js, referer: http://www.XXXXX.com/forum/melodiler...i-10-adet.html [Wed Aug 26 21:40:35 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/404.shtml, referer: http://www.XXXXX.com/forum/melodiler...i-10-adet.html [Wed Aug 26 21:40:35 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/administrator/components/com_res/js, referer: http://www.XXXXX.com/forum/melodiler...i-10-adet.html [Wed Aug 26 21:40:35 2009] [error] [client 94.120.76.127] File does not exist: /home/XXXXX/public_html/404.shtml, referer: http://www.XXXXX.com/forum/melodiler...i-10-adet.html [Wed Aug 26 21:40:59 2009] [error] [client 78.161.102.28] File does not exist: /home/XXXXX/public_html/administrator/components/com_res/js, referer: http://www.XXXXX.com/cep-telefonlari...nokia-n85.html [Wed Aug 26 21:40:59 2009] [error] [client 78.161.102.28] File does not exist: /home/XXXXX/public_html/404.shtml, referer: http://www.XXXXX.com/cep-telefonlari...nokia-n85.html |
| |||
| Hata kayıtları sadece bu kadar mı? Sizden istediğim; Timeout ve MaxClient değerini yükseltin, KeepAliveTimeout değerini 1 olarak ayarlayın. Sanırım sorun, apache gelen talepleri karşılayamıyor ve talep zaman aşımına uğruyor. Bunu yaptktan sonra httpd yeniden başlatın ve ipcs -aqs cevabını kopyalayın...
__________________ Knowledge speaks, wisdom listens. |
| |||
| Alıntı:
Kod: ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 851968 root 600 524288 4 dest ------ Semaphore Arrays -------- key semid owner perms nsems 0x00000000 884736 nobody 600 1 0x00000000 917505 nobody 600 1 0x00000000 950274 nobody 600 1 0x00000000 983043 nobody 600 1 0x00000000 1081348 nobody 600 1 0x00000000 1114117 nobody 600 1 0x00000000 1146886 nobody 600 1 0x00000000 1179655 nobody 600 1 0x00000000 1277960 nobody 600 1 0x00000000 1310729 nobody 600 1 0x00000000 1343498 nobody 600 1 0x00000000 1376267 nobody 600 1 0x00000000 1474572 nobody 600 1 0x00000000 1507341 nobody 600 1 0x00000000 1540110 nobody 600 1 0x00000000 1572879 nobody 600 1 0x00000000 1671184 nobody 600 1 0x00000000 1703953 nobody 600 1 0x00000000 1736722 nobody 600 1 0x00000000 1769491 nobody 600 1 0x00000000 1867796 nobody 600 1 0x00000000 1900565 nobody 600 1 0x00000000 1933334 nobody 600 1 0x00000000 1966103 nobody 600 1 0x00000000 2064408 nobody 600 1 0x00000000 2097177 nobody 600 1 0x00000000 2129946 nobody 600 1 0x00000000 2162715 nobody 600 1 0x00000000 2261020 nobody 600 1 0x00000000 2293789 nobody 600 1 0x00000000 2326558 nobody 600 1 0x00000000 2359327 nobody 600 1 0x00000000 2457632 nobody 600 1 0x00000000 2490401 nobody 600 1 0x00000000 2523170 nobody 600 1 0x00000000 2555939 nobody 600 1 0x00000000 2654244 nobody 600 1 0x00000000 2687013 nobody 600 1 0x00000000 2719782 nobody 600 1 0x00000000 2752551 nobody 600 1 0x00000000 2850856 nobody 600 1 0x00000000 2883625 nobody 600 1 0x00000000 2916394 nobody 600 1 0x00000000 2949163 nobody 600 1 0x00000000 3047468 nobody 600 1 0x00000000 3080237 nobody 600 1 0x00000000 3113006 nobody 600 1 0x00000000 3145775 nobody 600 1 0x00000000 3244080 nobody 600 1 0x00000000 3276849 nobody 600 1 0x00000000 3309618 nobody 600 1 0x00000000 3342387 nobody 600 1 0x00000000 3440692 nobody 600 1 0x00000000 3473461 nobody 600 1 0x00000000 3506230 nobody 600 1 0x00000000 3538999 nobody 600 1 0x00000000 3637304 nobody 600 1 0x00000000 3670073 nobody 600 1 0x00000000 3702842 nobody 600 1 0x00000000 3735611 nobody 600 1 0x00000000 3833916 nobody 600 1 0x00000000 3866685 nobody 600 1 0x00000000 3899454 nobody 600 1 0x00000000 3932223 nobody 600 1 0x00000000 4030528 nobody 600 1 0x00000000 4063297 nobody 600 1 0x00000000 4096066 nobody 600 1 0x00000000 4128835 nobody 600 1 0x00000000 4227140 nobody 600 1 0x00000000 4259909 nobody 600 1 0x00000000 4292678 nobody 600 1 0x00000000 4325447 nobody 600 1 0x00000000 4423752 nobody 600 1 0x00000000 4456521 nobody 600 1 0x00000000 4489290 nobody 600 1 0x00000000 4522059 nobody 600 1 0x00000000 4620364 nobody 600 1 0x00000000 4653133 nobody 600 1 0x00000000 4685902 nobody 600 1 0x00000000 4718671 nobody 600 1 ------ Message Queues -------- key msqid owner perms used-bytes messages |
![]() |
| Bookmarks |
| Seçenekler | |
| |