Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Sep 2002
    Posts
    58

    Default EntropyBanner

    Hi,

    Anyone know what all I should do to the server to get entropybanner to work.
    It just doesnot seem to work.

    In httpd.conf,the virtual host entry in the server,
    I gave the entry

    &Directory '/home/user/'&
    Options +Includes +ExecCGI
    &/Directory&

    Then I restarted httpd, called the SSI line
    in a test.shtml
    &!--#exec cmd=&/usr/local/cpanel/cgi-sys/entropybanner.cgi user&--&

    All client side setup was correct.

    Any solution to this?

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    [quote:c5ce273067][i:c5ce273067]Originally posted by chakky[/i:c5ce273067]

    Hi,

    Anyone know what all I should do to the server to get entropybanner to work.
    It just doesnot seem to work.

    In httpd.conf,the virtual host entry in the server,
    I gave the entry

    &Directory '/home/user/'&
    Options +Includes +ExecCGI
    &/Directory&

    Then I restarted httpd, called the SSI line
    in a test.shtml
    &!--#exec cmd=&/usr/local/cpanel/cgi-sys/entropybanner.cgi user&--&

    All client side setup was correct.

    Any solution to this?


    [/quote:c5ce273067]

    Change your include to
    &!--#exec cmd=&/cgi-sys/entropybanner.cgi user&--&

    That should do it.
    Regards,
    David
    Forum Moderator

  3. #3
    Member
    Join Date
    Sep 2002
    Posts
    58

    Default

    Nope it does not seem to enable it..
    Any other options..

  4. #4
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default try this

    Hi,

    open up a .htaccess file and place follwing lines.

    Options +Includes
    XBitHack on


    then make your xx.shtml to excutable.

    chmod +x xxx.shtml.

    hope it helps.

    Thansk
    Shann

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    58

    Default

    Hey Thanks,

    I have all the settings made as you both have stated and it seems to show a the entropy banner to work.

    ..Thanks a lot...

  6. #6
    Member Doctor's Avatar
    Join Date
    Apr 2003
    Posts
    180

    Default

    Just do the following:

    cd /home/username/public_html/cgi-bin

    cp /usr/local/cpanel/cgi-sys/entropybanner.cgi entropybanner.cgi

    Then, use <!--#exec cmd="cgi-bin/entropybanner.cgi"--> in your .shtml pages that you want the banner to display.

    The problem is after the upgrade, CPanel no longer copies entropybanner.cgi to the user's cgi-bin. And because of suexec, calling entropybanner.cgi from /usr/local/cpanel/cgi-sys/ won't work. The same solution should apply to randhtml.cgi if any of you happens to have a problem displaying your random codes.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default

    Doctor, may you could help me with this script?..
    In .shtml file customer has the following line:
    <!--#exec cmd="cgi-bin/entropybanner.cgi"-->

    But it does not work. In HTML source I can clearly see this line without changes, just as simple HTML. I have checked SSI with <!--#include file="test.txt"--> and it worked. Also entropybanner.cgi exists in /home/userdir/www/cgi-bin/ and it is writeable and belongs to the user.user group.

    If I look in /usr/local/apache/logs/suexec_log I can see the following line:

    [2005-01-03 11:10:17]: info: (target/actual) uid: (vaulenil/vaulenil) gid: (vaulenil/vaulenil) cmd: cgi-bin/entropybanner.cgi

    Any ideas why it does not work?

    ADDED: if I try just simple to run it from commandline as root I get the following error:
    -bash: cgi-bin/entropybanner.cgi: /usr/libexec/ld-elf.so.1: bad ELF interpreter: No such file or directory

    Could that be a reason? How to solve it?
    Last edited by anton_latvia; 01-03-2005 at 04:30 AM.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default

    Problem has been solved by copying new copy of entropybanner.cgi from /usr/local/cpanel/cgi-sys/ to the user's directory..

  9. #9
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    aren't those cgi scripts outdated and vulnerable?

  10. #10
    Member
    Join Date
    Jun 2004
    Location
    Southern California
    Posts
    255

    Default another problem you may encounter

    I have users who like to try and code in PHP and have set handlers for php as shtml extensions in their htaccess file.

    This will cause entropy to also not work
    checking this in addition to this:

    cd /home/username/public_html/cgi-bin

    cp /usr/local/cpanel/cgi-sys/entropybanner.cgi entropybanner.cgi
    fixes it everytime for me.

  11. #11
    Registered User
    Join Date
    May 2005
    Posts
    1

    Default

    entropyBanner is not working for us also: blank screen.

    Our service provider told us that this is due a CPANEL problem (nightly automatic update)

    and they can not do nothing due this is a CPANEL issue.

    this makes sense?

    Thanks.

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    No, that makes no sense at all. If they have a problem they should log it with cPanel for a fix.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  13. #13
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    Just out of curiousity, are you using a page in your public_html directory that makes SSI calls to the entropybanner.cgi script or is the page in a subdirectory, beneath your public_html?

  14. #14
    Registered User
    Join Date
    Apr 2006
    Posts
    4

    Default entropybanner

    hello,

    If you have tried copying the entropybanner.cgi from usr/local/cpanel/cgi-sys

    cp /usr/local/cpanel/cgi-sys/entropybanner.cgi entropybanner.cgi

    and still that doesnt resolve the situation, then please try changing the ownership of pulic_html folder from user.nobody to user.user this resolved the same situiation once at our end.

    Regards,
    Neo32

  15. #15
    Member testlog_4u's Avatar
    Join Date
    Sep 2007
    Posts
    42

    Default

    Quote Originally Posted by Doctor View Post
    Just do the following:

    cd /home/username/public_html/cgi-bin

    cp /usr/local/cpanel/cgi-sys/entropybanner.cgi entropybanner.cgi

    Then, use <!--#exec cmd="cgi-bin/entropybanner.cgi"--> in your .shtml pages that you want the banner to display.

    The problem is after the upgrade, CPanel no longer copies entropybanner.cgi to the user's cgi-bin. And because of suexec, calling entropybanner.cgi from /usr/local/cpanel/cgi-sys/ won't work. The same solution should apply to randhtml.cgi if any of you happens to have a problem displaying your random codes.
    I have copied it but no luck..

    I am facing the same issue while accessing index.shtml page

    Error : Could not chdir into /home/user/public_html/../.entropybanner/:

Similar Threads & Tags
Similar threads

  1. EntropyBanner
    By ffeingol in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2008, 06:51 AM
  2. Entropybanner in iframe
    By kevh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-13-2005, 05:48 AM
  3. entropybanner.cgi
    By etecc in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-16-2004, 01:27 PM
  4. entropybanner not working...
    By mitul in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-12-2003, 09:31 AM
  5. EntropyBanner
    By Craig in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-17-2002, 01:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube