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.

[warn] NameVirtualHost ip.ip.ip.ip:80 has no VirtualHosts

Discussion in 'General Discussion' started by claven177, Jul 26, 2005.

  1. claven177

    claven177 Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Taipei
    Which one CMD I have to add to SKIPCMD?

    I set a load monitor shell script they can kill extra processes when load high.

    killall -9 USER > /dev/null 2>&1


    I got a NameVirtualHost ip.ip.ip.ip:80 has no VirtualHosts error message
    If we restart httpd they is fine and OK

    [Tue Jul 26 14:06:04 2005] [warn] NameVirtualHost ip.ip.ip.ip:80 has no VirtualHosts
    [Tue Jul 26 14:06:05 2005] [warn] NameVirtualHost ip.ip.ip.ip:80 has no VirtualHosts

    /etc/rc.d/init.d/httpd start: httpd started
    /etc/rc.d/init.d/httpd restart: httpd not running, trying to start


    I set a SKIP user and SKIPCMD to aviod to kill them.
    SKIPUSER="root bin admin mailnull cpanel"
    SKIPCMD="sshd syslogd cpanellogd loadmon named spamd spamc crond logrunner webalizer cpbackup"

    Which one CMD I have to add to SKIPCMD?
    or Which one USER I have to add to SKIPUSER?


    Code:
    root@p4 [~]# ps h -A -o "pid user pcpu pmem cmd"
        1 root      0.0  0.0 init [3]
        2 root      0.0  0.0 [keventd]
        3 root      0.0  0.0 [kapmd]
        4 root      0.0  0.0 [ksoftirqd_CPU0]
        9 root      0.0  0.0 [bdflush]
        5 root      0.0  0.0 [kswapd]
        6 root      0.0  0.0 [kscand/DMA]
        7 root      0.1  0.0 [kscand/Normal]
        8 root      0.0  0.0 [kscand/HighMem]
       10 root      0.0  0.0 [kupdated]
       11 root      0.0  0.0 [mdrecoveryd]
       15 root      0.1  0.0 [kjournald]
       73 root      0.0  0.0 [khubd]
      712 root      0.0  0.0 [kjournald]
      723 root      0.0  0.0 [loop0]
     3041 root      0.0  0.0 [eth0]
     3237 root      0.0  0.0 syslogd -m 0
     3241 root      0.0  0.0 klogd -x
     4452 root      0.0  0.0 /usr/sbin/sshd
     4465 root      0.0  0.0 xinetd -stayalive -pidfile /var/run/xinetd.pid
     4483 root      0.0  0.0 chkservd
     4538 root      0.0  0.5 /usr/sbin/clamd
     4544 mailnull  0.0  0.0 /usr/sbin/exim -bd -q60m
     4551 mailnull  0.0  0.0 /usr/sbin/exim -C /etc/exim_outgoing.conf -q60m
     4555 mailnull  0.0  0.0 /usr/sbin/exim -tls-on-connect -bd -oX 465
     4562 root      0.5  0.0 antirelayd
     4644 named     0.3  1.1 /usr/sbin/named -u named
     4658 root      0.0  0.0 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid -
     4800 root      0.0  0.1 cppop - accepting on port 110
     4809 root      0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
     4865 root      0.0  0.0 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/li
     4904 mysql     0.9  5.7 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid
     5091 mailnull  0.0  0.2 /usr/bin/perl /usr/local/cpanel/bin/eximstats
     5355 root      0.0  0.0 cpsrvd - waiting for connections
     5399 root      0.0  0.0 pure-ftpd (SERVER)
     5552 root      0.0  0.0 /usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth
     5594 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     5595 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     7266 root      0.1  0.8 cpanellogd - setting up logs for kktravel
     7270 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     7299 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     7318 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     7353 mailnull  0.0  0.0 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /u
     7356 root      0.0  0.0 cppop - accepting on port 110
     7398 cpanel    0.0  0.0 /usr/bin/stunnel-4.04local /usr/local/cpanel/etc/stunnel/default/stunnel
     7408 root      0.0  0.0 rhnsd --interval 240
     7432 root      0.0  0.0 /usr/sbin/portsentry -tcp
     7446 root      0.0  0.0 /sbin/mingetty tty1
     7447 root      0.0  0.0 /sbin/mingetty tty2
     7448 root      0.0  0.0 /sbin/mingetty tty3
     7449 root      0.0  0.0 /sbin/mingetty tty4
     7450 root      0.0  0.0 /sbin/mingetty tty5
     7451 root      0.0  0.0 /sbin/mingetty tty6
     7452 root      0.0  0.0 /sbin/agetty -L 9600 ttyS0 vt100
    15427 root      0.0  0.0 crond
    31278 root      0.1  1.5 spamd child
    32114 root      0.0  1.5 spamd child
    32231 root      0.0  1.8 spamd child
      505 root      0.0  1.4 spamd child
      693 root      0.0  1.3 spamd child
     6973 kktravel  0.0  0.9 cpanellogd - http logs for kktravel
     7729 root      0.0  0.0 /usr/sbin/sshd
     7748 admin     0.0  0.0 /usr/sbin/sshd
     7749 admin     0.0  0.0 -bash
     8160 root      0.0  0.0 su -
     8168 root      0.0  0.0 -bash
    10184 supersta  0.0  0.0 pure-ftpd (IDLE)
    12092 root      0.0  0.2 /usr/local/apache/bin/httpd -DSSL
    12105 root      0.0  0.0 /home/fjtv3ssl/bin/rotatelogs /home/fjtv3ssl/logs/%Y%m%d_access.log 8640
    12107 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12108 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12109 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12110 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12111 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12117 root      0.0  0.2 /usr/bin/perl /usr/local/cpanel/bin/leechprotect
    12118 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12119 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12120 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12121 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12122 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12124 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12127 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12128 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12131 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12132 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12133 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12134 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12135 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12136 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12137 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12138 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12139 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12140 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12141 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12143 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12144 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12145 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12146 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12147 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12148 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12149 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12150 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12152 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12162 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12163 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12164 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12165 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12166 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12167 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12168 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12169 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12170 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12171 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12172 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12173 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12174 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12175 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12176 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12177 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12178 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12179 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12180 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12208 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12209 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12210 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12211 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12212 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12213 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12214 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12215 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12216 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12217 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12218 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12219 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12220 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12221 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12223 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12402 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12403 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12662 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12753 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12755 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12756 nobody    0.0  1.1 /home/fjtv3ssl/bin/httpd -k start -DSSL
    12806 kktravel  0.0  0.0 /usr/local/cpanel/bin/logrunner 4.0 /usr/local/cpanel/3rdparty/bin/awsta
    12807 kktravel  3.3  0.9 /usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=kktravel
    12901 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12902 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    12903 nobody    0.0  0.3 /usr/local/apache/bin/httpd -DSSL
    13236 mailnull  0.0  0.1 /usr/sbin/exim -bd -q60m
    13310 mailnull  0.0  0.1 /usr/sbin/exim -bd -q60m
    13317 mailnull  0.2  0.1 /usr/sbin/exim -bd -q60m
    13319 root      0.0  0.0 ps h -A -o pid user pcpu pmem cmd
    root@p4 [~]#
     
    #1 claven177, Jul 26, 2005
    Last edited: Jul 26, 2005
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India

Share This Page