NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
vesper76
Dec 07, 2009Aspirant
Somehow broke logger, thereby breaking everything
For background on how I somehow got to this point: viewtopic.php?f=22&t=36105&start=0 I'm moving to this forum, because it's essentially a different question than I started with. The short versio...
PeterH2
Dec 09, 2011Aspirant
Thanks Dwarf & bsilva for the fast replies! Sorry for this late reply, I wasn't home for the last two days.
@Dwarf, I'm going to try out your logger in a few minutes.
@bsilva, I indeed saw a compiled file, but I first removed it, and when I then opened "logger" with Vi, it created a new empty file [so that was oke, I forgot to remove it in the e-mail - but did remove it in the post on this forum] - now your script is in the logger
I do get logger and vi in the list when I enter: busybox --list, so that's a good thing, in the symlink logger-file is now the script you posted on the previous page.
But when I type: /etc/init.d/mysql start // I still end up with "Starting MySQL database server: mysqld ..... failed!"
update:
I tried the logger that Dwarf sent me - and did apt-get update and apt-get upgrade. Now I see two errors:
First with the update:
dpkg: serious warning: files list file for package `noflushd' missing, assuming package has no files currently installed
I remember deleting some flushd files, because some people wrote that on a forum as a solution to correctly install php... not nice I guess..?
To reinstall it, I did: apt-get remove noflushd and then apt-get install noflushd
With installing noflushd, I see: "No default timeout set. Aborting"
I get the advise to correct this by running: dpkg-reconfigure noflushd
This gives in the end the message: noflushd is broken or not fully installed
Via Google I do find people with this same error, but they don't seem to be able to solve it...
Well, back to mysql.
It still gives the same error ["Starting MySQL database server: mysqld ..... failed!"], after using the logger of Dwarf, but now with another error in syslog!
"0 processes alive and 'usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in"
"Could not open required defaults file: /etc/mysql/debian.cnf"
"Fatal error in defauls handling. Program aborted"
Checking if the file debian.cnf exists, and found that this file does not exists on my box. So that is probably the problem now, and the noflushd thing, don't know if that is a big problem? (my disks will now spin more than necessary?)
Searching Google for the debian.cnf error, also did not give something useful, any ideas on how to solve this?
Thanks for all the help so far, and if you're still in the mood for helping, it would be great.
@Dwarf, I'm going to try out your logger in a few minutes.
@bsilva, I indeed saw a compiled file, but I first removed it, and when I then opened "logger" with Vi, it created a new empty file [so that was oke, I forgot to remove it in the e-mail - but did remove it in the post on this forum] - now your script is in the logger
I do get logger and vi in the list when I enter: busybox --list, so that's a good thing, in the symlink logger-file is now the script you posted on the previous page.
But when I type: /etc/init.d/mysql start // I still end up with "Starting MySQL database server: mysqld ..... failed!"
update:
I tried the logger that Dwarf sent me - and did apt-get update and apt-get upgrade. Now I see two errors:
First with the update:
dpkg: serious warning: files list file for package `noflushd' missing, assuming package has no files currently installed
I remember deleting some flushd files, because some people wrote that on a forum as a solution to correctly install php... not nice I guess..?
To reinstall it, I did: apt-get remove noflushd and then apt-get install noflushd
With installing noflushd, I see: "No default timeout set. Aborting"
I get the advise to correct this by running: dpkg-reconfigure noflushd
This gives in the end the message: noflushd is broken or not fully installed
Via Google I do find people with this same error, but they don't seem to be able to solve it...
Well, back to mysql.
It still gives the same error ["Starting MySQL database server: mysqld ..... failed!"], after using the logger of Dwarf, but now with another error in syslog!
"0 processes alive and 'usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in"
"Could not open required defaults file: /etc/mysql/debian.cnf"
"Fatal error in defauls handling. Program aborted"
Checking if the file debian.cnf exists, and found that this file does not exists on my box. So that is probably the problem now, and the noflushd thing, don't know if that is a big problem? (my disks will now spin more than necessary?)
Searching Google for the debian.cnf error, also did not give something useful, any ideas on how to solve this?
Thanks for all the help so far, and if you're still in the mood for helping, it would be great.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!