From owner-freebsd-questions@FreeBSD.ORG Thu Aug 3 16:39:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E33416A4DE for ; Thu, 3 Aug 2006 16:39:18 +0000 (UTC) (envelope-from rsclark@kingwoodcable.net) Received: from mxo1.broadbandsupport.net (mxo1.broadbandsupport.net [209.55.3.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id D600A43D55 for ; Thu, 3 Aug 2006 16:39:15 +0000 (GMT) (envelope-from rsclark@kingwoodcable.net) Received: from atmail2.ibbsonline.com (atmail2.ibbsonline.com [209.55.3.51]) by mxo1.broadbandsupport.net (Postfix) with ESMTP id 0BEE5314294; Thu, 3 Aug 2006 12:39:01 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=atmail2.ibbsonline.com) by atmail2.ibbsonline.com with esmtp (Exim 4.51) id 1G8gDs-00059d-RL; Thu, 03 Aug 2006 12:39:00 -0400 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Ron Clark To: freebsd-questions@freebsd.org, Gerard Seibert Date: Thu, 03 Aug 2006 12:39:00 -0400 X-Uidl: 1154552588.H320668P12766.atmail7.ibbsonline.comS=5384 X-Mailer: AtMail 4.11 Message-Id: <20060803163901.0BEE5314294@mxo1.broadbandsupport.net> X-broadbandsupport.net-MailScanner-Information: Please contact the ISP for more information X-broadbandsupport.net-MailScanner: Found to be clean X-broadbandsupport.net-MailScanner-From: rsclark@kingwoodcable.net X-Spam-Status: No MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ron.Clark@eaglegl.com Subject: Re: Mysql from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rsclark@kingwoodcable.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 16:39:18 -0000 OK, I rebuilt the box again and cvsuped my ports and got the machi= ne back to 5.5 STABLE. When I tried to install mysql server 5.1, I get the = following: =3D=3D=3D> Running ldconfig /sbin/ldconfig -m /usr/local/lib/mysql =3D=3D=3D> Ins= talling ldconfig configuration file cannot create /usr/local/libdata/l= dconfig/mysql: No such file or directory *** Error code 2 S= top in /usr/ports/databases/mysql51-client. *** Error code 1 Stop in /usr/ports/databases/mysql51-server. Is there any reason wh= y the install cannot create this directory? I am installing this as root. <= /p> This is a clean system, freshly installed. The only other packages / = ports installed are the cvsup-without-gui and bash2. Please help. I = do not want to run this on Linux! Ron On Wed Aug 2 18:02 , Gerard Seibert sent: Ron Clark w= rote: =0D =0D > Good day all, =0D > =0D > I am building a new server and need Mysql. I have tried to install= =0D > 4.1 server and 5.0 server. Both error out during the build. I try t= o =0D > restart the install and it installs, but then will not start becaus= e =0D > /var/log/mysql directory does not exist. I create the directory and= =0D > try to restart, to no avail. =0D > =0D > Is there a version of Mysql that can be installed with out errors?= =0D > Are there steps that am missing to make this run? I have installed= =0D > Mysql from ports before with no errors, so this is new. =0D > =0D > Thanks in advance, =0D =0D I have MySQL-5 installed. It worked without incident. Might I suggest = =0D the following. =0D =0D If you have portsclean installed, part of the portupgrade package, =0D please read the manual for it and run it. =0D =0D "portsclean -CLP" should do the trick. Then update your ports tre= e. I =0D would recommend 'portsnap' but that decision is up to you. =0D =0D Then navigate to databases/mysql51-server =0D =0D I would recommend that you delete that directory you created manually. =0D It probably has the wrong permissions, etc. and will cause a build =0D problem. =0D =0D Do the regular "make install && make clean" and you shoul= d be good to go. =0D =0D Place: mysql_enable=3D"YES" in the /etc/rc.conf file and then eit= her =0D reboot or run the rc.d file: /usr/local/etc/rc.d/mysql-server start and =0D it will create the directories it requires. You still have to create a =0D use though. =0D =0D Ciao! =0D =0D -- =0D Gerard =0D _______________________________________________ =0D [1]freebsd-questions@freebsd.org mailing list =0D [2]Ma= ilScanner has detected a possible fraud attempt from ".." claiming to be http://lists.freebsd.org/mailman/listinfo/freebsd-questions =0D To unsubscribe, send any mail to "[3]freebsd-questions-= unsubscribe@freebsd.org" =0D =0D = References 1. 3D"javascript:top.opencompose('freebsd-questions@freebsd.org','',''= 2. file://localhost/tmp/3D"../parse.pl?redirect=3Dhttp%3A%2F%2Flists.free= 3. 3D"javascript:top.opencompos=