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 06, 2011Aspirant
Well I have PM-ed this to bsilva, but probably can post it here as well, maybe it will help other people too:
Hi BSilva,
I read your post on readynas.com, thanks for sharing! As a totally new linux-user, I tried to figure out what you meant with it. However, I think I figured it out.
You say you have to do this:
NAS:/usr/bin#cd /usr/bin/ -> go to directory /usr/bin/
NAS:/usr/bin#rm -i logger -> remove the logger symlink - don't know exactly what a symlink is, but I did this step
NAS:/usr/bin#vi logger -> open the logger application with vi-editor - creates a new file
In the vi-application press:
A -> go in the file
Copy & paste -> copy and paste the script you posted
Esc:x -> save and quit Vi
NAS:/usr/bin#chmod +x logger -> set the correct file permission
I did all of these steps, resulting in your bash-script being in the /usr/bin/logger file.
Now I execute:
NAS:/usr/bin#/etc/init.d/mysql -start
And now I don't get an error anymore about the logger, but I only see:
"Starting MySQL database server: mysqld . . . . . . . . . . . . failed!"
I read on another forum that you then need to check /var/log/syslog, I did this and here I see:
Dec 6 20:07:35 NAS1 root: -p daemon.err -t /etc/init.d/mysql -p daemon.debug
I have no idea what to do next. And I really don't know why everything is this difficult in Linux I only want to install php 5.3 and mysql, so I can start programming my sites again, but I'm already busy with installing *** 2 basic and very popular programs for almost 2 days! (maybe it is because I have debian etch?)
Well sorry for the last part, I'm really sad about this, because it takes this much time. However, its people like you that give people solutions why I keep trying. So thanks for that!
Peter
Hi BSilva,
I read your post on readynas.com, thanks for sharing! As a totally new linux-user, I tried to figure out what you meant with it. However, I think I figured it out.
You say you have to do this:
NAS:/usr/bin#cd /usr/bin/ -> go to directory /usr/bin/
NAS:/usr/bin#rm -i logger -> remove the logger symlink - don't know exactly what a symlink is, but I did this step
NAS:/usr/bin#vi logger -> open the logger application with vi-editor - creates a new file
In the vi-application press:
A -> go in the file
Copy & paste -> copy and paste the script you posted
Esc:x -> save and quit Vi
NAS:/usr/bin#chmod +x logger -> set the correct file permission
I did all of these steps, resulting in your bash-script being in the /usr/bin/logger file.
Now I execute:
NAS:/usr/bin#/etc/init.d/mysql -start
And now I don't get an error anymore about the logger, but I only see:
"Starting MySQL database server: mysqld . . . . . . . . . . . . failed!"
I read on another forum that you then need to check /var/log/syslog, I did this and here I see:
Dec 6 20:07:35 NAS1 root: -p daemon.err -t /etc/init.d/mysql -p daemon.debug
I have no idea what to do next. And I really don't know why everything is this difficult in Linux I only want to install php 5.3 and mysql, so I can start programming my sites again, but I'm already busy with installing *** 2 basic and very popular programs for almost 2 days! (maybe it is because I have debian etch?)
Well sorry for the last part, I'm really sad about this, because it takes this much time. However, its people like you that give people solutions why I keep trying. So thanks for that!
Peter
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!