0

BlueDragon update

Ubuntu

So, I'm into night 3 of trying to get BlueDragon working with Apache on Ubuntu 6.10.  Tonights task was trying to get the web server adapter on BlueDragon Server 7.0 to work with Apache 2.055.  The built in web server works fine, but I can't figure out how to get apache to work.  I've got a simple index.cfm document that will not display at all. Actually no coldfusion pages will display. All I get in my browser is a blank screen.

 I'm no Linux expert by any means so bear with me here. I followed the directions layed out by Adam Howitt his blog as well as the article on we3Geeks for setting up the symbolic links to Apache2.  Basically it says to do this:


sudo mkdir -p /usr/local/apache/bin
sudo mkdir -p /usr/local/apache/conf
sudo ln -s /etc/apache2/apache2.conf /usr/local/apache/conf/httpd.conf

sudo ln -s /var/www /usr/local/apache/htdocs
sudo ln -s /usr/lib/apache2/modules /usr/local/apache/modules
sudo ln -s /usr/sbin/apache2 /usr/local/apache/bin/httpd

So that's what I did.  I'm guessing the location of apache2 is correct as I browsed to the locations and verified there were files and folders in them.  I'm not sure which files should be there as the article doesn't say.  

Adam howitt's blog lists the same commands and his versions are a bit closer to mine.

 I've verified within BlueDragon Administror that the port 9999 is setup and in the servletexec.conf file the port is set to 9999 as well. So, I'm stuck at this point.  So, any help you could lend would be greatly appreciated. I'm probably not giving you nearly enough information, so if you need more please ask.

Thanks and I'll talk to you later,

Mark

tags:
Ubuntu
 
Mark, that is an interesting setup of Apache. Would you mind sharing how you installed it? When I compile and install Apache, I install it in the location /usr/local/apache2, so I don't end up doing all the symbolic linking, other than creating a /usr/bin/apachectl link to /usr/local/apache2/bin/apachectl. I would be interested in hearing more.
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
I installed Apache via Synaptic, so it's in the default location that the Ubuntu package put it. Per the Install guide from New Atlanta, BlueDragon looks for the Apache folders structure in the default location as set forth by the Apache Groups "Standard". So symlink's have to be setup to tell it where Apache is installed, if it differs from the "standard" location of the Apache directory structure. Of course I'm paraphrasing so here's a link to that guide: http://www.newatlanta.com/products/bluedragon/self...

So based on that I set up the symlinks per the articles.

I posted to the BlueDragon list and one of the creators of we3geeks responded to make sure the symlinks were there, I replied that as far as I know they are, so I'll keep you updated on what he has to say.
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
I have never liked the way Synaptic sets up httpd. For that reason I use the approach that I blogged here:
http://daveshuck.instantspot.com/blog/index.cfm/20...

In addition to that approach, I actually keep the following folder structure:
/home/dshuck/apps/apache2/conf/
/home/dshuck/apps/apache2/htdocs/

Once I set up Apache and create the ColdFusion connectors, I delete the conf and htdocs directories and make symbolic links to those that are in my home directory. Why you might ask? Aaron Lynch tipped me off to a great idea when I was recently trying a new distro. Make a partition on your drive specifically for your /home directory. I then install many of my applications (Eclipse and such) in a directory called /home/dshuck/apps/. Taking that approach I can wipe out my OS on a whim, install some other distro mounting /home to that partition and not formatting it, and after the OS installs, all of my programs are already there and they just work! Gaim accounts are still set up, Firefox still has it's preferences, history, etc., and more. So when I wipe out /usr/local/apache2/htdocs and .../conf and link it to the one in my home directory, all my configuration is in tact.

Just a little food for thought to chew on.... :)
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
Good info! Thanks. I've always kept a separate "docs" partition for that very reason, but on windows. I don't know why I didn't think about doing that on my ubuntu box. Oh well, thanks for the reminder.

I may try removing and reinstalling Apache tonight if I get time. I would like to get some code written someday soon. LOL
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
Unless you are just dead set on BD, the instructions in that blog post are from top to bottom on a ColdFusion setup to get you going. There is one slight diversion for Edgy and Feisty. If you go that route, let me know and I will guide you around that pitfall.
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
      I would love to go with ColdFusion on it, but I'm ultimately doing this so I can host some apps myself. Since it's just a hobby for me at this point I can't justify to the wife the extra $$$ to buy the full version of CF. As I understand it, under the license agreement the BD Server will accept unlimited connections as long is it's not commercial. I may go ahead and do a virtual windows machine running BD to host my apps to the world then use the CF server for development only. Decisions, Decisions, Decisions,...

One question about CF for Linux, does it support the same datatypes for datasources as the windows version? ODBC to be specific.
      
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
Yes it does Mark, although I understand about the licensing issue. :). It used the same JDBC driver to natively connect to anything that it would connect to as a Windows environment. Although you can't host the MSSQL or Access DBs on a Linux box, but then again... why the hell would you want to? In order to connect to MySQL 5.0, you will need to use an updated driver, but I noticed that Aaron already provided you with that link and info the other day, so I won't be redundant.

Feel free to post your issues. I am sure we can get you worked through it.
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
I'll probably take you up on your suggestions. As afar as your question about Access and MSSQL, please see this post. http://markbrown.instantspot.com/blog/index.cfm/20...

Thanks for all your help on this!
 
posted 975 days ago
Add Comment Reply to: this comment OR this thread
 
 
Well, last night I decided to give it one more try. I got mySql Installed, got the connector installed, and set up a datasource pointing to a simple db I made and it looks like that is all working, with the built in web server.

I still can't get the Apache adapter to work. Same issues as before, just displays a blank page. I verified all the symlink, one was wrong, but it didn't help when I fixed it, so I'm still trading emails on the BD list, so we'll give it a couple more tries. I'm giving myself until Sunday morning to get it working. If I can't get it done by then, well, I'll concede defeat for now, and run thru Dave Shucks blog on setup up ColdFusion on Ubuntu. http://daveshuck.instantspot.com/blog/index.cfm/20...
 
posted 974 days ago
Add Comment Reply to: this comment OR this thread
 
 
Well, I know I said I conceded defeat for now, but Adam Howitt (http://www.walkjogrun.net http://www.webdevref.com/blog) and offered to help some more. I let him SSH into my machine and take a look around. He found a few things, but none helped. So, I'm not officially stuck. I'm going to download the server version of Ubuntu and try it on that. He wrote a great script to walk me thru installing it all on server. So I'll give it a try one of these days soon.
 
posted 971 days ago
Add Comment Reply to: this comment OR this thread
 
abrian_anderson65 said:
 
That's cool...Just keep it up pal...=)Thanks on the update...
Honda floor liner-
http://www.discounthonparts.com/honda-floor-liner/...
 
posted 772 days ago
Add Comment Reply to: this comment OR this thread
 
abrian_anderson65 said:
 
Great site!care to visit mine at http://www.angelhound02.blogspot.com
Thank you and All the best!!!
 
posted 756 days ago
Add Comment Reply to: this comment OR this thread
 

Search