2014-06-26 20 views
0

我有一個關於IWAP和Worklight 6.1的問題。Worklight 6.1 - IWAP分析 - 沒有root的情況下執行?

我看在論壇,官方文檔,但無法找到答案。

我們使用工作燈6.1和IWAP和似乎IWAP安裝應在根做的,否則它不能正常工作

>你知道是哪根文件夾或安裝librairies需要安裝過程中?

一旦與下面的命令行安裝時,目標分析文件夾是在根權限(WL-分析)

./setup.sh單機-n WLCLUSTER_DEV -s /選擇/ IBM/WL-分析-d /選擇/ IBM/WL-分析/數據-l /選擇/ IBM/WL-分析/日誌-o 2000

的截圖

http://snag.gy/Q8r4A.jpg如果我開始IWAP有沒有root用戶, IWAP未啓動,並且出現以下錯誤:

 
[[email protected] wl-analytics]$ ./iwap.sh start 
./iwap.sh: line 30: ulimit: open files: cannot modify limit: Operation not permitted 
IWAP search engine starting ... 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
IWAP search engine unable to start. Please look at search engine logs. 
IWAP console starting ... 
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName 
(13)Permission denied: httpd: could not open error log file /opt/IBM/wl-analytics/HTTPServer/logs/error_log. 
Unable to open logs 
IWAP console unable to start. Please look at the web server logs. 

這似乎是由於在WL-分析文件夾的權限,所以我已經改變了這個文件夾的權限有:喬敦 - R的wladmin:ADM的/ opt/IBM/WL-分析

在那之後,我我能夠推出IWAP爲wladmin用戶(沒有root用戶),IWAP工作正常,但我有一些警告的提示:

 
[[email protected] wl-analytics]$ ./iwap.sh start 
./iwap.sh: line 30: ulimit: open files: cannot modify limit: Operation not permitted 
IWAP search engine starting ... 
Waiting for search engine to become active. 
Waiting for search engine to become active. 
IWAP search engine started. 
IWAP console starting ... 
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName 
IWAP console started. 

>似乎一切工作,但你知道,如果有一些副作用?

>你知道爲什麼還要推出IWAP爲根,如果我不改變IWAP

的文件夾權限>你有關於IWAP一個技術文檔?

>您是否知道如何在不重新安裝IWAP的情況下更改IWAP的端口?

>您是否知道如何監控IWAP模塊?

我在問這些問題,因爲我們在Worklight 6.1上爲項目實現了IWAP,並且項目因此而被阻塞(IWAP的根執行)。

非常感謝。

回答

0

一切似乎工作,但你知道,如果有一些副作用?
你確定一切正常嗎?您是否能夠成功訪問分析控制檯?我試圖以非root用戶的身份安裝IWAP,但不成功。

你知道爲什麼還要推出IWAP爲根,如果我不改變IWAP的文件夾權限
我唯一的猜測是,在安裝做的事情,只能由root用戶來完成。

你想過IWAP一個技術文檔?
我所知道的唯一文檔大約是here

你知道如何改變IWAP的端口而無需重新安裝IWAP?
我不認爲這是可能的,因爲沒有端口在安裝時定義的重新安裝。在Workight 6.2中,可以通過JNDI屬性更改此端口。

你知道如何監控IWAP模塊?
對不起,我不認爲我明白你在這裏要求什麼。

+0

是的,我已經安裝了它作爲根,然後使用改變了IWAP目的地文件夾(WL-分析)的權限CHOWN -R wladmin:ADM WL-分析,然後用wladmin用戶(沒有根用戶)開始IWAP。儀表板工作正常,但我想知道是否有一些副作用。 – user3780683

+0

關於對IWAP的監控,我的問題是「如何檢查搜索引擎是否啓動?如何檢查IWAP中包含的IHS是否運行?應監控哪些日誌文件?」 – user3780683

相關問題