Mysql startup error (InnoDB: Operating system error number 13)
Service mysqld status can see the mysqld status.
Service mysqld start can start mysql
You can check / var/log/mysqld.log if there is a startup error.
If the error message is as follows
131124 00:00:43 mysqld started
131124 0:00:43 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 / var/lib/mysql/innodb/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
131124 00:00:43 mysqld ended
Error 13 indicates that there are no permissions. Use the command
Chmod-R 777 / mysql not resolved
Check that getenforce is enforcing
Set up
Hint: this error number is the error number of the system and the errorno in the program.
Attach the error code message of linux
Errno.00 is: Success successful
Errno.01 is: Operation not permitted does not allow such operations
Errno.02 is: No such file or directory does not have this file or directory
Errno.03 is: No such process does not have this process
Errno.04 is: Interrupted system call interrupts the system call
Errno.05 is: Input/output error input / output error
Errno.06 is: No such device or address does not have this device or address
Errno.07 is: Argument list too long parameter is too long
Errno.08 is: Exec format error execution format error
Errno.09 is: invalid file descriptor for Bad file descriptor
Errno.10 is: there are no child processes in No child processes
Errno.11 is: Resource temporarily unavailable resources are temporarily unavailable
Errno.12 is: Cannot allocate memory failed to allocate memory
Errno.13 is: Permission denied permission error
Errno.14 is: Bad address address error
Errno.15 is: Block device required block device request
Errno.16 is: Device or resource busy devices or resources are busy
Errno.17 is: the File exists file already exists
Errno.18 is: Invalid cross-device link invalid cross-connect device
Errno.19 is: No such device does not have this device
Errno.20 is: Not a directory is not a directory
Errno.21 is: Is a directory is a directory
Errno.22 is: illegal Invalid argument parameter
Errno.23 is: the Too many open files in system system opens too many files
Errno.24 is: Too many open files opens too many files
Errno.25 is: the Inappropriate ioctl for device equipment department supports this operation
Errno.26 is: Text file busy text files are busy
Errno.27 is: the File too large file is too large
Errno.28 is: No space left on device devices have no space and are generally storage devices
Errno.29 is: illegal seek operation of Illegal seek
Errno.30 is: Read-only file system read-only file system
Errno.31 is: Too many links too many connections
Errno.32 is: Broken pipe pipe rupture
Errno.33 is: Numerical argument out of domain numerical parameter is out of range
Errno.34 is: Numerical result out of range numerical result is out of range
Errno.35 is: Resource deadlock avoided resource deadlock
Errno.36 is: the File name too long file name is too long
Errno.37 is: No locks available has no available locks
Errno.38 is: the Function not implemented function is not executed
Errno.39 is: the Directory not empty directory is not empty
Errno.40 is: Too many levels of symbolic links too multi-level symbolic connection
Errno.41 is: Unknown error 41 41 unknown error
Errno.42 is: message types for which No message of desired type is not accepted
Errno.43 is: the Identifier removed identifier has been deleted
Errno.44 is: Channel number out of range .
Errno.45 is: Level 2 not synchronized
Errno.46 is: Level 3 halted
Errno.47 is: Level 3 reset
Errno.48 is: Link number out of range
Errno.49 is: Protocol driver not attached
Errno.50 is: No CSI structure available
Errno.51 is: Level 2 halted
Errno.52 is: Invalid exchange
Errno.53 is: Invalid request descriptor
Errno.54 is: Exchange full
Errno.55 is: No anode
Errno.56 is: Invalid request code
Errno.57 is: Invalid slot
Errno.58 is: Unknown error 58
Errno.59 is: Bad font file format
Errno.60 is: Device not a stream
Errno.61 is: No data available
Errno.62 is: Timer expired
Errno.63 is: Out of streams resources
Errno.64 is: Machine is not on the network
Errno.65 is: Package not installed
Errno.66 is: Object is remote
Errno.67 is: Link has been severed
Errno.68 is: Advertise error
Errno.69 is: Srmount error
Errno.70 is: Communication error on send
Errno.71 is: Protocol error
Errno.72 is: Multihop attempted
Errno.73 is: RFS specific error
Errno.74 is: Bad message
Errno.75 is: Value too large for defined data type
Errno.76 is: Name not unique on network
Errno.77 is: File descriptor in bad state
Errno.78 is: Remote address changed
Errno.79 is: Can not access a needed shared library
Errno.80 is: Accessing a corrupted shared library
Errno.81 is: .lib secion in a.out corrupted
Errno.82 is: Attempting to link in too many shared libraries
Errno.83 is: Cannot exec a shared library directly
Errno.84 is: Invalid or incomplete multibyte or wide character
Errno.85 is: Interrupted system call should be restarted
Errno.86 is: Streams pipe error
Errno.87 is: Too many users
Errno.88 is: Socket operation on non-socket
Errno.89 is: Destination address required
Errno.90 is: Message too long
Errno.91 is: Protocol wrong type for socket
Errno.92 is: Protocol not available
Errno.93 is: Protocol not supported
Errno.94 is: Socket type not supported
Errno.95 is: Operation not supported
Errno.96 is: Protocol family not supported
Errno.97 is: Address family not supported by protocol
Errno.98 is: Address already in use
Errno.99 is: Cannot assign requested address
Errno.100 is: Network is down
Errno.101 is: Network is unreachable
Errno.102 is: Network dropped connection on reset
Errno.103 is: Software caused connection abort
Errno.104 is: Connection reset by peer
Errno.105 is: No buffer space available
Errno.106 is: Transport endpoint is already connected
Errno.107 is: Transport endpoint is not connected
Errno.108 is: Cannot send after transport endpoint shutdown
Errno.109 is: Too many references: cannot splice
Errno.110 is: Connection timed out
Errno.111 is: Connection refused
Errno.112 is: Host is down
Errno.113 is: No route to host
Errno.114 is: Operation already in progress
Errno.115 is: Operation now in progress
Errno.116 is: Stale NFS file handle
Errno.117 is: Structure needs cleaning
Errno.118 is: Not a XENIX named type file
Errno.119 is: No XENIX semaphores available
Errno.120 is: Is a named type file
Errno.121 is: Remote I/O error
Errno.122 is: Disk quota exceeded
Errno.123 is: No medium found
Errno.124 is: Wrong medium type
Errno.125 is: Operation canceled
Errno.126 is: Required key not available
Errno.127 is: Key has expired
Errno.128 is: Key has been revoked
Errno.129 is: Key was rejected by service
Errno.130 is: Owner died
Errno.131 is: State not recoverable
Errno.132 is: Unknown error 132
132255are all Unknown error