GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Werid Copy Problem
Operating System - HP-UX
1847342
Members
2191
Online
110264
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-21-2000 06:53 AM
12-21-2000 06:53 AM
Werid Copy Problem
Dear all,
Scenerio:
There is a cron job running on a NT box. It copies over some reports files ( they are ASCII files) to another NT box first, then copies them to an HP A180C as well. ( The mount point on this UX server is NFS mounted to the NT box. And they just simply issue a "copy" command).
The copy on the other NT box is OK. But the copy to the UNIX box are corrupted. If you open it up using MS WordPad, you can see the files are being chopped. And these two copied are exactly the same size!!! (which is 2554652Bytes).
I ftp the good file to my Unix box and did a "diff" on the two files. It shows:
Warning: missing newline at end of file file1.txt
Warning: missing newline at end of file file2.txt
...
and then pages and pages of differences.
This cron job on the NT box has been running successfully for months. Could any body tell me what are the possible cause of the problem?
( I also did a lvdisplay on that mount point. No "stale" showing up.)
Thank you very much and happy holidays!!
Sharon
Scenerio:
There is a cron job running on a NT box. It copies over some reports files ( they are ASCII files) to another NT box first, then copies them to an HP A180C as well. ( The mount point on this UX server is NFS mounted to the NT box. And they just simply issue a "copy" command).
The copy on the other NT box is OK. But the copy to the UNIX box are corrupted. If you open it up using MS WordPad, you can see the files are being chopped. And these two copied are exactly the same size!!! (which is 2554652Bytes).
I ftp the good file to my Unix box and did a "diff" on the two files. It shows:
Warning: missing newline at end of file file1.txt
Warning: missing newline at end of file file2.txt
...
and then pages and pages of differences.
This cron job on the NT box has been running successfully for months. Could any body tell me what are the possible cause of the problem?
( I also did a lvdisplay on that mount point. No "stale" showing up.)
Thank you very much and happy holidays!!
Sharon
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 07:50 AM
12-21-2000 07:50 AM
Re: Werid Copy Problem
Hi Sharon,
Did you dos2ux your file on the ux box?
I've seen cases where the files (word and .csv files) were truncated and found out it was in relation with the way windoz manages its fs in NFS (using cache) if the file exited already in you change the file without NT refresh it gives you the new file but with the size it remembers (old)...
But here it looks more like a conversion problem so dos2ux or the otherway round depending...
Good luck
all the best
Victor
Did you dos2ux your file on the ux box?
I've seen cases where the files (word and .csv files) were truncated and found out it was in relation with the way windoz manages its fs in NFS (using cache) if the file exited already in you change the file without NT refresh it gives you the new file but with the size it remembers (old)...
But here it looks more like a conversion problem so dos2ux or the otherway round depending...
Good luck
all the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 07:55 AM
12-21-2000 07:55 AM
Re: Werid Copy Problem
Ascii formats on Unix and PC's are different.
when you use ftp and set the type to ascii it translates the formats. What you are probably doing is translating it to unix copying and then trying to look at it from a pC and hence the differences. What does the script actually do?
when you use ftp and set the type to ascii it translates the formats. What you are probably doing is translating it to unix copying and then trying to look at it from a pC and hence the differences. What does the script actually do?
Minimum effort maximum output!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2000 08:48 AM
12-21-2000 08:48 AM
Re: Werid Copy Problem
The script is as follows:
copy %1 \\tonis120\tonis120\data\ftp\reports\rimms\%2.tmp
copy %1 c:\spool\%2.tmp
( tonis120 is a unix box)
But this script was running fine for the last serveral months. And there's no change in the format of the files.
Is there any possibility that this is network related or any other solutions?
Thanks for your time and effort.
copy %1 \\tonis120\tonis120\data\ftp\reports\rimms\%2.tmp
copy %1 c:\spool\%2.tmp
( tonis120 is a unix box)
But this script was running fine for the last serveral months. And there's no change in the format of the files.
Is there any possibility that this is network related or any other solutions?
Thanks for your time and effort.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP