İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Memcached kuranlar için apache mysql ve memcached restart

iyinet

Root
Admin
Hosting Firması
Katılım
2 Eylül 2002
Mesajlar
5,028
Reaction score
65
Konum
Sakarya
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
İyinet Üyesi
Katılım
25 Kasım 2004
Mesajlar
7,485
Reaction score
63
Konum
Antalya
ssh a girmek için kullandığınız bu client nedir ?

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

python

0
İyinet Üyesi
Katılım
1 Şubat 2010
Mesajlar
4
Reaction score
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
İyinet Üyesi
Katılım
1 Şubat 2010
Mesajlar
4
Reaction score
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]#
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

seo ajansı , sosyal medya yönetimi
Üst