Mysql Problem, Operating system error number 13 in a file operation

Posted by cikul | Posted in Linux, SQL | Posted on 31-07-2017-05-2008


Mysql Fail to start, check in /var/log/mysqld.log :

170731 16:56:50 InnoDB: Initializing buffer pool, size = 8.0M
170731 16:56:50 InnoDB: Completed initialization of buffer pool
170731 16:56:50 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.
170731 16:56:50 mysqld_safe mysqld from pid file /var/run/mysqld/ ended


Cause :

Permission problem in /var/lib/mysql

Solutions :

  1. Ensure user and group permission on /var/lib/mysql is mysql
  2. Check SELINUX Configuration : getenforce
  3. If SELINUX enabled, disabled with command : setenforce 0
  4. For permanent disable, edit /etc/selinux/config and set SELINUX=disabled
  5. Try to restart mysql service

Incoming search terms:

https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1820 vypjXIo9pXF2rJl0Z34E0NBkUuUeT__9D_sC-BV3pOKTc_kScptPQX7ZYlnOdJZR 24c2c6f41339ec5a8c6cad2f019cabac95e11af8&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme | https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1825 dEMiTyirfjpkgVHcSTPpSig3_0qN4pZlfCbvZftpI-orXgQjp_vz30cZNxXSycTN 0ebe5d9112c33e79fee5cc07a54805ce45836e48&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme | https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1831 gkspp4y112i5VL6Mx2eujlrS2hAiKkPive3YelfbGg2Z5NvqHJCSK0fMw80pieUJ f4fede99c49f3809eda71aea60a857d5a59c63de&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme | 

Error upgrading to newer WordPress version

Posted by cikul | Posted in PHP, web, wordpress | Posted on 14-11-2009-05-2008


Today I trying to upgrade my WordPress to newer version (2.8.6), but while u try to upgrade i get this error :

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355240 bytes) in /home/cikul/public_html/dhika/wp-includes/http.php on line 1331

To Solve this problem, you must increasing your memory limit options for your application. In wordpress, to increase memory limit you must edit wp_settings.php in your wordpress installation folder.

Read the rest of this entry »

Repair Internal Server Error Cpanel account

Posted by cikul | Posted in Linux | Posted on 19-08-2008-05-2008


If you have cpanel server, and have phpsuexec or suphp installed and you get “Internal Server Error” message while accessing account on your server, you must see permission in users directory. If PHP runs with phpsuexec or suphp, all files under accounts must have correct ownership. If you see that your directory/account ownership still nobody, you must change it manually or you can use cpanel included scripts to repair permission for all accounts.

First, you must log into SSH, and then you can run this script :

root@server [/]# /scripts/chownpublichtmls

hope this helps