How do I read the logs? What's the command to do that?
-Raymond Day
111120 07:35:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
111120 7:35:42 InnoDB: The InnoDB memory heap is disabled
111120 7:35:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
111120 7:35:42 InnoDB: Compressed tables use zlib 1.2.5
111120 7:35:42 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(135987200 bytes) failed; errno 12
111120 7:35:42 InnoDB: Completed initialization of buffer pool
111120 7:35:42 InnoDB: Fatal error: cannot allocate memory for the buffer pool
111120 7:35:42 [ERROR] Plugin 'InnoDB' init function returned error.
111120 7:35:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
111120 7:35:42 [ERROR] Unknown/unsupported storage engine: InnoDB
111120 7:35:42 [ERROR] Aborting
111120 7:35:42 [Note] /usr/bin/mysqld: Shutdown complete111120 07:35:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
111120 7:35:42 InnoDB: The InnoDB memory heap is disabled
111120 7:35:42 InnoDB: Mutexes and rw_locks use GCC atomic builtins
111120 7:35:42 InnoDB: Compressed tables use zlib 1.2.5
111120 7:35:42 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(135987200 bytes) failed; errno 12
111120 7:35:42 InnoDB: Completed initialization of buffer pool
111120 7:35:42 InnoDB: Fatal error: cannot allocate memory for the buffer pool
111120 7:35:42 [ERROR] Plugin 'InnoDB' init function returned error.
111120 7:35:42 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
111120 7:35:42 [ERROR] Unknown/unsupported storage engine: InnoDB
111120 7:35:42 [ERROR] Aborting
111120 7:35:42 [Note] /usr/bin/mysqld: Shutdown complete
------------------------------------------------------------------------------------
111122 05:53:40 mysqld_safe mysqld from pid file /var/lib/mysql/alarm.pid ended
111122 06:12:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
111122 6:12:30 [Note] Plugin 'InnoDB' is disabled.
111122 6:12:31 [ERROR] /usr/bin/mysqld: unknown option '--skip-locking'
111122 6:12:31 [ERROR] Aborting
111122 6:12:31 [Note] /usr/bin/mysqld: Shutdown complete
111122 06:12:31 mysqld_safe mysqld from pid file /var/lib/mysql/alarm.pid endedlogin as: root
root@192.168.2.114's password:
Last login: Mon Nov 21 23:21:45 2011 from 192.168.2.101
[root@alarm ~]# /etc/rc.d/mysqld start && mysql_secure_installation
:: Starting MySQL Server [FAIL]
[root@alarm ~]# /etc/rc.d/httpd start
:: Starting Apache Web Server [DONE]
[root@alarm ~]# /etc/rc.d/mysqld start && mysql_secure_installation
:: Starting MySQL Server [FAIL]
[root@alarm ~]# /etc/rc.d/mysqld start
:: Starting MySQL Server [FAIL]
[root@alarm ~]# /etc/rc.d/mysqld start
:: Starting MySQL Server [DONE]
[root@alarm ~]# /etc/rc.d/mysqld stop
:: Stopping MySQL Server [DONE]
[root@alarm ~]# /etc/rc.d/mysqld start && mysql_secure_installation
:: Starting MySQL Server [DONE]
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):111122 6:36:10 [ERROR] /usr/bin/mysqld: unknown option '--skip-locking'
111122 6:36:10 [ERROR] Abortingdd if=/dev/zero of=/swapfile bs=1M count=512
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile/swapfile none swap defaults 0 0# For low memory, Berkeley DB should not be used so keep skip-bdb uncommented unless required
skip-bdb
# For low memory, InnoDB should not be used so keep skip-innodb uncommented unless required
skip-innodbUsers browsing this forum: No registered users and 3 guests