Solved

How can i resolve problem with mysql

Posted on 2010-08-25
12
600 Views
Last Modified: 2016-02-10
I installed Freebsd in HP Proliant DL 380 G3, also  I Installed mysql and after reloading the monitor displays the following error:


***Error code 1

stop in /usr/ports/devel/libtool15.
***Error code 1


stop in /usr/ports/devel/gettext.
***Error code 1


stop in /usr/ports/devel/gmake.
***Error code 1

Stop in /usr/ports/databases/mysql60-server.

please, advice
0
Comment
Question by:donpaata
12 Comments
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 33527119
Hello,

I would rebuild the ports tree and try a reinstall of the packages.

csup -g -L 2 /root/ports-supfile

cd/usr/ports/databases/mysql50-server
make -D BUILD_OPTIMIZED install clean
rehash
0
 

Author Comment

by:donpaata
ID: 33565001
Hello,

please see attached files.
DSCF4034.JPG
DSCF4035.JPG
0
 

Author Comment

by:donpaata
ID: 33610680
please, see attached file.

I did as you said, and sent screen shot. please advice
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 27

Expert Comment

by:Jason Watkins
ID: 33611055
The first screen-shot shows a miss-spelled command 'pots' vs. 'ports'.

Second screen-shot lists mysql160-server, vs. mysql150-server.
0
 

Author Comment

by:donpaata
ID: 33611323
sorry I made mistake.
I wrote again commands which you sent.

please, see result:

# csup -g -L 2 /root/ports-supfile
Parsing supfile "/root/ports-supfile"
Cannot open "/root/ports-supfile": No such file or directory


# cd/usr/ports/databases/mysql50-server
cd/usr/ports/databases/mysql50-server: Command not found.

please advice

0
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 33611336
Looks like you are using the ports collection
0
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 33611344
Sorry, looks like you are NOT using the ports collection.

http://itdecorator.wordpress.com/2010/08/26/the-ports-collection/
0
 

Author Comment

by:donpaata
ID: 33616478
Something happened with my system. Maybe I did mistake during the installing freebsd. I'll Install this again. please send me any direcdory that could help me to install coretly. ( paatagunia@gmail.com )
0
 

Expert Comment

by:FryShadow
ID: 33680188
first you have to copy the original supfile :

bash>cp /usr/share/examples/cvsup/ports-supfile /root

Now edit the copied file using whatever editor that you have either ee, nano or vi

bash>nano /root/ports-supfile

Looks for  *default host=CHANGE_THIS.freebsd.org and change to any cvsup server that available

Then you can update the ports :)

bash>csup -g -L 2 /root/ports-supfile
0
 
LVL 62

Expert Comment

by:gheist
ID: 33686937
you can install packages and port collection using sysinstall (given you have working internet connection)
0
 
LVL 27

Accepted Solution

by:
skullnobrains earned 500 total points
ID: 33821135
just get your ports tree stable once and for all, and NEVER update it afterwards unless
- you know what you are doing
- if not, you are ready to rebuild ALL ports

this can be done by running csup as above, or "portsnap fetch update"

----

then either remove all ports and rebuild what you need
or use a package manager to rebuild them as you work

i'd advice using portmaster. it will always update dependencies when updates are available and get your mysql to work. but then you should NOT upgrade already installed ports unless you know how to deal with update problems

---

portmaster may be installed as follows
# make -C /usr/ports/pkg-mgmt/portmaster install clean

---

alternatively you may want to use precompiled packages (faster installation and less problems until you get used to the ports system). portmaster is able to upgrade precompiled packages with more up to date precompiled ones

----

specific help on your problem would be easier with more information on what commands you typed and the output. "reload the screen" does not mean much to me
0
 

Author Closing Comment

by:donpaata
ID: 34995147
Thanks a lot
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question