Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been trying now for a week to try and get a LAMP setup on my Ubuntu 14.04 32bit server, and have not been able to get this to finish installing. I've removed, purged, cleaned, and reinstalled this process many many times and still can't seem to get the MYSQL server to start or finish installing, and I've read too many posts about how other's were able to fix their installs, but yet, I still have my problem.... I put in my root password, but it won't take and errors out, regardless of what I do.......
here's the error after I run the 'apt-get install mysql-server'
Code:
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here's what my log file shows:
Code:
150322 03:05:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150322 3:05:52 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150322 3:05:52 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
150322 3:05:52 [Note] Plugin 'FEDERATED' is disabled.
150322 3:05:52 InnoDB: The InnoDB memory heap is disabled
150322 3:05:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150322 3:05:52 InnoDB: Compressed tables use zlib 1.2.8
150322 3:05:52 InnoDB: Using Linux native AIO
^G/usr/sbin/mysqld: Can't create/write to file '/tmp/ib5ZyT8X' (Errcode: 13)
150322 3:05:52 InnoDB: Error: unable to create temporary file; errno: 13
150322 3:05:52 [ERROR] Plugin 'InnoDB' init function returned error.
150322 3:05:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150322 3:05:52 [ERROR] Unknown/unsupported storage engine: InnoDB
150322 3:05:52 [ERROR] Aborting
150322 3:05:52 [Note] /usr/sbin/mysqld: Shutdown complete
and here's what the commands I've tried to remove this BEFORE I tried the next install:
Also, forgot to add that I did try the "NEW" codings for the updated "key-buffer-settings" and "myisam-recover-options" and I still get these same errors....... regardless of what I do, It wont let me put in a root password, gives me an error saying that it can't complete, and then the same errors........
The install starts and then a window shows asking to set mysql root pasword, do this, repeat passwd. When that finishes, to activate mysql:
Quote:
sudo mysql_install_db
Next run setup script: sudo /usr/bin/mysql_secure_installation
Did you see an option to set a root password for mysql during the installation? That has to be done as the mysql root password is not the same as your system root password although it can be. Before you can use it in mysql, you do need to set it. Given the errors showing from your post it looks like there might be other problems.
I did see the option to add the root password, which I filled in, and it still tells me that I can't use that password cause I already have a password there, or that the service didn't start..... and I'm leaning more towards the server not starting at this time...... and thats where it comes up with that top error in my first post.......
I've deleted, wiped, removed, and cleaned up every last little bit of MySql that I can find on this server, and yet I still can't seem to get a clean install of this to work.
I did see the option to add the root password, which I filled in, and it still tells me that I can't use that password cause I already have a password there,
If you had previously set a password for mysql, then you should just hit the Enter key, leave it blank. You may be having these problems because of multiple attempts to install. I don't use Ubuntu regularly so I'm not sure how you would get rid of anything related to mysql. The options you have noted are all I'm aware of. Good luck with it.
I've deleted, wiped, removed, and cleaned up every last little bit of MySql that I can find on this server, and yet I still can't seem to get a clean install of this to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.