Hi, Patrick
Line 127 of Makefile.
Problem #1 - There's something wrong with your mod_jk build. Can you outline
the exact steps you took? This problem comes up pretty often in this list, but
I don't recall encountering it myself. But then again, I usually build apache
from source...
Problem #2 - This means that you still have a running instance of Tomcat. How
many times did you start up Tomcat? Check if any are running with ps ax.
Regards,
Noel Lecaros
"J. Patrick Lanigan" wrote:
> Line 127 of what file?
>
> I am running RH7/Apache1.3.17. The build goes fine for me(of mod_jk), but I
> am having a couple problems.
>
> Problem #1----------------------------------------------------
> I also get the following error when trying to start apache:
>
> [root@domain]# /usr/local/apache/bin/apachectl start
> Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto:
> API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so
> is garbled - perhaps this is not an Apache module DSO?
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> Problem #2----------------------------------------------------
> I don't have a test directory, but I am also getting the following error
> when trying to start Tomcat:
>
> 2001-05-03 09:24:04 - ContextManager: Adding context Ctx( /examples )
> 2001-05-03 09:24:04 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-05-03 09:24:04 - ContextManager: Adding context Ctx( )
> 2001-05-03 09:24:04 - ContextManager: Adding context Ctx( /test )
> FATAL:java.io.IOException: Address already in use
> java.io.IOException: Address already in use
> at java.net.PlainSocketImpl.socketBind(PlainSocketImpl.java:native)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:43)
> at java.net.ServerSocket.<init>(ServerSocket.java:53)
> at java.net.ServerSocket.<init>(ServerSocket.java:30)
> at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
> :239)
> at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
> at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> ----------------------------------------------
> Any ideas?
> Thanks,
> Patrick
>
> > Noel E. Lecaros wrote:
> > Hi, Laurence
> >
> > If you're using GNU make, try putting a tab at the start of line 127.
> >
> > Hope this helps.
> >
> > Regards,
> > Noel Lecaros
> >
> > Laurence Mayer wrote:
> >
> > > How do I compile mod_webapp?
> > >
> > > I get errors :
> > > Makefile:127:*** missing separator. Stop.
> > >
> > > Thanks
> > > Laurence
> > >
> > > Sam Newman wrote:
> > >
> > > Lots of people have this problem. The downloadable mod_jk seems
> > to work for
> > > some people, but not all. I'd suggest downloading the mod_jk source and
> > > build it yourself. Give your system, this shouldn't be too hard.
> > >
> > > sam
> > > "Laurence Mayer wrot:
> > >
> > > >
> > > > Redhat 6.2
> > > > Apache -1.3.6-1
> > > >
> > > > httpd start gives the following error
> > > >
> > > > Syntax error on line 214 of /etc/httpd/conf/httpd.conf:
> > > > API module structure 'jk_module' in file
> > /user/libexec/apache/mod_jk.so is
> > > > garbled - perhaps
> > > > this is not an apache module DSO?
> > > >
> > > > How do I fix?
> > > >
> > > > Can anyone shed some light, pleeeeeeeaaaaaaassse?
> > > >
> > > > Desperate
> > > > Laurence