Featured Posts

Integrating GlassFish Application server with Apache... A typical production topology for GlassFish will be a front ending GlassFish with Apache for serving the static files. To integrate GlassFish Application Server with Apache web server follow the below...

Readmore

Some Java, JEE and WebSphere stuffs Rss

undefined symbol: apr_sockaddr_ip_get

Posted by Albin Joseph | Posted in GlassFish | Posted on 13-11-2008

0

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
395 views

Yesterday I was trying to integrate GlassFish Application server with Apache in a Linux box. I was following my Integrating Apache with GlassFish tutorial which I tried in my local windows box. When I restarted my Apache web server, the server was throwing some error message and mod_jk did not work. This time the error was

	/usr/sbin/apachectl restart: configuration broken, ignoring restart
	/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)
	[root@www mod_jk]# apachectl configtest
	Syntax error on line 735 of /etc/httpd/conf/httpd.conf:
	Cannot load /etc/httpd/modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: undefined symbol: apr_sockaddr_ip_get

This time the problem was the version of mod_jk and Apache server. My local box’s Apache version was 2 and Linux box apache version was 1.3 and I was using the same mod_jk which is compiled for Apache 2. Yeah that was the problem. I was using a mod_jk which was compiled for a different version of Apache server. So anytime if you are getting the same error check your mod_jk version and Apache web server version.

  • Share/Bookmark

Read More

Write a comment