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.

attention appeared when installed cpanel on fresh redhat

Discussion in 'General Discussion' started by saeed.ashour, Jan 23, 2011.

  1. saeed.ashour

    saeed.ashour Registered

    Joined:
    Aug 19, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Greetings,

    This attention appeared on I did installed cpanel on fresh redhat

    Code:
    Graceful shutdown of cPanel TaskQueue Daemon requested. complete
    Waiting for cpsrvd to shutdown ... ...Done
    Waiting for cpsrvd-ssl to shutdown ... ...Done
    Waiting for whostmgrd to shutdown ... ...Done
    Waiting for cppop to shutdown ... ...Done
    Waiting for cppop-ssl to shutdown ... ...Done
    ==> cPanel TaskQueue Processing Daemon version 1.0
    [Sun Jan 23 16:49:16 2011] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Log is at /usr/local/cpanel/logs/tailwatchd_log
    ==> cPanel Log Daemon version 24.0
    ==> Post Install Complete
    
    Broadcast message from root (Sun Jan 23 16:49:19 2011):
    
    cPanel Layer 2 Install Complete
    ...Done
    Ensuring locale databases......Done
    Updating Addons......Done
    Cleaning Squirrelmail attachment directories......Done
    Running postinstall scripts...Scanning for new mail senders.....Done
    Scanning suexec_log...Done
    /scripts/spamassassin_dbm_cleaner: version 1.0
    Checking SpamAssassin dbm databases....Done
    Checked 0 files for 1 user(s),  ok,  broken
    ...Done
    Setting up chkservd monitoring ...
    !!
    ATTENTION ATTENTION ATTENTION ATTENTION
    
    Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
    
    When mysql is unable to execute a query they are logged for processing later.
    
    Eventually these SQL files may be handled automatically and this message will not appear.
    
    In the meantime you can execute the queries as root with something like this:
    
      mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
      /usr/local/cpanel/libexec/tailwatchd --restart
      mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    
    ATTENTION ATTENTION ATTENTION ATTENTION
    !!
    
    
    !!
    ATTENTION ATTENTION ATTENTION ATTENTION
    
    Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
    
    When mysql is unable to execute a query they are logged for processing later.
    
    Eventually these SQL files may be handled automatically and this message will not appear.
    
    In the meantime you can execute the queries as root with something like this:
    
      mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
      /usr/local/cpanel/libexec/tailwatchd --restart
      mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    
    ATTENTION ATTENTION ATTENTION ATTENTION
    !!
    
    [2011-01-23 16:49:30 +0200] [main] Current process '1876' stopped
    Done
    Securing the /tmp and /var/tmp directories....
    !!
    ATTENTION ATTENTION ATTENTION ATTENTION
    
    Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
    
    When mysql is unable to execute a query they are logged for processing later.
    
    Eventually these SQL files may be handled automatically and this message will not appear.
    
    In the meantime you can execute the queries as root with something like this:
    
      mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
      /usr/local/cpanel/libexec/tailwatch/tailwatchd --restart
      mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy
    
    
    ATTENTION ATTENTION ATTENTION ATTENTION
    !!
    
    [Sun Jan 23 16:49:30 2011] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Log is at /usr/local/cpanel/logs/tailwatchd_log
    Securing /tmp & /var/tmp
    /tmp is already secure
    /var/tmp is already secure
    Checking fstab for entries ...Added fstab entry (/var/tmp)....Done
    Logrotate TMPDIR already configured
    Process Complete
    ...Done
    Cleaning Up....+.++...Done
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Your system kernel may have been updated.
    This would have occurred in an attempt to install gcc, which is required.
    Before rebooting the system, please ensure that the installed kernel version is compatible with your deployment.
    How I can solve that because whm does not work ?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Please check your firewall as the above does not indicate any real issues with cPanel installation:

    Code:
    /sbin/iptables -n -L
    It's likely you have the WHM, cPanel and Webmail ports blocked on your default RedHat Firewall. You could simply run these commands to open the necessary ports:

    Code:
    /sbin/iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 2082:2083 -j ACCEPT
    /sbin/iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 2086:2087 -j ACCEPT
    /sbin/iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 2095:2096 -j ACCEPT
    This is in the instance you have RH-Firewall-1-INPUT showing in your firewall rule chains. Otherwise, you could replace the RH-Firewall-1-INPUT part with just INPUT like so:

    Code:
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2082:2083 -j ACCEPT
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2086:2087 -j ACCEPT
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2095:2096 -j ACCEPT
    The default RedHat firewall typically only allows ports 25, 80 and 110 I believe. The rejection line that is blocking all the other ports is the following:

    Code:
    REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
    If you see that in your firewall, that rule is why other ports won't work and why the above firewall rules are needing to be added to allow WHM, cPanel and Webmail access to function.
     

Share This Page