public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1
@ 2004-02-08  2:26 Chris Croome
  2004-02-10 10:01 ` Gary Benson
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Croome @ 2004-02-08  2:26 UTC (permalink / raw)
  To: rhug-rhats

Hi

I have installed most of the rpms from here:

  http://people.redhat.com/gbenson/naoko/i386/

On a Fedora 1 box and I'm having a couple of problems.

The first one being that tomcat won't start:

  # /etc/init.d/tomcat start
  Starting tomcat: tomcat: killed with signal 11
                                                           [FAILED]

There is nothing written to /var/log/tomcat/ and I'm not sure what
to try next, I haven't edited anything in /etc/tomcat/

Any ideas? 

(I'm new to Java stuff so I might be doing (or not doing) something
daft...)

Also I have tried to install all the naoko rpms but have had some
depandency problems and there are some I haven't installed:

  error: Failed dependencies:
        postgresql-jdbc-tomcat is needed by tomcat-test-4.1.27-8.ent.2

I'm using postgres from here:

  ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/binary/v7.4.1/fedora/fedora-core-1/

Is there somewhere better to get postgres from that would resolve
this?

Thanks

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1
  2004-02-08  2:26 Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1 Chris Croome
@ 2004-02-10 10:01 ` Gary Benson
  2004-02-12 17:04   ` Chris Croome
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Benson @ 2004-02-10 10:01 UTC (permalink / raw)
  To: rhug-rhats

Chris Croome wrote:
> I have installed most of the rpms from here:
> 
>   http://people.redhat.com/gbenson/naoko/i386/
> 
> On a Fedora 1 box and I'm having a couple of problems.
> 
> The first one being that tomcat won't start:
> 
>   # /etc/init.d/tomcat start
>   Starting tomcat: tomcat: killed with signal 11
>                                                            [FAILED]

You probably need to rebuild the rpms.

Gary

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1
  2004-02-10 10:01 ` Gary Benson
@ 2004-02-12 17:04   ` Chris Croome
  2004-02-13 17:30     ` Gary Benson
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Croome @ 2004-02-12 17:04 UTC (permalink / raw)
  To: rhug-rhats

Hi

On Tue 10-Feb-2004 at 10:01:55AM +0000, Gary Benson wrote:
> 
> You probably need to rebuild the rpms.

OK, I have built and installed all the SRPMs in the order on this list:

  http://sources.redhat.com/ml/rhug-rhats/2003-11/msg00009.html

And everything has gone OK apart from tomcat which fails to build with
errors that seem to be related to apr. I have double checked that the
httpd-dev and all apr rpms are installed:

  # apt-get install httpd-devel apr apr-devel apr-util apr-util-devel
  Reading Package Lists... Done
  Building Dependency Tree... Done
  httpd-devel is already the newest version.
  apr is already the newest version.
  apr-devel is already the newest version.
  apr-util is already the newest version.
  apr-util-devel is already the newest version.
  0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

Following is the error when building the tomcat rpm, any suggestions
about what I can do in order to build this?

Do I need apache from rawhide rather than from Fedora 1?

  In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59:
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:77:25: apr_general.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:78:23: apr_pools.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:79:25: apr_strings.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:80:24: apr_tables.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:81:24: apr_tables.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:82:22: apr_time.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:83:28: apr_network_io.h: No such file or directory
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:84:27: apr_file_info.h: No such file or directory
  In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:115,
                   from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59:
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:141: error: syntax error before "apr_pool_t"
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:150: error: syntax error before "apr_pool_t"
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:232: error: syntax error before '*' token
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:232: warning: data definition has no type or storage
   class
  In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:117,
                   from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59:
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:114: error: syntax error before "apr_pool_t"
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:114: warning: no semicolon at end of struct or un
  ion
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:146: error: syntax error before '*' token
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:146: warning: data definition has no type or stor
  age class
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:147: error: syntax error before '}' token
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:62: error: syntax error before '*' token
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:62: warning: data definition has no type or storage clas
  s
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c: In function `wa_init':
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: `APR_SUCCESS' undeclared (first use in this f
  unction)
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: (Each undeclared identifier is reported only 
  once
  /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: for each function it appears in.)
  make[2]: *** [wa_main.lo] Error 1
  make[2]: Leaving directory `/usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib'
  make[1]: *** [subdir] Error 2
  make[1]: Leaving directory `/usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp'
  make: *** [lib-build] Error 2
  error: Bad exit status from /usr/local/src/rpms/tmp/rpm-tmp.58652 (%build)
  
  
  RPM build errors:
      Bad exit status from /usr/local/src/rpms/tmp/rpm-tmp.58652 (%build)
  
Looking forwards to Fedora 2 :-)

Thanks

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1
  2004-02-12 17:04   ` Chris Croome
@ 2004-02-13 17:30     ` Gary Benson
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Benson @ 2004-02-13 17:30 UTC (permalink / raw)
  To: rhug-rhats

Chris Croome wrote:
> On Tue 10-Feb-2004 at 10:01:55AM +0000, Gary Benson wrote:
> > 
> > You probably need to rebuild the rpms.
> 
> OK, I have built and installed all the SRPMs in the order on this list:
> 
>   http://sources.redhat.com/ml/rhug-rhats/2003-11/msg00009.html
> 
> And everything has gone OK apart from tomcat which fails to build with
> errors that seem to be related to apr. I have double checked that the
> httpd-dev and all apr rpms are installed:
[snip]
> Following is the error when building the tomcat rpm, any suggestions
> about what I can do in order to build this?

No, not really.  I haven't tried building them on FC1.  Currently I'm
busy building them into FC2 so I may run into the same thing :-/

Gary

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-13 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-08  2:26 Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1 Chris Croome
2004-02-10 10:01 ` Gary Benson
2004-02-12 17:04   ` Chris Croome
2004-02-13 17:30     ` Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).