Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / November 2007



Tip: Looking for answers? Try searching our database.

Coldfuion 8 Installation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
myjeep - 15 Nov 2007 16:40 GMT
:confused;
 Installed the Coldfusion 8 on Linux 4AES. everything went fine. I started the
ColdFusion server, Went Ok
try to restart the httpd and get the following error. What I understand is the
apache connector.
Can any one help???? I am desperate...........

[root@webLive ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 524 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so into server:
/usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so: undefined symbol:
ap_http_scheme
                                                           [FAILED]
gcleric - 15 Nov 2007 17:26 GMT
Same issue on RHES 5.   The Adobe documentation is less than accurate.

You need to build the connector module for Apache using a command like...

/opt/coldfusion8/runtime/bin/wsconfig -server localhost -ws apache -dir
/etc/httpd/conf  -bin /usr/sbin/httpd -script /etc/rc.d/init.d/httpd
-coldfusion -apxs

This is where I'm hitting a wall as I get the Error...

JRun server localhost cannot be found on host 127.0.0.1.
Confirm that JRun server 127.0.0.1 is started.

-Eric
gcleric - 15 Nov 2007 18:09 GMT
May be this will help...


http://www.talkingtree.com/blog/index.cfm/2006/12/6/Running-ColdFusion-MX-7-on-F
edora-Core-6-Linux

I seem to be making progress with my install.   For $1400 Adobe's
documentation should be at least half as good...

Eric
gcleric - 15 Nov 2007 18:27 GMT
Got mine working....

/usr/lib/apr-1/build/libtool --mode=install cp
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.la
/opt/coldfusion8/runtime/lib/wsconfig/1//
cp /opt/coldfusion8/runtime/lib/wsconfig/1/.libs/mod_jrun22.so
/opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.so
cp /opt/coldfusion8/runtime/lib/wsconfig/1/.libs/mod_jrun22.lai
/opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.la
cp /opt/coldfusion8/runtime/lib/wsconfig/1/.libs/mod_jrun22.a
/opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.a
chmod 644 /opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.a
ranlib /opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.a
libtool: install: warning: remember to run `libtool --finish
/usr/lib/httpd/modules'
chmod 755 /opt/coldfusion8/runtime/lib/wsconfig/1//mod_jrun22.so
httpd not running, trying to start
Restarted Apache server

Looks like editing the...

/opt/coldfusion8/bin/connectors/apache_connector.sh

to look like...

#!/bin/sh

#
# Configure the Apache connector.
#       -dir should be the *directory* which contains httpd.conf
#       -bin should be the path to the apache *executable*
#       -script should be the path to the script which is used to
#               start/stop apache
#
../../runtime/bin/wsconfig \
        -server coldfusion \
    -ws apache \
        -dir /etc/httpd/conf \
        -bin /usr/sbin/httpd \
        -script /usr/sbin/apachectl \
        -coldfusion

exit $#

Then make the script executable...

 chmod 700 apache_connector.sh

Followed by running it...

./apache_connector.sh

Worked for me...

Eric
myjeep - 15 Nov 2007 20:30 GMT
Thanks for all the info... But still not working..

Starting httpd: Syntax error on line 524 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so into server:
/usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so: undefined symbol:
ap_http_scheme
ukb kumar - 16 Nov 2007 08:42 GMT
Can you send me the httpd.conf of yours so that i can analyze the problem on line 524.
myjeep - 16 Nov 2007 15:59 GMT
</IfModule>
# JRun Settings
LoadModule jrun_module /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
# LoadModule jrun_module /etc/httpd/modules/mod_jrun20.so
<IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Ssl false
    JRunConfig Serverstore
/usr/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:51800
    #JRunConfig Errorurl url <optionally redirect to this URL on errors>
    #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before
trying to reconnect to unreachable clustered server>
    #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket
connect to a jrun server>
    #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive
to a jrun server>
    #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to
a jrun server>
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>
myjeep - 16 Nov 2007 18:29 GMT
Uninstalled Coldfusion 8
Updated Apache to 2.0
Reinstalled ColdFsuion8
Start Coldfusion8

Got the following message

[root@webLive bin]# ./coldfusion start
Starting ColdFusion 8...
The ColdFusion 8 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the
ColdFusion 8 start script)
Running apache connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
=======================================
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to /usr/coldfusion8/logs/cfserver.log
ukb kumar - 20 Nov 2007 09:01 GMT
Hi, i saw the httpd.conf file and according to that the certain things are
missing and hence connector is not able to work for you:-
1) Have you created the folders inside the wsconfig directory named "1"
LoadModule jrun_module /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
2) Now if you are using apache 2.2 then u can use this file mod_jrun22.so not
for apache 2.0 For apache 2.0 you have to use mod_jrun20.so
3) You can extract this file from lib folder the jar name is wsconfig.jar
4) Place this file inside the folder  "1".
5) Also restart the proxy web server from jrun management console. So that the
proxy port is activated.

Try these steps and this will resolve the problem.
myjeep - 20 Nov 2007 21:31 GMT
#1-4 is all good. I checked.

#5 . Little confused. During installation, I remember to install "A" server
and then picked Apache. When I look at Jrun management
console(/localhots:8000), its a web console but the problem is my httpd is not
running.
myjeep - 21 Nov 2007 00:36 GMT
[root@webLive bin]# ./jrun -restart
Restarting coldfusion server.could not restart server, either it's not
running, you don't have permission to stop the server or it needs to be killed
manually and then started
Restarting samples server.No jndi.properties file was found in samples's
SERVER-INF directory. The JRun kernel requires JNDI information.
could not restart server, either it's not running, you don't have permission
to stop the server or it needs to be killed manually and then started
Restarting admin server.No jndi.properties file was found in admin's
SERVER-INF directory. The JRun kernel requires JNDI information.
could not restart server, either it's not running, you don't have permission
to stop the server or it needs to be killed manually and then started
ukb kumar - 21 Nov 2007 06:49 GMT
Hi Sir, i checked the problem and tried to reproduce the same on my machine and
in the last point th command which you are using to restart the coldfusion
server is actually wrong that command will restart the sample server. So for
restarting the jrun admin console commands to be used are :-

1) jrun.exe -start admin for starting JRun
2) For starting the default coldfusion server command is jrun.exe -start
cfusion
Note:- cfusion is the service name so if u have another service name u can use
that service name
This will make the server restart.,

Now coming to connector issue
1) After configuring JRun settings in the httpd.conf which we have already
mentioned in earlier post. Restart the apache server manually. After successful
restarting apache check the default page of apache is appearing in the browser
or not.
2) Then see the jrun web console. http://localhost:8000/
There click on cfusion(you can have another service name also) After that
check the services tab and inside that the proxy server is started or not. It
must be started but if not then restart that manually.

Then try to access the pages through apache, it will successful.
myjeep - 21 Nov 2007 17:31 GMT
first I appreciate you help very much. More then Coldfusion Tech support or
lack of documentation....

Just little background....

redhat 4.4
apache 2.0
coldfusion 8

I ran the ..jun from /coldfusion8/runtime/bin
as

jrun start coldfusion (Cfusion does not work)
I get the following...and seems like it is stuck on the prompt

[root@webLive bin]# ./jrun -start coldfusion
Starting Macromedia JRun 4.0 (Build 108487), coldfusion server
11/21 10:22:04 warning Unable to open
/usr/coldfusion8/runtime/lib/license.properties
11/21 10:22:05 info JRun Naming Service listening on *:2930
11/21 10:22:05 info No JDBC data sources have been configured for this server
(see jrun-resources.xml)
11/21 10:22:05 info JRun Proxy Server listening on *:51800
11/21 10:22:05 info Deploying enterprise application "Adobe_ColdFusion_8"
from: file:/usr/coldfusion8/
11/21 10:22:05 info Deploying web application "Adobe ColdFusion 8" from:
file:/usr/coldfusion8/
11/21 10:22:06 INFO License Service: Flex 1.5 CF Edition enabled
11/21 10:22:06 INFO Starting Flex 1.5 CF Edition
11/21 10:22:06 user JSPServlet: init
11/21 10:22:06 user ColdFusionStartUpServlet: init
11/21 10:22:06 user ColdFusionStartUpServlet: ColdFusion: Starting application
services
11/21 10:22:06 user ColdFusionStartUpServlet: ColdFusion: VM version =
1.6.0_01-b06
11/21 10:22:06 Information [main] - Starting logging...
11/21 10:22:06 Information [main] - Starting license...
11/21 10:22:07 Information [main] - Enterprise Edition enabled
11/21 10:22:07 Information [main] - Starting crypto...
11/21 10:22:07 Information [main] - Installed JSafe JCE provider: Version 3.6
RSA Security Inc. Crypto-J JCE Security Provider (implements RSA, DSA,
Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5,
RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160,
HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)
11/21 10:22:07 Information [main] - Starting security...
11/21 10:22:07 Information [main] - Starting scheduler...
11/21 10:22:07 Information [main] - Starting WatchService...
11/21 10:22:07 Information [main] - Starting debugging...
11/21 10:22:07 Information [main] - Starting sql...
11/21 10:22:08 Information [main] - Starting mail...
11/21 10:22:08 Information [main] - Starting runtime...
11/21 10:22:08 Information [main] - CORBA Configuration not enabled
11/21 10:22:08 Information [main] - Starting cron...
11/21 10:22:08 Information [main] - Starting registry...
11/21 10:22:08 Information [main] - Starting client...
11/21 10:22:09 Information [main] - Starting xmlrpc...
11/21 10:22:09 Information [main] - Starting graphing...
11/21 10:22:09 Information [main] - Starting verity...
11/21 10:22:09 Information [main] - Starting archive...
11/21 10:22:09 Information [main] - Starting document...
11/21 10:22:09 Information [main] - Starting eventgateway...
11/21 10:22:09 Information [main] - Starting Event Backend Handlers.
11/21 10:22:09 Information [main] - Initialized EventRequestDispatcher with a
Thread Pool size of 10.
11/21 10:22:09 Information [main] - Initializing EventRequestHandler
11/21 10:22:09 Information [main] - Starting Event Gateways.
11/21 10:22:09 Information [main] - Starting FlexAssembler...
11/21 10:22:09 Information [main] - Starting .NET...
11/21 10:22:09 Information [main] - Starting Monitoring...
11/21 10:22:09 Information [main] - ColdFusion started
11/21 10:22:09 user ColdFusionStartUpServlet: ColdFusion: application services
are now available
11/21 10:22:09 user CFMxmlServlet: init
11/21 10:22:09 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
11/21 10:22:09 INFO Macromedia Flex Build: 87315.134646
11/21 10:22:10 user CFSwfServlet: init
11/21 10:22:10 user CFCServlet: init
11/21 10:22:10 user FlashGateway: init
11/21 10:22:10 user MessageBrokerServlet: init
11/21 10:22:11 user CFFormGateway: init
11/21 10:22:11 user FlexMxmlServlet: init
11/21 10:22:12 INFO Loading configuration file
/usr/coldfusion8/wwwroot/WEB-INF/flex/flex-webtier-config.xml
11/21 10:22:12 INFO Loading configuration file
/usr/coldfusion8/wwwroot/WEB-INF/flex/flex-config.xml
- Constructed GeneralCacheAdministrator()
- Creating new cache
11/21 10:22:12 user FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
11/21 10:22:12 user FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666
11/21 10:22:12 user CFInternalServlet: init
11/21 10:22:12 user FlexInternalServlet: init
Server coldfusion ready (startup time: 7 seconds)
myjeep - 21 Nov 2007 17:35 GMT
When I try to restart Httpd is get the following...

[root@webLive ~]# service httpd start
Starting httpd: Syntax error on line 524 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so into server:
/                      usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so:
cannot open shared object                       file: No such file or directory
myjeep - 21 Nov 2007 17:36 GMT
i doubled checked and it exist..

usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
ukb kumar - 22 Nov 2007 05:57 GMT
Hi, the problem is very short and sweet which is occurring very frequently. I
faced the same problem. Now the mistake is in the httpd.conf file:- Lets check

This is your configuration file. Just replace this portion by what i am giving
below
</IfModule>
# JRun Settings
LoadModule jrun_module /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
# LoadModule jrun_module /etc/httpd/modules/mod_jrun20.so
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Ssl false
JRunConfig Serverstore /usr/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51800
#JRunConfig Errorurl url <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to
reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect
to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to
a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a
jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>


********************************************************************************
********

Replace the above by this portion

</IfModule>
# JRun Settings
LoadModule jrun_module "/usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Ssl false
JRunConfig Serverstore
"/usr/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51800
#JRunConfig Errorurl url <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to
reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect
to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to
a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a
jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>

*****************************************************************

If u see both the only problem is due to the double codes are not present
hence the apache cannot recognize the path.
Now after altering this check and Definitely the apache will start. In case of
any doubt reply me back.
myjeep - 23 Nov 2007 22:21 GMT
Updated the path but I still have the same problem. Same error,.

[root@webLive ~]# service httpd start
Starting httpd: Syntax error on line 524 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so into server:
/usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so: cannot open shared
object file: No such file or directory

************************MY htpd.conf now has "" on the path

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"un Settings
LoadModule jrun_module "/usr/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Ssl false
    JRunConfig Serverstore
"/usr/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51800
    #JRunConfig Errorurl url <optionally redirect to this URL on errors>
    #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before
trying to reconnect to unreachable clustered server>
    #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket
connect to a jrun server>
    #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive
to a jrun server>
    #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to
a jrun server>
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>
ukb kumar - 26 Nov 2007 07:06 GMT
Hi, now what i think the problem is with the file permissions. If u check the
file permission of this mod_jrun20.so and also the jrunserver.store Give them
777 permission and after that try to access it. For now i have this solution
only.
myjeep - 26 Nov 2007 17:16 GMT
here is the File permission on mod_jrun20.so

-rwxrwxrwx  1 orbwebadmin root 69480 Jun 21 14:47 mod_jrun20.so

Strange thing is I do not have the file jrunserver.store.. How does that get
created??? I just ran the installation and thats all I did. If it did not get
installed then, I have not created manually...

How do you suggest I extract the mod_jrun20.so file??
ukb kumar - 27 Nov 2007 10:20 GMT
Ok i see that, Ok again follow the steps which i am sending to you,

1) Go to lib directory and there will be a jar file wsconfig.jar Open this jar
file . Now as you open that go to
connector--> Apache--->intel-linux---->prebuilt---->
And inside that u will have mod_jrun20.so extarct that file from there and put
in the path  /usr/coldfusion8/runtime/lib/wsconfig/1/

Okay as this is done. Create a text file and rename that file as
jrunserver.store removing the .txt extension

Now try to run the apache and reply back me the result.
arifrahman - 27 Nov 2007 16:02 GMT
Kumar:
Thanks a million for all your help and I have solved it. And  **NO THANKS**  
to **ADOBE** who sells this product with Installation guide that never
addresses this issue...

Here is the solution on a 3rd party website...........


http://www.webmasterkb.com/Uwe/Forum.aspx/coldfusion-newbie/6462/CF8-Linux-Insta
ll-Fails-if-installed-on-current-apache
ukb kumar - 26 Nov 2007 08:42 GMT
Hi, Also let me know the process how you extracted this mod_jrun20.so file? I
tried to reproduce this case and was ableto do that. I removed the
mod_jrun20.so from the directiry path and tried to start the apache but it gave
the same error as mentioned by you again i put the file mod_jrun20.so on the
same path as mentioned in the httpd.conf and it started apache. So somewhere
the problem is in the path or the file extraction can also be a problem. How
the file was extracted from wsconfig.jar

Please let me know about these things for further analysis.
arifrahman - 27 Nov 2007 16:04 GMT
Here is the solution I found and it works. Thanks to Kumar. and **NO THANKS* to
ADOBE


http://www.webmasterkb.com/Uwe/Forum.aspx/coldfusion-newbie/6462/CF8-Linux-Insta
ll-Fails-if-installed-on-current-apache
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.