歡迎光臨, 訪客. 請先 登入註冊一個帳號.
十二月 12, 2024, 11:25:06 下午
19595 文章 在 3865 主題 由 4579 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  測試  |  LifeType 1.0 測試  |  新建資源 爲何在 linux下不能正常使用 « 上篇主題 下篇主題 »
頁: [1] 2
作者 主題: 新建資源 爲何在 linux下不能正常使用  (閱讀 48541 次)
csbird
新手見習
*
文章: 11


檢視個人資料
« 於: 三月 15, 2005, 01:34:09 下午 »

我在window下試過了,一切都很正常,但是在linux下,

上傳任何資料都不成功,權限肯定沒有問題,我都設成是777
 
絕對路徑和相對路徑也都試過了,分別是
 ./tmp  /var/www/html/blog/tmp
./gallery  /var/www/html/blog/gallery

但點擊上傳之後,就跳轉到   管理面板  
各位有誰遇到過類似情況麽
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 三月 15, 2005, 08:27:08 下午 »

完全搞不懂耶 傷心 有任何 error.log 嗎?

Mark
已記錄

csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #2 於: 三月 17, 2005, 01:24:25 下午 »

我一步步跟蹤運行下去,問題出在:
galleryresources.class.php

$metadata = $getId3->analyze($upload->getTmpName());
已記錄
csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #3 於: 三月 17, 2005, 01:30:13 下午 »

这个是 httpd/logs/error_log

[Wed Mar 16 09:03:49 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 16 09:03:49 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 16 09:03:49 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Wed Mar 16 09:03:51 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Wed Mar 16 09:40:23 2005] [error] [client 192.168.0.200] Directory index forbidden by rule: /var/www/html/
[Wed Mar 16 10:23:43 2005] [warn] child process 886 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 887 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 888 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 889 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 890 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 891 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 892 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [warn] child process 893 still did not exit, sending a SIGTERM
[Wed Mar 16 10:23:43 2005] [notice] caught SIGTERM, shutting down
[Wed Mar 16 10:28:17 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 16 10:28:17 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 16 10:28:17 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Wed Mar 16 10:28:19 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Wed Mar 16 10:38:11 2005] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Wed Mar 16 10:38:19 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/plog/wizard.phjp
[Thu Mar 17 10:01:56 2005] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 10:07:30 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:30 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 719 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 720 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 722 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 10:07:31 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 10:22:12 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 10:22:12 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 10:22:12 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 10:22:15 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:02:38 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:38 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:42 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:02:42 2005] [error] [client 192.168.0.23] File does not exist: /var/www/html/favicon.ico
[Thu Mar 17 13:07:11 2005] [notice] child pid 722 exit signal Segmentation fault (11)
[Thu Mar 17 13:11:35 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:14:28 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:15:22 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 1239 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 726 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 728 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 721 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 1239 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 723 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 724 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 725 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 726 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 727 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:22 2005] [warn] child process 728 still did not exit, sending a SIGTERM
[Thu Mar 17 13:15:23 2005] [notice] caught SIGTERM, shutting down
[Thu Mar 17 13:16:30 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 13:16:30 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 13:16:30 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 13:16:31 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:16:33 2005] [notice] caught SIGTERM, shutting down
[Thu Mar 17 13:16:35 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 17 13:16:35 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Mar 17 13:16:35 2005] [notice] Digest: done
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0
[Thu Mar 17 13:16:36 2005] [notice] Apache/2.0.46 (Asianux) configured -- resuming normal operations
[Thu Mar 17 13:18:19 2005] [error] [client 192.168.0.23] Directory index forbidden by rule: /var/www/html/
[Thu Mar 17 13:18:42 2005] [notice] child pid 1712 exit signal Segmentation fault (11)
[Thu Mar 17 13:28:04 2005] [notice] child pid 1705 exit signal Segmentation fault (11)
[Thu Mar 17 13:35:27 2005] [notice] child pid 1711 exit signal Segmentation fault (11)
[Thu Mar 17 13:38:47 2005] [notice] child pid 1708 exit signal Segmentation fault (11)
[Thu Mar 17 13:39:09 2005] [notice] child pid 1710 exit signal Segmentation fault (11)
[Thu Mar 17 13:40:00 2005] [notice] child pid 1707 exit signal Segmentation fault (11)
[Thu Mar 17 13:42:04 2005] [notice] child pid 1709 exit signal Segmentation fault (11)
[Thu Mar 17 13:48:12 2005] [notice] child pid 1850 exit signal Segmentation fault (11)
[Thu Mar 17 13:48:32 2005] [notice] child pid 1851 exit signal Segmentation fault (11)
[Thu Mar 17 14:19:03 2005] [notice] child pid 1706 exit signal Segmentation fault (11)
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #4 於: 三月 17, 2005, 01:48:51 下午 »

我還是看不出來出什麼錯 傷心

你說錯在這一行,你是怎麼追蹤的呢?error.log 上我看不到耶!

程式碼:
$metadata = $getId3->analyze($upload->getTmpName());


Mark
已記錄

andywang
初級會員
**
文章: 93


檢視個人資料
« 回覆文章 #5 於: 三月 17, 2005, 02:04:09 下午 »

你是不是装了oracle,看到oci8相关信息,如果是装了,那么在./oracle/product/9.2.0/rdbms/demo下放入ociheaders.jar并且解包,然后重新编译php,我感觉你的php编译可能有问题哦 微笑
已記錄
csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #6 於: 三月 17, 2005, 02:08:48 下午 »

如果:
echo 'aaaaaaa';exit;
$metadata = $getId3->analyze($upload->getTmpName());
echo 'bbbbbb';exit;

則結果爲 aaaaaaa

如果:
echo 'aaaaaaa';
$metadata = $getId3->analyze($upload->getTmpName());
echo 'bbbbbb';exit;

則跳轉到管理面板,無任何提升,
已記錄
andywang
初級會員
**
文章: 93


檢視個人資料
« 回覆文章 #7 於: 三月 17, 2005, 02:10:53 下午 »

把temp_folder
pLog系统执行某些操作时要用到的临时文件夹路径。
设置为绝对路径,例如/www/blog/tmp

resources_folder
存储资源文件的文件夹
设置为绝对路径,例如/www/blog/gallery
我也曾经遇见不能上传问题这么解决的。
已記錄
csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #8 於: 三月 17, 2005, 02:22:06 下午 »

引用自: andywang
把temp_folder
pLog系統執行某些操作時要用到的臨時文件夾路徑。
設置爲絕對路徑,例如/www/blog/tmp

resources_folder
存儲資源文件的文件夾
設置爲絕對路徑,例如/www/blog/gallery
我也曾經遇見不能上傳問題這麽解決的。



更改過了,問題沒有解決,
而且未安裝Orcle

我的是Red-Hat 9.0
已記錄
csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #9 於: 三月 17, 2005, 02:38:23 下午 »

找到了,最終跟蹤到的問題語句:

getid3.lib.php的1089行
if (@include_once($filename))

$filename=/var/www/html/blog/class/gallery/getid3/module.tag.id3v2.php


但不知爲何出錯,不明白,
該PHP環境下運行其它程式都正常,應該不會有問題的
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #10 於: 三月 17, 2005, 03:20:07 下午 »

引用
/var/www/html/blog/class/gallery/getid3/module.tag.id3v2.php


這個檔案存在嗎?

Mark
已記錄

csbird
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #11 於: 三月 17, 2005, 03:24:15 下午 »

存在的
已記錄
Randy
訪客
« 回覆文章 #12 於: 三月 28, 2005, 08:50:36 下午 »

我也是一樣的情況!
請大大幫幫忙! 嚎啕大哭
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #13 於: 三月 28, 2005, 09:47:58 下午 »

雖然我對你的問題是如何發生的沒什麼概念,但是你的 error.log 裡的 [error] 倒是可以幫個忙:

程式碼:
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/oci8.so' - /usr/lib/php4/oci8.so: undefined symbol: OCINlsCharSetNameToId in Unknown on line 0

據你之前的描述,並未安裝 oci8 extension,那可能是你在 php.ini 裡有啟動 oci8,請檢查 php.ini ,看看是否有
程式碼:
extension=oci8.so
之類的設定,將其 remark 掉,應可解決問題。

程式碼:
[error] [client 192.168.0.200] Directory index forbidden by rule: /var/www/html/

這個部份,看起來跟 httpd.conf 裡的
程式碼:
<Directory /var/www/html> ..... </Directory>

區塊設定有關,能請你將它 post 出來好讓大家幫忙嗎?
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
blowfish
新手見習
*
文章: 4


檢視個人資料
« 回覆文章 #14 於: 三月 30, 2005, 07:40:21 上午 »

我也有同樣的問題說, 本來以為是產生縮圖的問題, 取消後還是一樣的結果.
而且都沒有錯誤訊息.

但卻可以正常建立資料匣.
已記錄
頁: [1] 2
LifeType 中文開發論壇  |  測試  |  LifeType 1.0 測試  |  新建資源 爲何在 linux下不能正常使用 « 上篇主題 下篇主題 »
    前往: