- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ONTAPE error msg shmat [22]
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
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
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-24-2006 03:34 PM
тАО08-24-2006 03:34 PM
ONTAPE error msg shmat [22]
I'm using Informix for our core database and HP-UX machine as our main server.
I'm using HP-UX B.10.20 U and using Informix IDS ver 7.30.UC10X5, ISQL and i4GL version 7.20.UE1. As backup daily LOG and archive, I run ontape -s and ontape -a command from informix user id. But now I had aproblem with it, when I execute ontape -a or ontape -s command, it shows me the error msg like this ;
usr/informi73@informix $ ontape -a
performing automatic backup of logical logs.
Please mount tape 1 on /dev/rmt/0m and press Return to continue ...
10:56:42 shmat: [22]: operating system error
10:56:42 shmat: [22]: operating system error
10:56:58 shmat: [22]: operating system error 10:57:00 shmat: [22]: operating system error
/usr/informi73@informix $ ontape -s
Please enter the level of archive to be performed (0, 1, or 2) 0 Please mount tape 1 on /dev/rmt/0m and press Return to continue ...
10:57:40 shmat: [22]: operating system error
10:57:41 shmat: [22]: operating system error
10:57:44 shmat: [22]: operating system error
10:57:45 shmat: [22]: operating system error
If we see the error message, it's a O/S error not from Informix, ( many friends also told me )
When I used tape DAT or the tape drive , I can backup and restore the file, with command tar.
Have you ever face this case ? Please advice.
Thank's for your info and help.
Regards,
Ivon JUNAIDI,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 03:54 PM
тАО08-24-2006 03:54 PM
Re: ONTAPE error msg shmat [22]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 01:13 AM
тАО08-25-2006 01:13 AM
Re: ONTAPE error msg shmat [22]
and search for shmat .
With that in mind, check the number of shared memory segments that you have allocated to the database using onstat -g seg.
Check the total size of the V class segments against the onconfig parameters SHMVIRTSIZE.
Then check those values against that of SHMTOTAL. If have run up against SHMTOTAL, then you need to increase that value and also the SHMVIRTSIZE value.
If you have a lot of shared memory segments and they are large, then check the totals against the values of your kernel parameters shmmax, shmmni and shmseg, to ensure that you have not run out of shared memory or identifiers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 04:43 PM
тАО09-04-2006 04:43 PM
Re: ONTAPE error msg shmat [22]
I've done with those parameter changes but after reboot the server, the error still same.
Is there any parameter should change also ?
Thank's for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 08:31 PM
тАО09-04-2006 08:31 PM
Re: ONTAPE error msg shmat [22]
Please tell me the values of these:
How much memory in your system?
How much swap? (swapinfo -tm)
Output of vmstat -S
values of shmmax, shmmni, shmseg
ONCONFIG parameters: SHMVIRTSIZE, BUFFERS, SHMTOTAL, SHMADD
Output of onstat -g seg
Output of ipcs -ma
Are you running more than one instance on the server? If so, then please tell me the values of SERVERNUM for each and the onconfig values of all instances.
There is a known problem (bug?) in that old version of informix where it sometimes gets confused about which shmid it should be attached to, if it has had to allocate more than one segment. This causes the o/s to tell it that it that it cannot attach using shmat().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 09:31 PM
тАО09-04-2006 09:31 PM
Re: ONTAPE error msg shmat [22]
thanks
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2006 06:53 PM
тАО09-06-2006 06:53 PM
Re: ONTAPE error msg shmat [22]
here's the info that you need.
Total Physical Mem = 1048576 KB (1GB)
Swapinfo, vmstat, onstat -g and ipcs-ma OUTPUT I attach in this reply with name info.zip
shmmax=1048576000
shmmni=1024
shmseg=1024
ONCONFIG parameter ;
SHMVIRTSIZE=307200
BUFFERS=40000
SHMTOTAL=0
SHMADD=8192
In my server, it only running one instance.
Thank's for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2006 07:05 PM
тАО09-06-2006 07:05 PM
Re: ONTAPE error msg shmat [22]
I'm sure that I'm using /dev/rmt/0m
I used tar cvf /dev/rmt/0m , it's working fine.
Here the output from ioscan ( attach )
TQ for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2007 07:24 AM
тАО01-31-2007 07:24 AM
Re: ONTAPE error msg shmat [22]
I have the same problem, please you can say me if you solved this problem.
TIA
Gonzalo T.