• Welcome to The Network People Support Forums. Please login or sign up.

no response from remote host 'localhost'

Started by TobiasN, March 18, 2004, 01:33:53 am

Previous topic - Next topic

TobiasN

hi,

I get this error from rrdutil (1.78) after upgrade

/usr/local/www/cgi-bin/rrdutil.cgi -a update
UpdateMysqlSNMP: ERROR: No response from remote host 'localhost'.
UpdateWebHitsSNMP: ERROR: No response from remote host 'localhost'.
UpdateWebHitsSNMP: ERROR: No response from remote host 'localhost'.
UpdateMysqlSNMP: ERROR: No response from remote host 'localhost'.
UpdateMailSNMP: ERROR: No response from remote host 'localhost'.
UpdateMailSNMP: ERROR: No response from remote host 'localhost'.
UpdateMailSNMP: ERROR: No response from remote host 'localhost'.
UpdateLoadSNMP: ERROR: No response from remote host 'localhost'.
UpdateWebHitsSNMP: ERROR: No response from remote host 'localhost'.
UpdateMailSNMP: ERROR: No response from remote host 'localhost'.
ERROR: couldn't find oid for /!

snmpwalk works fine from same machine..

regards
Tobias Niethammer

matt

Make sure the snmp community/password is the same in rrdutil.conf and snmpd.conf.

Matt

TobiasN

maybe I'm to tired and shoul wear some glases ...

I cant find the snmp community in /usr/local/etc/rrdutil.conf


regards
Tobias Niethammer

adams

snmpd.conf is located in 2 places

/usr/local/share/snmp/snmpd.conf (this one is the one Very Happy)
/var/net-snmp/snmpd.conf (this one is not the one)

LogicX

TobiasN wrote on Thu, 18 March 2004 17:55

maybe I'm to tired and shoul wear some glases ...

I cant find the snmp community in /usr/local/etc/rrdutil.conf


regards
Tobias Niethammer



Neither could I
auth1     = localhost, snmp,      2,          monitoring

As emphasized in this comment:

#       Type - In the example below you'll see an example of every working
#              type. Ones that don't match those below will be silently
#              ignored. snmp is a special type, and you must have one snmp
#              monitor for each host. The followingn fields are the SNMP
#              version to use and the community.

--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://FPuX.com" target="_blank">http://FPuX.com

pmidas

I have the same problem but I do not understand the solution. Can somebody give a example. Thanks in advance.

pmidas

this is the result of the test:
/var/qmail/boot....................................................ok
        /var/qmail/control.................................................ok
        /var/qmail/man.....................................................ok
        /var/qmail/users...................................................ok
        /var/qmail/bin.....................................................ok
        /var/qmail/doc.....................................................ok
        /var/qmail/queue...................................................ok
        /var/qmail/configure...............................................ok
is the qmail rc file executable?
        /var/qmail/rc......................................................ok
do the qmail users exist?
        alias..............................................................ok
        qmaild.............................................................ok
        qmailp.............................................................ok
        qmailq.............................................................ok
        qmailr.............................................................ok
        qmails.............................................................ok
do the qmail groups exist?
        qmail..............................................................ok
        qnofiles...........................................................ok
do the qmail alias files have contents?
        /var/qmail/alias/.qmail-postmaster.................................ok
        /var/qmail/alias/.qmail-root.......................................ok
        /var/qmail/alias/.qmail-mailer-daemon..............................ok
checking daemontools binaries...
        multilog...........................................................ok
        softlimit..........................................................ok
        setuidgid..........................................................ok
        supervise..........................................................ok
        svok...............................................................ok
        svscan.............................................................ok
        tai64nlocal........................................................ok
checking ucspi-tcp binaries...
        tcprules...........................................................ok
        tcpserver..........................................................ok
        rblsmtpd...........................................................ok
        tcpclient..........................................................ok
        recordio...........................................................ok
        tcpserver mysql support............................................ok
does supervise directory exist?
        /var/qmail/supervise...............................................ok
        /var/qmail/supervise/smtp..........................................ok
        /var/qmail/supervise/send..........................................ok
        /var/qmail/supervise/pop3..........................................ok
        /var/qmail/supervise/submit........................................ok
do service directories exist?
        /var/service.......................................................ok
        /var/service/smtp..................................................ok
        /var/service/send..................................................ok
        /var/service/submit................................................ok
are the supervised services running?
find_the_bin: searching for svok
        /var/service/smtp..................................................ok
        /var/service/send..................................................ok
        /var/service/submit................................................ok
do the logging directories exist?
        ...................................................................ok
        pop3...............................................................ok
        send...............................................................ok
        smtp...............................................................ok
        submit.............................................................ok
checking log files?
        clean.log..........................................................ok
        maildrop.log.......................................................ok
        watcher.log........................................................ok
        send/current.......................................................ok
        smtp/current.......................................................ok
        submit/current.....................................................ok
do vpopmail directories exist...
        /usr/local/vpopmail................................................ok
        /usr/local/vpopmail/bin............................................ok
        /usr/local/vpopmail/domains........................................ok
        /usr/local/vpopmail/etc/...........................................ok
        /usr/local/vpopmail/include........................................ok
        /usr/local/vpopmail/lib............................................ok
checking vpopmail binaries...
        clearopensmtp......................................................ok
        vaddaliasdomain....................................................ok
        vadddomain.........................................................ok
        valias.............................................................ok
        vadduser...........................................................ok
        vchkpw.............................................................ok
        vchangepw..........................................................ok
        vconvert...........................................................ok
        vdeldomain.........................................................ok
        vdelivermail.......................................................ok
        vdeloldusers.......................................................ok
        vdeluser...........................................................ok
        vdominfo...........................................................ok
        vipmap.............................................................ok
        vkill..............................................................ok
        vmkpasswd..........................................................ok
        vmoddomlimits......................................................ok
        vmoduser...........................................................ok
        vpasswd............................................................ok
        vpopbull...........................................................ok
        vqmaillocal........................................................FAILE    D
        vsetuserquota......................................................ok
        vuserinfo..........................................................ok
do vpopmail libs exist...
        /usr/local/vpopmail/lib/libvpopmail.a..............................ok
do vpopmail includes exist...
        config.h...........................................................ok
        vauth.h............................................................ok
        vlimits.h..........................................................ok
        vpopmail.h.........................................................ok
        vpopmail_config.h..................................................ok
checking vpopmail etc files...
        inc_deps...........................................................ok
        lib_deps...........................................................ok
        tcp.smtp...........................................................ok
        tcp.smtp.cdb.......................................................ok
        vlimits.default....................................................ok
        vpopmail.mysql.....................................................ok
        clamd..............................................................FAILE    D

You have 10 seconds to respond.

                skip the network listener tests?(y/n): n
find_the_bin: searching for netstat
checking for listening tcp ports
        smtp...............................................................ok
        http...............................................................ok
        pop3...............................................................ok
        imap...............................................................ok
        https..............................................................ok
        submission.........................................................ok
        pop3s..............................................................ok
        imaps..............................................................ok
checking for udp listeners
checking cron processes
        /usr/local/vpopmail/bin/clearopensmtp..............................ok
        clamd..............................................................FAILE    D
        /usr/local/sbin/toaster-watcher.pl.................................ok
        /usr/local/share/sqwebmail/cleancache.pl...........................ok
        SNMP ERROR: No response from remote host 'pmidas'.
UpdateStorageSNMP: polling for /var .............................. FAILED
UpdateStorageSNMP: polling for / ................................. FAILED
UpdateNetworkAllSNMP: polling net interfaces ..................... FAILED
UpdateStorageSNMP: polling for /usr .............................. FAILED
UpdateDiskActivitySNMP: searching for disk da0 ................... FAILED
        /usr/local/www/cgi-bin/rrdutil.cgi -a update.......................ok
rrdutil_test: checking snmpd.conf...................................ok
rrdutil_test: checking rrdutil.conf.................................ok
Parsing through the file /var/qmail/users/assign...done.

check_rcpthosts: checking your rcpthost files.
.Congrats, your rcpthosts is correct!

You have 10 seconds to respond.

                skip the mail scanner tests?(y/n): n
qmail-scanner disabled, skipping test.
testing simscan...
                sending a clean message - should arrive unaltered
connect(): No such file or directory
qmail-inject: fatal: mail server temporarily rejected message (#4.3.0)

                Sending .com test attachment - should fail.
simscan:[11267]:ATTACH:0.0038s:eicar.com:(null)::postmaster@pmidas.revit-bg.com
qmail-inject: fatal: Your email was rejected because it contains a bad attachment: eicar.com

                Sending the EICAR test virus - should fail.
connect(): No such file or directory
qmail-inject: fatal: mail server temporarily rejected message (#4.3.0)

                Sending ClamAV test virus - should fail.
connect(): No such file or directory
qmail-inject: fatal: mail server temporarily rejected message (#4.3.0)

                Sending a sample spam message - should fail
connect(): No such file or directory
qmail-inject: fatal: mail server temporarily rejected message (#4.3.0)


For more ways to test your Virus scanner, go here:

         http://www.testvirus.org/


You have 10 seconds to respond.

                skip the authentication tests?(y/n): n
test_auth: testing domain is: pmidas.revit-bg.com.
port_install: p5-Mail-POP3Client....................................ok (p5-Mail-POP3Client-2.17)
port_install: p5-Mail-IMAPClient....................................ok (p5-Mail-IMAPClient-3.08)
port_install: p5-Net-SMTP_auth......................................ok (p5-Net-SMTP_auth-0.08)
port_install: p5-IO-Socket-SSL......................................ok (p5-IO-Socket-SSL-1.13)
imap_test_auth: checking Mail::IMAPClient ........................ ok
imap_test_auth: authenticate IMAP user with plain passwords.........FAILED
testing an authentication that should fail..........................ok
imap_test_auth: checking IO::Socket::SSL ......................... ok
DHE-RSA-AES256-SHA...server returned: 0
imap_test_auth: auth IMAP SSL with plain password...................FAILED
pop3_test_auth: checking Mail::POP3Client ........................ ok
pop3_auth: POP3 server with APOP passwords..........................FAILED
pop3_auth: POP3 server with CRAM-MD5 passwords......................FAILED
pop3_auth: POP3 SSL server with CRAM-MD5 passwords..................FAILED
pop3_auth: POP3 SSL server with APOP passwords......................FAILED
pop3_auth: POP3 server with plain text passwords....................FAILED
pop3_auth: POP3 SSL server with plain text passwords................FAILED
smtp_test_auth: checking Net::SMTP_auth .......................... ok
getting a list of SMTP AUTH methods...done.
smtp_test_auth: sending with LOGIN authentication...................FAILED
smtp_test_auth: sending with PLAIN authentication...................FAILED
smtp_test_auth: sending with CRAM-MD5 authentication................FAILED


NOTICE: It is normal for some of the tests to fail. This test suite is useful for any mail server, not just a Mail::Toaster.


testing complete.

/usr/local/sbin/toaster_setup.pl script execution complete.