HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.31 + SG A.11.19 modular + samba package
Operating System - HP-UX
1827286
Members
1757
Online
109717
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-12-2010 10:23 AM
02-12-2010 10:23 AM
HPUX 11.31 + SG A.11.19 modular + samba package
Hi
I configured a samba package to export some files from a vg using the new modular SG feature. I also intend to configure another samba package for other purpose
As explained in the docs, in the package configuration file, I set
ecmt/samba/samba/CONF_FILE /mzsmbdv/smb.conf.${NETBIOS_NAME}
ecmt/samba/samba/SMBD_PID_FILE /mzsmbdv/locks/smbd.pid
ecmt/samba/samba/NMBD_PID_FILE /mzsmbdv/locks/nmbd.pid
cmapplyconf was fine.
'/mzsmbdv' is a directory mounted at package startup.
The package startup fails in function 'start_samba_server' of hasmb.sh since it is looking for files in '/mzsmbdv/locks/smbd.pid' & '/mzsmbdv/locks/nmbd.pid' that never exists.
After investigation, I found that they are created in /var/opt/samba/locks :
smdb-smb.conf.MZRL2DV.pid
nmdb-smb.conf.MZRL2DV.pid
'MZRL2DV' is the NETBIOS variable in my package conf file. So the name is not 'smbd.pid' nor 'nmbd.pid'
At startup, it seems that nmbd and smbd process ignore the variable definition 'SMBD_PID_FILE' & 'NMBD_PID_FILE'
As a workaround I can change the lock dir on a local filesystem, but the filename will still not match.
Any suggestion is welcome.
Thanks for your help.
I configured a samba package to export some files from a vg using the new modular SG feature. I also intend to configure another samba package for other purpose
As explained in the docs, in the package configuration file, I set
ecmt/samba/samba/CONF_FILE /mzsmbdv/smb.conf.${NETBIOS_NAME}
ecmt/samba/samba/SMBD_PID_FILE /mzsmbdv/locks/smbd.pid
ecmt/samba/samba/NMBD_PID_FILE /mzsmbdv/locks/nmbd.pid
cmapplyconf was fine.
'/mzsmbdv' is a directory mounted at package startup.
The package startup fails in function 'start_samba_server' of hasmb.sh since it is looking for files in '/mzsmbdv/locks/smbd.pid' & '/mzsmbdv/locks/nmbd.pid' that never exists.
After investigation, I found that they are created in /var/opt/samba/locks :
smdb-smb.conf.MZRL2DV.pid
nmdb-smb.conf.MZRL2DV.pid
'MZRL2DV' is the NETBIOS variable in my package conf file. So the name is not 'smbd.pid' nor 'nmbd.pid'
At startup, it seems that nmbd and smbd process ignore the variable definition 'SMBD_PID_FILE' & 'NMBD_PID_FILE'
As a workaround I can change the lock dir on a local filesystem, but the filename will still not match.
Any suggestion is welcome.
Thanks for your help.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2010 12:19 PM
02-12-2010 12:19 PM
Re: HPUX 11.31 + SG A.11.19 modular + samba package
Shalom,
Samba is a two process daemon. NETBIOS is not really needed, but you can also run winbind if you are trying to do windows integration.
There are samba integration scripts available for HP-UX, you might want to check into those, or make modifications to hard code the right file names into the package scripts.
SEP
Samba is a two process daemon. NETBIOS is not really needed, but you can also run winbind if you are trying to do windows integration.
There are samba integration scripts available for HP-UX, you might want to check into those, or make modifications to hard code the right file names into the package scripts.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP