This is what happened. When I was asked by ColdFusion for the user, the one
where the default is nobody, I entered cfroot, although there was no such user.
At first run, I encountered this error. So I "useradd cfroot". Then, I got
errors again. So I changed the owner of the coldfusionmx directory from root to
cfroot. Then when I ran it again, it ended prematurely. The cfserver log said:
Server default ready (startup time: 32 seconds)
Starting Macromedia JRun 4 (Build 63824), default server
08/14 15:24:20 warning Unable to open
/opt/coldfusionmx/runtime/lib/license.properties
08/14 15:24:26 info JRun Naming Service listening on *:2901
08/14 15:24:28 info No JDBC data sources have been configured for this server
(see jrun-resources.xml)
Running on JRun4...
Starting ColdFusion services...
- Starting logging...
0 [main] INFO coldfusion.server - Starting logging...
08/14 15:24:35 info Deploying enterprise application "Macromedia ColdFusion MX"
from: file:/opt/coldfusionmx/
08/14 15:24:37 info Deploying web application "ColdFusion Web Application"
from: file:/opt/coldfusionmx/
08/14 15:24:40 info Web Services in coldfusionmx#wwwroot:
08/14 15:24:40 info (No web services found.)
08/14 15:24:40 user JSPServlet: init
08/14 15:24:42 user FlashGateway: init
08/14 15:24:42 user CFCServlet: init
Server default ready (startup time: 32 seconds)
---------------------------------------------
exception log said (this one's with the DNS problem, I think):
"Error","Thread-0","08/14/06","15:23:50",,"The DataSource service is not
available. This exception is usually caused by service startup failure. Please
check your server configuration."
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The DataSource
service is not available.
at
coldfusion.server.ServiceFactory.getDataSourceService(ServiceFactory.java:71)
at coldfusion.server.CFService.stop(CFService.java:429)
at coldfusion.server.jrun4.NeoService.stop(NeoService.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at
jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at
jrunx.kernel.JRunServiceDeployer.stopServices(JRunServiceDeployer.java:317)
at
jrunx.kernel.JRunServiceDeployer.shutdownServices(JRunServiceDeployer.java:276)
at jrunx.kernel.JRunServiceDeployer.run(JRunServiceDeployer.java:266)
at java.lang.Thread.run(Thread.java:534)
"Error","main","08/14/06","15:24:35",,"/opt/coldfusionmx/lib/libcfindex.so:
libstdclibc6.1-1.so.2: cannot open shared object file: No such file or
directory"
java.lang.UnsatisfiedLinkError: /opt/coldfusionmx/lib/libcfindex.so:
libstdclibc6.1-1.so.2: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at
coldfusion.verity.VerityServiceImpl.<clinit>(VerityServiceImpl.java:51)
at coldfusion.server.CFService.setupVerity(CFService.java:128)
at coldfusion.server.CFService.start(CFService.java:336)
at coldfusion.server.jrun4.NeoService.start(NeoService.java:47)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at
jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at
jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
at
jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
at
jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at
jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
at coldfusion.ColdFusion.main(ColdFusion.java:6)
-----------------------------------------------------------------
server.log said:
"Severity","ThreadID","Date","Time","Application","Message"
"Information","Thread-0","08/14/06","15:23:50",,"/opt/coldfusionmx/logs/server.log
initialized"
"Error","Thread-0","08/14/06","15:23:50",,"The DataSource service is not
available. This exception is usually caused by service startup failure. Please
check your server configuration."
"Information","Thread-0","08/14/06","15:23:50",,"ColdFusion stopped"
"Information","main","08/14/06","15:24:31",,"Starting license..."
"Information","main","08/14/06","15:24:31",,"Starting License server ..."
"Information","main","08/14/06","15:24:31",,"Starting scheduler..."
"Information","main","08/14/06","15:24:31",,"Starting debugging..."
"Information","main","08/14/06","15:24:31",,"Starting sql..."
"Information","main","08/14/06","15:24:32",,"Starting mail..."
"Information","main","08/14/06","15:24:33",,"CORBA Configuration not enabled"
"Information","main","08/14/06","15:24:34",,"Starting cron..."
"Information","main","08/14/06","15:24:34",,"Starting registry..."
"Information","main","08/14/06","15:24:34",,"Starting client..."
"Information","main","08/14/06","15:24:34",,"Starting xmlrpc..."
"Information","main","08/14/06","15:24:34",,"Starting graphing..."
"Information","main","08/14/06","15:24:35",,"Starting verity..."
"Error","main","08/14/06","15:24:35",,"/opt/coldfusionmx/lib/libcfindex.so:
libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or
directory"
"Information","main","08/14/06","15:24:35",,"Starting archive..."
"Information","main","08/14/06","15:24:35",,"ColdFusion started"
Thanks.
> On Monday 14 August 2006 09:09, Jerky San Pedro wrote:
> > that problem I mentioned awhile ago. But now it seems that it cannot
> bind
> > with Apache HTTPD. The error logs seem to be saying something about
> DNS and
> > such.
>
> If you post the actual text of the error, we'll do our best :-)
> Things to check would be /etc/resolv.conf (lists DNS servers) and
> /etc/hosts
> (lists non-DNS hosts).
>
> --
> Tom Chiverton
>
> ****************************************************
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in
> England and Wales under registered number OC307980 whose registered
> office address is at St James's Court Brown Street Manchester M2 2JF.
> A list of members is available for inspection at the registered office.
> Any reference to a partner in relation to Halliwells LLP means a
> member of Halliwells LLP. Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above
> and may be confidential or legally privileged. If you are not the
> addressee you must not read it and must not use any information
> contained in nor copy it nor inform any person other than Halliwells
> LLP or the addressee of its existence or contents. If you have
> received this email in error please delete it and notify Halliwells
> LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4180
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14