Troubleshooting
Problem
The instructions for installing RTM 10.1 on SUSE Linux are different than Redhat Linux. RTM installation may fail or product may behave improperly if some steps are missed specific to SUSE.
Symptom
The reported issues include:
1. Some packages (like MyODBC-unixODBC and php-posix) cannot be found when installing RTM 10.1 on SUSE Linux.
2. The "Grid-> Dashboards -> cluster -> cluster name" page keeps loading, but related cluster information never shows up.
3. Unable to create license poller/services.
4. Some other potential PHP/Web issues.
Resolving The Problem
The issues can be solved by following the instructions below to get RTM installed and configured:
E.g. for SUSE 11.2:
# cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
1. Ensure that the following packages have been selected when installing SUSE Linux
@ mysql mysql-server
@ php5-curl
@ php5-ldap
@ php5-gd
@ php5-mysql
@ php5-posix
@ gd
@ python-openssl
@ rrdtool,
@ perl-DBD-mysql.
@ php5-snmp and
@ net-snmp
2. Install lamp
# zypper install -t pattern lamp_server
3.Install snmp (if it has not been installed in step 1)
# zypper install -y net-snmp
4. Install ODBC
# rpm -e --allmatches --nodeps unixODBC
# zypper install -y unixODBC.x86_64
# zypper install -y MyODBC-unixODBC-3.51.12-13.2.x86_64.rpm
Note: get the packages from SUSE Linux Enterprise Software Development Kit 11 SP1 ISO, SP2 ISO or SUSE website.
5. Install php5-posix (if it has not been installed in step 1)
# zypper install -y php5-posix-5.2.14-36.1.x86_64.rpm
Note: get the package from SUSE Linux Enterprise Software Development Kit 11 SP1 ISO, SP2 ISO or SUSE website.
6. Get the RTM plugins:
# wget http://www.cacti.net/downloads/pia/cacti-plugin-0.8.7g-PA-v2.9.tar.gz
# wget --no-check-certificate http://sourceforge.net/projects/adodb/files/adodb-php-4-and-5/adodb-492-for-php/adodb492.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:boost-v4.3-1.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:clog-v1.6-1.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:nectar-v0.34-1.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:settings-v0.71-1.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:superlinks-v1.4-2.tgz
# wget --restrict-file-names=windows http://docs.cacti.net/_media/plugin:syslog-v1.22-2.tgz
7. Install mysql (if it has not been installed in step 1)
# zypper install -y mysql
8. Stop mysql service and remove related files:
# service mysqld stop
# rm -f /var/lib/mysql/ibdata*
# rm -f /var/lib/mysql/ib_logfile*
9. Check the environment to make sure it satisfy the following minimum requirement:
# rpm -qa | grep php
php5-5.2.14-0.7.24.1
php5-dom-5.2.14-0.7.24.1
php5-mysql-5.2.14-0.7.24.1
php5-tokenizer-5.2.14-0.7.24.1
php5-xmlreader-5.2.14-0.7.24.1
php5-openssl-5.2.14-0.7.24.1
php5-xmlwriter-5.2.14-0.7.24.1
php5-iconv-5.2.14-0.7.24.1
apache2-mod_php5-5.2.14-0.7.24.1
php5-gd-5.2.14-0.7.24.1
php5-json-5.2.14-0.7.24.1
php5-ctype-5.2.14-0.7.24.1
php5-curl-5.2.14-0.7.24.1
php5-suhosin-5.2.14-0.7.24.1
php5-pdo-5.2.14-0.7.24.1
php5-hash-5.2.14-0.7.24.1
php5-posix-5.2.14-36.1
php5-ldap-5.2.14-0.7.24.1
# rpm -qa | grep -i odbc
unixODBC-2.2.12-198.17
MyODBC-unixODBC-3.51.12-13.2
# php -m
[PHP Modules]
ctype
curl
date
dom
filter
gd
hash
iconv
ionCube Loader
json
ldap
libxml
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
posix
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
the ionCube PHP Loader
10. Install RTM
# tar -xvf rtm-server-10.1.0-sles11-x64.tar.gz
# ./rtm_install.sh -f install.config
11. Disable Novell AppArmor for RTM to work properly:
(1) Run yast.
(2) Choose Novell AppArmor and select AppArmor Control Panel.
(3) Clear the enable option and choose Done.
12. Configure the firewall:
(1) In YaST, choose Security and Users > Firewall.
(2) Choose the Allowed Services tab and select the Advanced option. Ensure External Zone is selected.
(3) Enter the values for the following ports:
a. TCP Ports: 22 25 80 113 443 513:1023
b. UDP Ports: 514
(4) Proceed to the configuration summary. Review the settings for "Open Services, Ports, and Protocols" and accept the settings.
(5) Choose Security and Users > Firewall.
(6) Select Start-Up > When Booting. Under Switch On and Off, select Start Firewall Now.
(7) Review and accept the settings.
13. Configure Apache2 Web Server.
RTM uses a symbolic link to the htdocs folder. Make the following changes to allow the symbolic link:
# cd /etc/apache2
# vim default-server.conf
Under the Configure the DocumentRoot section, change Options None to Options FollowSymLinks. Save and exit.
14. Go to /etc/sysconfig/apache2 and ensure that the APACHE_MODULES parameter has php5 in the list. For example:
APACHE_MODULES=actions alias auth_basic authn_file authz_host authz_groupfile
authz_default authz_user authn_dbm autoindex cgi dir env expires include
log_config mime negotiation setenvif ssl suexec userdir php5
15. Turn on Apache2 and the database server:
# chkconfig mysql on
# chkconfig apache2 on
16. Configure the timezone.
Edit the /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini file and add timezone information under the [Date] section.
For example:
[Date]
date.timezone = America/Toronto
And restart apache service by:
$ service apache2 restart
Related Information
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1024186