RKhunter Scan Details Invalid display

TARIMEHR

Verified User
Joined
Nov 19, 2012
Messages
22
Location
ایالت متحده مازندران
I installed RKhunter whit els
but when this run and scan the server result is this:

Code:
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO CONFIG_ROOTDIR /
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type PLAIN --result OK --log-indent 4 ROOTKIT_ADD_SUCKIT_LINK
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/rc.d/rc.local
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/rc.d/rc.sysinit
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/inittab
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
1524
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
1984
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
UDP
2001
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
2006
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
2128
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
6666
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
6667
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
6668
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
6669
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
7000
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
13000
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
14856
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
25000
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
29812
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
31337
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
32982
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
33369
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
47107
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
47018
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
60922
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
62883
Error: Invalid display - language keyword cannot be found: Display line: display --to
SCREEN+LOG
--type
PLAIN
--log-indent
2
--screen-indent
4
--result
NOT_FOUND
--color
GREEN
NETWORK_PORTS
TCP
65535
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/rc.d/rc.local
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/rc.d/rc.sysinit
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_FOUND_LOCAL_RC_FILE /etc/inittab
Error: Invalid display - language keyword cannot be found: Display line: display --to SCREEN+LOG --type PLAIN --color GREEN --result FOUND --log-indent 2 --screen-indent 4 STARTUP_LOCAL_RC_FILE
Error: Invalid display - language keyword cannot be found: Display line: display --to SCREEN+LOG --type PLAIN --color GREEN --result NONE_FOUND --log-indent 2 --screen-indent 4 STARTUP_CHECK_LOCAL_RC
Error: Invalid display - language keyword cannot be found: Display line: display --to LOG --type INFO STARTUP_CHECK_SYSTEM_RC_FOUND /etc/rc.d
Error: Invalid display - language keyword cannot be found: Display line: display --to SCREEN+LOG --type PLAIN --result NONE_FOUND --color GREEN --log-indent 2 --screen-indent 4 STARTUP_CHECK_SYSTEM_RC

How can I fix it?
 
I'm not sure how you installed RK hunter.

I install it this way (last time on Sunday) and it works fine for me:

See: http://www.rootkit.nl/projects/rootkit_hunter.html for latest version

move rkhunter*tar.gz to /usr/local/src
Code:
cd /usr/local/src
tar -xzvf rkhunter*
chown -R root:root rkhunter*
cd rkhunter<tab>
./installer.sh --layout /usr/local --install
rkhunter --propupd
rkhunter --checkall
then check the log file: /var/log/rkhunter.log
Jeff
 
Back
Top