View previous topic :: View next topic |
Author |
Message |
-Blade- n00b
Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Mon Mar 21, 2005 10:03 pm Post subject: Coldfusion MX 7 [solved] |
|
|
Hi,
after the installation of Macromedia Coldfusion MX 7 i get the following error:
Code: |
root@southpark:/opt/coldfusionmx7/bin > ./coldfusion start
ln: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
ps: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Starting ColdFusion MX 7...
The ColdFusion MX 7 server is starting up and will be available shortly.
sleep: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
ps: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
There has been an error starting ColdFusion MX 7, please check the logs.
root@southpark:/opt/coldfusionmx7/bin > cat ../logs/cfserver.log
su: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
|
Does anyone know how to fix that?
There is an Tech-Note for SuSE 8.x (CF MX 6.1), but it doesn't work for me.
System-Setup:
Code: |
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-hardened i686)
=================================================================
System uname: 2.6.11-hardened i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 4 2005, 19:42:59)]
dev-lang/python: 2.3.4
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
|
_________________ Open Minds - Open Source - Open Future
Last edited by -Blade- on Sun Mar 27, 2005 6:23 am; edited 1 time in total |
|
Back to top |
|
|
Corellian n00b
Joined: 29 Oct 2003 Posts: 65 Location: Catalunya (Europe)
|
Posted: Tue Mar 22, 2005 1:43 am Post subject: |
|
|
Maybe a revdep-rebuild is needed?
_________________ GPG Key-ID: 0x564903FA - Jabber ID: corellian@swissjabber.ch |
|
Back to top |
|
|
-Blade- n00b
Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Tue Mar 22, 2005 2:32 am Post subject: |
|
|
Thx for your answer!
Code: |
root@southpark:~ > revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /opt/coldfusionmx7/runtime/jre/lib/i386/libjsoundalsa.so (requires libasound.so.2 libjava.so)
broken /opt/coldfusionmx7/runtime/bin/jikesw (requires libstdc++-libc6.1-1.so.2)
broken /opt/coldfusionmx7/bin/cfencode.linux (requires libporting.so libstdc++-libc6.1-1.so.2)
ldd: warning: you do not have execution permission for `/opt/coldfusionmx7/cfx/examples/directorylist/unix/linux/directorylist.so'
broken /opt/coldfusionmx7/cfx/examples/directorylist/unix/linux/directorylist.so (requires libstdc++-libc6.1-1.so.2)
broken /opt/coldfusionmx7/lib/libCFXNeo.so (requires libporting.so libstdc++-libc6.1-1.so.2)
broken /opt/coldfusionmx7/lib/libporting.so (requires libstdc++-libc6.1-1.so.2)
broken /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjsoundalsa.so (requires libasound.so.2)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
All prepared. Starting rebuild...
emerge --oneshot --nodeps =dev-java/blackdown-jdk-1.4.2.01
...
root@southpark:~ > ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.so /lib/libstdc++-libc6.1-1.so.2
root@southpark:~ > revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /opt/coldfusionmx7/runtime/jre/lib/i386/libjsoundalsa.so (requires libasound.so.2 libjava.so)
broken /opt/blackdown-jdk-1.4.2.01/jre/lib/i386/libjsoundalsa.so (requires libasound.so.2)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
All prepared. Starting rebuild...
emerge --oneshot --nodeps =dev-java/blackdown-jdk-1.4.2.01
...
|
ldd shows correct settings, but the problem still exists. _________________ Open Minds - Open Source - Open Future |
|
Back to top |
|
|
Corellian n00b
Joined: 29 Oct 2003 Posts: 65 Location: Catalunya (Europe)
|
Posted: Tue Mar 22, 2005 2:42 pm Post subject: |
|
|
It gives the same error? _________________ GPG Key-ID: 0x564903FA - Jabber ID: corellian@swissjabber.ch |
|
Back to top |
|
|
-Blade- n00b
Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Tue Mar 22, 2005 7:32 pm Post subject: |
|
|
Do have CF MX 7 running?
I installed the following: coldfusion-70-lin.bin
(get it from http://www.macromedia.com)
Could anyone try my installation procedure?
Code: |
Install Type
------------
If you do not have a serial number, select either 30-day trial or Developer
Edition.
->1- Install new version of ColdFusion MX with a serial number
2- 30-day trial
3- Developer Edition
Installation Choice: 2
|
Code: |
Installer Configuration
-----------------------
What kind of installation do you want?
->1- Server configuration
2- Multiserver configuration
3- J2EE configuration (EAR file)
4- J2EE configuration (WAR file)
Please select one of the following options: 1
|
Code: |
Macromedia ColdFusion MX 7 (server configuration) Installed
-----------------------------------------------------------
You cannot install the server configuration of Macromedia ColdFusion MX 7 if it is already installed on this computer.
Is there already a server configuration of Macromedia ColdFusion MX 7 installed on this computer?
1- Yes
->2- No
ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
: 2
|
Code: |
Sub-component installation
--------------------------
The following options are available for installation.
An option with "[X]" in front will be installed and an option with "[ ]" will
not. Choosing an option will toggle it on or off
[X] 1) Getting Started Experience, Tutorials, & Documentation
[X] 2) ColdFusion MX 7 Search Services
[X] 3) Start ColdFusion on system init
4) Continue with installation
Select an option: 3
===============================================================================
Sub-component installation
[X] 1) Getting Started Experience, Tutorials, & Documentation
[X] 2) ColdFusion MX 7 Search Services
[ ] 3) Start ColdFusion on system init
4) Continue with installation
Select an option: 2
===============================================================================
Sub-component installation
[X] 1) Getting Started Experience, Tutorials, & Documentation
[ ] 2) ColdFusion MX 7 Search Services
[ ] 3) Start ColdFusion on system init
4) Continue with installation
Select an option: 4
|
Code: |
Choose Install Folder
---------------------
Select the directory in which to install Macromedia ColdFusion MX 7.
Directory:
Default Install Folder: /opt/coldfusionmx7
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
:
===============================================================================
Existing ColdFusion Installation?
---------------------------------
The installer could not determine if there was an earlier version of ColdFusion on this machine. If there is a previous version of ColdFusion installed your settings can be migrated.
Is there an earlier version of ColdFusion on this machine?
1- Yes
->2- No
ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
: 2
===============================================================================
Configure Web Servers
---------------------
Please configure your web server(s). If you do not configure a web server the
built-in web server will be used on port 8500 or the next available port.
1- Add Web Server Configuration
->2- Continue with installation
Choice: 2
===============================================================================
Runtime User
------------
Enter the name of the runtime user. This user must exist already on the system.
User Name: (DEFAULT: nobody):
===============================================================================
Administrator Password
----------------------
Enter the password that you will use to control access to the ColdFusion MX
Administrator.
This field is required.
Password:
Confirm Password:
===============================================================================
RDS Password
------------
The ColdFusion Remote Development Service (RDS) lets developers using
Macromedia tools remotely connect to this server for development purposes.
If this is a production server, Macromedia recommends that you disable RDS.
Note, however, that disabling RDS also disables the directory browsing applets
in the ColdFusion Administrator and some of the functionality in the Report
Designer.
Enable RDS (required for Report Builder and DW Extensions) (Y/N)
: N
===============================================================================
|
After installation:
Code: | cd /opt/coldfusionmx7/bin
./coldfusion start
|
_________________ Open Minds - Open Source - Open Future
Last edited by -Blade- on Sun Mar 27, 2005 6:24 am; edited 1 time in total |
|
Back to top |
|
|
-Blade- n00b
Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Sun Mar 27, 2005 6:22 am Post subject: solved |
|
|
Got it!
Installed sys-libs/lib-compat
You must use a real shell user. nobody doesn't work.
Finally i edited the coldfusion init script (/opt/coldfusionmx7/bin/coldfusion):
Code: | #!/bin/sh
# chkconfig: 345 90 14
# description: starts the ColdFusion MX server
PATH=/usr/xpg4/bin:/bin:/sbin:/usr/bin:/usr/sbin:$PATH
CONNECTOR=""
RUNTIME_USER="cfm" # must be a real shell user
JAVA_HOME="/opt/coldfusionmx7/runtime/jre"
JAVA_EXECUTABLE="/opt/coldfusionmx7/runtime/jre/bin/java"
DOCROOT="/opt/coldfusionmx7/wwwroot"
CF_DIR="/opt/coldfusionmx7"
ID=`id -u`
if [ ! $ID -eq 0 ]; then
echo "You must be root to start ColdFusion MX."
exit 1
fi
cfstart() {
[ -f $CF_DIR/bin/jvm.config ] || {
ln -s $CF_DIR/runtime/bin/jvm.config $CF_DIR/bin/jvm.config
}
if [ "$OS" = "HPUX" ]; then
ps -e | grep -e [c]fmx7 > /dev/null 2>&1 && {
echo "ColdFusion MX 7 is already running"
echo exiting
exit 2
}
else
ps -e | grep -w [c]fmx7 > /dev/null 2>&1 && {
echo "ColdFusion MX 7 is already running"
echo exiting
exit 2
}
fi
echo "Starting ColdFusion MX 7..."
eval $CFSTART >> $CF_DIR/logs/cfserver.log 2>&1
echo "The ColdFusion MX 7 server is starting up and will be available shortly."
# Insert a sleep statement to give the server a few moments.
sleep 12
if [ "$OS" = "HPUX" ]; then
ps -e | grep -e [c]fmx7 > /dev/null 2>&1 || {
echo "There has been an error starting ColdFusion MX 7, please check the logs."
exit 1
}
else
ps -e | grep -w [c]fmx7 > /dev/null 2>&1 || {
echo "There has been an error starting ColdFusion MX 7, please check the logs."
exit 1
}
fi
[ -f "$CF_DIR/bin/cfmx-connectors.sh" ] && {
echo "======================================================================"
echo "Running the ColdFusion MX 7 connector wizard"
echo "======================================================================"
sh $CF_DIR/bin/cfmx-connectors.sh && {
mv -f $CF_DIR/bin/cfmx-connectors.sh $CF_DIR/bin/cfmx-connectors-run.sh
}
}
echo "======================================================================"
echo "ColdFusion MX 7 has been started."
echo "ColdFusion MX 7 will write logs to $CF_DIR/logs/cfserver.log"
echo "======================================================================"
}
cfstop() {
if [ "$OS" = "HPUX" ]; then
ps -e | grep -e [c]fmx7 > /dev/null 2>&1 || {
echo "ColdFusion MX 7 does not seem to be currently running"
return
}
else
ps -e | grep -w [c]fmx7 > /dev/null 2>&1 || {
echo "ColdFusion MX 7 does not seem to be currently running"
return
}
fi
echo "Stopping ColdFusion MX 7, please wait"
eval $CFSTOP
sleep 10
if [ "$OS" = "HPUX" ]; then
ps -e | grep -e [c]fmx7 > /dev/null 2>&1 && {
echo "The ColdFusion MX 7 server seems to be hanging, will stop non-gracefully"
ps -e | grep -e [c]fmx7 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
sleep 2
}
else
ps -e | grep -w [c]fmx7 > /dev/null 2>&1 && {
echo "The ColdFusion MX 7 server seems to be hanging, will stop non-gracefully"
ps -e | grep -w [c]fmx7 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
sleep 2
}
fi
if [ "$OS" = "HPUX" ]; then
ps -e | grep -e [c]fmx7 > /dev/null 2>&1 && {
echo "There are some very stubborn ColdFusion MX 7 processes that will not die, please kill the following PIDs by hand: "
ps -e | grep -e [c]fmx7 | awk '{print $1}'
echo exiting
exit 1
}
else
ps -e | grep -w [c]fmx7 > /dev/null 2>&1 && {
echo "There are some very stubborn ColdFusion MX 7 processes that will not die, please kill the following PIDs by hand: "
ps -e | grep -w [c]fmx7 | awk '{print $1}'
echo exiting
exit 1
}
fi
echo "ColdFusion MX 7 has been stopped"
}
case `uname` in
SunOS)
OS=Solaris
LD_LIBRARY_PATH="$CF_DIR/lib:$CF_DIR/lib/_solaris/bin"
CFSTART='su $RUNTIME_USER -c "PATH=$PATH:$CF_DIR/runtime/bin; export PATH; LD_LIBRARY_PATH=$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd $CF_DIR/runtime/bin; nohup $CF_DIR/bin/cfmx7 -jar cfusion.jar -autorestart -start coldfusion &"'
CFSTOP='su $RUNTIME_USER -c "PATH=$PATH:$CF_DIR/runtime/bin; export PATH; cd $CF_DIR/runtime/bin; $CF_DIR/bin/cfmx7 -jar cfusion.jar stop coldfusion"'
;;
HP-UX)
OS=HPUX
CFSTART='su $RUNTIME_USER -c "PATH=$PATH:$CF_DIR/runtime/bin; export PATH; cd $CF_DIR/runtime/bin; nohup $CF_DIR/bin/cfmx7 -jar cfusion.jar -autorestart -start coldfusion &"'
CFSTOP='su $RUNTIME_USER -c "PATH=$PATH:$CF_DIR/runtime/bin; export PATH; cd $CF_DIR/runtime/bin; $CF_DIR/bin/cfmx7 -jar cfusion.jar stop coldfusion"'
;;
Linux)
OS=Linux
LD_LIBRARY_PATH="$CF_DIR/lib:$CF_DIR/lib/_ilnx21/bin"
CFSTART='su $RUNTIME_USER -c "export PATH=$PATH:$CF_DIR/runtime/bin; export LD_LIBRARY_PATH=$LD_LIBRARY_PATH; cd $CF_DIR/runtime/bin; nohup $CF_DIR/bin/cfmx7 -jar cfusion.jar -autorestart -start coldfusion &"'
CFSTOP='su $RUNTIME_USER -c "env -i; cd $CF_DIR/runtime/bin; $CF_DIR/bin/cfmx7 -jar cfusion.jar stop coldfusion"'
# Some Java JVMs (both from Sun and IBM) don't work with the new floating stack
# feature of the i686 version of glibc. Force glibc to use the deprecated stack model.
# Check if the OS is SuSE8.1 - if it is, do not use the deprecated stack model.
# SUSEFLAG=`grep 'SuSE Linux 8.1\|UnitedLinux 1.0' /etc/SuSE-release /etc/UnitedLinux-release /etc/UnitedLinux-release 2> /dev/null`
# if [ ! "$SUSEFLAG" ]; then
# LD_ASSUME_KERNEL=2.2.5
# export LD_ASSUME_KERNEL
# fi
;;
*)
echo "Your OS: `uname` is unsupported"
echo "exiting"
exit 1
;;
esac
ARG=$1
[ -z "$ARG" ] && ARG=usage
case $ARG in
start)
cfstart
;;
stop)
cfstop
;;
restart)
echo "Restarting ColdFusion MX 7..."
cfstop
cfstart
;;
status)
if [ -x "$CF_DIR/bin/cfstat" ]; then
shift
$CF_DIR/bin/cfstat $@
else
echo "$0: $CF_DIR/bin/cfstat no such file"
fi
;;
wsconfig)
WSCONFIG_JAR=$CF_DIR/runtime/lib/wsconfig.jar
if [ $# -eq 0 ]; then
# no arguments so display built-in help from wsconfig.jar
$JAVA_EXECUTABLE -jar $WSCONFIG_JAR -help
break
else
# brief help
if [ "$2" = "help" ]; then
echo "To configure a webserver connector you must specify the -ws and -dir options."
echo "If configuring Apache it is recomended that you also specify the -bin and "
echo "-script options."
echo ""
echo "To list all configured webserver connectors use the -list option."
echo "To remove a configured webserver connector use the -r option with the "
echo "-ws and -dir options."
echo "To remove all webserver connectors use the -uninstall option."
echo "To upgrade all installed webserver connectors use the -upgrade option."
echo ""
echo "For more detailed help see $0 $1."
fi
break
fi
# pass on all args to wsconfig.jar
shift
$JAVA_EXECUTABLE -jar $WSCONFIG_JAR $@ -coldfusion
;;
*)
echo "Usage:$0 (start|stop|restart|status|wsconfig)"
;;
esac
exit 0
|
$cfstart and $cfstop are modified.
LD_ASSUME_KERNEL isn't needed. _________________ Open Minds - Open Source - Open Future |
|
Back to top |
|
|
frameRATE Guru
Joined: 28 Apr 2003 Posts: 386 Location: Orange County California
|
|
Back to top |
|
|
ducnguyenvn n00b
Joined: 07 May 2016 Posts: 7
|
Posted: Sat May 07, 2016 2:42 pm Post subject: |
|
|
Hi Blade,
What changes did you change in /opt/coldfusionmx/bin/coldfusion file? I'm having the same your issue after installing Cold Fusion 6.1
Could you suggest me way to fix?
Thanks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|