Türkiye'nin En Eski Webmaster Forumu İyinet'e Hoşgeldiniz!

Memcached kuranlar için apache mysql ve memcached restart

iyinet

Root
Root
İyinet Ekibi
Onaylı Üye
Katılım
2 Eylül 2002
Mesajlar
5,034
Açılan Konu
485
Tepki puanı
75
Konum
SEO
Memcached kuranlar için apache mysql ve memcached restart scripti, biraz önce ihtiyacım olduğu için yazdım ve paylaşmak istedim:

restart_httpd_memcached_mysql.sh
service httpd stop
service mysql stop
kill `ps -ef|grep memcached|grep -v grep|awk '{print $2}'`
sync;sync;sync
/usr/local/bin/memcached -u nobody -d -m 64 -l 127.0.0.3 -p 11211
service mysql start
service httpd start
 

CaLViN

0
Onaylı Üye
Üye
Katılım
25 Kasım 2004
Mesajlar
7,486
Açılan Konu
146
Tepki puanı
58
Konum
Antalya
ssh a girmek için kullandığınız bu client nedir ?

renklerin soluk çıkması printscreenle mi alakalı yoksa client ile mi ?
 

iyinet

Root
Root
İyinet Ekibi
Onaylı Üye
Katılım
2 Eylül 2002
Mesajlar
5,034
Açılan Konu
485
Tepki puanı
75
Konum
SEO

python

0
Onaylı Üye
Üye
Katılım
1 Şubat 2010
Mesajlar
4
Açılan Konu
0
Tepki puanı
0
kodu çalıştırdık mysql çöktü acil yardım lütfen mysql yeniden başlamıyor

[root@server bin]# /usr/libexec/mysqld
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
100621 19:49:58 [Note] Plugin 'ndbcluster' is disabled.
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
100621 19:49:58 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
100621 19:49:58 InnoDB: Started; log sequence number 0 129844074
100621 19:49:58 [ERROR] /usr/libexec/mysqld: unknown option '--skip-bdb'
100621 19:49:58 [ERROR] Aborting

100621 19:49:58 InnoDB: Starting shutdown...
100621 19:50:04 InnoDB: Shutdown completed; log sequence number 0 129844074
100621 19:50:04 [Note] /usr/libexec/mysqld: Shutdown complete
 

python

0
Onaylı Üye
Üye
Katılım
1 Şubat 2010
Mesajlar
4
Açılan Konu
0
Tepki puanı
0
[root@server bin]# ./mysql_upgrade
Looking for 'mysql' as: ./mysql
Looking for 'mysqlcheck' as: ./mysqlcheck
Running 'mysqlcheck with default connection arguments
./mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
[root@server bin]#
 

Loi

0
Onaylı Üye
Üye
Katılım
13 Kasım 2006
Mesajlar
6,192
Açılan Konu
145
Tepki puanı
44
Konum
localhost
şimdi start et
 
Üst