Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The mysql daemon has been failing to start and after an apt-get purge and trying to reinstall the installation fails. Is there some way to diagnose the failure of the installation? The fopen:Permission denied also occurs with other installations and I wonder what it signifies.

fopen: Permission denied
Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ...
130807 10:02:50 [Note] Plugin 'FEDERATED' is disabled.
130807 10:02:50 InnoDB: The InnoDB memory heap is disabled
130807 10:02:50 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130807 10:02:50 InnoDB: Compressed tables use zlib
130807 10:02:50 InnoDB: Initializing buffer pool, size = 128.0M
130807 10:02:50 InnoDB: Completed initialization of buffer pool
130807 10:02:50 InnoDB: highest supported file format is Barracuda.
130807 10:02:50  InnoDB: Waiting for the background threads to start
130807 10:02:51 InnoDB: 5.5.32 started; log sequence number 1595675
130807 10:02:51  InnoDB: Starting shutdown...
130807 10:02:51  InnoDB: Shutdown completed; log sequence number 1595675
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing 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 mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question
What was the exact command you were issuing, and are you running it as root? –  AJP Feb 9 at 13:29
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.