View Single Post
  #1   (View Single Post)  
Old 19th February 2009
lordyan lordyan is offline
New User
 
Join Date: Feb 2009
Posts: 2
Default ln -f at boot doesn't work

Hello,

I've installed OpenBSD4.4 with Apache/Php/Mysql. It works fine but..

to use mysql, I've made a link because of the chrooted things :

ln -f /var/run/mysql/mysql.sock /var/www/var/run/mysql/mysql.sock

But when I reboot, this link is deleted. So I've put it in /etc/rc.local, but it doesn't work.
At boot time, I've this message :
mysqld ln: /var/run/mysql/mysql.sock :not such a file or directory

How can I launch this "ln -f" command at boot ?

Thanks a lot!
lordyan
Reply With Quote