Installation issues
Submitted by linuxguy on Sun, 2006-08-27 05:11
First of, congratulations, your software is great and I'm glad I found it. I've installed it on Slackware and everything is great, except when I log in and click on Main->Utilities, I get permission denied. I've checked my config files and all are owned by the same user who runs the webserver. I've also checked on mysql server and the suer has the proper permissions. Any ideas? Thanks in advance for your response.






I could use some help.
I tried to install the deb package and received this error:
/var/lib/dpkg/info/freemed.postinst: line 8: syntax error near unexpected token `do'
Next, I tried the installation instruction using svn for debian. I am using Mepis 7.0 with 2.9.1.1-Debian-6, apache2, php5, mysql5.
I keep receiving this error:
Fatal error: Class 'MaintenanceModule' not found in /usr/share/freemed/modules/log.db.module.php on line 7
after the login page, actually this is what is on the address bar when I receive that fatal error:
http://localhost/freemed/main.php.
I am somewhat of a novice with linux and would use any help you could supply.
Thanks,
tripp
I made some templates for patient correspondence that only show for 2 users but not the third user. How can I get the one user to see the templates? They all have full permissions on the system.
If I choose NONE SELECTED under "Actual Physician" in the user settings, he sees them, however, he then cannot see his calendar, any ideas?
Perhaps the developer of FreeMED will also respond to this.
In the meantime, I can tell you that when we first developed the template system, the templates were user specific. In other words, templates for Doctor X are not visible to Doctor Y and staff templates are not visible to physicians. Staff templates should be visible to all staff members.
For now, you can cut and paste the template if this is urgently needed.
I was wondering whether anyone has tried FreeMED on a RedHat/Fedora system/server. I am about to give it a try.
Several years ago (before Fedora existed) we bought a server with Red Hat installed. FreeMED worked beautifully on this server.
Good luck.
in terminal get
/var/lib/dpkg/info/freemed.postinst: line 8:syntax error near unexpected token 'do'
dpkg: error processing freemed (--configure): subprocess post-installation script returned error exit status 2
When using debian instructions after entering svn co http://svn.freemedsoftware.org/freemed/trunk freemed
get Authentication realm: http://svn.... and and asked for user name and password, then get svn: PROPFIND request failed
I'm getting in over my head here. Any help? Thanks!
I had used an older copy of the debian install instructions that had
trunk freemed, used the branches and that worked. In the remove the
AddModule line, I nano it
and get:
#LoadModule php4_module modules/libphp4.so
# Uncomment this line if using Apache 2.0
#AddModule mod_php4.c
Now those lines are comments, so I thinking maybe I'm in the wrong place.
I go on to:
freekbox:/usr/share# apt-get -y install $(cat
/usr/share/remitt/debian/control | grep ^Depends | awk -F'},' '{ print
$2; }' | sed -e 's/,/ /g;')
and get back:
cat: /usr/share/remitt/debian/control: No such file or directory
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up freemed (0.8.3-1) ...
/var/lib/dpkg/info/freemed.postinst: line 8: syntax error near
unexpected token `do'
dpkg: error processing freemed (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
freemed
The Debian package just does the following:
It's perfectly possible to do this all with the tarball if the deb package is giving trouble. I may have to QA it a bit more and/or rewrite parts of it for the next release.
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
Sorry, the Debian install instructions from Subversion seem to have a typo in them. I had corrected it on the developer site, but hadn't checked here. I'll correct the instructions.
Thanks!
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
Try this
svn co http://svn.freemedsoftware.org/freemed/branches/0.8.x freemed
svn: PROPFIND request failed on '/freemed/branches/0.8.x'
svn: PROPFIND of '/freemed/branches/0.8.x': could not connect to server (http://svn.freemedsoftware.org)
One of the round-robin'ed Subversion servers wasn't responding properly ; I have fixed.
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
I still having a problem with this:
usr/share# svn co http://svn.freemedsoftware.org/freemed/trunk freemed
Authentication realm: FreeMED
Password for 'root':
Authentication realm: FreeMED
freekbox:/usr/share# svn co http://svn.freemedsoftware.org/freemed/trunk freemedUsername:
Password for '':
Authentication realm: FreeMED
Username:
Password for '':
svn: PROPFIND request failed on '/freemed/trunk'
svn: PROPFIND of '/freemed/trunk': authorization failed (http://svn.freemedsoftware.org)
You're still using the wrong Subversion path; try using:
svn co http://svn.freemedsoftware.org/freemed/branches/0.8.x freemed
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
in debian instructions:
# It's pretty arbitrary. Just make a username and password, then enter the same one in FreeMED under REMITT in System Configuration.
# Then configure inside FreeMED to be able to use the remitt server.
could you clarify getting into freemed system config for remitt and configure for use
We had this issue at www.freemed.info installation but your issue may be different.
The FreeMED developer does not have this problem on his system.
You might try logging is as admin and go to Main -> Administration Menu -> User Maintenance and then click on "Mod" next to the user you created. Click on Access Control Lists and make sure that the user has "Administrators" or at least "Local Administrators" privileges.
Perhaps this is the correct way to fix this problem. Let me know.
Thank you all for the quick response. It seems what happened was I had created the mysql DB prior to creating the freemed user and that didn't work, although I gave freemed user (admin) full access to the mysql DB after it was created. To fix this issue, I started from scratch again, this time I logged in as the freemed user (admin) and created the mysql DB and it worked. Let me know if this makes sense or if you'd like further explanation. Thank you again for your great software and quick response from all those who replied. This program rocks.
Some users may understand completely what you did. New users would find it helpful if you posted the further explanation.
We're delighted that the programs works for you.
Here's what I did, in a nutshell:
1- created user called freemed on linux server and on mysql
2- logged in as the new user freemed on the linux server and created the freemed database
3- Edited the settings.php and also httpd.conf as explained on the README file
4- chown nobody.nobody -R /usr/share/freemed
5- Went to http://localhost/freemed
6- Follow the prompts on the browser and when asked to log in, I used the user freemed (admin user didn't have enough rights on the database, since freemed user was created on step 1, instead of adin user)
I still have some issues though, I can't get remitt to compile. Any ideas on this one? I'm running Slackware 10.2. Thanks in advance.
By compilation, do you mean that REMITT produces errors when it runs? If so, it's probably missing some Perl modules. If so, use CPAN ( perl -MCPAN -e "install Whatever::Module" ) to install, replacing "Whatever::Module" with the module you want to install.
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
Sorry about that. What I meant was, I tried to run remitt after untarring the package and I got the errors below. I couldn't find any instructions on how to install remitt, I didn't see any help or README or install instructions. I also went to their site and found no support from them, they just directed me to their paid support site. I was wondering if anyone could tell me what commands to run to have remitt installed. I tried to just un tar the package and run it, but that didn't work, here is what I get (please see below). Any help is appreciated, thanks:
root@kingpenguin:/usr/share/remitt/debian#./init.d start
Starting REMITT Medical Billing Service: Can't locate URI.pm in @INC (@INC contains: /usr/share/remitt/bin/../lib /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at /usr/share/remitt/bin/../lib/SOAP/Lite.pm line 2720.
Compilation failed in require at /usr/share/remitt/bin/../lib/XMLRPC/Lite.pm line 13.
BEGIN failed--compilation aborted at /usr/share/remitt/bin/../lib/XMLRPC/Lite.pm line 13.
Compilation failed in require at /usr/share/remitt/bin/../lib/XMLRPC/Transport/HTTP.pm line 17.
BEGIN failed--compilation aborted at /usr/share/remitt/bin/../lib/XMLRPC/Transport/HTTP.pm line 17.
Compilation failed in require at /usr/share/remitt/bin/remitt_server.pl line 17.
BEGIN failed--compilation aborted at /usr/share/remitt/bin/remitt_server.pl line 17.
Did you adapt the Remitt installation instructions which are in the Debian install intructions found at http://www.freemedsoftware.org/forum/freemed_installation_instructions_o...?
apt-get -y install $(cat /usr/share/remitt/debian/control | grep ^Depends | awk -F'},' '{ print $2; }' | sed -e 's/,/ /g;')
installed the following dependencies. Perhaps some of them are missing on your system:
perl
libxml-libxml-perl
libwww-perl
libxml-simple-perl
libpdf-api2-perl
libcompress-zlib-perl
libnet-ssleay-perl
libcgi-session-perl
libconfig-inifiles-perl
libcrypt-ssleay-perl
libdbd-sqlite3-perl
libio-socket-ssl-perl
libnet-ssleay-perl
libwww-mechanize-perl
libxml-libxslt-perl
libconfig-inifiles-perl
Let us know if this helps.
Thanks for all your help, afte digging thrue some more I was able to make everything everything, from freemed install to remitt up and running. I went ahead and wrote a how to and posted on this board, under the installation and configurations page, here is the link if needed:
FreeMED Installation Instructions on a Slackware 10.2 Server
Are you using the "admin" user, or one you have created? If it is the admin user, it may be indicative of a bug in the ACL checking for that section of the software.
If you're using a regular user, make sure to give them "localadmin" or "entry" permission to allow them to use that section of the software.
Volker's issue stems from a database that was ported from an older version of the software, which requires a rebuild of the ACL tables, but a new installation shouldn't have the same issue.
Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
This is a bug in the 0.83 release, I think. Go to Main -> Administrative Menu -> System Configuration -> Access Control Lists. Next to "Enable ACL System" and "Enable Patient ACLs" chose "no".
Let me know if that fixes this for you.