Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 31 to 39 of 39
  1. #31
    Member
    Join Date
    Aug 2005
    Posts
    8

    Default

    Trying to insert </body>
    ADDING LAYOUT:</body> (3) (4)(1)
    /etc/rc.d/init.d/httpd: line 83: 30932 Segmentation fault (core dumped) $HTTPD -DSSL
    /etc/rc.d/init.d/httpd start: httpd could not be started

  2. #32
    Member
    Join Date
    Aug 2001
    Posts
    158

    Default

    I have mod_layout running on a server, but most of the times if the site being displayed is php, like a lot of different bulletin boards, the header/footer keeps the pages from loading and just puts:

    ‹


    this is not coming from the footer (I don't use a header actually), the banner is being displayed properly, it just kills the site if it's php.

    makes of ipanel says it's because of gzip but i don't have gzip enabled on this server and have ensured any forum i've tested this on isn't trying to use gzip.

    anyone else see this?

  3. #33
    Member
    Join Date
    Mar 2005
    Posts
    6

    Default

    I get:

    root@226 [~/mod_layout-3.2]# ls
    ./ ChangeLog directives.h INSTALL LICENSE Makefile.libdir Makefile.tmpl mod_layout.h* proto.h THANKS utility.c* version.h
    ../ directives/ faq.html layout.c Makefile Makefile.STATIC mod_layout.c* origin.c* README TODO VERSION
    root@226 [~/mod_layout-3.2]# make
    `apxs -q CC` -I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` -c mod_layout.c
    : bad interpreter: No such file or directory
    : bad interpreter: No such file or directory
    : bad interpreter: No such file or directory
    /bin/sh: -I: command not found
    make: *** [mod_layout.o] Error 127
    root@226 [~/mod_layout-3.2]#
    ** I edited the APXS file that the previous posts said to edit.. **
    Any Help??

    Thanks

  4. #34
    Member
    Join Date
    Nov 2005
    Posts
    17

    Default

    Quote Originally Posted by rastoma
    I have mod_layout running on a server, but most of the times if the site being displayed is php, like a lot of different bulletin boards, the header/footer keeps the pages from loading and just puts:

    ‹


    this is not coming from the footer (I don't use a header actually), the banner is being displayed properly, it just kills the site if it's php.

    makes of ipanel says it's because of gzip but i don't have gzip enabled on this server and have ensured any forum i've tested this on isn't trying to use gzip.

    anyone else see this?
    I have exactly the same problem.

  5. #35
    Member
    Join Date
    May 2006
    Posts
    52

    Default

    Hate to dig up an old thread, but...

    I was having the same problem too. Viewing our heavily used forum and we would get nothing but a blank white page containing the LayoutHeader code and the < ASCII symbol.

    After some digging and testing, it appears to be caused by an issue in forums attempting to use Gzip. If you're using vBulletin for example, just disable the option to use Gzip and it should all work fine.

  6. #36
    Member Shinichi Kato's Avatar
    Join Date
    Mar 2005
    Location
    Saitama-ken,japan
    Posts
    73

    Wink Same problem mod_layout3.2.1 fixed mod_layout3.2

    Hi,there. i have a same problem.but, I changeed mod_layout3.2.1 to 3.2 and fixed problems.

    Code:
    wget http://fresh.t-systems-sfr.com/unix/src/www/mod_layout-3.2.tar.gz
    
    tar -xvzf mod_layout-3.2.tar.gz
    
    cd mod_layout-3.2
    
    vi Makefile
    
    APXS=apxs >> APXS=/usr/local/apache/bin/apxs
    
    APACHECTL=apachectl >> /usr/sbin/apachectl
    
    CC=`apxs -q CC` >> CC=`$(APXS) -q CC`
    
    INC=-I`apxs -q INCLUDEDIR` `apxs -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME >> INC=-I`$(APXS) -q INCLUDEDIR` `$(APXS) -q CFLAGS` #-DLAYOUT_FILEOWNER_NAME
    
    LD_SHLIB=`apxs -q LDFLAGS_SHLIB` >> LD_SHLIB=`$(APXS) -q LDFLAGS_SHLIB`
    
    make 
    
    make install

  7. #37
    Member
    Join Date
    Oct 2004
    Posts
    39

    Default

    If you don't have /usr/sbin/apxs:

    > ln -s /usr/local/apache/bin/apxs /usr/sbin/apxs
    > make
    > make install

    if you do:

    > mv /usr/sbin/apxs /usr/sbin/apxs.bak
    > ln -s /usr/local/apache/bin/apxs /usr/sbin/apxs
    > make
    > make install

    Works like a charm.

  8. #38
    Member
    Join Date
    Sep 2004
    Posts
    29

    Default 64BIT server solution

    has anyone been able to get mod_layout working on a 64bit server?

    Linux 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

    is what i have.

    1 suggestion was made was to do this

    Start:
    ##

    ## Configuration

    ##

    my $CFG_TARGET = q(httpd); # substituted via Makefile.tmpl

    my $CFG_CC = q(cc); # substituted via Makefile.tmpl

    my $CFG_CFLAGS = q( -fPIC -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -DUSE_HSREGEX -DEAPI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm `../apaci`); # substituted via Makefile.tmpl

    my $CFG_CFLAGS_SHLIB = q(-fpic -fPIC -DSHARED_MODULE); # substituted via Makefile.tmpl

    my $CFG_LD_SHLIB = q(gcc -fPIC); # substituted via Makefile.tmpl

    my $CFG_LDFLAGS_SHLIB = q(-shared -fPIC); # substituted via Makefile.tmpl

    my $CFG_LIBS_SHLIB = q(); # substituted via Makefile.tmpl

    my $CFG_PREFIX = q(/usr/local/apache); # substituted via APACI install

    my $CFG_SBINDIR = q(/usr/local/apache/bin); # substituted via APACI install

    my $CFG_INCLUDEDIR = q(/usr/local/apache/include); # substituted via APACI install

    my $CFG_LIBEXECDIR = q(/usr/local/apache/libexec); # substituted via APACI install

    my $CFG_SYSCONFDIR = q(/usr/local/apache/conf); # substituted via APACI install

    finish

    when this was done and i tried to restart httpd i got this

    /etc/init.d/httpd start
    Trying to insert
    ADDING LAYOUT: (1) (2)(1)
    Trying to insert
    /etc/init.d/httpd: line 83: 15750 Segmentation fault (core dumped) $HTTPD -DSSL
    /etc/init.d/httpd start: httpd could not be started

    any ideas?

  9. #39
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Jul 2005
    Posts
    15

    Default

    yeah read backa few post and you will find the solution.

    That error is not dependant on being a 64 bit server
    iHostDev.com - Automate your paid or free hosting business's with our software including forced ads
    BoxDemos.com - Lower your support tickets with flash tutorials

Similar Threads & Tags
Similar threads

  1. Please help me with mod_layout
    By hexstar in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-23-2006, 05:02 PM
  2. mod_layout...how to use?
    By Spirid in forum New User Questions
    Replies: 3
    Last Post: 11-02-2004, 10:48 PM
  3. How do you install mod_layout?
    By Valetia in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-29-2003, 08:24 AM
  4. Mod_layout
    By mbarb in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 12-17-2002, 04:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube