- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Invalid address to attach the shared memory se...
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
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
06-14-2004 04:32 AM
06-14-2004 04:32 AM
Invalid address to attach the shared memory segment (1173)
Our HP-UX (10.20) stopped respond over the weekend. I am not able to telnet into the server (blank screen, blinking cursor.) I hard booted it and everything comes back correctly. When I tried to restart our database (Progress MFG/Pro), an error message "Invalid address to attach the shared memory segment (1173)" is displayed follow with "There is no server for database /db1/db. (1423)". I need a quick help to determine what is wrong and need to get the database up and running as all the people here are waiting for it to do their work. Thanks many times!!!
UX newbie,
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 04:46 AM
06-14-2004 04:46 AM
Re: Invalid address to attach the shared memory segment (1173)
Identify all segments where NATTACH is zero. Remove those with ipcrm and check
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 04:55 AM
06-14-2004 04:55 AM
Re: Invalid address to attach the shared memory segment (1173)
I'm not quite sure what do you mean. Can you give me a bit more details? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 05:04 AM
06-14-2004 05:04 AM
Re: Invalid address to attach the shared memory segment (1173)
ipcs will show you the shared memory segments, who own them etc. Sometime it may happen that a segment is not deattched proprly. In that case you can remove it with ipcrm command.
You should also try to look if there are any databse processes rnnning or not?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 05:28 AM
06-14-2004 05:28 AM
Re: Invalid address to attach the shared memory segment (1173)
Now I see what you're saying. I saw one of the line with NATTH 03, so I removed it and the same problem presist. Below is all that I've left...
------------------------------------------------
IPC status from /dev/kmem as of Mon Jun 14 10:25:35 2004
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH
Shared Memory:
m 0 0x2f100002 --rw------- root sys root sys 42
m 2 0x4e0c0002 --rw-rw-rw- root root root root 23
m 3 0x412007b1 --rw-rw-rw- root root root root 23
------------------------------------------------
Need more help. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 05:39 AM
06-14-2004 05:39 AM
Re: Invalid address to attach the shared memory segment (1173)
You can that with kmtune -lq shmmax. OR through SAM.
Seems that your progress database is not getting the enough shared memory. You can also download free toold shminfo (shred memory information tool) from
floowing link.
hprc.external.hp.com/sysadmin/programs/shminfo/ (login=contrib,pw=9unsupp8).
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 06:13 AM
06-14-2004 06:13 AM
Re: Invalid address to attach the shared memory segment (1173)
I'm not sure what does the "kmtune" command does, but it's not in my server... It has been down for 3hrs now and I'm getting desperate... :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 06:30 AM
06-14-2004 06:30 AM
Re: Invalid address to attach the shared memory segment (1173)
Once system reboots, try starting Progress. Post.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 06:41 AM
06-14-2004 06:41 AM
Re: Invalid address to attach the shared memory segment (1173)
I restarted the server with both soft and hard boot and it doesn't do the trick. The problem could lie on the Progress side, that I'm not sure. Are you familiar with Progress? When I tried to start the production database, I received the follow errors...
Invalid address to attach the shared memory segment (1173)
There is no server for database /db1/db (1423)
** The server terminated with ext code 2. (800)
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 07:00 AM
06-14-2004 07:00 AM
Re: Invalid address to attach the shared memory segment (1173)
Post following outputs. (run these commands as root)
echo "shmmax/D"|adb -k /stand/vmunix /dev/kmem
ipcs -mobp
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 08:51 AM
06-14-2004 08:51 AM
Re: Invalid address to attach the shared memory segment (1173)
That doesn't work either. The server did take the first command you gave me. I started to think it seems like the database is haven't a problem starting and not the UNIX... but thanks for your help anyway. If you got any other idea, please let me know. :)
- Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 12:51 AM
06-15-2004 12:51 AM
Re: Invalid address to attach the shared memory segment (1173)
/use/bin/echo "shmmax/D"|adb -k /stand/vmunix /dev/kmem
/usr/bin/ipcs -mobp
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 01:58 AM
06-15-2004 01:58 AM
Re: Invalid address to attach the shared memory segment (1173)
This is NOT a shm problem.
Do NOT turn those kmtune knobs!
If those settings where fine last night, they are still good enough today.
This is assuming the DB configuration was not changed. Was it?
What else was not changed :-).
Seriously, any recent changes? More buffers? more files?
The messages strongly suggest that the db crashed and had a problem coming back up.
Do you have a db stop / start procedure?
Run it manually and see what gives.
Do you know anything about the db structure? Are it's files still there?
Do a find /db1/db -atime +1 to find out what what touched recently?
Any "*log" file modifoed recently?
Do you have right to MFG/Pro support? call them!
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 05:00 AM
06-15-2004 05:00 AM
Re: Invalid address to attach the shared memory segment (1173)
It turns out to be the Progress problem. We had QAD (our database company) fixed the problem. They've time-stamp problem when we use OSBackup instead of their own backup utility (call Probackup). The problem doesn't lie on the UNIX side. No wonder we can't figure it out. :) Thanks, guys.
- Harry