2011-06-06 119 views
0

我在Coldfusion 8服務器啓動時出現這個錯誤,大多數情況似乎都有效,但某些頁面會出現500錯誤。我不知道是什麼導致了這個問題或者如何解決。coldfusion 8服務器啓動問題

有沒有人見過這個? [coldfuison_8 linux Centos5]

更新 - 我已經做了一些修補,並找到了一個完整的類似於compliled類文件的目錄:/ opt/coldfusion8/wwwroot/WEB-INF/cfclasses似乎包含所有已編譯的java類&從一次重啓到另一次重啓。

如果我刪除這個目錄的內容一切都很好,啓動時沒有更多的錯誤。 SO: - 似乎這些文件中的一個或多個可能會損壞並導致500問題?當我去刪除文件實際上超過了服務器可能刪除[參數列表太長] - 我不得不重新整個目錄&重新創建它。

關於這些文件爲什麼或如何變壞的任何想法/想法[假設] &如何防止它在未來?

-Thanks -Sean

service coldfusion_8 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... 
*** glibc detected *** /opt/coldfusion8/runtime/jre/bin/java: free(): invalid pointer: 0xb7e4e290 *** 
======= Backtrace: ========= 
/lib/libc.so.6[0xb7eddaa6] 
/lib/libc.so.6(cfree+0x90)[0xb7ee0fc0] 
/opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so[0x6602f93] 
/opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so[0x65b3fe0] 
/opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so[0x65b5c1d] 
/opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so[0x65b9099] 
/opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so(JNI_CreateJavaVM+0x53)[0x639c293] 
/opt/coldfusion8/runtime/jre/bin/java[0x804afcc] 
/opt/coldfusion8/runtime/jre/bin/java(JavaMain+0x72)[0x8049942] 
/lib/libpthread.so.0[0xb7fc945b] 
/lib/libc.so.6(clone+0x5e)[0xb7f4524e] 
======= Memory map: ======== 
06000000-0665c000 r-xp 00000000 00:59 86672232 /opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so 
0665c000-066a0000 rwxp 0065c000 00:59 86672232 /opt/coldfusion8/runtime/jre/lib/i386/server/libjvm.so 
066a0000-06ac2000 rwxp 066a0000 00:00 0 
08048000-08052000 r-xp 00000000 00:59 86638734 /opt/coldfusion8/runtime/jre/bin/java 
08052000-08053000 rwxp 00009000 00:59 86638734 /opt/coldfusion8/runtime/jre/bin/java 
08053000-08074000 rwxp 08053000 00:00 0 
80300000-00 rwxp 80300000 00:00 0 
00-80400000 --xp00 00:00 0 
804aa000-804b5000 r-xp 00000000 00:59 25170338 /lib/libgcc_s-4.1.2-20070626.so.1 
804b5000-804b6000 rwxp 0000a000 00:59 25170338 /lib/libgcc_s-4.1.2-20070626.so.1 
b4cbf000-b4cc8000 rwxp b4cbf000 00:00 0 
b4cc8000-b4d7f000 rwxp b4cc8000 00:00 0 
b4d7f000-b4fbf000 rwxp b4d7f000 00:00 0 
b4fbf000-b7d7f000 rwxp b4fbf000 00:00 0 
b7d7f000-b7d8e000 r-xp 00000000 00:59 86672238 /opt/coldfusion8/runtime/jre/lib/i386/libzip.so 
b7d8e000-b7d90000 rwxp 0000e000 00:59 86672238 /opt/coldfusion8/runtime/jre/lib/i386/libzip.so 
b7d90000-b7db3000 r-xp 00000000 00:59 86672272 /opt/coldfusion8/runtime/jre/lib/i386/libjava.so 
b7db3000-b7db5000 rwxp 00023000 00:59 86672272 /opt/coldfusion8/runtime/jre/lib/i386/libjava.so 
b7db5000-b7dc0000 r-xp 00000000 00:59 86672264 /opt/coldfusion8/runtime/jre/lib/i386/libverify.so 
b7dc0000-b7dc1000 rwxp 0000b000 00:59 86672264 /opt/coldfusion8/runtime/jre/lib/i386/libverify.so 
b7dc1000-b7dca000 r-xp 00000000 00:59 25170318 /lib/libnss_files-2.5.so 
b7dca000-b7dcb000 r-xp 00008000 00:59 25170318 /lib/libnss_files-2.5.so 
b7dcb000-b7dcc000 rwxp 00009000 00:59 25170318 /lib/libnss_files-2.5.so 
b7dcc000-b7ddf000 r-xp 00000000 00:59 25170304 /lib/libnsl-2.5.so 
b7ddf000-b7de0000 r-xp 00012000 00:59 25170304 /lib/libnsl-2.5.so 
b7de0000-b7de1000 rwxp 00013000 00:59 25170304 /lib/libnsl-2.5.so 
b7de1000-b7de3000 rwxp b7de1000 00:00 0 
b7de4000-b7dec000 rwxs 00000000 68:05 48545826 (deleted) /tmp/hsperfdata_root/23911 
b7dec000-b7df3000 r-xp 00000000 00:59 25170246 /lib/librt-2.5.so 
b7df3000-b7df4000 r-xp 00006000 00:59 25170246 /lib/librt-2.5.so 
b7df4000-b7df5000 rwxp 00007000 00:59 25170246 /lib/librt-2.5.so 
b7df5000-b7dfb000 r-xp 00000000 00:59 86672314 /opt/coldfusion8/runtime/jre/lib/i386/native_threads/libhpi.so 
b7dfb000-b7dfc000 rwxp 00006000 00:59 86672314 /opt/coldfusion8/runtime/jre/lib/i386/native_threads/libhpi.so 
b7dfc000-b7dfd000 rwxp b7dfc000 00:00 0 
b7dfd000-b7dfe000 r-xp b7dfd000 00:00 0 
b7dfe000-b7e01000 --xp b7dfe000 00:00 0 
b7e01000-b7e4f000 rwxp b7e01000 00:00 0 
b7e4f000-b7e74000 r-xp 00000000 00:59 25170336 /lib/libm-2.5.so 
b7e74000-b7e75000 r-xp 00024000 00:59 25170336 /lib/libm-2.5.so 
b7e75000-b7e76000 rwxp 00025000 00:59 25170336 /lib/libm-2.5.so 
b7e76000-b7e77000 rwxp b7e76000 00:00 0 
b7e77000-b7fb1000 r-xp 00000000 00:59 25170592 /lib/libc-2.5.so 
b7fb1000-b7fb3000 r-xp 0013a000 00:59 25170592 /lib/libc-2.5.so 
b7fb3000-b7fb4000 rwxp 0013c000 00:59 25170592 /lib/libc-2.5.so 
b7fb4000-b7fb7000 rwxp b7fb4000 00:00 0 
b7fb7000-b7fb9000 r-xp 00000000 00:59 25170292 /lib/libdl-2.5.so 
b7fb9000-b7fba000 r-xp 00001000 00:59 25170292 /lib/libdl-2.5.so 
b7fba000-b7fbb000 rwxp 00002000 00:59 25170292 /lib/libdl-2.5.so 
b7fbb000-b7fc2000 r-xp 00000000 00:59 86672248 /opt/coldfusion8/runtime/jre/lib/i386/jli/libjli.so 
b7fc2000-b7fc4000 rwxp 00006000 00:59 86672248 /opt/coldfusion8/runtime/jre/lib/i386/jli/libjli.so 
b7fc4000-b7fd7000 r-xp 00000000 00:59 25170430 /lib/libpthread-2.5.so 
b7fd7000-b7fd8000 r-xp 00012000 00:59 25170430 /lib/libpthread-2.5.so 
b7fd8000-b7fd9000 rwxp 00013000 00:59 25170430 /lib/libpthread-2.5.so 
b7fd9000-b7fdb000 rwxp b7fd9000 00:00 0 
b7fe4000-b7fe5000 rwxp b7fe4000 00:00 0 
b7fe5000-b7ffe000 r-xp 00000000 00:59 25170244 /lib/ld-2.5.so 
b7ffe000-b7fff000 r-xp 00019000 00:59 25170244 /lib/ld-2.5.so 
b7fff000-b8000000 rwxp 0001a000 00:59 25170244 /lib/ld-2.5.so 
bffca000-bfffe000 rwxp bffc9000 00:00 0 
ffffe000-fffff000 r-xp 00000000 00:00 0 
/opt/coldfusion8/bin/cf-connectors.sh: line 68: 23911 Aborted     $CONNECTOR_JAVA -Dtrace.ci=1 -jar $CF_DIR/runtime/lib/wsconfig.jar -server coldfusion -ws apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -script /etc/rc.d/init.d/httpd -ws32 -coldfusion -v >/opt/coldfusion8/ConnectorInstall0.txt 2>&1 
======================================= 
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 /opt/coldfusion8/logs/cfserver.log 
====================================================================== 

這裏是在Java ARGS ...

java.args=-server -Djava.awt.headless=true -Djava.security.manager "-Djava.security.policy=/opt/coldfusion8/lib/coldfusion.policy" "-Djava.security.auth.policy=/opt/coldfusion8/lib/neo_jaas.policy" -Xms128m -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars 

什麼想法?

感謝

+0

是否已進行了對Java ARGS任何修改?你是否從其他服務器的設置恢復到這一個?這有沒有爲你工作,或者它是否在安裝後直接失敗? – 2011-06-06 18:58:54

+0

什麼用戶帳戶是在下運行的服務? – 2011-06-06 19:08:37

+0

@丹 - 服務器已經運行該配置約3年...這個問題出現了一次,但在重新啓動後重新開始。 @Sean - coldfusion在apache下運行 – 2011-06-06 19:13:43

回答

0

當CFML模板被調用時,它是由服務器到一個類文件編譯。通常情況下,這是存儲在內存中的。

在ColdFusion管理員中,您可以選擇將其更改爲「保存類文件」(設置)。這通常是生產環境中使用的設置。

您指定的目錄/ opt/coldfusion8/wwwroot/WEB-INF/cfclasses是ColdFusion將這些文件保存到的目錄。

回到CF管理員,取消選中「保存班級文件」,刪除該文件夾的內容,然後重新啓動服務器。您現在可以開始準確地解決問題代碼真正存在的地方......並修復它,而無需CF服務器編譯並將這些錯誤的CF模板保存到磁盤。