- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perl script help needed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 05:51 AM
08-02-2011 05:51 AM
perl script help needed
Hi ,
i have a perl script which we use for ftp , m not able to update the ftplog contents.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 08:57 AM
08-02-2011 08:57 AM
Re: perl script help needed
@zxcv wrote:Hi ,
i have a perl script which we use for ftp , m not able to update the ftplog contents.
And that tells us nothing. I assume that you are running the standard HP-UX 'ftpd' daemon. What release of HP-UX? Do you mean that the 'xferlog' isn't being updated? If not, do you have 'ftpd' configured with '-i in '/etc/inetd.conf'? Do you have an 'ftpaccess' file that overrides that?
Does this logging failure only occur with your Perl script or does a command line FTP fail to log too?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 10:32 PM
08-02-2011 10:32 PM
Re: perl script help needed
m gettng problem via script..
wen m startng the script like ;
nohup /usr/bin/perl -w /tmp/test.pl -p -d 2 &
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 12:20 AM
08-03-2011 12:20 AM
Re: perl script help needed
>compilation aborted at /tmp/test.pl line 60.
It would help if you could show what was on line 60 and print the values of any variables being used there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 12:28 AM
08-03-2011 12:28 AM
Re: perl script help needed
vim /usr/opt/perl5/lib/5.8.8/aix-thread-multi/XSLoader.pm
92 # See comment block above
93 push(@DynaLoader::dl_shared_objects, $file); # record files loaded
94 return &$xs(@_);
M not able to attache my perl script here ?? why is it so ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 02:32 AM
08-03-2011 02:32 AM
Re: perl script help needed
Hi
i have found smethng from net ..that usuually its not able to get the hostname....
/usr/opt/perl5/lib/5.8.8/aix-thread-multi/Socket.pm .........
my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnelse..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 05:06 AM
08-03-2011 05:06 AM
Re: perl script help needed
@zxcv wrote:Hi
i have found smethng from net ..that usuually its not able to get the hostname....
/usr/opt/perl5/lib/5.8.8/aix-thread-multi/Socket.pm .........
my hostname is testserver...is it greater than 8 char so itss d probm ????? or smthgnelse..
Hi:
So, you're running on AIX not HP-UX. Yes, I suspect that hostnames longer than the classic 8-character limit are a problem. Why not test on a host whose name is =< 8 ?
Actually *posting* the entire script would be more informative then piece-meal, vague descriptions of behavior and observations :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 10:10 PM
08-03-2011 10:10 PM
Re: perl script help needed
M not able to attach my perl script here ?? why is it so
- Tags:
- attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 01:58 AM - edited 08-04-2011 02:00 AM
08-04-2011 01:58 AM - edited 08-04-2011 02:00 AM
Re: perl script help needed
>M not able to attach my perl script here? why is it so
(It would be helpful if you didn't use texting shortcuts, used spell check and fairly complete sentences. And proper capitalization would be a plus. :-)
You can go back and edit your posts.
Perhaps you don't have the right suffix, try .txt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 08:17 AM
08-04-2011 08:17 AM
Re: perl script help needed
Hi , let me chk ..