<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: perl script help needed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291935#M641785</link>
    <description>&lt;P&gt;Hi (again):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me underscore what I said, before:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/24839"&gt;@James R&lt;/a&gt;. Ferguson wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@zxcv wrote:&lt;BR /&gt;&lt;P&gt;i have found smethng from net ..that usuually its not able to get the hostname....&lt;/P&gt;&lt;P&gt;/usr/opt/perl5/lib/5.8.8/aix-thread-multi﻿/Socket.pm&amp;nbsp; .........&lt;/P&gt;&lt;P&gt;my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnels&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, you're running on AIX not HP-UX.&amp;nbsp; Yes, I suspect that hostnames longer than the classic 8-character limit are a problem.&amp;nbsp; Why not test on a host whose name is =&amp;lt; 8 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You're clearly running the script on AIX, not HP-UX.&amp;nbsp; That said, I strongly suspect, given the relative age of the Perl version (5.8.8) that the C-library support for hostnames longer than the classic 8-character limit is supported.&amp;nbsp;&amp;nbsp; You previously showed us:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BEGIN failed--compilation aborted at /tmp/test.pl line 60.
Use of uninitialized value in subroutine entry at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.
Compilation failed in require at /tmp/test.pl line 60.
BEGIN failed--compilation aborted at /tmp/test.pl line 60.﻿... &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;...which points to the 'Socket' module not "playing nicely" with what the the dynamic library loader 'XSLoader' loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My suggestions are two: (1) Verify that everything works with a hostname that is &amp;lt;= 8-characters (which I'm sure it will); and (2) consider upgrading to a current Perl version and/or contact IBM support to ascertain how/if they support hostnames in excess of 8-characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2011 16:13:21 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2011-08-04T16:13:21Z</dc:date>
    <item>
      <title>perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5288963#M641773</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp; a perl script which we use for ftp , m not able to update the ftplog contents.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 12:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5288963#M641773</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-02T12:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289175#M641775</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@zxcv wrote:&lt;BR /&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have&amp;nbsp; a perl script which we use for ftp , m not able to update the ftplog contents.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;And that tells us nothing.&amp;nbsp; I assume that you are running the standard HP-UX 'ftpd' daemon. What release of HP-UX?&amp;nbsp; Do you mean that the 'xferlog' isn't being updated?&amp;nbsp; If not, do you have 'ftpd' configured with '-i in '/etc/inetd.conf'?&amp;nbsp; Do you have an 'ftpaccess' file that overrides that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this logging failure only occur with your Perl script or does a command line FTP fail to log too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 15:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289175#M641775</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-02T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289643#M641777</link>
      <description>Hi James ,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;m gettng problem via script..&lt;BR /&gt;&lt;BR /&gt;wen m startng the script like ;&lt;BR /&gt;&lt;BR /&gt;nohup /usr/bin/perl -w /tmp/test.pl -p -d 2 &amp;amp;﻿&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BEGIN failed--compilation aborted at /tmp/test.pl line 60.&lt;BR /&gt;Use of uninitialized value in subroutine entry at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.&lt;BR /&gt;Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.&lt;BR /&gt;Compilation failed in require at /tmp/test.pl line 60.&lt;BR /&gt;BEGIN failed--compilation aborted at /tmp/test.pl line 60.﻿...</description>
      <pubDate>Wed, 03 Aug 2011 05:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289643#M641777</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-03T05:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289739#M641778</link>
      <description>&lt;P&gt;&amp;gt;compilation aborted at /tmp/test.pl line 60.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would help if you could show what was on line 60 and print the values of any variables being used there.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2011 07:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289739#M641778</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-03T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289751#M641779</link>
      <description>60 use Data::Dumper ; # Used only for debugging statements&lt;BR /&gt;&lt;BR /&gt;vim /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm&lt;BR /&gt;92 # See comment block above&lt;BR /&gt;93 push(@DynaLoader::dl_shared_objects, $file); # record files loaded&lt;BR /&gt;94 return &amp;amp;$xs(@_);&lt;BR /&gt;M not able to attache my perl script here ?? why is it so ..&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2011 07:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289751#M641779</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-03T07:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289899#M641780</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have found smethng from net ..that usuually its not able to get the hostname....&lt;/P&gt;&lt;P&gt;/usr/opt/perl5/lib/5.8.8/aix-thread-multi﻿/Socket.pm&amp;nbsp; .........&lt;/P&gt;&lt;P&gt;my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnelse..&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2011 09:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5289899#M641780</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-03T09:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5290079#M641781</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@zxcv wrote:&lt;BR /&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have found smethng from net ..that usuually its not able to get the hostname....&lt;/P&gt;&lt;P&gt;/usr/opt/perl5/lib/5.8.8/aix-thread-multi﻿/Socket.pm&amp;nbsp; .........&lt;/P&gt;&lt;P&gt;my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnelse..&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, you're running on AIX not HP-UX.&amp;nbsp; Yes, I suspect that hostnames longer than the classic 8-character limit are a problem.&amp;nbsp; Why not test on a host whose name is =&amp;lt; 8 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually *posting* the entire script would be more informative then piece-meal, vague descriptions of behavior and observations :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2011 12:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5290079#M641781</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-03T12:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5290913#M641782</link>
      <description>Hi ,&lt;BR /&gt;M not able to attach my perl script here ?? why is it so</description>
      <pubDate>Thu, 04 Aug 2011 05:10:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5290913#M641782</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-04T05:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291255#M641783</link>
      <description>&lt;P&gt;&amp;gt;M not able to attach my perl script here? why is it so&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(It would be helpful if you didn't use texting shortcuts, used spell check and fairly complete sentences.&amp;nbsp; And proper capitalization would be a plus.&amp;nbsp; :-)&lt;/P&gt;&lt;P&gt;You can go back and edit your posts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps you don't have the right suffix, try .txt.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 09:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291255#M641783</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-04T09:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291847#M641784</link>
      <description>&lt;P&gt;Hi , let me chk ..&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 15:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291847#M641784</guid>
      <dc:creator>zxcv</dc:creator>
      <dc:date>2011-08-04T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: perl script help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291935#M641785</link>
      <description>&lt;P&gt;Hi (again):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me underscore what I said, before:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/24839"&gt;@James R&lt;/a&gt;. Ferguson wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@zxcv wrote:&lt;BR /&gt;&lt;P&gt;i have found smethng from net ..that usuually its not able to get the hostname....&lt;/P&gt;&lt;P&gt;/usr/opt/perl5/lib/5.8.8/aix-thread-multi﻿/Socket.pm&amp;nbsp; .........&lt;/P&gt;&lt;P&gt;my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnels&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, you're running on AIX not HP-UX.&amp;nbsp; Yes, I suspect that hostnames longer than the classic 8-character limit are a problem.&amp;nbsp; Why not test on a host whose name is =&amp;lt; 8 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You're clearly running the script on AIX, not HP-UX.&amp;nbsp; That said, I strongly suspect, given the relative age of the Perl version (5.8.8) that the C-library support for hostnames longer than the classic 8-character limit is supported.&amp;nbsp;&amp;nbsp; You previously showed us:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BEGIN failed--compilation aborted at /tmp/test.pl line 60.
Use of uninitialized value in subroutine entry at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm line 94.
Compilation failed in require at /tmp/test.pl line 60.
BEGIN failed--compilation aborted at /tmp/test.pl line 60.﻿... &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;...which points to the 'Socket' module not "playing nicely" with what the the dynamic library loader 'XSLoader' loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My suggestions are two: (1) Verify that everything works with a hostname that is &amp;lt;= 8-characters (which I'm sure it will); and (2) consider upgrading to a current Perl version and/or contact IBM support to ascertain how/if they support hostnames in excess of 8-characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 16:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-script-help-needed/m-p/5291935#M641785</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-04T16:13:21Z</dc:date>
    </item>
  </channel>
</rss>

