LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2010, 07:33 AM   #1
rwaters
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
SLES 10 SP2 under z/VM 540 and trying to start IBM EKM software


I am able to start Encryption Key Manager manually, but have not been able to start EKM automatically. How would I get EKM to start following a BOOT? Below is my script ekmlaunch.


ekmserv@LINUXEKM:~/keymanager> pwd
/home/ekmserv/keymanager

ekmserv@LINUXEKM:~/keymanager> cat ekmlaunch
#!/bin/bash
java com.ibm.keymanager.EKMLaunch KeymanagerConfig.properties

Thanks,
Ray Waters
 
Old 03-10-2010, 07:38 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Depends on what flavour/ distribution of Linux you're using, but you want to be looking at init-scripts. Take a look at
Code:
/etc/rc.local
Which is the BSD way of doing it.

Last edited by jamescondron; 03-10-2010 at 07:39 AM. Reason: SysV -> BSD
 
Old 03-12-2010, 10:13 AM   #3
rwaters
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I tried etc/rc.local and tried etc/init.d/rc.local, and neither executed. I then tried etc/after.locan. It does execute, but does not work in this folder.

Here is my new script after.local:
LINUXEKM:/etc/init.d # cat after.local
#!/bin/bash
#
# Start Enterprise Key Manager (EKM)
#
export CLASSPATH=IBMKeyManagementServer.jar
/opt/ibm/java2-s390x-50/ibm-java2-s390x-50/bin/java -cp IBMKeyManagementServer.jar \
com.ibm.keymanager.EKMLaunch KeymanagerConfig.properties

Here is the VM CONSOLE LOG:
Master Resource Control: Running /etc/init.d/after.local""
SFW2-INext-ACC-TCP IN=eth0 OUT= MAC= SRC=172.16.28.25 DST=172.16.28.63
DPT=3801 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (020405B4)
Mar 12 11:09:47 LINUXEKM kernel: ip6_tables: (C) 2000-2006 Netfilter Co
Mar 12 11:09:47 LINUXEKM kernel: ip_tables: (C) 2000-2006 Netfilter Cor
Mar 12 11:09:47 LINUXEKM kernel: Netfilter messages via NETLINK v0.30."
Mar 12 11:09:47 LINUXEKM kernel: ip_conntrack version 2.4 (8192 buckets
The java class is not found: ""
/etc/init.d/after.local: line 7: com.ibm.keymanager.EKMLaunch: command
1A..failedMaster Resource Control: runlevel 3 has been reached""
Skipped services in runlevel 3: "80C"23Dsmbfs nfs splash""
"
"
Welcome to SUSE Linux Enterprise Server 10 SP2 (s390x) - Kernel 2.6.16.
"
"
LINUXEKM login:

If I run this script from /home/ekmserv/keymanager, it works fine and starts up EKM.

What am I missing in my after.local script?

Ray
 
Old 03-12-2010, 10:14 AM   #4
rwaters
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Correction, my new script is in /etc/init.d/after.local

Sorry,
Ray
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES 10 SP2 as a Router Raptor354 Linux - Networking 1 01-10-2009 08:07 PM
Authenticating SLES 10 SP2 after Reinistall house0fdust SUSE / openSUSE 1 09-22-2008 03:41 PM
SLES 10 SP2 and swap space tongar SUSE / openSUSE 1 09-10-2008 09:59 AM
Initialized SLES 8 update over OES SLES 9 SP2 by mistake. Kamenko SUSE / openSUSE 4 03-13-2007 05:21 AM
IBM THinkpad 540 Distro Recommendations pnh73 Linux - Laptop and Netbook 5 10-28-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration