Juts working on getting FM projection going so far I have downloaded , loaded, and installed the KIDS file and now I am working on getting the Mysql piece
I am working off of the PPS instructions on
https://launchpad.net/~fm-projection+team/+archive/ppa
I am on ubuntu jaunty so i added the following lines to my sources.list
deb http://ppa.launchpad.net/fm-projection+team/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/fm-projection+team/ppa/ubuntu jaunty main
I added the keys like this:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D69FB939
[sudo] password for openvista:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys D69FB939
gpg: requesting key D69FB939 from hkp server keyserver.ubuntu.com
gpg: key D69FB939: public key "Launchpad PPA for FM Projection" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
and ran sudo apt-get update
Now, what is the package name to apt-get install. I tried
sudo apt-get install mysql-dfsg-5.1
but that returned package not found
Hi Richard, mysql-dfsg-5.1 is the name of the source package. I think you want to
apt-get install mysql-server-5.1That's odd. I think during the installation it prompts you to set a password, but if you just leave it blank, it doesn't set one.
When you uninstalled, did you use --purge? (apt-get remove --purge mysql-server-5.1 or dpkg --purge mysql-server-5.1) If you didn't, I don't think it wipes out the initial database that it created.
Nothing has been changed with regard to basic authentication and authorization for the server itself. I did a quick Google search on "mysql default password" and had a couple of interesting hits. Please see http://www.debian-administration.org/articles/442 for example.
My command line is appending some wired stuff automatically
I got it working after i followed Jon's advice. It may be useful to delete these posts as they may be confusing
Glad you got it working. I don't think we want to delete these, since someone may have the same issues in the future.
Guess what? I had the same exact issue!!!
It would be helpful to tell us how to do that in the installation document.
Hi Jonathan,
I tried installing the package with apt-get install mysql-server-5.1 on ubuntu 10.04
It did install the mysql-server, but I am not sure if it is the mysql package for file man or the standard mysql-server.
how do I verify if correct package is installed?
I proceded with it...after setting up FM Visualizer and setting the connection parameter I get the following error
I think the apt-get was not able to get hold of the right mysql engine..am I doing the right thing?
C:\Documents and Settings\drahul\Desktop\fm-projection\fmvis>java -jar fmvis.jar
log4j:WARN No appenders could be found for logger (com.medsphere.vistarpc.RPCBrokerConnection).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.medsphere.fileman.FMQueryFiles.execute(FMQueryFiles.java:34)
at com.medsphere.fmvis.database.fm.FMSchemaModel.getFileList(FMSchemaMod
el.java:130)
at com.medsphere.fmvis.ui.model.FMFileListModel.loadFiles(FMFileListMode
l.java:45)
at com.medsphere.fmvis.ui.model.FMFileListModel.<init>(FMFileListModel.j
ava:37)
at com.medsphere.fmvis.ui.view.MainFrame.getFileTree(MainFrame.java:117)
at com.medsphere.fmvis.ui.view.MainFrame.<init>(MainFrame.java:88)
at com.medsphere.fmvis.ui.controller.FileNav.<init>(FileNav.java:47)
at com.medsphere.fmvis.ui.controller.FileNav.<init>(FileNav.java:41)
at com.medsphere.fmvis.FMVisApp$2.run(FMVisApp.java:58)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Hi Rahul,
Unfortunately, we do not have MySQL with FM Projection properly packaged for Ubuntu 10.04 yet. We are planning to move to a plugin architecture, where we can ship a plugin that provides the storage engine instead of shipping a specialized build of MySQL Server. The actual development work for this is complete, but the packaging has not caught up yet. In the meantime, it may be easier for you to just keep the official MySQL Server package installed and just drop in a precompiled plugin .so file. Are you running 32-bit or 64-bit Ubuntu?
I think the error that you're getting is because the RPC broker is either not running or not configured correctly and has nothing to do with MySQL, but I'm not 100% sure on that.
Jonathan, Thats cool, plugin architecture would be just great.
I am running Ububtu Server 10.0 x86-64. Where do I find the plugin .so file you are refering to?
The above mentioned error was because of the missing menu option which I got working after installation of the kids
and have posted here.
I've attached a freshly-compiled version for Ubuntu 10.04 LTS x86_64. The installation takes a few steps:
Just an FYI, I have update the respoitory with changes to the build process. Under Linux, it was not building correct, runnable plugins. You may want to rebuild using revision 7.
Revision 7 of mainline? The plugin I attached here was from revision 6 of your plugin branch.
Yes, revision 7 or mainline. I didn't post for review since it's very simple stuff, and the existing didn't work anyway.
Since r6 of mainline brings in the new CIA broker stuff (which comes with the new config file format, etc.) I think I'll wait to get that documented better before we start distributing it. Probably when/after we get this packaging stuff sorted out.