jut because I want to use my RPi as hosting only for my blog I have remove X from it to free a space.
I have read some comments in the internet and what I do ....
### removing X
apt-get --purge remove x11-* && apt-get --purge autoremove && reboot
# after that
apt-get update && apt-get -y upgrade
### installing web server software
apt-get install nginx php5-fpm php-apc
### installing database software
apt-get install mysql-client mysql-server php5-mysql phpmyadmin
--> and after that my mysql fails ...
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up mysql-server-5.5 (5.5.44-0+deb7u1) ...
[ ok ] Stopping MySQL database server: mysqld.
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
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
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)Code: Select all
root@soleil:~# ls /var/log/mysql
root@soleil:~#### Looking in /var/log
Code: Select all
root@soleil:~# ls /var/log/
alternatives.log auth.log btmp dbconfig-common dmesg dmesg.1.gz dmesg.3.gz faillog kern.log lpr.log mail.info mail.warn mysql mysql.log nginx php5-fpm.log samba user.log
apt bootstrap.log daemon.log debug dmesg.0 dmesg.2.gz dpkg.log fsck lastlog mail.err mail.log messages mysql.err news ntpstats regen_ssh_keys.log syslog wtmp
Code: Select all
root@soleil:~# cat /var/log/mysql
mysql/ mysql.err mysql.log
root@soleil:~# cat /var/log/mysql.err
root@soleil:~# cat /var/log/mysql.logSo I believe there I have remove some liberties which mysql depending on them with
Code: Select all
apt-get --purge remove x11-*Any advise?
Thanks!