Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: Re: Problem s MySQL i Apache


  • Subject: lug-bg: Re: Problem s MySQL i Apache
  • From: zimage@xxxxxx (Theodor Milkov)
  • Date: Fri, 21 Feb 2003 13:59:52 +0200



On Fri, Feb 21, 2003 at 11:02:28AM -0000, vladimirfrish@xxxxxxxxxx wrote:
> hi all,
> 
> imam edin problem:
> 
> poneje mysql mi se preotvarva i sled tova mi se blokira web-server-a
> mi se iska ( s shell script ) da proverja pid-to na httpd ( ili apache )
> i da go restartiram...
> probvah razli4ni ne6ta kato naprimer:
> -->>
> #!/bin/sh
> bash
> ps -auxwww | grep /httpd | grep -v grep | awk '{ print $2 }' | xargs echo kill -9 -1 | sh -v
> restart_apache
> cd /etc
> sh rc
> cd ..
> cd /tmp
> ls -aslg mysql.sock
> chmod mysql.sock 777
> restart_apache
> <<--
> no ne6to ne varvi :-(
> 
> ako njakoi ima njakakva idea - 6te mu sam mnogo blagodaren!
> o6te po-dobre 6te e ako moga da razbera koga cpu-to se ka4va nad 90% 
> ot mysqld, za da moga da go predotvratja :-)

Po-skoro triabva da razberesh zashto vaznikva problema otklolkoto da se
opitvash da go razreshavash na sliapo. Vij kato se izgarbi MySQL-a kakvi
query-ta varviat v nego s 'mysqladmin -p processlist' ili puk opitai da
trasirash procesa sas 'strace'. Dai posle rezultatite nasam da vidim
kakvo moje da se napravi.

On a side note: nikak nikak ne e cool da se pishat mailove bez subject.

Sas zdrave,


-- 
        Theodor Milkov        Head Network Administrator
        Davidov Net           Phone: +359 (2) 730158
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



  • Относно:
    • (no subject)
      • Изпратено от: vladimirfrish@xxxxxxxxxx (vladimirfrish@xxxxxxxxxx)

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.