- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: data file editor
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
Forums
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
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
11-16-2000 04:08 PM
11-16-2000 04:08 PM
data file editor
Thanks.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 04:56 PM
11-16-2000 04:56 PM
Re: data file editor
Hi Steve!
Are you sure that the the file is actually corrupted? Is this file a binary file? I don't doubt that you are seeing strange characters, however because the strings(1) command is looking for ASCII strings if it iss run on a binary file, it is normal for some strange characters. (This is why you may also see strange characters when you do a strings on your /etc/lvmtab).
The strings command is just a way to "cheat" and see info. It leverages how strings pulls ascii characters out of unformated files.
So, the best help that I can offer is not to trust strings. If you are looking at a binary file double check that the file is actually corrupt.
Elizabeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 05:01 PM
11-16-2000 05:01 PM
Re: data file editor
Thanks,
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 05:06 PM
11-16-2000 05:06 PM
Re: data file editor
Hi Steve,
I don't know much about database files- but what database are you running? Have you tried to vi the file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 08:26 PM
11-16-2000 08:26 PM
Re: data file editor
My recommendation would be to try to restore the file, or possibly the whole database, from a backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 09:18 PM
11-16-2000 09:18 PM
Re: data file editor
As it looks to be a database data file, you shouldn't even try editing it.
The risk is that you could be facing a total data loss.
If you want to restore that file from a backup, you should restore the whole database (all files) to maintain integrity.
First of all, are you sure that this file is corrupted? Is the database complaining ? Don't trust unix because the operating system has no idea of the file formatting.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 01:02 AM
11-17-2000 01:02 AM
Re: data file editor
I only way to edit a database file is to use the database itself to edit/fix it.
Most database have inbuilt data integrety testing software.
What database does it belong to.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 10:37 AM
11-17-2000 10:37 AM
Re: data file editor
Thanks
steve