Skocz do zawartości
maki_69

Serwer padł - apache, mysql, yast

Polecane posty

Witam,

Mam poważny problem z serwerem (openSuse 11.1 + Plesk 9.3).

Wczoraj nagle strony straciły połączenie z bazami danych. Przy próbie restartu mysql wyskakują mi błędy:

/etc/init.d/mysql restart
Restarting service MySQL
Shutting down service MySQL                                      	done
Will update MySQL now, if you encounter any problems, please read following file:
   	/usr/share/doc/packages/mysql/README.SuSE
Running protected MySQL...
error: /var/run/mysql/protected/mysql.sock file didn't appeared...
                                                                	failed

 

Idąc za błędem poszukałem pliku mysql.sock w /var/run/mysql/protected/ i takowego tam nie ma. Z tego co się dowiedziałem ten plik powinien znajdować się w /var/lib/mysql chociaż teraz nie ma tam tego pliku.

 

Wrzuciłem na próbę do folderu /var/run/mysql/protected/ czysty plik mysql.sock i zauważyłem, że przy restarcie mysql czyści cały katalog z plików.

 

Zauważyłem także, że apache przestał mi działać, a na komendę /etc/init.d/apache2 restart reaguje takim błędem:

 

/etc/init.d/apache2 restart
: command not foundhe2: line 14:
: command not foundhe2: line 30:
: command not foundhe2: line 85:
: command not foundhe2: line 86:
: command not foundhe2: line 115:
: command not foundhe2: line 135:
: command not foundhe2: line 151:
: command not foundhe2: line 167:
: command not foundhe2: line 184:
: command not foundhe2: line 194:
: command not foundhe2: line 203:
: command not foundhe2: line 211:
: command not foundhe2: line 241:
: command not foundhe2: line 253:
: command not foundhe2: line 263:
Warning: no MPM found. Some modules are dependant on the type of MPM.
Module "cgi" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Module "ssl" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Module "python" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Warning: no MPM found. Some modules are dependant on the type of MPM.
from APACHE_CONF_INCLUDE_FILES not found. Ignored.
Warning: no MPM found. Some modules are dependant on the type of MPM.
from APACHE_CONF_INCLUDE_FILES not found. Ignored.
httpd2-prefork: Could not open configuration file /srv/www/\r: No such file or directory

 

No i ostatnim problemem jest uruchomienie yast. Gdy wpisuje w konsole yast2 otrzymuje:

yast2
//sbin/yast2: line 30: //lib/YaST2/bin/yast2-funcs: No such file or directory
//sbin/yast2: line 253: set_lang_from_sysconfig: command not found
//sbin/yast2: line 282: check_ncurses: command not found
package yast2-gtk is not installed
Something is wrong with the YaST user interface.

 

Nie pisałbym na tym forum ale sam nie potrafię sobie z tym poradzić, a wszystko co znalazłem w internecie nie pomogło mi w uruchomieniu serwera.

Jeśli naprawa tych błędów jest niemożliwa lub nieopłacalna to może doradzicie mi jak skopiować bazy danych abym mógł je przywrócić na nowym systemie.

Z góry dzięki za odpowiedzi.

Pozdrawiam

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Server alive :) Niezła kaszana po updacie była :)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Zaloguj się, aby skomentować

Będziesz mógł dodać komentarz po zalogowaniu się



Zaloguj się

×