I ran through the ubuntu installation and am trying to install it on a working webserver with a full LAMP stack already installed and many sites using 80. The directories were created but it’s not being published (404) error. I looked at the HTPPD.conf file and the appropriate additions were made for the program (directory security entries) and I even created a virtual site and pointed it to that folder but to no avail. Is there a way for me to configure this for use with another port because it seems to not like being on 80 along with something else. Thanks.
It should do fine on port 80 (at some point you may consider enabling port 443 (SSL) for security but definitely need to get 80 up and running first). I’d also get the simple http://localhost/openemr working first before setting up as virtual name sites (setting up a virtual name site will require changing of variable $web_root in the interface/globals.php file).
Couple quick questions.
Ubuntu server or desktop?
Is your apache webfolder at /var/www?
Apache and php versions?
How are you accessing openemr (what web adress you using in browser)?
You might as well just paste the config file (/etc/openemr/openemr.conf) and the entire logfile (/var/log/openemr/install) here also (It’s rather large but don’t worry about it).
Ok, this is a working web server that is hosting several joomla sites, so I have the fairly recent apache and php running. Ubuntu version is Server 8.04, PHP 5, apache 2.2.8. The web folder is indeed /var/www. I’ve tried accessing it from localhost/openemr and from the application start up.
Openemr.conf (Below) #Optional settings
#(currently empty, plan to use in subsequent versions of OpenEMR)
#Installation settings
# (DO NOT EDIT below!!!)
process=complete
Here’s probably part of the problem, I have no install log, but when running through the setup the installation told me it completed and when I tried to re-run it the response was that it’s already installed.
hey,
Judging from your config file, you should of gotten through ok. I am confused why you have no log file. Do you even have a /var/log/openemr directory?
Do you keep your other web applications in /var/www and can you get to them via using localhost. For example if you have app at /var/www/joomla can you get to it with http://localhost/joomla ?
The nice thing is this package can easily be removed/re-installed (it removes everything including the added http security changes and any openemr data you may have) if you want to try from scratch again:
dpkg -r openemr
dpkg -i openemr_3.0.1-1_all.deb
There’s also a cvs version which uses a slightly different mechanism and won’t interfere at all with above production package. This version is only for testing/evaluation purposes, but would be interesting if this also causes problems and can also be easily removed: http://oemr.org/modules/wiwimod/index.php?page=UbuntuDebCvsInstallation
I think I’d problem solve in this order (progress down list if doesn’t help to figure out problem):
1) Are other web applications working with localhost from /var/www (if no, then I wonder what your default web directory is set to in your htttp configuration??)
2) Is the /var/log/openemr folder really not there
3) Try a remove/re-install.
4) Try the cvs package.
ok, I’ll let you know how things go, but as for the other parts of the comments, this is the only application I’m running on the server, but basically when I configure a joomla site, my mysql database uses localhost as it’s location, so I’m pretty sure thats the right folder.
Ok, after uninstalling and reinstalling I finally have an installation log, but it appears that it worked just fine but I still am getting the 404 errors. Any thoughts?
<b>Step 3</b><br><br>
Configuring OpenEMR…<br><br>
Connecting to MySQL Server…
OK.<br>
Creating database…
OK.<br>
Creating user with permissions for database…
OK.<br>
Reconnecting as new user…
OK.<br>
Opening database…OK.<br>
Creating initial tables…
OK<br>
Adding Initial User…
OK<br>
<br>Writing SQL Configuration…<br>Successfully wrote SQL configuration.<BR><br>Writing OpenEMR webserver paths to config file…<br>Successfully wrote OpenEMR webserver paths to config file<br><br>
<br>Next step will install and configure access controls (php-GACL).<br>
I’m wondering if /var/www may not be the directory your apache is using. Openemr installs into /var/www/openemr, so won’t work if your pointing apache somewhere else. As a test place a dummy text file with ‘hello world’ in it called text.txt in your /var/www/ directory. Then go to http://localhost/text.txt
Can you now see this file in the browser? (should output hello world)
Also, paste the entire log file here (above isn’t everything).
Ok, I forgot about one thing, Webmin is running on this installation and it uses the HTTPS port on localhost so it’s https://localhost:10000 to view the webmin interface, so I’m pretty sure that’s the right setup. This being said however, that’s the entire installation log.
Ok, maybe this is where I’m running into trouble, this happened when the installation applied the changes:
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:26 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] (EAI 2)Name or service not known: Failed to resolve server name for xxx.184.218.228 (check DNS) – or specify an explicit ServerName
[Wed May 27 10:53:41 2009] [warn] VirtualHost xxx.xxxxxxxx.net:80 overlaps with VirtualHost www.xxxxxx.net:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed May 27 10:53:41 2009] [error] VirtualHost *:80 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Instead of using Webmin’s virtual servers for my sites, I just add entries directly into the HTTPD file, I’m assuming this is where the errors are stemming from.
Ok, this is what I’m getting on the outside when I go to the site from the outside. I still get a 404 error on localhost, but when hitting from the outside, it appears to be drilling into the openemr folders, so any new ideas?
Not Found
The requested URL /openemr/interface/login/filler.php was not found on this server.
Not Found
The requested URL /openemr/interface/login/login.php was not found on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch Server at pct.beaconcomm.net Port 80
i think it’s looking in the wrong directory for the files. i have the same problem. i’m trying to figure it out. i left the default value in the first page of the setup for one of the directories as “openemr” but i have everything stored in “/var/www/oemr”. i need to find out where that value was written to so i can change it now.