• 06-04-2010, 18:51:32
    #1
    Üyeliği durduruldu
    arkdaslar bugun servera reboot ile restart attım

    başladıgında ilkte ssh gelmesine rağmen siteler görüntülenmedi.
    az bir zaman sonra siteler geldi fakat bu seferde mysql başlamadı.

    tekrar res attım ama yine durun aynı.
    manuel olarak mysql i başlatmaya çalıştım ama olmadı


    [root@server /]# /sbin/service mysqld start
    Timeout error occurred trying to start MySQL Daemon.
    Starting MySQL:                                            [FAILED]
    [root@server /]#
    ne yapmam gerekir.?
    centos x5 kullanıyorum.
  • 06-04-2010, 18:58:28
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    service mysqld stop
    mysql_install_db
    service mysqld start

    yap kardeş düzelmesi gerekiyor bu şekilde
  • 06-04-2010, 19:04:14
    #3
    Üyeliği durduruldu
    my.conf u eski haline getir tekrar dene, duzelecektir
  • 06-04-2010, 19:28:22
    #4
    Üyeliği durduruldu
    AndyCap adlı üyeden alıntı: mesajı görüntüle
    service mysqld stop
    mysql_install_db
    service mysqld start

    yap kardeş düzelmesi gerekiyor bu şekilde
    [root@server ~]# service mysqld stop
    Stopping MySQL:                                            [FAILED]
    [root@server ~]# mysql_install_db
    Installing MySQL system tables...
    ERROR: 1036  Table 'db' is read only
    100406 19:26:41 [ERROR] Aborting
    
    100406 19:26:41 [Note] /usr/libexec/mysqld: Shutdown complete
    
    Installation of system tables failed!
    
    Examine the logs in /var/lib/mysql for more information.
    You can try to start the mysqld daemon with:
    /usr/libexec/mysqld --skip-grant &
    and use the command line tool
    /usr/bin/mysql to connect to the mysql
    database and look at the grant tables:
    
    shell> /usr/bin/mysql -u root mysql
    mysql> show tables
    
    Try 'mysqld --help' if you have problems with paths. Using --log
    gives you a log in /var/lib/mysql that may be helpful.
    
    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Please consult the MySQL manual section: 'Problems running mysql_install_db',
    and the manual section that describes problems on your OS.
    Another information source is the MySQL email archive.
    Please check all of the above before mailing us!
    And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
    [root@server ~]# service mysqld start
    Timeout error occurred trying to start MySQL Daemon.
    Starting MySQL:                                            [FAILED]
    [root@server ~]#


    my.conf a ellemedimki hangi eski haline getireyim?
  • 06-04-2010, 21:33:03
    #5
    Üyeliği durduruldu
    100406 20:56:49  mysqld started
    100406 20:56:49  InnoDB: Operating system error number 13 in a file operation.
    InnoDB: The error means mysqld does not have the access rights to
    InnoDB: the directory.
    InnoDB: File name ./ibdata1
    InnoDB: File operation call: 'open'.
    InnoDB: Cannot continue operation.
    100406 20:56:49  mysqld ended

    err dosyasında ise şunlar yazmakta
  • 06-04-2010, 21:36:54
    #6
    sunucuoptimizasyon.com
    Harddisk durumu nasıl ?
  • 06-04-2010, 21:47:08
    #7
    Misafir
    Direk olarak restart atmayın.

    service mysql stop
    service mysql start

    bu şekilde deneyin olmadı AndyCap dediğini deneyin o muhtemelen olacaktır

    Hiçbiri olmadı son olarak aşağıdaki komutuda deneyin

    /scripts/restartsrv_mysql
  • 06-04-2010, 22:05:19
    #8
    Üyeliği durduruldu
    [root@server /]# df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          38471112   5305824  31179548  15% /
    /dev/sda1               101086     12073     83794  13% /boot
    tmpfs                   517620         0    517620   0% /dev/shm
    httpd ve named i durdurup reboot atıp tekrar izinleri verdim

    chgrp mysql *.*
    chown mysql *.*
    yerine

    chgrp mysql */*
    chown mysql */*
    yaptım


    bu sefer başladı

    [root@server /]# service mysqld status
    mysqld (pid 9244) is running...
    ama sitelerdeki scriptler bir türlü bağlanamıyor.
    en basitinden wp kurulu 3-4 site var onlarda

    Error establishing a database connection
    yazısı yazmaktaa.
    pleskte ise
    ERROR: PleskFatalException
    Unable to connect to database: saved admin password is incorrect.
    
    0: /usr/local/psa/admin/plib/common_func.php3:190
    	psaerror(string 'Unable to connect to database: saved admin password is incorrect.')
    1: /usr/local/psa/admin/auto_prepend/auth.php3:93
  • 06-04-2010, 23:16:36
    #9
    Merhaba, "echo test>test" herhangi bir çıktı veriyor mu şuan? Dosya sistemi Read-only modunda sanırım.