Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2006 12:39:00 -0400
From:      Ron Clark <rsclark@kingwoodcable.net>
To:        freebsd-questions@freebsd.org, Gerard Seibert <gerard@seibercom.net>
Cc:        Ron.Clark@eaglegl.com
Subject:   Re: Mysql from ports
Message-ID:  <20060803163901.0BEE5314294@mxo1.broadbandsupport.net>

next in thread | raw e-mail | index | archive | help

   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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060803163901.0BEE5314294>