I have installed openfire on RHEL6, I am not able access the openfire http://ip:9090
[root@server1 database]# rpm -aq | grep openfire
openfire-3.7.0-1.i386
INSTALL OPENFIRE:
wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-3.6.3-1 .i386.rpm
rpm -ivh openfire*.rpm
INSTALL MYSQL:
yum install mysql-server
mysqladmin -u root password ‘mysqlsecretpassword’ (single quotes stay)
CONFIGURE MYSQL:
mysql -u root -p
CREATE DATABASE openfire;
GRANT ALL PRIVILEGES ON openfire.* TO “xxxxxx“@”localhost” IDENTIFIED BY “*************“;
FLUSH PRIVILEGES;
EXIT
PERPARE OPENFIRE DATABASE SCHEMA:
cat /opt/openfire/resources/databases/openfire_mysql.sql | mysql -u root -p openfire;
[root@server1 tmp]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-SSH tcp – anywhere anywhere tcp dpt:ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-SSH (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
[root@server1 database]# service openfire restart
Shutting down openfire:
Starting openfire:
[root@server1 database]#
all done without any issues, but still cant get the system to listen to port 9090…!!!
[root@server1 database]# netstat -anp | grep 9090
<…nothing…>
C:>telnet 10.5.1.61 9090
Connecting To 10.5.1.61…Could not open connection to the host, on port 9090: Connect failed
I checked the port…
vi /opt/openfire/conf/openfire.xml
!-- root element, all properties must be under this element -->
9090
9091
en
[root@server1 openfire]# nmap localhost
…
Only scanned 127.0.0.1
Not shown: 983 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
143/tcp open imap
443/tcp open https
631/tcp open ipp
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
8080/tcp open http-proxy
8081/tcp open blackice-icecap
10024/tcp open unknown
10025/tcp open unknown