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

0

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/mysqld.pid 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

Error upgrading to newer WordPress version

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

5

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

2

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