- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- linux + ServiceGuard + Samba toolkit 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-13-2004 11:46 PM
06-13-2004 11:46 PM
linux + ServiceGuard + Samba toolkit problem
I install Serviceguard on RHES 3.0. The Serviceguard work Ok. I try to configure the SAMBA toolkit and I can't start the SAMBA package. The SAMBA server runs on both cluster nods OK. I use the Readme file in the toolkit to configure the Samba cluster. When I start the Samba package I get in the log file error: cmrunserv: Unable to complete command: File exists.
In the attached file there is the configuration file: samba_pkg.cntl, samba_pkg.conf, hasmb.mon and the log files: samba_pkg.cntl.log, /var/log/messages.
Thanks Tal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 10:51 PM
06-14-2004 10:51 PM
Re: linux + ServiceGuard + Samba toolkit problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 11:16 PM
06-14-2004 11:16 PM
Re: linux + ServiceGuard + Samba toolkit problem
I am using Serviceguard for Linux A.11.15 and Samba Toolkit version A.01.00-0. According to the web site I didnâ t see any problem to install on RHES 3.0.
http://www.software.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=T2341BA
T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2004 11:40 PM
06-14-2004 11:40 PM
Re: linux + ServiceGuard + Samba toolkit problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 01:41 AM
06-15-2004 01:41 AM
Re: linux + ServiceGuard + Samba toolkit problem
The core of the error seems to be
Jun 14 11:01:28 nod-1 cmcld: Unable to start service samba_pkg (it is already active)
Looking package log, we see that service is starting twice, and fails in the second chance, for obvious reason.
Could you attach /usr/local/cmcluster/conf/samba_pkg/toolkit.sh and the complete /usr/local/cmcluster/conf/samba_pkg/samba_pkg.cntl and /usr/local/cmcluster/conf/samba_pkg/hasmb.mon?
Celso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:52 PM
06-15-2004 11:52 PM
Re: linux + ServiceGuard + Samba toolkit problem
Attached is the entire configuration file for the samba package.
Thanks Tal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2004 07:36 AM
06-16-2004 07:36 AM
Re: linux + ServiceGuard + Samba toolkit problem
My findings:
1 - According to instructions on toolkit header, you should call this script with start or stop only. You are using monitor instead.
2 - The script slice where the prob occurs is:
# Check if cmrunserv should be called the old way without a restart count.
if [ "$SMB_SERVICE_RESTART" = "" ]
then
cmrunserv $SMB_SERVICE_NAME ">> $0.log 2>&1 $service_cmd"
else
cmrunserv $SMB_SERVICE_RESTART $SMB_SERVICE_NAME ">> $0.log 2>&1 $service_cmd"
fi
>> more specific in else statement. It would translate:
cmrunserv -r 0 samba_pkg ">> samba_pkg.cntl.log 2>&1 /usr/local/cmcluster/conf/samba_pkg/hasmb.mon"
This would call
/usr/local/cmcluster/conf/samba_pkg/toolkit.sh monitor
I dont know how cmrunserv runs, but it seems there is a problem once you´re starting monitor again after is has already been started in the normal start of package(hasmb.sh, function launch_monitor_service)
It seems you should not use toolkit.sh to monitor the service.
My suggestions:
- dont use toolkit.sh to monitor the service, use hasmb.mon instead.
- Turn shell verbose, including set -x at the beggining of hasmb.sh. It will tell us much more about what´s been executed.
Good luck!!
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2005 05:27 AM
04-30-2005 05:27 AM
Re: linux + ServiceGuard + Samba toolkit problem
I had the same problem for the linux sendmail service guard toolkit.
I had defined the hasendmail.monitor SERVICE in the the package control script (for the package control script to start it). But the toolkit.sh script launch the hasendmail.sh script that starts the hasendmail.monitor SERVICE.
So when the cluster try to start it (as defined in the package control script), it fails because the service is already started by the toolkit.sh (hasendmail.sh) script.
I have an question : is better to start the SERVICE with the toolkit.sh (hasendmail.sh) or with the package control file ?
Thanks ;-)
Cheers.