OVH Community, your new community space.

Problem z serwerem.


looqash84
24-02-2012, 12:20
I znowu wisi :/ Jest ktoś chętny do sprawdzenia tego? Nie za darmo oczywiście.

looqash84
24-02-2012, 06:53
A to IP to skąd się wzięło ? Dopiero po jego uwaleniu serwer wstał i działa nadal. Wcześniej po chwili zawieszał się. O jakich zasobach piszesz ? Co wg Ciebie mogę zmienić ? Z góry dzięki za info.

A i PDO też wyłączyłem

meto
24-02-2012, 06:26
BArdziej to wygląda na padnięty dysk albo błędy w konfiguracji (pozwalasz na zużycie za dużych zasobów).

looqash84
24-02-2012, 02:35
Uruchomiłem tcdumpa i mam kupę takich wpisów:

Kod:
02:34:09.630241 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10639424:10639636, ack 55185, win 17688, options [nop,nop,TS val 380073 ecr 27792], length 212
02:34:09.630503 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [.], seq 10639636:10641064, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 1428
02:34:09.630511 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10641064:10641080, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 16
02:34:09.630574 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10641080:10641468, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 388
02:34:09.630622 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10641468:10641680, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630666 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10641680:10641892, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630714 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10641892:10642104, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630756 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10642104:10642316, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630804 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10642316:10642528, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630847 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10642528:10642740, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630894 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10642740:10642952, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630939 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10642952:10643164, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.630986 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10643164:10643376, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212
02:34:09.631029 IP rescue.ovh.net.ssh > 192.162.93.60.1638: Flags [P.], seq 10643376:10643588, ack 55185, win 17688, options [nop,nop,TS val 380074 ecr 27792], length 212

I jeszcze to:


Kod:
root@rescue:~# tcpdump -n -c 1000 | grep 2 | awk '{printf ("%s -> %s\n"),$3,$5}' | sort | uniq -c | sort -n -r | head -20
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
1000 packets captured
1000 packets received by filter
0 packets dropped by kernel
      6 91.121.114.216 -> 79.173.40.13:
      6 79.173.40.13.32840 -> 91.121.114.216.53:
      6 79.173.40.13.32840 -> 87.98.234.242.53:
      5 91.121.114.216.81 -> 192.162.93.60.2084:
      5 91.121.114.216.81 -> 192.162.93.60.2080:
      5 91.121.114.216.81 -> 192.162.93.60.2062:
      5 192.162.93.60.2084 -> 91.121.114.216.81:
      5 192.162.93.60.2081 -> 91.121.114.216.81:
      5 192.162.93.60.2080 -> 91.121.114.216.81:
      5 192.162.93.60.2062 -> 91.121.114.216.81:
      4 91.121.114.216.81 -> 192.162.93.60.2081:
      4 91.121.114.216 -> 212.2.96.53:
      3 91.121.114.216 -> 74.125.17.149:
      3 66.249.72.238.41577 -> 87.98.234.242.80:
      3 178.137.18.145.60800 -> 87.98.234.242.80:
      3 178.137.164.11.58251 -> 87.98.234.242.80:
      3  ->
      2 fe80::21e:79ff:fe1e:d400.2029 -> ff02::66.2029:
      2 91.121.114.216 -> 91.194.188.242:
      2 91.121.114.216 -> 79.148.254.212:

EDIT --------------------

Ciachnąłem ten IP za pomocja iptables i niby działa. Napisałem też na abuse że taki IP wali mi po serwerze. Ale ciekawe na jak długo będzie to rozwiązanie.

mario1973
23-02-2012, 21:32
Sprawdź dyski, czy są OK i nie zamulają.

Przejrzyj konkretne logi od vhostów, czy czasem nie masz jakiegoś ddosa

M

arcu
23-02-2012, 21:18
u mnie problem jest identyczny, logi nie pokazują nic konkretnego, na trybie rescue udało się uruchomić wszystkie usługi ale w normalnym trybie wszystkie połączenie są odrzucane.
Pomysłów dlaczego, brak.

looqash84
23-02-2012, 20:30
Przepraszam że tak post pod postem. Wrzucam jeszcze info z errorloga:

Kod:
[Thu Feb 23 19:42:31 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 19:42:32 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 23 19:42:33 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 19:42:33 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Feb 23 19:42:34 2012] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Thu Feb 23 19:45:28 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Thu Feb 23 20:22:29 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:22:29 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:22:29 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 23 20:22:30 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:22:30 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Feb 23 20:22:30 2012] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Thu Feb 23 20:24:20 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Thu Feb 23 20:38:37 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:38:37 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:38:37 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 23 20:38:38 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:38:38 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mssql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_oci8.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_odbc.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_pgsql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_sqlite.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Feb 23 20:38:38 2012] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Thu Feb 23 20:42:24 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Thu Feb 23 20:53:27 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:53:27 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:53:27 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Feb 23 20:53:28 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:53:28 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Thu Feb 23 20:53:28 2012] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations

looqash84
23-02-2012, 19:51
Tak, www. Mam trochę sklepów postawionych dla swoich klientów i tyle. Czasem się wieszał ale po restarcie wszystko wracało do normy. A od godziny 17 robiłem już z 7 restartów i nadal sie zawiesza. Masakra jakaś :/ Nie wiem co mam zrobić. Wszystko działało w miarę prawidłowo aż do dzisiaj.

Ktoś pomoże ?

mario1973
23-02-2012, 19:45
Co za usługi masz na tym serwerze ? To pod www ?

M

looqash84
23-02-2012, 19:43
1. nie mam pojęcia co się dzieje
2. po każdym restarcie jest to samo
3. nie wiem co zrobić
4. jestem łonabiadminem i nie mam pojęcia co robić :/

meto
23-02-2012, 19:36
Zapewne swapuje jak głupi. Zmniejsz zużycie pamięci.

looqash84
23-02-2012, 19:33
Czy ktoś jest w stanie pomóc ?

looqash84
23-02-2012, 18:33
Cześć. Mam problem z serwerem. Od kilku godzin nie działa. Po kilku restartach niby odpowiada ale jest na 100% obciążony. Czy coś może być przyczyną ? Jakieś wskazówki ? Wrzucam zrzut z managera