DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 6th August 2010
benben159 benben159 is offline
New User
 
Join Date: Aug 2010
Posts: 2
Thanked 0 Times in 0 Posts
Unhappy mysql won't run via rc.local

hi, i'm a newbie on this OpenBSD (version 4.7). i've built an ONMP (OpenBSD-Nginx-MySQL-PHP). i've installed MySQL (using `pkg_add mysql-server`), and i've put it on rc.local like this:
Code:
if [ X"${mysql}" == X"YES" -a -x /usr/local/bin/mysqld_safe ] ; then
su -c _mysql root -c `/usr/local/bin/mysqld_safe &` > /dev/null & echo -
n “ mysqld”
fi
it won't run (i've checked it on `ps aux` output). it'll run if i execute it manually from the console
Code:
$ sudo su -c _mysql root -c `/usr/local/bin/mysqld_safe &` > /dev/null
what should i do?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
log from rc.conf.local and rc.local sdesilet OpenBSD General 1 21st January 2010 02:37 AM
/usr/local/etc/periodic does not exist ??? sniper007 FreeBSD General 3 3rd November 2009 07:36 AM
local dns (dnsmasq) bsdperson FreeBSD Ports and Packages 3 3rd September 2008 06:48 AM
proxy : replace gif with local gif milo974 OpenBSD General 4 17th July 2008 06:45 AM
/usr/local and application directories ducu_00 FreeBSD Ports and Packages 14 23rd May 2008 05:37 PM


All times are GMT. The time now is 01:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick