Hi,

When trying to create dump file using carbondump.sh I am getting the
following but carbondump-2015-07-10_05-22-24.zip is not created in carbon
home. But it's working fine in ubuntu

ubuntu@irham-jenkins:~/wso2carbon-core-4.4.1-SNAPSHOT/bin$ sh carbondump.sh
-carbonHome /home/ubuntu/wso2carbon-core-4.4.1-SNAPSHOT/ -pid 18393

carbondump.sh##Generating the java memory dump...

Attaching to process ID 18393, please wait...

Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
Can't attach to the process

Dumping heap to
/home/ubuntu/wso2carbon-core-4.4.1-SNAPSHOT/carbondump/carbondump-2015-07-10_05-22-24/memoryinfo/java_heap_memory_dump.jmap
...

Heap dump file created

Attaching to process ID 18393, please wait...

Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
Can't attach to the process

Attaching to process ID 18393, please wait...

Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
Can't attach to the process

Attaching to process ID 18393, please wait...

Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
Can't attach to the process

carbondump.sh##Generating the thread dump...

carbondump.sh##Capturing OS information...

(Not all processes could be identified, non-owned process info

 will not be shown, you would have to be root to see it all.)

carbondump.sh: 195: carbondump.sh: rpm: not found

carbondump.sh##Capturing the list of running task in the system...

carbondump.sh##Capturing OS Environment Variables...

carbondump.sh##Generating the checksums of all the files in the CARBON_HOME
directory...

carbondump.sh##Copying log files...

carbondump.sh##Copying conf files...

carbondump.sh##Copying database...

carbondump.sh##Getting a directory listing...

carbondump.sh##Compressing the carbondump...

carbondump.sh: 234: carbondump.sh: zip: not found

carbondump:
/home/ubuntu/wso2carbon-core-4.4.1-SNAPSHOT/carbondump-2015-07-10_05-22-24.zip


Thanks,

Iqbal
-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to