The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

easyapache problems

Discussion in 'EasyApache' started by furtherahead, Dec 27, 2002.

  1. furtherahead

    furtherahead Member

    Joined:
    Nov 22, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Problem:

    WHM 5.3.0 Cpanel 5.3.0-S108 RedHat 7.2

    - I have updated the glibc rpms
    - I totally removed the /home/cpapachebuild/ directory to force easyapache redownload and rebuild

    1. I run easyapache, I select beginner mode.
    it fails at various points, and tells me there are seg faults

    2. I remove the /home/cpapachebuild/,
    run easyapache again, select beginner mode for consistency
    it fails at various points, tells me there are seg faults

    The problem is, they are not failing at the same point each time. I get different results each time, but usually around the same areas.

    Example:

    first run:
    gcc -DHAVE_CONFIG_H -DPACKAGE=\&expat\& -DVERSION=\&expat_1.95.2\& -I. -I. -I..o
    xmlparse.c: In function `getAttributeId':
    xmlparse.c:3823: Internal error: Segmentation fault.

    second run:
    gcc -DHAVE_CONFIG_H -DPACKAGE=\&expat\& -DVERSION=\&expat_1.95.2\& -I. -I. -I..o
    xmlparse.c: In function `reportComment':
    xmlparse.c:3675: Internal error: Segmentation fault.


    the trace of easyapache is filled with differences like this. I almost always get an error in the same places, but they are never the same exact errors. And, some times the errors are in totally different places.

    Should I be suspecting hardware, or should I completely reinstall cpanel/WHM? if reinstall, what critical files should I be backing up?

    any help appreciated...

    Derek.
    dfeather@magma.ca
     
  2. bdraco

    bdraco Guest

    You probably have bad memory
     
  3. furtherahead

    furtherahead Member

    Joined:
    Nov 22, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    That is what I thought too...

    They told me they replaced the memory in the machine, so I'm still trying to hunt things down...

    I also notice that these compile errors almost always happen when it gets to compiling expat/php/Zend, so I want to be dead sure that it is a hardware issue and not a flaky install of expat/php/Zend etc...

    I've tried to manually configure/make php and i get errors as well...

    Perhaps I should try to reinstall expat and Zend then try php again?
     
  4. Tim Greer

    Tim Greer Well-Known Member

    Joined:
    Aug 11, 2002
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    You're probably using the broken compiler that came with RH 7.2 (http://gcc.gnu.org/gcc-2.96.html) Upgrade gcc to a stable 3.x.
     
  5. furtherahead

    furtherahead Member

    Joined:
    Nov 22, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    OK -- here is a silly question then - when I do that, and try to do a make on the new version of gcc, I get compiler errors because it is using the old gcc to compile it.

    How do I get around that?
     
  6. Brad

    Brad Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    231
    Likes Received:
    0
    Trophy Points:
    16
    Hmm.. I alway run /scripts/fixheaders before installing a new build just to make sure it ok. Might help.
     
  7. Tim Greer

    Tim Greer Well-Known Member

    Joined:
    Aug 11, 2002
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    [quote:926dd1bec2][i:926dd1bec2]Originally posted by furtherahead[/i:926dd1bec2]

    OK -- here is a silly question then - when I do that, and try to do a make on the new version of gcc, I get compiler errors because it is using the old gcc to compile it.

    How do I get around that?[/quote:926dd1bec2]

    What errors are you getting? (A brief snippet). Did you try upgrading via RPM too?
     
Loading...

Share This Page