Could not start Agent on a Solaris 5.10u2 x86 machine
Hi,
I installed SunMC 3.6.1 on a Solaris 5.10u2 x86 machine. Only Agent
and Concole are installed.
There's no error during installation and setup, but the agent could not be started.
# /opt/SUNWsymon/sbin/es-start -a
Could not start Agent.
After running svcs -x, I could see:
# svcs -x
svc:/application/management/sunmcagent:default has no "restarter" property group; ignoring.
svc:/application/management/sunmcplatform:default has no "restarter" property group; ignoring.
svc:/application/print/server:default (LP print server)
State: disabled since Mon Aug 21 10:41:38 2006
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: lpsched(1M)
Impact: 2 dependent services are not running. (Use -v for list.)
# svcs -v
offline - Aug_21 - svc:/application/print/ipp-listener:default
offline - Aug_21 - svc:/application/print/rfc1179:default
- - - svc:/application/management/sunmcagent:default
How to solve this problem? Any help is appreciated.
Hal
Hi Hal, :)
# /opt/SUNWsymon/sbin/es-start -a
Could not start Agent.I've seen this before too. "svcadm enable/disable sunmcagent" didn't fix things. But for some reason if I started the agent interactively (es-start -ai) it worked... and I let the Agent load a few modules and verified it worked in the Console. Then once I quit out of interactive mode (thereby stopping the Agent) svcadm enable/disable and es-start/stop worked correctly again.
I had that happen to me 2-3 times now, and every time mucking about in interactive mode a bit fixed it. It must reset something in svcs.
Regards,
[email protected]
http://www.HalcyonInc.com
Similar Messages
-
Hi, I've managed to install SMC3.6 agent on a Solaris 8 platform but I was unable to start my agent. I get "Could not start agent" whenever i invoked the ./es-start -a command.
I've removed SMC3.6 agent and installed with 3.5 and it works. But I still prefer to use 3.6.
Do I require any patches for SMC3.6 agents?I've tried "sh -x" like you asked me to and I get:
# sh -x
# ./es-start -aOops, I meant "sh -x es-start -a". "sh -x" should
show you every line of the startup shell script as
it's being run. But it looks like you found the
problem anyways...
couldn't load file "pkgsymon.so": ld.so.1: esd:
fatal: relocation error: file
/opt/SUNWsymon/base/lib/sparc-sun-solaris2.8/
liblaccess.so.1.0: symbol free_proflist:referenced
symbol not found
invalid command name "unordered_slice" while
executing "unordered_slice internal value"
invoked from within "source toe-basic.toe"
invoked from within "source base-$file.tcl"I'm no expert with Solaris libraries, but it looks
like the files "pkgsymon.so" or "liblaccess.so.1.0"
can't be found. You said that you had other Solaris 8
systems that run 3.6 fine: can you see where they
have those files:
find /opt/SUNWsymon -name pkgsymon.so
find /opt/SUNWsymon -name liblaccess.so.1.0
...then if they are in the right place (or exist at
all) on the problem box? And does it have a
/opt/SUNWsymon/base/lib/sparc-sun-solaris2.8
directory?
Maybe SunMC detected the wrong version of Solaris on
install or something, and either didn't install the
proper libraries, or put them in sparc-sun-solaris2.7
or sparc-sun-solaris2.9?
Does you root user have different environment
variables set (i.e. LD_LIBRARY_PATH) on the problem
box than on the ones that work?
At this point i'm just guessing: 3.6 is so new I
haven't had a lot of debugging time with it. Worst
case you can call Sun support and yell at them...
(just kidding, please don't do that :) )
Regards,
[email protected]
Hi Mike,
Found the 2 files in the /opt/SUNsymon. Checked and confirmed /opt/SUNWsymon/base/lib/sparc-sun-solaris2.8 is there. Will try touse sunchecktool to see if i need any patch fer that fella.
Anyway, about yelling at the Sun guys. That's a good one! :)
Thanks! -
"Could not start Agent" with SunMC 3.6.1 on Red Hat Enterprise release 4
Hi everyone,
I'm trying to install the Linux agent from the SunMC 3.6.1 installation dvd on a RedHat system (kernel 2.6). The installation seems to go fine, but while seting up the agent I recieve the following eror:
/opt/SUNWsymon/base/sbin/xget: error while loading shared libraries: libxcfg.so.1.0: cannot open shared object file: No such file or directory
/opt/SUNWsymon/base/sbin/xput: error while loading shared libraries: libxcfg.so.1.0: cannot open shared object file: No such file or directory
Naturally, in the end you get the message "Could not start Agent"...
Has anybody experienced this with a RedHat system or any other Linux system?
Best Regards,
EmeraldHi!
I am trying to install SunMC 4.0 agent in a Red Hat Enterprise Linux AS release 4 (whith a SunMC server installed in a Solaris 10 platform).
I had installed the agent in the Red Hat, but the agent did not start.
I got this messages from the agent.log ( the same messages that Emerald)
[00000000 0046 ]info May 14 10:19:25 agent Channel already exists: syslog......................
[00000001 0048 ]info May 14 10:19:25 agent using ip mode for URL addressing....................
[00000002 003b ]info May 14 10:19:25 agent enabling timed jobs.................................
[00000003 004d ]info May 14 10:19:25 agent subagent registry successfully loaded...............
[00000004 005a ]info May 14 10:19:25 agent loading trap actions: subagent-manager-trap-action..
[00000005 0040 ]info May 14 10:19:25 agent startLegacySubagents: <>............................
[00000006 003e ]info May 14 10:19:25 agent activating MIB objects..............................
[00000007 0047 ]info May 14 10:19:25 agent *** shutting down subagents ***.....................
[00000008 005d ]error May 14 10:19:25 agent stopemd: action command script em-daemon.sh not found.
[00000009 007b ]error May 14 10:19:25 agent invalid dictionary entry: internal outBoundTrap in b
ase-agent.x(221) at token '???'............................................................................
[0000000a 0042 ]error May 14 10:19:25 agent *** aborting execution ***..........................
[0000000b 0046 ]info May 14 10:20:29 agent Channel already exists: syslog......................
[0000000c 0048 ]info May 14 10:20:29 agent using ip mode for URL addressing....................
[0000000d 003b ]info May 14 10:20:29 agent enabling timed jobs.................................
[0000000e 004d ]info May 14 10:20:29 agent subagent registry successfully loaded...............
[0000000f 005a ]info May 14 10:20:29 agent loading trap actions: subagent-manager-trap-action..
[00000010 0040 ]info May 14 10:20:29 agent startLegacySubagents: <>............................
[00000011 003e ]info May 14 10:20:29 agent activating MIB objects..............................
[00000012 0047 ]info May 14 10:20:29 agent *** shutting down subagents ***.....................
[00000013 005d ]error May 14 10:20:29 agent stopemd: action command script em-daemon.sh not found
Had anyone resolve this isue?? or had any ideas to resolve it??
Thanks in advance.
maza -
Could not start the Oracle Agent service on local computer
I have Oracle Enterprise 9.2.0.1 on Windows 2000 server,
When I'm starting the Agent service I get this message:
"Could not start the OracleOra9201Agent service on local computer.
The service didn't return an error.This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator."
Could you please help me to fix this problem? What I should do??Are you using DHCP or using static IP address?
Also search forum , you ight get lots of thread addressing same issue. -
Could not start Oracle Agent Service
I have Oracle 8.17 Enterprise Edition installed on Windows 2000
Advanced Server. After the server boots and tries to start
Oracle services, it fails to start the Oracle Agent Service and
gives the following error:
"Could not start the OracleORA817Agent Service on Local
Computer. Error 3221356551:"
Because of this, none of the other Oracle Service start either.
If you have any suggestions, please let me know.
Thanks.
-ianHi,
In w2k advance server, I have two database (db1 and db2), they
have its own listener (list01 and list02). I can sqlplus to two
databases.
After i combined the two listeners to one listener (named
listenerA) in registry, the following error occured when i
sqlplus:
TNS: listener cannot resolve the SERVICE_NAME
In registry, I deleted services for listener01 and 02
in "service in w2k". And add listenerA to service and start it.
I found that db1 abd db2 are not started (no new event showing
database started or altered in alert_log) even w2k show "service
started". When I user database configuation to "reconfigure
database" (just click next and finish), i can sqlplus to the db1
and db2.
So, i think it's not the problem of listenerA, may be the
database is not start or partly start. But I don't know whether
I have delete wrongly in registry or anything wrong. Can anyone
help me ?
I have stopped the oracle agent in w2k service, is it related to
problem ?
Moreover, when i created a new db3 with listenerB, it works
normally even restart the db3 service.
Thanks for your kind attention -
Could not start cache agent for the requested data store
Hi,
This is my first attempt in TimesTen. I am running TimesTen on the same Linux host (RHES 5.2) that running Oracle 11g R2. The version of TimesTen is:
TimesTen Release 11.2.1.4.0
Trying to create a simple cache.
The DSN entry for ttdemo1 in .odbc.ini is as follows:
+[ttdemo1]+
Driver=/home/oracle/TimesTen/timesten/lib/libtten.so
DataStore=/work/oracle/TimesTen_store/ttdemo1
PermSize=128
TempSize=128
UID=hr
OracleId=MYDB
DatabaseCharacterSet=WE8MSWIN1252
ConnectionCharacterSet=WE8MSWIN1252
Using ttisql I connect
Command> connect "dsn=ttdemo1;pwd=oracle;oraclepwd=oracle";
Connection successful: DSN=ttdemo1;UID=hr;DataStore=/work/oracle/TimesTen_store/ttdemo1;DatabaseCharacterSet=WE8MSWIN1252;ConnectionCharacterSet=WE8MSWIN1252;DRIVER=/home/oracle/TimesTen/timesten/lib/libtten.so;OracleId=MYDB;PermSize=128;TempSize=128;TypeMode=0;OracleNetServiceName=MYDB;
(Default setting AutoCommit=1)
Command> call ttcacheuidpwdset('ttsys','oracle');
Command> call ttcachestart;
*10024: Could not start cache agent for the requested data store. Could not initialize Oracle Environment Handle.*
The command failed.
The following is shown in the tterrors.log:
15:41:21.82 Err : ORA: 9143: ora-9143--1252549744-xxagent03356: Datastore: TTDEMO1 OCIEnvCreate failed. Return code -1
15:41:21.82 Err : : 7140: oraagent says it has failed to start: Could not initialize Oracle Environment Handle.
15:41:22.36 Err : : 7140: TT14004: TimesTen daemon creation failed: Could not spawn oraagent for '/work/oracle/TimesTen_store/ttdemo1': Could not initialize Oracle Environment Handl
What are the reasons that the daemon cannot spawn another agent? FYI the environment variables are set as:
ORA_NLS33=/u01/app/oracle/product/11.2.0/db_1/ocommon/nls/admin/data
ANT_HOME=/home/oracle/TimesTen/ttdemo1/3rdparty/ant
CLASSPATH=/home/oracle/TimesTen/ttdemo1/lib/ttjdbc5.jar:/home/oracle/TimesTen/ttdemo1/lib/orai18n.jar:/home/oracle/TimesTen/ttdemo1/lib/timestenjmsxla.jar:/home/oracle/TimesTen/ttdemo1/3rdparty/jms1.1/lib/jms.jar:.
oracle@rhes5:/home/oracle/TimesTen/ttdemo1/info% echo $LD_LIBRARY_PATH
/home/oracle/TimesTen/ttdemo1/lib:/home/oracle/TimesTen/ttdemo1/ttoracle_home/instantclient_11_1:/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib:/lib:/usr/lib:/usr/ucblib:/usr/local/lib
CheersSure thanks.
Here you go:
Daemon environment:
_=/bin/csh
DISABLE_HUGETLBFS=1
SYSTEM=TEST
INIT_FILE=/u01/app/oracle/product/10.1.0/db_1/dbs/init+ASM.ora
GEN_APPSDIR=/home/oracle/dba/bin
LD_LIBRARY_PATH=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/ttoracle_home/instantclient_11_1:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/lib:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/ttoracle_home/instantclient_11_1:/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib:/lib:/usr/lib:/usr/ucblib:/usr/local/lib
HOME=/home/oracle
SPFILE_DIR=/u01/app/oracle/backup/+ASM/initfile_dir
TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
INITFILE_DIR=/u01/app/oracle/backup/+ASM/initfile_dir
HTMLDIR=/home/oracle/+ASM/dba/html
HOSTNAME=rhes5
TEMP=/oradata1/tmp
PWD=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/bin
HISTSIZE=1000
PATH=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/bin:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/oci:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/odbc:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/odbc/xla:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/jdbc:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/odbc_drivermgr:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/proc:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/ttclasses:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/quickstart/sample_code/ttclasses/xla:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/ttoracle_home/instantclient_11_1:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/ttoracle_home/instantclient_11_1/sdk:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/3rdparty/ant/bin:/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/platform/SUNW,Ultra-2/sbin:/u01/app/oracle/product/11.2.0/db_1:/u01/app/oracle/product/11.2.0/db_1/bin:.
GEN_ADMINDIR=/home/oracle/dba/admin
CONTROLFILE_DIR=/u01/app/oracle/backup/+ASM/controlfile_dir
ETCDIR=/home/oracle/+ASM/dba/etc
GEN_ENVDIR=/home/oracle/dba/env
DATAFILE_DIR=/u01/app/oracle/backup/+ASM/datafile_dir
BACKUPDIR=/u01/app/oracle/backup/+ASM
RESTORE_ARCFILES=/u01/app/oracle/backup/+ASM/restorefile_dir/restore_arcfiles.txt
TMPDIR=/oradata1/tmp
CVS_RSH=ssh
ARCLOG_DIR=/u01/app/oracle/backup/+ASM/arclog_dir
REDOLOG_DIR=/u01/app/oracle/backup/+ASM/redolog_dir
INPUTRC=/etc/inputrc
LOGDIR=/home/oracle/+ASM/dba/log
DATAFILE_LIST=/u01/app/oracle/backup/+ASM/datafile_dir/datafile.list
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
PS1=rhes5:($ORACLE_SID)$
G_BROKEN_FILENAMES=1
SHELL=/bin/ksh
PASSFILE=/home/oracle/dba/env/.ora_accounts
LOGNAME=oracle
ORA_NLS10=/u01/app/oracle/product/11.2.0/db_1/nls/data
ORACLE_SID=mydb
APPSDIR=/home/oracle/+ASM/dba/bin
ORACLE_OWNER=oracle
RESTOREFILE_DIR=/u01/app/oracle/backup/+ASM/restorefile_dir
SQLPATH=/home/oracle/dba/bin
TRANDUMPDIR=/tran
RESTORE_SPFILE=/u01/app/oracle/backup/+ASM/restorefile_dir/restore_spfile.txt
RESTORE_DATAFILES=/u01/app/oracle/backup/+ASM/restorefile_dir/restore_datafiles.txt
ENV=/home/oracle/.kshrc
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CONNECTION=50.140.197.215 62742 50.140.197.216 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
TERM=xterm
GEN_ETCDIR=/home/oracle/dba/etc
SP_FILE=/u01/app/oracle/product/10.1.0/db_1/dbs/spfile+ASM.ora
ORACLE_BASE=/u01/app/oracle
ASTFEATURES=UNIVERSE - ucb
ADMINDIR=/home/oracle/+ASM/dba/admin
SSH_CLIENT=50.140.197.215 62742 22
TZ=GB
SUPPORT=oracle@linux
ARCHIVE_LOG_LIST=/u01/app/oracle/backup/+ASM/arclog_dir/archive_log.list
USER=oracle
RESTORE_TEMPFILES=/u01/app/oracle/backup/+ASM/restorefile_dir/restore_tempfiles.txt
MAIL=/var/spool/mail/oracle
EXCLUDE=/home/oracle/+ASM/dba/bin/exclude.lst
GEN_LOGDIR=/home/oracle/dba/log
SSH_TTY=/dev/pts/2
RESTORE_INITFILE=/u01/app/oracle/backup/+ASM/restorefile_dir/restore_initfile.txt
HOSTTYPE=i386-linux
VENDOR=intel
OSTYPE=linux
MACHTYPE=i386
SHLVL=1
GROUP=dba
HOST=rhes5
REMOTEHOST=vista
EDITOR=vi
ORA_NLS33=/u01/app/oracle/product/11.2.0/db_1/ocommon/nls/admin/data
ODBCINI=/home/oracle/.odbc.ini
TT=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/
SHLIB_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1//lib
ANT_HOME=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/3rdparty/ant
CLASSPATH=/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/lib/ttjdbc5.jar:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/lib/orai18n.jar:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/lib/timestenjmsxla.jar:/home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/3rdparty/jms1.1/lib/jms.jar:.
TT_AWT_PLSQL=0
NLS_LANG=AMERICAN_AMERICA
NLS_COMP=ANSI
NLS_SORT=BINARY
NLS_LENGTH_SEMANTICS=BYTE
NLS_NCHAR_CONV_EXCP=FALSE
NLS_CALENDAR=GREGORIAN
NLS_TIME_FORMAT=hh24:mi:ss
NLS_DATE_FORMAT=syyyy-mm-dd hh24:mi:ss
NLS_TIMESTAMP_FORMAT=syyyy-mm-dd hh24:mi:ss.ff9
ORACLE_HOME=
DaemonCWD = /home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/info
DaemonLog = /home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/info/tterrors.log
DaemonOptionsFile = /home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/info/ttendaemon.options
Platform = Linux/x86/32bit
SupportLog = /home/oracle/TimesTen/11.2.1.4.0/TimesTen/ttimdb1/info/ttmesg.log
Uptime = 136177 seconds
Backcompat = no
Group = 'dba'
Daemon pid 8111 port 53384 instance ttimdb1
End of report -
Could not find agent library on the library path or in the local directory
Hi all,
I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
1) I've added #include <mysql++.h>
2) and I've added mysqlpp::Connection conn(false); (global variable)
I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
Below the code:
-- analizer.cpp --
#include <iostream>
#include <stdlib.h>
#include <jni.h>
#include <string.h>
#include <jvmti.h>
#include <mysql++.h>
#include "ClassDetail.cpp"
#define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
static void checkForNull(void *ptr, const char* file, int line) {
if(ptr == NULL) {
std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
abort();
static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
jvmtiError errNum;
char *name;
errNum = jvmti->GetErrorName(err, &name);
if( errNum != JVMTI_ERROR_NONE) {
std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
abort();
return name;
#define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
if(err != JVMTI_ERROR_NONE) {
char *name = getErrorName(jvmti, err);
std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
abort();
static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
static void startGCEvent(jvmtiEnv *jvmti_env);
static void finishGCEvent(jvmtiEnv *jvmti_env);
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
jrawMonitorID lock;
int gc_count;
long heapSize = 0;
bool heapCheck = false;
mysqlpp::Connection conn(false);
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
std::cout<<"OnLoad\n";
jint rc;
jvmtiEnv *jvmti = NULL;
jvmtiError err;
jvmtiCapabilities capabilities;
jvmtiEventCallbacks callbacks;
rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
if( rc != JNI_OK) {
std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
return -1;
CFN(jvmti);
err = jvmti->GetCapabilities(&capabilities);
CJVMTIE(jvmti, err);
CFN(&capabilities);
capabilities.can_generate_garbage_collection_events = true;
capabilities.can_tag_objects = true;
CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
callbacks.VMInit = &vmInit;
callbacks.GarbageCollectionStart = &startGCEvent;
callbacks.GarbageCollectionFinish = &finishGCEvent;
CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
return 0;
JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
std::cout<<"OnUnload\n";
static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
std::cout << "worker";
for (;;) {
CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
while (gc_count == 0) {
CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
jvmti->RawMonitorExit(lock);
gc_count = 0;
jvmti->RawMonitorExit(lock);
/* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
if(!heapCheck) {
heapCheck = true;
jint count;
jclass *classes;
CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
for(int i = 0; i < count; i++) {
char *sig;
CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
CFN(sig);
details[i] = ClassDetail(strdup(sig));
CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
heapSize = 0;
CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
std::cout << "Heap Memory : " << heapSize<<'\n';
heapCheck = false;
static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
jclass clazz = jni->FindClass("java/lang/Thread");
jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
jthread _thread = jni->NewObject(clazz, mid);
CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
static void startGCEvent(jvmtiEnv *jvmti) {
static void finishGCEvent(jvmtiEnv *jvmti) {
std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
gc_count++;
CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
if(tag != (jlong) 0) {
std::cout << "Tag : " << tag<< '\n';
ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
char *sig = detail->getSignature();
std::cout << "Class " << sig << " size : " << size<<'\n';
heapSize += size;
return JVMTI_ITERATION_CONTINUE;
-- ClassDetail.cpp --class ClassDetail {
private:
char* signature;
public:
ClassDetail(char* signature){
this->signature = signature;
char* getSignature() { return this->signature;}
--Makefile--########################################################################
# Sample GNU Makefile for building JVMTI Demo waiters
# Example uses:
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
# gnumake JDK=<java_home> OSNAME=linux [OPT=true]
# gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
# Source lists
LIBNAME=analizer
SOURCES=analizer.cpp
MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
# Solaris Sun C Compiler Version 5.5
ifeq ($(OSNAME), solaris)
# Tell gnumake which compilers to use
CC=cc
CXX=CC
# Sun Solaris Compiler options needed
COMMON_FLAGS=-mt -KPIC
# Check LIBARCH for any special compiler options
LIBARCH=$(shell uname -p)
ifeq ($(LIBARCH), sparc)
COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
endif
ifeq ($(LIBARCH), sparcv9)
COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
endif
ifeq ($(OPT), true)
CXXFLAGS=-xO2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-z defs -ztext
# Libraries we are dependent on
LIBRARIES= -lc
# Building a shared library
LINK_SHARED=$(LINK.cc) -G -o $@
endif
# Linux GNU C Compiler
ifeq ($(OSNAME), linux)
# GNU Compiler options needed to build it
COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
# Options that help find errors
COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
ifeq ($(OPT), true)
CXXFLAGS=-O2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
LDFLAGS += -lmysqlpp
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=$(LINK.cc) -shared -o $@
endif
# Windows Microsoft C/C++ Optimizing Compiler Version 12
ifeq ($(OSNAME), win32)
CC=cl
# Compiler options needed to build it
COMMON_FLAGS=-Gy -DWIN32
# Options that help find errors
COMMON_FLAGS+=-W0 -WX
ifeq ($(OPT), true)
CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
else
CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.obj)
# Library name and options needed to build it
LIBRARY=$(LIBNAME).dll
LDFLAGS=
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=link -dll -out:$@
endif
# Common -I options
CXXFLAGS += -I.
#CXXFLAGS += -I../agent_util
CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
# Default rule
all: $(LIBRARY)
# Build native library
$(LIBRARY): $(OBJECTS)
$(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
# Cleanup the built bits
clean:
rm -f $(LIBRARY) $(OBJECTS)
# Simple tester
test: all
LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
#LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
# Compilation rule only needed on Windows
ifeq ($(OSNAME), win32)
%.obj: %.cpp
$(COMPILE.cc) $<
endifDid you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).
-
Could not start the hyperion workspace-web application Error 1067
Hi,
I have installed hyperion from scratch in a distributed environment...everything was working fine.......i.e. shared services, workspace, essbase, sql server, and hfm. I was able to logon and navigate different options in the hyperion products...but essbase stopped working when I re-started all four servers ....?
(1) When I restarted all four servers and stopped and restarted all hyperion services as per giving sequence then everything works fine but essbase EAS console and workspace web console...i was getting error message " could not connect to administration server" whenever i try to connect EAS console to essbase then I went to services there I saw workspace agent and workspace web application service is down.
(2) as soon as I started those both services then my shared services automatically stopped but I was able to logon in Essbase console and workspace console but my shared services are down...
(3) as soon as I start shared service they started but my workspace agent and workspace web application automatically stopped...and when I try to start again workspace web application then I get this error "[ Could not start the hyperion workspace-web application services on local computer. Error 1067: the process terminated unexpectedly]"
I have been searching online and googling but have a hard luck to get some best solution for this...can some one help me or guide me to walk through with this issue...
Thank you very much in advance ...
Regards,
SafiI solved this issue...It was with Hyperion Services those were stop responding some how.....but I stopped each service and restarted then those started working again...
Regards,
Safi -
Could not find agent library in absolute path
Hi,
I have a JVMTI agent which works on windows that I am trying to port to linux.
I have compiled to code on Ubuntu 10.04 using Eclipse and have created shared library .so file.
When I try to run an application with the agentpath argument, I get the error: "Could not find agent library in absolute path"
When trying to run the mtrace sample from the java JDK, it works fine.
My Java version is:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
I also tried running nm | grep Agent_OnLoad and got the following:
00029220 T Agent_OnLoad
00036230 b ZGVZ12AgentOnLoadE4data
00030720 r ZZ12AgentOnLoadE19__PRETTY_FUNCTION__
00036240 b ZZ12AgentOnLoadE4data
My agent references several libraries such as boost asio and log4cxx could it be related somehow to these?
I think it might be some sort of compilation issue because on windows it works fine.
ThanksI managed to solve my problem.
It turned out that the error was caused by missing referenced libraries that were not linked in to my so file.
Once I added all of the required libraries, the agent started working. -
Dear all,
I'm experiencing a rather strange issue with the "asadmin" utility for Sun ONE Application Server 7 on Solaris 9, where the default domain "domain1" could not be found.
Whenever the command "asadmin start-domain --domain domain1" is issued, the error,
Could not start the domain.
domain1 is not a registered domainWhen I check the Sun ONE Application Server's installation directory, I found two files "domains.lck" and "domains.bin" both with 0 bytes length.
I've checked with another Sun ONE Application Server's installation directory and found that "domains.bin" is not 0 bytes in length.
Any idea on how to resolve this issue?
Thanks in advance.Found a solution.
After uninstalling the SUN ONE Application Server, some packages must be removed as stipulated in the post with SunOne ID:7887.
The processes must be killed as well.
After that, the /opt/SUNWappserver7 directory was removed as well.
Reinstalling the application server did not cause any problems. Even the domain "domain1" was registered properly as well!
However, when starting the "domain1", the following error was found in the server.log,
[27/Jan/2004:18:25:08] INFO ( 720): CORE1116: Sun ONE Application Server 7.0.0_01
[27/Jan/2004:18:25:08] INFO ( 721): CORE3016: daemon is running as super-user
[27/Jan/2004:18:25:10] INFO ( 721): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_02] from [Sun Microsystems Inc.]
[27/Jan/2004:18:25:10] SEVERE ( 721): CORE4007: Internal error: Unexpected Java exception thrown (unknown exception, no description), stack: java.lang.NoClassDefFoundError: com/sun/messaging/jmq/jmsclient/JMSXATopicConnectionFactoryImpl
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl.getJMSAdmin(JMSAdminFactoryImpl.java:53)
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl.getJMSAdmin(JMSAdminFactoryImpl.java:39)
at com.iplanet.ias.jms.IASJmsUtil.getJMSAdminFactory(IASJmsUtil.java:99)
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:157)
at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
[27/Jan/2004:18:25:10] SEVERE ( 721): CORE3186: Failed to set configurationAny workarounds would be greatly appreciated... Thanks!! -
Could not start the Hyperion Shared Services and hypservice service termi..
Hi,
I have to small issues on my Windows 2003 Server Service Pack 2.
1. Error 1053 Could not start the Hyperion Shared Services
2. The Hyperion S9 BI+ Analytic Services 9.3.1 - hypservice service terminated unexpectedly. It has done this 1 time(s).
Has anyone encountered them before and an idea how to fix these errors?
Furthermore, when I start my Administration Service Console and try to Login Oracle Hyperion 9.3.1 tells me "Could not connect to Administration Server".
Is this related to my two errors?
Thanks,
metalrayYes, you are right, that showed me the next* error:
When I run the essbase agent (essbase.exe) it shows me
Error(1051518)
Analytical Services global application does not exist at Shared Services
I did all the configuration and deregistration (all green lights now)
*hope I am on the path to enlightenment here -
Error : Could not start the SSO service. Please check the configuration
Hi,
I am getting the above error when enabling the"Agent-Based Windows Single Sign-On with Active Directory (Kerberos0".
I already twice did the KTpass.Timing is perfect bet CAS and AD.Please look into this CAS LOG file and advice me the next step to solve this issue.
Thanks
swamiUntil you perform the configuration on the AD server, the following message will appear:
Error: Could not start the SSO service. Please check the configuration.
So configure the AD server so that the error message will not appear again. -
I'm using Oracle Linux 6u6. While I'm installing openstack ( 2 node set up) using packstack, I'm getting this error:
Applying 10.245.33.37_cinder.pp
10.245.33.37_keystone.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 10.245.33.37_keystone.pp
Error: Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone start' returned 1: Starting keystone: [FAILED]
You will find full trace in log /var/tmp/packstack/20150327-100335-ltC8Ic/manifests/10.245.33.37_keystone.pp.log
Please check log file /var/tmp/packstack/20150327-100335-ltC8Ic/openstack-setup.log for more information
Additional information:
* A new answerfile was created in: /root/packstack-answers-20150327-100336.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* Did not create a cinder volume group, one already existed
* File /root/keystonerc_admin has been created on OpenStack client host 10.245.33.37. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://10.245.33.37/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
Packages:
[root@slcai461 ~]# rpm -qa|grep keystone
python-keystoneclient-0.9.0-5.el6.noarch
python-keystone-2014.1.3-2.el6.noarch
openstack-keystone-2014.1.3-2.el6.noarch
[root@slcai461 ~]# rpm -qa|grep packstack
openstack-packstack-puppet-2014.1.1-0.12.dev1068.0.4.el6.noarch
openstack-packstack-2014.1.1-0.12.dev1068.0.4.el6.noarch
Log :
[root@slcai461 ~]# cat /var/tmp/packstack/20150327-100335-ltC8Ic/manifests/10.245.33.37_keystone.pp.log
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Keystone]): The sql_connection parameter is deprecated, use database_connection instead.
Warning: Scope(Class[Keystone]): token_format parameter is deprecated. Use token_provider instead.
Warning: Scope(Class[Keystone::Endpoint]): The public_address parameter is deprecated, use public_url instead.
Warning: Scope(Class[Keystone::Endpoint]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Keystone::Endpoint]): The admin_address parameter is deprecated, use admin_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The cinder parameter is deprecated and has no effect.
Notice: Compiled catalog for slcai461.us.oracle.com in environment production in 1.60 seconds
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Notice: /Stage[main]/Keystone/Keystone_config[DEFAULT/admin_token]/value: value changed '[old secret redacted]' to '[new secret redacted]'
Notice: /Stage[main]/Keystone/Keystone_config[database/connection]/value: value changed '[old secret redacted]' to '[new secret redacted]'
Notice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]: Triggered 'refresh' from 3 events
Notice: /Stage[main]/Keystone/Exec[keystone-manage pki_setup]: Triggered 'refresh' from 2 events
Error: Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone start' returned 1: Starting keystone: [FAILED]
Wrapped exception:
Execution of '/sbin/service openstack-keystone start' returned 1: Starting keystone: [FAILED]
Error: /Stage[main]/Keystone::Service/Service[keystone]/ensure: change from stopped to running failed: Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone start' returned 1: Starting keystone: [FAILED]
Notice: /Stage[main]/Keystone::Service/Service[keystone]: Triggered 'refresh' from 5 events
Notice: /Stage[main]/Neutron::Keystone::Auth/Keystone_service[neutron]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone_service[neutron]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[admin]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[admin]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova_ec2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova_ec2]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_service[cinderv2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_service[cinderv2]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_service[novav3]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_service[novav3]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[services]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_tenant[services]: Skipping because of failed dependencies
Notice: /Stage[main]/Neutron::Keystone::Auth/Keystone_user[neutron]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone_user[neutron]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_user[nova]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_user[nova]: Skipping because of failed dependencies
Notice: /Stage[main]/Glance::Keystone::Auth/Keystone_user[glance]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Glance::Keystone::Auth/Keystone_user[glance]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Roles::Admin/Keystone_role[admin]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_role[admin]: Skipping because of failed dependencies
Notice: /Stage[main]/Glance::Keystone::Auth/Keystone_user_role[glance@services]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Glance::Keystone::Auth/Keystone_user_role[glance@services]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Endpoint/Keystone_service[keystone]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Endpoint/Keystone_service[keystone]: Skipping because of failed dependencies
Error: Could not prefetch keystone_endpoint provider 'keystone': Execution of '/usr/bin/keystone --os-endpoint http://127.0.0.1:35357/v2.0/ endpoint-list' returned 1: An unexpected error prevented the server from fulfilling your request. (HTTP 500)
Notice: /Stage[main]/Keystone::Endpoint/Keystone_endpoint[RegionOne/keystone]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Endpoint/Keystone_endpoint[RegionOne/keystone]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Keystone_service[cinder_v2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Main/Keystone_service[cinder_v2]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Keystone_endpoint[RegionOne/cinder_v2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Main/Keystone_endpoint[RegionOne/cinder_v2]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/novav3]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/novav3]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_service[cinder]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_service[cinder]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_endpoint[RegionOne/cinder]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_endpoint[RegionOne/cinder]: Skipping because of failed dependencies
Notice: /Stage[main]/Glance::Keystone::Auth/Keystone_service[glance]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Glance::Keystone::Auth/Keystone_service[glance]: Skipping because of failed dependencies
Notice: /Stage[main]/Glance::Keystone::Auth/Keystone_endpoint[RegionOne/glance]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Glance::Keystone::Auth/Keystone_endpoint[RegionOne/glance]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_user_role[nova@services]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_user_role[nova@services]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]: Skipping because of failed dependencies
Notice: /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[admin@admin]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[admin@admin]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_user[cinder]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_user[cinder]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/nova_ec2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/nova_ec2]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_endpoint[RegionOne/cinderv2]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_endpoint[RegionOne/cinderv2]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova]: Skipping because of failed dependencies
Notice: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/nova]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/nova]: Skipping because of failed dependencies
Notice: /Stage[main]/Neutron::Keystone::Auth/Keystone_user_role[neutron@services]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone_user_role[neutron@services]: Skipping because of failed dependencies
Notice: /Stage[main]/Neutron::Keystone::Auth/Keystone_endpoint[RegionOne/neutron]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone_endpoint[RegionOne/neutron]: Skipping because of failed dependencies
Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_user_role[cinder@services]: Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_user_role[cinder@services]: Skipping because of failed dependencies
Notice: Finished catalog run in 3.10 seconds
Please let me know how to fix this.This problem connected with proxy-setings.
As the first steps you should try:
1. export system env variable:
http_proxy=http://www-proxy.ru.oracle.com:80
https_proxy=https://www-proxy.ru.oracle.com:80
no_proxy=127.0.0.1,localhost
and you can also export
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=root
export OS_AUTH_URL=http://<conntroller_IP>:5000/v2.0/
2. and than restart mysqld, if it is running, stop iptables and repeat installation process from beginning with the currently generated answer file
if we are exporting variable OS_PASSWORD, its value should be the same as value for CONFIG_KEYSTONE_ADMIN_PW in the currently generated answer file.
This OS_PASSWORD will be written by packstack in the /root/keystonerc_admin file and will be used as admin's password for login to Openstack dashboard. -
SDM Deployment Failed--SDM could not start the J2EE cluster on the DB Host
HI,
I am trying to deploy ESS packges in EP through SDM.But while deploying I am getting this error in SDM at the start itself:-
Error: An error occured while starting a cluster instance.
Oct 14, 2008 5:14:41 PM Error: There is no clutser control instance running on host SBPEPDB1 which is described in SecureStorage
Please check if there is an appropriate running cluster instances
SDM could not start the J2EE cluster on the host SBPEPDB1! The online deployment is terminated.
There is no clutser control instance running on host SBPEPDB1 which is described in SecureStorage
I am pasting the full LOG File details:-
Oct 14, 2008 6:32:00 PM Info: Starting cluster instance processes.
Oct 14, 2008 6:32:00 PM Error: An error occured while starting a cluster instance.
Oct 14, 2008 6:32:00 PM Error: There is no clutser control instance running on host SBPEPDB1 which is described in SecureStorage . The instances, returned by MessageServer [MS host: SBPEPCI1; MS port: 3900], are :
Name:JM_T1223989073901_0_CPCAPP109
Host:SBPEPCI1
State:5
HostAddress:172.17.131.38
Name:JC_CPCAPP109_EPP_01
Host:CPCAPP109
State:5
HostAddress:172.17.131.31
Please check if there is an appropriate running cluster instances.
Oct 14, 2008 6:32:00 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Oct 14, 2008 6:32:00 PM Error: Aborted: development component 'pcui_gp/isr/cfg'/'sap.com'/'MAIN_ERP05VAL_C'/'2515722'/'0', grouped by software component 'SAPPCUI_GP'/'sap.com'/'MAIN_ERP05VAL_C'/'1000.600.0.13.0.20080516101947''/'0':
SDM could not start the J2EE cluster on the host SBPEPDB1! The online deployment is terminated.
There is no clutser control instance running on host SBPEPDB1 which is described in SecureStorage .
The instances, returned by MessageServer [MS host: SBPEPCI1; MS port: 3900], are :
Name:JM_T1223989073901_0_CPCAPP109
Host:SBPEPCI1
State:5
HostAddress:172.17.131.38
Name:JC_CPCAPP109_EPP_01
Host:CPCAPP109
State:5
HostAddress:172.17.131.31
Please check if there is an appropriate running cluster instances.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
Oct 14, 2008 6:32:04 PM Info: Starting to save the repository
Oct 14, 2008 6:32:05 PM Info: Finished saving the repository
Oct 14, 2008 6:32:07 PM Info: Starting: Initial deployment: Selected software component 'SAPPCUI_GP'/'sap.com'/'MAIN_ERP05VAL_C'/'1000.600.0.13.0.20080516101947''/'0' will be deployed.
Oct 14, 2008 6:32:07 PM Error: Aborted: software component 'SAPPCUI_GP'/'sap.com'/'MAIN_ERP05VAL_C'/'1000.600.0.13.0.20080516101947''/'0':
Failed deployment of SDAs:
development component 'pcui_gp/isr/cfg'/'sap.com'/'MAIN_ERP05VAL_C'/'2515722'/'0' : aborted
Please, look at error logs above for more information!
I have checked the CONFIGTOOl and the properties seem to be OK.
I tried SHUTTING DOWN all APPLICATION servers & Restarting the DEPLOYMENT,but it still Failed
Pls suggest.
Regards,
Abhijeet
IHi George,
Thnx for your reply.
I have stopped all Application servers and kept only the CI-DB instances running.Retried deploying the ESS packages but still getting the same error.
Have checked the Visual admin,it is not in SAFE mode,it working normally.
Have alos checked the CLUSTER Manager Property Values in both Visual Admin & Config Tool,they are alright.
About the Cluster Resources,can you pls specify what exactly do you mean by "Cluster Resources are running or not".
I think if the application servers are stopped,then the Cluster resources shudnt come into play right?? Correct me if I am wrong.
Kindly suggest what other steps I shud take.
Regards,
Abhijeet -
Could not start transport control program tp while releasing the TR
Hello experts,
i have a problem if any one phase this kind of problem & if u know the solution please share to me its urgent
problem in Development system ,for this i had updated kernel , TP patch level , R3trans patch level in development and quality system , but still the problem is occurring in development system . while releasing the Transport Request this error is coming that too not in frequently some times it is happening some times it not happening ( some times its working fine )
Could not start transport control program tp
Message no. TP608 Diagnosis
There was an attempt to start the transport control program tp using the local RFC interface. An
error occurred here.
Error code: 4
RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
Meaning of the error codes:
03 RFC system failure
04 RFC communication failure
System Response
The function terminates. Details about the error can be found in the trace file of the Gateway
Monitor (SMGW).
Procedure
Contact your system administrator or use report RSTPTEST to localize the error. You can then
execute the command again.
please suggest me what can i do for better , how can i resolve this issue
Thanks & Regards,
NarasimhaHello experts ,
Last one and half month on-words we are phasing some problems on STMS
while releasing the Transport Request getting this error messages on
status-bar
1. "could not start transport control program tp"
2. while importing the TR into quality system getting this error message" RFC Error :timeout during allocate/CPIC-CALL "
3.while forwarding the TR from QAS to PRD : " RFC Error :timeout during
allocate/CPIC-CALL "
after continues refreshing,we are able to release the request and importthe request into quality system. But after some time again same problem
coming
for this we did the kernel upgrade , tp , & R3trans update and STMS RE-
Configuration etc...But no use with this we got the same problem after
finishing all these workaround , but don't know what happened after 2-3
days STMS starts working fine DEV-QAS-PRD ,
Now we are in the same problem after continues refreshing,we are able torelease the request and import the request into quality system. But after
some time again same problem coming
please suggest us what could be the reason behind this & what we can do
for better
Maybe you are looking for
-
Setting up my first site in 20 years and going through the domain name registration. I have an existing site (not Muse) that's running just fine but I'm adding on a new site and hoping to use Muse and possibly Business Catalyst. My question is proba
-
Ok, so today I dropped my iPhone on my desk and a little of the plastic part on the iPhone 4S that surrounds the screen, chipped off. My 1 year warranty ends January 5. What is my chance that apple will replace my iphone? Thanks
-
FTP dictionary attack - how to prevent ?
I'm already searched the board but haven't found a solution for our problem: During the last weeks the server was being hit by attacks looking like a dictionary attack. Someone tries to log in by ftp thousands of times. This made the server to reboot
-
No tengo la resolucion especificada en el producto Z50-70
Hola comunidad, Mi problema es el siguiente compre la lenovo z50-70 con resolucion especificada de 1920*1080 pero en las opciones de resolucion de windows esta solo llega a 1366*780. Ademas El adaptador de monitor que tengo es el integrado de intel y
-
AGILE IT PARTNERS ANNOUNCES "FORTE TO JAVA MIGRATION" DISCUSSION FORUM In response to the Forte community's request for a forum to discuss Forte to Java migration topics, Agile IT Partners has responded by hosting a forum on their website. The forum