- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help with Error message please
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
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
09-11-2002 12:14 PM
09-11-2002 12:14 PM
Help with Error message please
gnuzip < tablename.trx.gz > tablename.trx &
sleep
then the import of the trx using the uniface import utility. My question is, is this a system level error, that requires any kernel parameter modifications, or is this erro message not related to kernel or processes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:51 PM
09-11-2002 08:51 PM
Re: Help with Error message please
I don't really understand your usage of the "gunzip" command here.
To achieve the same results as your command you could simply use:
"gunzip tablename.trx"
Is there something special you need to do by using redirected STDIN and STDOUT?
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 09:24 PM
09-11-2002 09:24 PM
Re: Help with Error message please
If you typed ^C or ^\ in frustration when the application appeared to hang, you might have indirectly caused that error message to appear.
The 'interrupted system call' message corresponds to the EINTR error code from a system call. Quoting from the manual page for
read(2):
If a read() is interrupted by a signal before it reads any data, it will return -1 with errno set to [EINTR].
Quoting from the manual page for errno(2):
[EINTR] Interrupted system call. An asynchronous signal (such as interrupt or quit), which the user has elected to catch, occurred during a system call. If execution is
resumed after processing the signal, it will appear as if the interrupted system call returned this error condition unless the system call is restarted (see sigvector(2)).
A sample program:
Compile and run this, then type ^C after
it starts but before typing anything else:
#include
#include
#include
/* Define a handler to trap ^C when typed but do nothing */
void
handler(int n)
{
}
main(int argc, char *argv[])
{
char buf[100]; /* a buffer for read */
signal(SIGINT, handler); /* catch ^C */
/* read 100 bytes from tty */
/* and complain if can't complete read */
if (read(0, &buf, 100) != 100)
perror("read");/* show error reason */
}
When run, if I type ^C the program
replies:
read: Interrupted system call
Intelligent programs will often test the result from the read() and restart the read silently if they encounter this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 07:52 AM
09-12-2002 07:52 AM
Re: Help with Error message please
Thanks again
Ps. thank you for all the c but unfortunatly thats just like japaneese to me. Never really had the time to sit and learn C. Its on my list of things to do before I pass.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 08:13 AM
09-12-2002 08:13 AM