1.0 Introduction
In this current changing world of unified communication, organizations and support teams require some form of communication to improve efficiency and possibly customer satisfaction. In this document, we will look at how to setup an Instant Messaging server on CentOS 5.6 using a free and open source XMPP based IM server. To continue we can say the following about XMPP:
Extensible Messaging and Presence Protocol (XMPP) is an open-standard communications protocol for message-oriented middleware based on XML (Extensible Markup Language).[1] The protocol was originally named Jabber,[2] and was developed by the Jabber open-source community in 1999 for, originally, near-real-time, extensible instant messaging (IM), presence information, and contact list maintenance. Designed to be extensible, the protocol today also finds application in VoIP and file transfer signaling.
Source: http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol
Read the rest of this entry
Filed under:
Centos, Linux
root@xxxxxx:~# sysctl -p /etc/sysctl.conf
got an error:
error: “net.bridge.bridge-nf-call-iptables” is an unknown key
error: “net.bridge.bridge-nf-call-arptables” is an unknown key
Fix:
sudo modprobe bridge
Suhosin for a domain can be disabled by 2 methods.
1) Using php.ini
2) Using .htaccess.
Following are the steps in order to
Read the rest of this entry
E: syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running
R: nano -c /etc/init.d/syslog
Search the line below, (nearly at line # 42)
passed klogd skipped #daemon klogd $KLOGD_OPTIONS
Replace it with lines below,
#passed klogd skipped
daemon klogd $KLOGD_OPTIONS
Now search ‘status klogd’ (nearly at line #61) and uncomment it.
If you change the file, remember to restart syslog via /etc/init.d/syslog restart
/usr/lib64/apr-1/build/libtool –silent –mode=compile gcc -prefer-pic -DLINUX =2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/include -I/usr/include/apache -I/usr/include/apr-1 -I/usr/include/apache -O2 -g -Wall -DWITH_PCRE _STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 – I/usr/include/apache -I/usr/include/apache -I. -I/usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr/include -I/usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.2.17/ srclib/apr-util/xml/expat/lib -I/usr/local/include -I/usr/include -I/usr/kerberos/include -I/usr/local/include -I/usr/local/include/libxml2 -c -o msc_pcre.lo m sc_pcre.c && touch msc_pcre.slo
msc_pcre.c: In function ‘msc_pregcomp_ex’:
msc_pcre.c:73: error: invalid application of ‘sizeof’ to incomplete type ‘pcre_extra’
msc_pcre.c:77: error: invalid application of ‘sizeof’ to incomplete type ‘pcre_extra’
msc_pcre.c:98: warning: ignoring #pragma message
msc_pcre.c:119: warning: ignoring #pragma message
apxs:Error: Command failed with rc=65536
.
make: *** [mod_security2.la] Error 1
the solution is simple:
Copy the pcre.h from /usr/include/
TO /usr/include/apache and replace the old pcre.h (always backup)
Filed under:
Centos, Linux