Mysql service just stop working. once I typed: service mysql startThe linux system displayed the following:
tail: invalid option -- n
Try `tail --help' for more information.
tail: invalid option -- n
Try `tail --help' for more information.
/etc/init.d/mysql: ERROR: The partition with is too full! failed!
Knowing that I didnt edit the mysql file, it is always like that and my server ist not full because I checked this with df command. What can I do about it?
The -type f -name tail gives:
/bin/tail
/home/vhosts/Site1/bin/tail
/home/vhosts/Site2/bin/tail
/home/vhosts/Site3/bin/tail
/home/vhosts/Site4/bin/tail
/home/vhosts/Site5/bin/tail
/home/vhosts/chroot/bin/tail
/var/www/vhosts/chroot/bin/tail
/var/www/shops/Site6/bin/tail
/usr/bin/tail
invalid optionerror fromtailsince-nis very much a correct option. What happens if you call e.g.tail -n 2 /etc/fstabin the terminal? – Sven Mar 28 '14 at 11:27/etc/init.d/mysqlto contain the linewhich tailand then callservice mysql status? Is it the same output as when you issue this command on the shell (e.g. both/usr/bin/tail)? – Sven Mar 28 '14 at 11:45tailfails for some reason and therefore, the script doesn't get the path for the mysql data dir and fails to start the daemon, with a misleading error message. What happens if you runfind / -type f -name tail(will take a long time!) Do you get more than one line of output? If yes, it might be that your system is compromised, which isn't so unlikely considering that Debian Lenny is EOL for two years now. – Sven Mar 28 '14 at 12:03mysqldormysqld_safedirectly to bypass init scripts – LinuxDevOps Mar 28 '14 at 12:53df -handdf -i– Sverre Mar 28 '14 at 11:29service mysql statusshows that the service is running BUT always the same annoying mysterious error tail:tail: invalid option -- n Try tail --help for more information. /usr/bin/mysqladmin Ver 8.41 Distrib 5.0.51a, for debian-linux-gnu on x86_64 Copyright (C) 2000-2006 MySQL AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license– amani Mar 28 '14 at 13:33php -vPHP 5.2.6... I know that the version have to be updated too but right now I have to not update it so the question is would this php version work with the Debian Wheezy? – amani Mar 28 '14 at 15:00