|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
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 |
|
|||
Hello,
thank you for the answer. The line "ln -f /var/run/mysql/mysql.sock /var/www/var/run/mysql/mysql.sock" must be put before the launch of mysqld in rc.local, and not after, has I did. That's completly stupid but now it works Thanks again |
Tags |
boot, ln -f, mysql.sock, mysqld ln: |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluxbox-generate_menu doesn't work | nihonto | NetBSD Package System (pkgsrc) | 4 | 5th April 2022 03:03 PM |
Marvell 88E8038 ethernet adaptor doesn't work with NetBSD 5, even with ACPI disabled | GullibleJones | NetBSD General | 2 | 13th December 2009 10:55 AM |
After an update stable doesn't boot | hamba | FreeBSD Installation and Upgrading | 18 | 23rd October 2008 10:58 PM |
FreeBSD doesn't boot | purak | FreeBSD Installation and Upgrading | 7 | 9th October 2008 05:24 PM |
KDE (X-Server) in FreeBSD 7.0 doesn't work correctly | louie | FreeBSD General | 6 | 7th May 2008 11:53 PM |