Error: /var/tmp/lpar2rrd-agent-__LPAR2RRD-SERVER__-root.txt-tmp does not exist

camelstrike
edited June 2016 in LPAR2RRD
Hello my name is Gonzalo, Im from Argentina and first, I want to thank the developers for this great software.

I have an issue on one of my lpars, the one running the LPAR2RRD Server where I get this error:

Fri Jun 10 12:01:12 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924

If I force run with root /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d __LPAR2RRD-SERVER__ everything works perfectly but just once, if i try againg I get the same error.

So I now run it with the user lpar2rrd and first time work great but second time I get the same error, so I go back anf forth manually running /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d __LPAR2RRD-SERVER__ to get it to work but with cron my error logs fills out with:

Fri Jun 10 11:11:06 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:19:07 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:28:04 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:39:14 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:46:34 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:53:01 2016: Skipping line, it has been already sent (1465570141 < 1465570142) : 9117-MMD*1021F8B:AIX_71:5:1465570141:Fri Jun 10 11:49:01 2016 version 4.84-3:3808000000|4:AIX_7:0::mem:::25165824:14487516:10678308:2937376:3131980:11355536:pgs:::0:0:1024:1:::lan:en0:10.140.55.211:5733443906:2070291399:::::cpu:::0:1:2:5:::san:vscsi0::0:15200:0:4:::san_resp:vscsi0::0.0:147.5:::::san:vscsi1::0:15200:0:4:::san_resp:vscsi1::0.0:214.7::::
Fri Jun 10 11:53:03 2016: Number of errors in the input file: 1
Fri Jun 10 11:53:04 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:58:48 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 11:59:50 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924
Fri Jun 10 12:01:12 2016: Error: /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt-tmp does not exist or 1 > 0 A specified file does not support the ioctl system call. /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1924

Anybody has any suggestions?




Comments

  • What is your version of agent and server?
    agent: rpm -qa|grep lpar2rrd
    server: GUI --> menu --> next to the last item LPAR2RRD

    Cheers,
    Pavel
  • Agent: lpar2rrd-agent-4.84-3
    Server: 4.85 Free

    This is the only lpar with issues, I have 30+ lpars wich are ok. I upgraded the server and agents on all lpars.

  • 2 things:
    1. check lpar2rrd server daemon log if there is not anything related to that client
    logs/error.log-daemon

    2. upgrade agent to 4.84-5 which should tell more about the problem
    get it from here: http://www.lpar2rrd.com/agent/

  • 1. I have a lot of error regarding the client, which is the server running lpar2rrd.
    2. After upgrade I get this when I force run:

    store file for sending is /var/tmp/lpar2rrd-agent-10.140.55.211-root.txt
    Fri Jun 10 13:27:57 2016: wrong server response: agent_time:1465571101 : recv_time: :
    Fri Jun 10 13:27:57 2016: Error: Not all data has been sent out, refused line: 9117-MMD*1021F8B:AIX_71:5:1465571101:Fri Jun 10 12:05:01 2016 version 4.84-3:3808000000|4:AIX_7:0::mem:::25165824:14497108:10668716:2937756:3134556:11362552:pgs:::0:0:1024:1:::lan:en0:10.140.55.211:5738384163:2107127612:::::cpu:::0:3:9:5:::san:vscsi0::18000:30900:0.2:7.9:::san_resp:vscsi0::37.9:215.2:::::san:vscsi1::8.5:30900:0:7.9:::san_resp:vscsi1::0.0:202.4:::: /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1955

    On the server error.log-daemon I get:

    Fri Jun 10 13:27:57 2016: updating 9117-MMD*1021F8B:AIX_71 : /home/lpar2rrd/lpar2rrd/data/9117-MMD*1021F8B/10.10.64.25/AIX_71/san-vscsi0.mmm : ERROR: /home/lpar2rrd/lpar2rrd/data/9117-MMD*1021F8B/10.10.64.25/AIX_71/san-vscsi0.mmm: not a simple unsigned integer: '0.2' at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 820
    /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl:826 :
    Fri Jun 10 13:27:57 2016: Unprocessed data from agent : 9117-MMD*1021F8B:AIX_71 : san:vscsi0::18000:30900:0.2:7.9::, only first error occurence is reported ) /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl:985 :
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    Fri Jun 10 13:27:57 2016: Client communication failed - client: (10.140.55.211): ERROR: /home/lpar2rrd/lpar2rrd/data/9117-MMD*1021F8B/10.10.64.25/AIX_71/san-vscsi1.mmm: not a simple unsigned integer: '8.5' at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 833 :

  • You have installed 4.80+ agent9s) before upgrade server to 4.80.
    There is some incompatibility between a new agent and older server and some DB files were created wrong. (vscsi and sas statistics files)
    This will remove them and they will be re-created again properly:
    cd /home/lpar2rrd/lpar2rrd
    --> delete *san-vscsi*.mmm and \*san-sissas\*\.mmm files

    # just listing them
    $ find ../ -name \*san-vscsi\*\.mmm
    $ find ../ -name \*san-sissas\*\.mmm

    # removing them
    $ find ../ -name \*san-vscsi\*\.mmm -exec rm {} \;
    $ find ../ -name \*san-sissas\*\.mmm -exec rm {} \;
  • Thank you very much, now everything is working as it should.
Sign In or Register to comment.