- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba - Shared memory problem
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
06-02-2003 05:54 AM
06-02-2003 05:54 AM
Samba - Shared memory problem
We have a samba share running on a production machine that up until Friday was running OK. This morning Samba has stopped. After restarting it, the following is displayed as a restuly of smbstatus:
GSDI smbuser GRP1 25159 smbpc-hq (152.108.131.164) Thu May 29 12:08:53 2003
ERROR: root did not create the semaphore
ERROR: Failed to initialise share modes
Can't initialise shared memory - exiting
Although it shows a connection, that pc can't see the share. Also I have been told that samba creates semaphore/message queues with keys including 2802. Assuming this, samba is only creating a semaphore but NOT a message queue. The output of ipcs|grep 2802 is:
s 33062 0x00280269 --ra-ra-ra- root sys
So far I have stopped samba, killed the semaphore and started samba again. Situation is still as above.
Any help greatly appreciated.
Cheers,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 06:02 AM
06-02-2003 06:02 AM
Re: Samba - Shared memory problem
Both are dynamically changable without a machine boot. Message queues are more used by database software like oracle and adabas but will have to be adequate as well.
Don't increase shmmax to more than 25% of available memory, which is defined as physical memory plus swap, it won't help to go higher than that.
I am attaching the link to the CIFS/9000 samba software which is free at software.hp.com and some peformance data collection scripts.
Good Luck,
CIFS/9000
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA
Client
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8724AA
Documentation:
http://www.docs.hp.com/hpux/onlinedocs/B8725-90003/B8725-90003.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 06:04 AM
06-02-2003 06:04 AM
Re: Samba - Shared memory problem
did u checked any kernel values to be set for samba?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 06:10 AM
06-02-2003 06:10 AM
Re: Samba - Shared memory problem
In answer to your questions:
Unfortunately upgrading to the lastest version is not currently an option. And as is the reason for not touching the Kernel values, samba was running fine last Friday (30/05) unitl it was rebooted. I'll give them a check just to see if they were changed though..
Cheers,
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 07:54 AM
06-02-2003 07:54 AM
Re: Samba - Shared memory problem
You could try disabling opclocks in your smb.conf file.
If you are running HP's CIFS/9000 - then I would upgrade....
I'm actually running:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=CIFSTP22
in semi production with no problems what so ever...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:10 AM
07-22-2003 05:10 AM
Re: Samba - Shared memory problem
I have the same problem with samba, yesterday all was going well, and this morning i get this error:
[2003/07/21 16:04:11, 1] /tmp/smbinst/source/smbd/server.c:(666)
smbd version 2.0.7.006 started.
Copyright Andrew Tridgell 1992-1998
[2003/07/21 16:04:21, 0] /tmp/smbinst/source/locking/shmem_sysv.c:(613)
ERROR: root did not create the semaphore: semgid=240, rootgid=502
[2003/07/21 16:04:21, 0] /tmp/smbinst/source/locking/locking.c:(178)
ERROR: Failed to initialise share modes
Did you fix your problem?? I am running the version 2.0.7.006 for tandem.
Thanks
Phil