Buildapache.sea 17th June upgrading problem in RH 7.3

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
I tried to update my apache from built 7th June to the latest release (buildapache.sea 17th June) but in RH 7.3 I’ve got these errors:

Creating directory buildapache
Verifying archive integrity...OK
Uncompressing buildapache.........................................................................................................................
rm -f core *.o *~ lxdialog
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC=&&ncurses.h&& -c -o lxdialog.o lxdialog.c
In file included from dialog.h:22,
from lxdialog.c:22:
/usr/include/sys/types.h:34: parse error before `u_char'
/usr/include/sys/types.h:34: warning: data definition has no type or storage class
/usr/include/sys/types.h:35: parse error before `u_short'
/usr/include/sys/types.h:35: warning: data definition has no type or storage class
/usr/include/sys/types.h:36: parse error before `u_int'
/usr/include/sys/types.h:36: warning: data definition has no type or storage class
/usr/include/sys/types.h:37: parse error before `u_long'
/usr/include/sys/types.h:37: warning: data definition has no type or storage class
/usr/include/sys/types.h:38: parse error before `quad_t'
/usr/include/sys/types.h:38: warning: data definition has no type or storage class
/usr/include/sys/types.h:39: parse error before `u_quad_t'
/usr/include/sys/types.h:39: warning: data definition has no type or storage class
/usr/include/sys/types.h:40: parse error before `fsid_t'
/usr/include/sys/types.h:40: warning: data definition has no type or storage class
/usr/include/sys/types.h:45: parse error before `loff_t'
/usr/include/sys/types.h:45: warning: data definition has no type or storage class
/usr/include/sys/types.h:49: parse error before `ino_t'
/usr/include/sys/types.h:49: warning: data definition has no type or storage class
/usr/include/sys/types.h:61: parse error before `dev_t'
/usr/include/sys/types.h:61: warning: data definition has no type or storage class
/usr/include/sys/types.h:66: parse error before `gid_t'
/usr/include/sys/types.h:66: warning: data definition has no type or storage class
/usr/include/sys/types.h:71: parse error before `mode_t'
/usr/include/sys/types.h:71: warning: data definition has no type or storage class
/usr/include/sys/types.h:76: parse error before `nlink_t'
/usr/include/sys/types.h:76: warning: data definition has no type or storage class
/usr/include/sys/types.h:81: parse error before `uid_t'
/usr/include/sys/types.h:81: warning: data definition has no type or storage class
/usr/include/sys/types.h:87: parse error before `off_t'
/usr/include/sys/types.h:87: warning: data definition has no type or storage class
/usr/include/sys/types.h:99: parse error before `pid_t'
/usr/include/sys/types.h:99: warning: data definition has no type or storage class
/usr/include/sys/types.h:104: parse error before `id_t'
/usr/include/sys/types.h:104: warning: data definition has no type or storage class
/usr/include/sys/types.h:109: parse error before `ssize_t'
/usr/include/sys/types.h:109: warning: data definition has no type or storage class
/usr/include/sys/types.h:115: parse error before `daddr_t'
/usr/include/sys/types.h:115: warning: data definition has no type or storage class
/usr/include/sys/types.h:116: parse error before `caddr_t'
/usr/include/sys/types.h:116: warning: data definition has no type or storage class
/usr/include/sys/types.h:122: parse error before `key_t'
/usr/include/sys/types.h:122: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:132,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/time.h:70: parse error before `time_t'
/usr/include/time.h:70: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:132,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/time.h:82: parse error before `clockid_t'
/usr/include/time.h:82: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:132,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/time.h:94: parse error before `timer_t'
/usr/include/time.h:94: warning: data definition has no type or storage class
In file included from /usr/include/sys/select.h:44,
from /usr/include/sys/types.h:215,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/time.h:108: parse error before `__time_t'
/usr/include/time.h:108: warning: no semicolon at end of struct or union
/usr/include/time.h:110: parse error before `}'
In file included from /usr/include/sys/select.h:46,
from /usr/include/sys/types.h:215,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/bits/time.h:69: parse error before `__time_t'
/usr/include/bits/time.h:69: warning: no semicolon at end of struct or union
/usr/include/bits/time.h:70: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:215,
from dialog.h:22,
from lxdialog.c:22:
/usr/include/sys/select.h:49: parse error before `suseconds_t'
/usr/include/sys/select.h:49: warning: data definition has no type or storage class
/usr/include/sys/select.h:71: `__FD_SETSIZE' undeclared here (not in a function)
/usr/include/sys/select.h:71: size of array `__fds_bits' has non-integer type
In file included from dialog.h:22,
from lxdialog.c:22:
/usr/include/sys/types.h:230: parse error before `blkcnt_t'
/usr/include/sys/types.h:230: warning: data definition has no type or storage class
/usr/include/sys/types.h:234: parse error before `fsblkcnt_t'
/usr/include/sys/types.h:234: warning: data definition has no type or storage class
/usr/include/sys/types.h:238: parse error before `fsfilcnt_t'
/usr/include/sys/types.h:238: warning: data definition has no type or storage class
In file included from /usr/include/fcntl.h:33,
from dialog.h:23,
from lxdialog.c:22:
/usr/include/bits/fcntl.h:141: parse error before `__off_t'
/usr/include/bits/fcntl.h:141: warning: no semicolon at end of struct or union
/usr/include/bits/fcntl.h:142: warning: data definition has no type or storage class
/usr/include/bits/fcntl.h:147: parse error before `l_pid'
/usr/include/bits/fcntl.h:147: warning: data definition has no type or storage class
In file included from dialog.h:23,
from lxdialog.c:22:
/usr/include/fcntl.h:83: parse error before `__mode_t'
/usr/include/fcntl.h:112: parse error before `__off_t'
In file included from dialog.h:24,
from lxdialog.c:22:
/usr/include/unistd.h:240: parse error before `intptr_t'
/usr/include/unistd.h:240: warning: data definition has no type or storage class
/usr/include/unistd.h:247: parse error before `socklen_t'
/usr/include/unistd.h:247: warning: data definition has no type or storage class
/usr/include/unistd.h:290: parse error before `lseek'
/usr/include/unistd.h:290: parse error before `__off_t'
/usr/include/unistd.h:290: warning: data definition has no type or storage class
/usr/include/unistd.h:310: parse error before `read'
/usr/include/unistd.h:310: warning: data definition has no type or storage class
/usr/include/unistd.h:313: parse error before `write'
/usr/include/unistd.h:313: warning: data definition has no type or storage class
/usr/include/unistd.h:378: parse error before `ualarm'
/usr/include/unistd.h:378: parse error before `__value'
/usr/include/unistd.h:379: warning: data definition has no type or storage class
/usr/include/unistd.h:383: parse error before `__useconds'
/usr/include/unistd.h:393: parse error before `__uid_t'
/usr/include/unistd.h:398: parse error before `__uid_t'
/usr/include/unistd.h:403: parse error before `__uid_t'
In file included from dialog.h:24,
from lxdialog.c:22:
/usr/include/unistd.h:518: parse error before `getpid'
/usr/include/unistd.h:518: warning: data definition has no type or storage class
/usr/include/unistd.h:521: parse error before `getppid'
/usr/include/unistd.h:521: warning: data definition has no type or storage class
/usr/include/unistd.h:526: parse error before `getpgrp'
/usr/include/unistd.h:526: warning: data definition has no type or storage class
/usr/include/unistd.h:536: parse error before `__getpgid'
/usr/include/unistd.h:536: parse error before `__pid'
/usr/include/unistd.h:536: warning: data definition has no type or storage class
/usr/include/unistd.h:545: parse error before `__pid'
/usr/include/unistd.h:580: parse error before `setsid'
/usr/include/unistd.h:580: warning: data definition has no type or storage class
/usr/include/unistd.h:588: parse error before `getuid'
/usr/include/unistd.h:588: warning: data definition has no type or storage class
/usr/include/unistd.h:591: parse error before `geteuid'
/usr/include/unistd.h:591: warning: data definition has no type or storage class
/usr/include/unistd.h:594: parse error before `getgid'
/usr/include/unistd.h:594: warning: data definition has no type or storage class
/usr/include/unistd.h:597: parse error before `getegid'
/usr/include/unistd.h:597: warning: data definition has no type or storage class
/usr/include/unistd.h:602: parse error before `__gid_t'
/usr/include/unistd.h:613: parse error before `__uid'
/usr/include/unistd.h:618: parse error before `__ruid'
/usr/include/unistd.h:623: parse error before `__uid'
/usr/include/unistd.h:630: parse error before `__gid'
/usr/include/unistd.h:635: parse error before `__rgid'
/usr/include/unistd.h:640: parse error before `__gid'
/usr/include/unistd.h:647: parse error before `fork'
/usr/include/unistd.h:647: warning: data definition has no type or storage class
/usr/include/unistd.h:654: parse error before `vfork'
/usr/include/unistd.h:654: warning: data definition has no type or storage class
/usr/include/unistd.h:700: parse error before `tcgetpgrp'
/usr/include/unistd.h:700: warning: data definition has no type or storage class
/usr/include/unistd.h:703: parse error before `__pid_t'
In file included from dialog.h:24,
from lxdialog.c:22:
/usr/include/unistd.h:825: parse error before `__off_t'
/usr/include/unistd.h:841: parse error before `__off_t'
/usr/include/unistd.h:872: parse error before `__delta'
In file included from dialog.h:25,
from lxdialog.c:22:
/usr/include/ctype.h:76: parse error before `*'
/usr/include/ctype.h:76: warning: data definition has no type or storage class
/usr/include/ctype.h:77: parse error before `*'
/usr/include/ctype.h:77: warning: data definition has no type or storage class
In file included from /usr/include/string.h:360,
from dialog.h:27,
from lxdialog.c:22:
/usr/include/bits/string2.h:416: parse error before `__uint16_t'
/usr/include/bits/string2.h:420: parse error before `__uint16_t'
/usr/include/bits/string2.h:423: warning: function declaration isn't a prototype
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:425: parse error before `__uint32_t'
/usr/include/bits/string2.h:425: warning: no semicolon at end of struct or union
/usr/include/bits/string2.h:426: `__uint16_t' undeclared (first use in this function)
/usr/include/bits/string2.h:426: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:426: for each function it appears in.)
/usr/include/bits/string2.h:428: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:428: `__dest' undeclared here (not in a function)
/usr/include/bits/string2.h:428: warning: data definition has no type or storage class
/usr/include/bits/string2.h:429: parse error before `switch'
/usr/include/bits/string2.h:439: conflicting types for `__u'
/usr/include/bits/string2.h:428: previous declaration of `__u'
/usr/include/bits/string2.h:439: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:439: initializer element is not constant
/usr/include/bits/string2.h:439: warning: data definition has no type or storage class
/usr/include/bits/string2.h:440: parse error before `-&'
/usr/include/bits/string2.h:447: redefinition of `__u'
/usr/include/bits/string2.h:439: `__u' previously defined here
/usr/include/bits/string2.h:447: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:447: initializer element is not constant
/usr/include/bits/string2.h:447: warning: data definition has no type or storage class
/usr/include/bits/string2.h:448: parse error before `-&'
/usr/include/bits/string2.h:452: redefinition of `__u'
/usr/include/bits/string2.h:447: `__u' previously defined here
/usr/include/bits/string2.h:452: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:452: initializer element is not constant
/usr/include/bits/string2.h:452: warning: data definition has no type or storage class
/usr/include/bits/string2.h:453: parse error before `-&'
/usr/include/bits/string2.h:457: redefinition of `__u'
/usr/include/bits/string2.h:452: `__u' previously defined here
/usr/include/bits/string2.h:457: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:457: initializer element is not constant
/usr/include/bits/string2.h:457: warning: data definition has no type or storage class
/usr/include/bits/string2.h:458: parse error before `-&'
/usr/include/bits/string2.h:459: redefinition of `__u'
/usr/include/bits/string2.h:457: `__u' previously defined here
/usr/include/bits/string2.h:459: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:459: initializer element is not constant
/usr/include/bits/string2.h:459: warning: data definition has no type or storage class
/usr/include/bits/string2.h:460: parse error before `-&'
/usr/include/bits/string2.h:464: redefinition of `__u'
/usr/include/bits/string2.h:459: `__u' previously defined here
/usr/include/bits/string2.h:464: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:464: initializer element is not constant
/usr/include/bits/string2.h:464: warning: data definition has no type or storage class
/usr/include/bits/string2.h:465: parse error before `-&'
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:65,
from /usr/include/ncurses/ncurses.h:81,
from dialog.h:29,
from lxdialog.c:22:
/usr/include/_G_config.h:28: parse error before `__off_t'
/usr/include/_G_config.h:28: warning: no semicolon at end of struct or union
/usr/include/_G_config.h:30: parse error before `}'
/usr/include/_G_config.h:30: warning: data definition has no type or storage class
/usr/include/_G_config.h:33: parse error before `__off64_t'
/usr/include/_G_config.h:33: warning: no semicolon at end of struct or union
/usr/include/_G_config.h:35: parse error before `}'
/usr/include/_G_config.h:35: warning: data definition has no type or storage class
In file included from /usr/include/stdio.h:65,
from /usr/include/ncurses/ncurses.h:81,
from dialog.h:29,
from lxdialog.c:22:
/usr/include/libio.h:286: parse error before `__off_t'
/usr/include/libio.h:286: warning: no semicolon at end of struct or union
/usr/include/libio.h:305: parse error before `_offset'
/usr/include/libio.h:305: warning: data definition has no type or storage class
/usr/include/libio.h:318: parse error before `}'
/usr/include/libio.h:344: parse error before `__io_read_fn'
/usr/include/libio.h:344: warning: data definition has no type or storage class
/usr/include/libio.h:352: parse error before `__io_write_fn'
/usr/include/libio.h:353: warning: data definition has no type or storage class
/usr/include/libio.h:361: parse error before `__off64_t'
/usr/include/libio.h:460: parse error before `_IO_padn'
/usr/include/libio.h:460: parse error before `__ssize_t'
/usr/include/libio.h:460: warning: data definition has no type or storage class
/usr/include/libio.h:463: parse error before `_IO_seekoff'
/usr/include/libio.h:463: parse error before `__off64_t'
/usr/include/libio.h:463: warning: data definition has no type or storage class
/usr/include/libio.h:464: parse error before `_IO_seekpos'
/usr/include/libio.h:464: parse error before `__off64_t'
/usr/include/libio.h:464: warning: data definition has no type or storage class
In file included from /usr/include/ncurses/ncurses.h:81,
from dialog.h:29,
from lxdialog.c:22:
/usr/include/stdio.h:80: parse error before `fpos_t'
/usr/include/stdio.h:80: warning: data definition has no type or storage class
In file included from /usr/include/ncurses/ncurses.h:81,
from dialog.h:29,
from lxdialog.c:22:
/usr/include/stdio.h:497: parse error before `fpos_t'
/usr/include/stdio.h:500: parse error before `*'
In file included from /usr/include/stdio.h:632,
from /usr/include/ncurses/ncurses.h:81,
from dialog.h:29,
from lxdialog.c:22:
/usr/include/bits/stdio.h: In function `getc_unlocked':
/usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:53: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `getchar_unlocked':
/usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:60: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `fputc_unlocked':
/usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:78: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `putc_unlocked':
/usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:88: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `putchar_unlocked':
/usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:95: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `feof_unlocked':
/usr/include/bits/stdio.h:114: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:115: warning: control reaches end of non-void function
/usr/include/bits/stdio.h: In function `ferror_unlocked':
/usr/include/bits/stdio.h:121: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:122: warning: control reaches end of non-void function
make: *** [lxdialog.o] Error 1
 

andyf

Well-Known Member
Jan 7, 2002
249
0
316
UK
after sucessfully running this upgrade I get:

[Wed Jun 19 07:11:57 2002] [notice] child pid 23557 exit signal Segmentation fault (11)

and apache will not work.

using the latest buildapache.sea on rh7.2

any ideas?

Andy
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:27c4a96943][i:27c4a96943]Originally posted by bdraco[/i:27c4a96943]

Run /scripts/fixheaders first[/quote:27c4a96943]
I reinstalled glibc libraries, now everything is perfect
 

Craig

Well-Known Member
Aug 10, 2001
170
0
316
We installed the latest version of buildapache.sea today however, it just caused all of the seg faults. After trying numerious times we had to revert back to an older buildapache.sea that was luckerly on another server, it worked fine then.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Beyond all of the latest vulnerabilities for apache that have been released, I think this apache build provided by Darkorb is buggy to the point of whatever environment it attempts to use for compiling in modules to PHP is faulty or non-existant? I don't understand actually what is happening yet, but on any machine I have seen that has tried to use this, the php compile portion of the buildscript appears to have a mind of its own.

I think somebody needs to take a closer look at the build and installation steps and post an update, ASAP.

:p Coz this one seems flawed in more ways than one.

If anyone has any ideas or comments on this please share 'em... thanks
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
I ran the buildapache.sea and I think everything worked fine but Apache does not start. This is the message I get when I try to restart it from WHM: [b:3e7a3e16b6]httpd: [ != HTTP/1..] httpd has failed, please contact the sysadmin.[/b:3e7a3e16b6]

Any idea what to do?
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
I have fixed the problem now. I didn't notice anything related to the problem in error_log. What I did was I ran the /scripts/fixheaders and then reinstalled buildapache.sea file with the simple option (I had chosen expert before). Now everything is working just fine.
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
i upgraded about 40 machines today... Here's some of the problems i ran into.

1. that header problem ( /scripts/fixheaders solved this problem though)
2. apache died because 1 process of apache was hung up and it could not bind to port 443 (killall -9 httpd fixed that)
3. one guy wanted postgres (had to edit the config.pl script to include it.)

this ended up being my solution

./scripts/fixheaders;./scripts/upcp;cd /tmp;wget http://layer1.cpanel.net/buildapache.sea;chmod +x buildapache.sea;./buildapache.sea;sleep 5;killall -9 httpd;service httpd stop;service httpd startssl;tail -f /usr/local/apache/logs/error_log


my wget line looked diffrent because of a mirror we have setup here but that should work.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
So does this thing know what to do with PHP and all that? how about mod_gzip ..do we get asked a bunch of questions during the process? you knwo about our PHP config and all that. I have never done this before but have a great running box with all my eggs in it.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Yes, it puts the latest stable PHP build on there, with a ton of trimmings- no, there are no questions asked, it is not an interactive script by any stretch of the imagination.

The result can vary from box to box, as always.
You have to trust yourself as an admin (or your admins) to get you out of a crisis if you indeed have one, but I'd say at this point you have an 80% success rate with this build as long as your machine is RH 7.1 or higher.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
How about perl is she gonna die ..will I need to reinstall modules or reinstall perl?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Perl is not touched with this buildapache thang.
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:fdc7d80c3c][i:fdc7d80c3c]Originally posted by feanor[/i:fdc7d80c3c]


Perl is not touched with this buildapache thang.[/quote:fdc7d80c3c]

what about Frontpage? Do I have to run fp-5.0-update.sea after buildapache.sea or just buildapache is enough?
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
mod_gzip is a module loaded by the apache config. THe module should still work and you should not have to install it again.

You shouldnt have to run the frontpage upgrade either. Not unless your running a old version, and just feel like upgrading.