Initjvm script causing grief
Hey,
OK, so I am having a bloody nightmare with trying to get my helloWorld Java proc going! This is really important so any help is appreciated! I have seen other messages on this but they are not very helpful..
1. I had loadjava working to a point where I got an invalid column error.
2. I finally managed to find out that JServer was not installed doing some of these queries from user_objects and not finding any starting with JAVA.
3. I finally got to initjvm.sql and before I did this I assigned a bunch of SHARED_POOL space and JAVA_POOL_SIZE and so on as recommended in the install guide.
When I run the script I get strange errors though like this...
create or replace trigger aurora$server$shutdown before shutdown on database call dbms_java.server_shutdown
ERROR at line 1:
ORA-01031: insufficient privileges
I noticed one part did not compile cos dba_rollback_segs did not exist if that means anything.
And now when I run loadjava I get told that DbmsJava class cannot be found, so something must have changed,
All help very very welcome indeed!
Allistair
Allistair,
OK, dumb question: You're logged in as SYS? The trigger with the error looks familiar and is there to shut down any classes which can run as the instance starts up...
Hope this helps,
-Dan
http://www.compuware.com/products/devpartner/db/oracle_debug.htm
Debug PL/SQL and Java in the Oracle Database
Similar Messages
-
GP login script causes windows to crash
We have a script that runs on all computers that opens our intranet. This script crashed Windows build 9926 overtime. Is there any way to fix this. Also I can't install the new build because the HP printers update fails everytime.
Hi,
How did you determined that it is the script caused this problem? If this problem caused by the script indeed, what't the function of this script?
For HP printer problem, it's probably a driver compatibility with new system problem, it would be better to contact HP support to confirm this issue.
Roger Lu
TechNet Community Support -
Image swap script causing crashes.
I am writing a script that will randomly swap images between selected image frames. The script works fine (but it's still slow) on a smaller selection. But once the selection gets past 12/14 items it causes indesign to crash.
any thoughts?
thanks
if (parseFloat(app.version) < 6) {
main();
} else {
app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Swap Images");
function main(){
var mySelection = app.selection;
if (!mySelection.length < 3)
var framesArr = [];
var imagesArr = [];
for(var i = 0; i < mySelection.length; i++)
if(mySelection[i].allGraphics.length && mySelection[i].allGraphics[0].itemLink.status == LinkStatus.NORMAL) {
framesArr.push(mySelection[i]);
imagesArr.push(mySelection[i].allGraphics[0].itemLink.filePath);
randomizeLinks(framesArr, imagesArr);
} else {
alert("Please select three or more image frames");
function randomizeLinks(framesArr, imagesArr)
imagesArrRand = imagesArr.sort(randOrd);
swapImages(framesArr, imagesArrRand);
function randOrd()
return (Math.round(Math.random())-0.5);
function swapImages(frames, links)
for(var j = 0; j < frames.length; j++)
frames[j].allGraphics[0].remove();
//~ $.writeln(frames[j] + " " + links[j] + "\r\r")
frames[j].place(links[j]);Hi tusharde,
AFAIK, ExtendScript does not support the use of Math.random() within an Array.sort(…) callback.
The callback function must provide a stable order.
@+
Marc -
Adobe and script causing slow run
Every once in a while I get a spinning beach ball for about 10 seconds, then a box saying an Adobe Script is causing things to run slow, do I want to abort the script. I do and everything's fine. What is it that's happening? Should I trash Adobe Reader? Preview works fine for me. Thanks.
Message was edited by: dasein
Message was edited by: daseinHI,
What software are you using when you see this dialog box? Adobe Acrobat Reader?? If that is the case ...
First try deleting the associated preference files.
com.adobe.acrobat.90.sh.plist
com.adobe.Readerx869.0plist
com.adobe.Reader.plist
/Users/YourName/Library/Preferences. Drag those files to the Trash, empty the Trash and restart your Mac.
If that doesn't help, drag that Adobe Acrobat Reader app to the Trash then go here and download a new reader file. http://www.adobe.com/downloads/
Carolyn -
[CS4/5][JS] Script causes InDesign to crash
Hello,
I'm having a bit of an issue with some InDesign scripting i'm working on, and wonder if anyone else has had the same issue.
I have a script that uses app.dialog to prompt for user information. It then takes the result of that dialog, and uses it in the script. Pretty standard so far, and if i run this from the scripts panel, or from ESTK, it works fine. If I set it up as a Script Menu Action, when I run the script via the menu, it executes, then crashes InDesign.
I have tried this with multiple dialog's, and each time a dialog is called from a SMA, InDesign crashes. The following code is fairly pointless, but will cause InDesign to crash when the SMA is run.
//failTest.jsx
//Test script will cause InDesign to crash when the SMA is invoked
//Daniel Cole
//Wed Jun 09 2010 13:26:47 GMT-0400
#targetengine "session"
//set up the SMA and eventListener
var saTest = app.scriptMenuActions.add("Test SMA");
var elTest = saTest.eventListeners.add("onInvoke", function()
alert(testFunc());
//Check for the menu, and create it if it doesn't exist
try{
var menuTest = app.menus.item("$ID/Main").submenus.item("Test");
menuTest.title;
catch (e){
var menuTest = app.menus.item("$ID/Main").submenus.add("Test");
menuTest.menuItems.add(saTest)
//test function
//creates a dialog box with a text edit box
//returns the content of the text edit box
function testFunc(){
testDialog = app.dialogs.add({name:"Enter Text:", canCancel:true});
with(testDialog){
with(dialogColumns.add()){
var getTextField = textEditboxes.add({editContents: "Test Text", minWidth:250});
testResult = testDialog.show()
if(testResult == true){
var testText = getTextField.editContents;
testDialog.destroy();
return testText;
else{
return "No Text Entered";
myFileDialog.destroy();
I've tried this on CS4 and CS5, on multiple installs, and it crashes every time. Can anyone else replicate this? Is this a known issue? Is there any way to work around it?
thanks,
Daniel Cole
Electronic Prepress and Automation Specialist
Disc MakersI don't know exactly why your code crashes ID in some versions, but there are potential issues in using:
- unneeded global variables in a function scope,
- the with statement,
- the "var menuTest" redeclaration in the try...catch,
- a generic #targetengine "session" directive,
- menu and menuAction creation procedure without preventing object duplication (beware of application/session persistence),
- the myFileDialog.destroy() instruction when myFileDialog is unknown (in your original code).
In order to isolate the "destroy" bug, I suggest you separate the process from the menu installer (see http://bit.ly/cIsZuG for more detail about menu management).
Here is a possible structure:
#targetengine "DanielColeTest"
// YOUR PROCESS
// Use clean local vars within the func
var testFunc = function()
var dlg = app.dialogs.add({
name:"Enter Text:",
canCancel:true
var textField = dlg.dialogColumns.add().textEditboxes.add({
editContents: "Test Text",
minWidth:250
var r = (dlg.show())?
textField.editContents:
"No Text Entered - Marc";
dlg.destroy();
return r;
var testInvokeHandler = function(/*onInvoke*/)
alert( testFunc() );
// YOUR MENU INSTALLER
// Encapsulate the routine to avoid duplication issues
// - a SMA is session-persistent
// - a menu is application-persistent
var testInstaller = testInstaller||(function()
var smaTitle = "Test SMA",
mnuTitle = "Test",
subs = app.menus.item("$ID/Main").submenus,
sma, mnu;
// 1. Create the script menu action
sma = app.scriptMenuActions.add(smaTitle);
// 2. Attach the onInvoke event handler
sma.eventListeners.add("onInvoke",testInvokeHandler);
// 3. Create and/or target the menu
mnu = subs.item(mnuTitle);
if( !mnu.isValid ) mnu = subs.add(mnuTitle);
// 4. Create the menu item
mnu.menuItems.add(sma);
return true;
Hope it could help.
Regards,
Marc -
Flash error "script causing Flashplayer9 to run slowly"
my browser (FFire, IE7) is hanging whenever i run this Flash
site
the second time around and subsequent times. The AS around
the point/frame where the movie freezes is the code I've
attached...
i didn't write the code; i'm just guessing that this might be
a problem since it's right at the frame where the movie stalls - it
actually calls another external page or two along with images from
folders, so i'm not sure what or where the issues is...
does this look like a problem?neither of the statements you have within the the while()
loop are 'conditions' and evaluate to 'nothing' - this script will
be very problematic and it would be far better to use a FOR loop
here.
while (_root['cat_'+k]) <-- means nothing there is no
condition declared
while (_root['cat_'+k] != undefined) <-- at least means
something
whatever is within the condition of the loop should evaluate
to a Boolean return - eg. true/false - either 'continuing' the
looping action or finding that the condition has been 'satisfied'
and the loop terminates.
additionally a nested while loop is going to be 'dangerous'
unless you really , really know what you doing and have an
absolutely controlled variable set that will 'always' without fail
complete.
further - it's not a good idea to name MCs the same and nest
them as in: ( gallery.gallery ) this will cause problems for the
compiler - I'd change one of the two of these instance
names. -
Script causing Explorer to run slowly
I frequently get a message, since upgrading to the new Verizon email, that says: A script is running on this page that is causing Explorer to run slowly. I have the choice of continuing to run the script or end it. If I end it the email gets hung up. If I dont everything slows down. What is going on here?
As addressed in http://forums.verizon.com/t5/Verizon-net-Email/I-hate-this-new-email-How-do-I-go-back/td-p/260257/pa...
rockcat wrote:
Verizon seems to have removed the "Go To Classic View" tab if you have been using the new format for any length of time. However, you CAN simulate the function of that missing button and revert to the Classic View (despite what Verizon Customer Support reps might tell you) simply by following these very simple instructions:
Login to your account and go to your inbox view. In the address bar at the top of your screen, type the following EXACTLY as I have typed it here:
http://webmail.verizon.com/signin/VMCOptOut?src=vmc
Click ENTER to the right of the address bar (or press the ENTER key on your keyboard).
(this command basically tells the system that you are Opting Out of the new view)
That's it! Your account should now be reverted back to the Classic View.
Enjoy!
If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button. -
Cron running Perl script causes Out Of Memory at 63000kb
Hi,
I run a script to record an internet steam at set times using cron (i'm using icecream, a perl script). This runs fine when executed by 'at' or manually form the command line, but when it is started by cron it dies with the error 'Out of memory!'. The machine isn't extremely powerful but is more than capable of doing this simple task!
From my research I understand that it may have something to do with the /etc/security/limits.conf file, though apparently changing these values often don't have the desired effects.
The output of 'ulimit -a' is as follows (I can't see any limiting factors here):
[aratclif@server ~]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) 1931
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1931
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[aratclif@server ~]$
and the crond.log output when it died is here (there is nothing else of any relevance in the log - just a load of song names broadcasted by the stream!)
(aratclif) CMDOUT (
LED ZEPPELIN - WHOLE LOTTA LOVE [63000 K]Out of memory!)
The command is started by my user's crontab and so the ulimit displayed by cron is the same as when executed from the command line:
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1308]: (aratclif) CMD (ulimit -a)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (core file size (blocks, -c) 0)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1309]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (data seg size (kbytes, -d) unlimited)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (scheduling priority (-e) 20)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (file size (blocks, -f) unlimited)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (pending signals (-i) 1931)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (max locked memory (kbytes, -l) 64)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (max memory size (kbytes, -m) unlimited)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (open files (-n) 1024)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (pipe size (512 bytes, -p) 8)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (POSIX message queues (bytes, -q) 819200)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (real-time priority (-r) 0)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (stack size (kbytes, -s) 8192)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (cpu time (seconds, -t) unlimited)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (max user processes (-u) 1931)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (virtual memory (kbytes, -v) unlimited)
Apr 10 23:06:01 localhost /USR/SBIN/CROND[1307]: (aratclif) CMDOUT (file locks (-x) unlimited)
Any help would be greatly appreciated!
Thanks!
Last edited by ajratcliffe (2012-04-10 23:13:01)No, the files are all the same. It seems like just a few are causing the issue, and what's weird, is some of them are cut versions from clips that elsewhere in the timeline render fine.
-
Test Scripts cause OPM to freeze
I am on a different project in my company, and on this second project whenever I run the test scripts or open any test scripts, OPM will freeze up. What would cause this? On rules for the other project, things are pretty snappy.
The differences between the two sets is that on the second project (the one that freezes) there are a lot of warnings about inconsistent capitalization, many relationships in the tests are unknown, and many of the relationships in the tests are not containment complete. I am slowly taking care of these issues. Is it possible that any of these could cause testing to be extremely slow?Hello, it seems that it really is not something i'm installation to make this defect:
is happening to me again, this time I have not even installed anything but to sync the address book.
it is possible to happen when I turn off the PC while the phone is stuck with itunes running? -
Itunes 8 upgrade causing grief
I had to upgrade to itunes 8 to support my new ipod and have had nothing but grief. First it was a nightmare to install and now my system (windows xp) keeps crashing. Has anyone else had this problem and is there any known fix?
I can't get iTunes to install and run on Vista. I've tried all the "help" found when searching, uninstalling, re-installing, staring into the sun, ... It always ends up with a DEP error. Yes I've done ALL this as the Administer account and yes I've followed the instructions (including the M$ cleanup stuff).
After the install issues, the "pleasure" of creating an Apple ID, the fact that I can't access iTunes without giving up a credit card number (I installed iTunes on an XP machine), and then the 12 loops of login I had to endure to get to this point in the forum, it appears that Apple has hired a bunch of Microsoft people. What ever happened to it works and it's intuitive?
I'm considering the return of my 32Gb iTouch because of this. -
Grid Control Perl Scripts Causing 100% CPU
I have a Grid installation on a cluster of three databases. It periodically shows that the CPU is at 100%. When I check, it is a number of Perl scripts that are executed by the agent.
Killing the Perl scripts returns CPU usage back to normal. The operating system is Red Hat, and the databases and clusterware Oracle 10.2.0.4.
Anyone have experience with this. I've looked on Metalink, but haven't seen anything.
Thanks,
JohnI nearly fell off my chair laughing at the ludicrous suggestion of bouncing the box!!!
When you say: Grid installation on a cluster of three databases
What do you mean?!
Grid control monitoring 3 rac databases?
Grid control with a rac database as its repository?
Version of Grid control?! -
Bash script - send mail only if script causes an error
Hi,
I have a script running on a server for backup purposes. I use
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE
to send a report at the end of the script. But I would like it to send the report only if the script errors out.
Any ideas,
ThxThat depends on how you capture errors and how you call the script you are running. If you don't "exit" on errors, at least set a variable like "error" and, at the end of your script use something like:
if [[ error ]] ; then
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE
fi -
ESM Script caused switch reloads...
Hi
A while back I wrote an ESM script to look at the log entries as they are created and if the script found the string "Line protocol" it would create a new log entry that would include the configured description for an interface. The idea behind this was to be able to see a more friendly name in the SYSLOG messages.
This tcl script has worked fine on several switch platforms, several IOS versions. Recently I configured a 2960G (IOS 12.2.(53)SE2) to use the script . Later when an interface went down the script ran but then something went awry and the switch started rebooting.
Here is the script. Is there anything that's obviously wrong or stands out with this code ?
# Setup time and date in a usable format
set time [clock seconds]
set time [clock format $time -format "%b %d %T"]
if [string match "*Line protocol*" $::orig_msg] {
set int_numb [lindex $::msg_args 0]
set int_stat [lindex $::msg_args 1]
set int_stat [string toupper $int_stat]
set int_desc [exec "show runn interface $int_numb | inc description"]
set int_desc [string trim $int_desc " description"]
set int_desc [string trimright $int_desc]
return "$time, LINK_STAT_CHG $::hostname $int_numb -- $int_stat -- $int_desc"
} else {
return "$::orig_msg"
Thanks for looking.
TimHi Joe,
Two switches rebooted over and over, both are using the same logging filter.
Thanks for looking.
Tim
Output from Switch 1
DMZ-Switch1#
DMZ-Switch1#sh ver
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 21-Apr-10 05:52 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x01500000
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)
DMZ-Switch1 uptime is 23 hours, 13 minutes
System returned to ROM by power-on
System restarted at 13:24:09 edt Mon Aug 4 2014
System image file is "flash:c2960-lanbasek9-mz.122-53.SE2.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
cisco WS-C2960G-48TC-L (PowerPC405) processor (revision A0) with 65536K bytes of memory.
Processor board ID FOC1026X8FK
Last reset from power-on
2 Virtual Ethernet interfaces
48 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0A:B8:41:23:00
Motherboard assembly number : 73-10300-06
Power supply part number : 341-0098-02
Motherboard serial number : FOC102547AP
Power supply serial number : AZS10240371
Model revision number : A0
Motherboard revision number : B0
Model number : WS-C2960G-48TC-L
System serial number : FOC1026X8FK
Top Assembly Part Number : 800-27071-01
Top Assembly Revision Number : B0
Version ID : V01
CLEI Code Number : COM4A10BRA
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
* 1 48 WS-C2960G-48TC-L 12.2(53)SE2 C2960-LANBASEK9-M
Configuration register is 0xF
DMZ-Switch1#
DMZ-Switch1#
DMZ-Switch1#sh stack
Minimum process stacks:
Free/Size Name
4972/6000 hulc_flash init
5536/6000 CDP BLOB
4164/6000 EEM Shell Director
5372/6000 vqpc_shim_create_addr_tbl
5360/6000 SPAN Subsystem
59536/60000 EEM Auto Registration Proc
5248/6000 SASL MAIN
5528/6000 hpm bulk_vlan_state process
8008/12000 Init
8516/9000 cdp init process
5184/6000 RADIUS INITCONFIG
5496/6000 Hulc Backup Interface Process
2532/3000 Rom Random Update Process
9416/12000 Exec
9292/12000 SSH Process
Interrupt level stacks:
Level Called Unused/Size Name
4 1335439380 8232/9000 NETWORK INTERFACE CHIP
5 0 9000/9000 SUPERVISOR EXCEPTIONS
6 6686 8912/9000 NS16550 VECTOR
******* Information of Last System Crash **********
Using flash:/crashinfo/crashinfo_6.
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 21-Apr-10 05:52 by prod_rel_team
Debug Exception (Could be NULL pointer dereference) Exception (0x2000)!
SRR0 = 0x01152228 SRR1 = 0x00029230 SRR2 = 0x010E5828 SRR3 = 0x00029230
ESR = 0x00000000 DEAR = 0x00000000 TSR = 0x84000000 DBSR = 0x01000000
CPU Register Context:
Vector = 0x00002000 PC = 0x010E5828 MSR = 0x00029230 CR = 0x33000093
LR = 0x010E5820 CTR = 0x0115C628 XER = 0xC000004C
R0 = 0x010E5820 R1 = 0x0268FFE0 R2 = 0x00000000 R3 = 0x00000000
R4 = 0x021B8F7C R5 = 0x00000000 R6 = 0x00000000 R7 = 0x021E69DC
R8 = 0x00000000 R9 = 0x00000000 R10 = 0x01EC0000 R11 = 0x00000000
R12 = 0x00000000 R13 = 0x00110000 R14 = 0x001CE6EC R15 = 0x00000000
R16 = 0x00000000 R17 = 0x00000000 R18 = 0x00000000 R19 = 0x00000002
R20 = 0x0260DC4C R21 = 0x021E69DC R22 = 0x021B8F7C R23 = 0x00000002
R24 = 0x021B8F80 R25 = 0x0335EE61 R26 = 0x021B8F7C R27 = 0x02611F6C
R28 = 0x02673558 R29 = 0x02672DD8 R30 = 0x00000002 R31 = 0x021B8F7C
Stack trace:
PC = 0x010E5828, SP = 0x0268FFE0
Frame 00: SP = 0x026900D8 PC = 0x010E5820
Frame 01: SP = 0x02690108 PC = 0x010EBBE8
Frame 02: SP = 0x02690128 PC = 0x010C7AEC
Frame 03: SP = 0x026903A0 PC = 0x001CFBEC
Frame 04: SP = 0x026903D0 PC = 0x001CE0E0
Frame 05: SP = 0x026903F8 PC = 0x001CE748
Frame 06: SP = 0x02690400 PC = 0x011BB59C
Frame 07: SP = 0x00000000 PC = 0x011B2028
DMZ-Switch1#
Output from Switch 2
DMZ-Switch2#
DMZ-Switch2#sh ver
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 21-Apr-10 05:52 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x01500000
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)
DMZ-Switch2 uptime is 23 hours, 16 minutes
System returned to ROM by power-on
System restarted at 13:24:10 edt Mon Aug 4 2014
System image file is "flash:c2960-lanbasek9-mz.122-53.SE2.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
cisco WS-C2960G-48TC-L (PowerPC405) processor (revision A0) with 65536K bytes of memory.
Processor board ID FOC1026X8DC
Last reset from power-on
2 Virtual Ethernet interfaces
48 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0A:B8:41:88:80
Motherboard assembly number : 73-10300-06
Power supply part number : 341-0098-02
Motherboard serial number : FOC102547VJ
Power supply serial number : AZS1024030L
Model revision number : A0
Motherboard revision number : B0
Model number : WS-C2960G-48TC-L
System serial number : FOC1026X8DC
Top Assembly Part Number : 800-27071-01
Top Assembly Revision Number : B0
Version ID : V01
CLEI Code Number : COM4A10BRA
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
* 1 48 WS-C2960G-48TC-L 12.2(53)SE2 C2960-LANBASEK9-M
Configuration register is 0xF
DMZ-Switch2#
DMZ-Switch2#
DMZ-Switch2#sh stack
Minimum process stacks:
Free/Size Name
4972/6000 hulc_flash init
5532/6000 CDP BLOB
4164/6000 EEM Shell Director
5372/6000 vqpc_shim_create_addr_tbl
5360/6000 SPAN Subsystem
59536/60000 EEM Auto Registration Proc
5248/6000 SASL MAIN
5524/6000 hpm bulk_vlan_state process
8008/12000 Init
8520/9000 cdp init process
5180/6000 RADIUS INITCONFIG
5496/6000 Hulc Backup Interface Process
2536/3000 Rom Random Update Process
9928/12000 Exec
7708/12000 SSH Process
Interrupt level stacks:
Level Called Unused/Size Name
4 1278720048 8232/9000 NETWORK INTERFACE CHIP
5 0 9000/9000 SUPERVISOR EXCEPTIONS
6 16589 8912/9000 NS16550 VECTOR
******* Information of Last System Crash **********
Using flash:/crashinfo/crashinfo_6.
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 21-Apr-10 05:52 by prod_rel_team
Debug Exception (Could be NULL pointer dereference) Exception (0x2000)!
SRR0 = 0x006A822C SRR1 = 0x00029230 SRR2 = 0x010E5828 SRR3 = 0x00029230
ESR = 0x00000000 DEAR = 0x00000000 TSR = 0x84000000 DBSR = 0x01000000
CPU Register Context:
Vector = 0x00002000 PC = 0x010E5828 MSR = 0x00029230 CR = 0x33000093
LR = 0x010E5820 CTR = 0x0115C628 XER = 0xC0000011
R0 = 0x010E5820 R1 = 0x02665350 R2 = 0x00000000 R3 = 0x00000000
R4 = 0x021B8F7C R5 = 0x00000000 R6 = 0x00000000 R7 = 0x021E69DC
R8 = 0x00000000 R9 = 0x00000000 R10 = 0x01EC0000 R11 = 0x00000000
R12 = 0x00000000 R13 = 0x00110000 R14 = 0x001CE6EC R15 = 0x00000000
R16 = 0x00000000 R17 = 0x00000000 R18 = 0x00000000 R19 = 0x00000002
R20 = 0x025E3160 R21 = 0x021E69DC R22 = 0x021B8F7C R23 = 0x00000002
R24 = 0x021B8F80 R25 = 0x03391329 R26 = 0x021B8F7C R27 = 0x025E72DC
R28 = 0x025DA164 R29 = 0x025D9444 R30 = 0x00000002 R31 = 0x021B8F7C
Stack trace:
PC = 0x010E5828, SP = 0x02665350
Frame 00: SP = 0x02665448 PC = 0x010E5820
Frame 01: SP = 0x02665478 PC = 0x010EBBE8
Frame 02: SP = 0x02665498 PC = 0x010C7AEC
Frame 03: SP = 0x02665710 PC = 0x001CFBEC
Frame 04: SP = 0x02665740 PC = 0x001CE0E0
Frame 05: SP = 0x02665768 PC = 0x001CE748
Frame 06: SP = 0x02665770 PC = 0x011BB59C
Frame 07: SP = 0x00000000 PC = 0x011B2028
DMZ-Switch2#
DMZ-Switch2#
Additionally I saw this in the crashinfo_ext on DMZ-Sw2 which was the first switch to go down.
Aug 4 12:56:23.231: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/24, changed state to down
CMD: 'show runn interface GigabitEthernet0/24 | inc description' 12:56:23 edt Mon Aug 4 2014
and
---- Partial decode of process block ----
Pid 161: Process "ESM Logger "
stack 0x3397C74 savedsp 0x21C0CDC
Flags: analyze prefers_new
Status 0x00000000 Orig_ra 0x00000000 Routine 0x00000000 Signal 0
Caller_pc 0x00000000 Callee_pc 0x00000000 Dbg_events 0x00000000 State 0
Totmalloc 148320 Totfree 161244 Totgetbuf 0
Totretbuf 0 Edisms 0x0 Eparm 0x0
Elapsed 0x6C Ncalls 0x62 Ngiveups 0x22
Priority_q 5 Ticks_5s 2 Cpu_5sec 0 Cpu_1min 0
Cpu_5min 0 Stacksize 0xEA60 Lowstack 0xEA60
Ttyptr 0x21AD098 Mem_holding 0x163D4 Thrash_count 0
Wakeup_reasons 0x0FFFFFFF Default_wakeup_reasons 0x0FFFFFFF
Direct_wakeup_major 0x00000000 Direct_wakeup_minor 0x00000000 -
I'm having a weird problem that I can't seem to work around. Here's what I want to do:
I have a bunch of menus that have quiz questions on them (7 quizzes, each with 3-5 questions, 1 menu per question). If the user chooses the correct answer then they go directly to the track that introduces the next question. If they choose the incorrect answer then they jump to a script that adjusts their score and then jumps immediately to the track for the next question (the same one as above).
For the right answers, I get a nice clean fade transition that keeps my background image (which is common to all elements in the quiz). But going to the script first fades it to black before fading back up to the background.
One work-around would be to just make duplicates of the tracks (or of the background alone) to be used for right vs. wrong answers, and use pre-scripts that differ between those tracks to change the GPRM. But I'm up against that incredibly annoying limit of 99 tracks per project (why? why? why would they do that to me?) so I can't make enough extra tracks to solve the problem.
Another work around would be to create two tracks (one for correct and one for incorrect) that each just had 1 second of background and attach a massive pre-script to each that figured out exactly where the user was in the program, made all necessary updates in their scores. But I'm already using each menu twice for different purposes, and am also up against the limit of 99 menus per project (seriously, are they trying to ruin me?) so I can't duplicate those either.
Does anybody know of a way to work around this? Can I freeze the screen during a script or something? Or any brilliant insights into other ways to fix it? I am out of ideas!
Thanks!
JulieI realized two things that helped me to figure out a work-around. First, I was confused about menus being limited to 99 (I was thinking of slideshows). In fact, menus are limited to 10,000. The other piece of information is that a track can go to a script which then goes to a menu and it does not fade to black (whereas the menu to script to track did fade to black). Who knows why. In any case, this allowed me to make things complicated but functional. It's much messier now, but at least it works.
Still, if anybody knows how to prevent the menu --> script --> track from fading out during the script, I'd love to know!
Thanks
Julie -
Get-MailboxExportRequest script causes high cpu utilization
Our Exchange configuration is as follows:
Exchange 2013 Ent on single server with 4 dbs
DB1 - 191 users
DB2 - 19 users
DB3 - 72 users
DB4 - 7 users
When I run a script that exports all of the users from each db to a pst file the CPU utilization peaks as expected, however DB1 never completes. Is there a way to throttle the performance somewhat or limit the number of users the script processes at
a time? Here is my script:
#Establish variables
$mailserver = "Exchange"
$path = "\\FileServer"
$userlist = Get-Mailbox -database DB1
$ReportShare = "\\FileServer\pst$\reports"
$file = "\\FileServer\pst$\reports\*.txt"
$SMTP = "smtp.domain.com"
#delete files from previous nights export
if (Test-Path $file)
Remove-Item $file
#Clear previously completed & failed tasks
Get-MailboxExportRequest | where {$_.status -eq "Completed"} | Remove-MailboxExportRequest -confirm:$false
Get-MailboxExportRequest | where {$_.status -eq "Failed"} | Remove-MailboxExportRequest -confirm:$false
#Perform Mailbox Export
foreach ($user in $userlist)
$useralias = $user.alias
New-MailboxExportRequest -Mailbox $useralias -filepath $path\pst$\$useralias.pst
#Create a loop which checks if the task has completed or not
$exstat = Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | where {$_.status -eq 'inprogress'}
do {start-sleep -seconds 5; $exstat = Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | where {$_.status -eq 'inprogress'}}
until ($exstat.percentcomplete -eq '100')
#Create a pause for the exports to finish before writing logfile output
start-sleep -seconds 7200
#Write output to a log file
if ($ReportShare)
Write-Output "Writing reports to $($ReportShare)"
$Completed = Get-MailboxExportRequest -BatchName $BatchName | Where {$_.Status -eq "Completed"} | Get-MailboxExportRequestStatistics | Format-List
if ($Completed)
$Completed | Out-File -FilePath "$($ReportShare)\$($BatchName)_Completed.txt"
$Incomplete = Get-MailboxExportRequest -BatchName $BatchName | Where {$_.Status -ne "Completed"} | Get-MailboxExportRequestStatistics | Format-List
if ($Incomplete)
$Incomplete | Out-File -FilePath "$($ReportShare)\$($BatchName)_Incomplete_Report.txt"
#Send a mail notification the task has completed
Get-ChildItem $ReportShare | where {-NOT $_.PSIsContainer} | foreach {$_.fullname} | Send-MailMessage -to "[email protected]" -from "[email protected]" -Subject "PST EXPORT REPORT DB1" -Body "Export of DB1 complete."
-SmtpServer $SMTP -BodyAsHtmlI have to ask why you have a nightly job that exports each mailbox to PST? It's unusual.
Anyway, you could split your script as follows:
Get-Mailbox -Database DB1 | ? {$_.samaccountname -like "[a-m]*"}
Get-Mailbox -Database DB1 | ? {$_.samaccountname -like "[n-z]*"}
Tony www.activedir.org Blog: www.open-a-socket.com
Maybe you are looking for
-
How to Get Albums in File-Name-Order Photo
When I updated my iPod Touch to V4.0 and iTunes (V9 on Windows XP) re-synced it, I found that my photo albums were now in Picture Date order rather than PC file name order. I tried several things that didn't work. What worked was using the Photoshop
-
Tracks appearing in a random order
OK, I'm a massive fan of a band called Feeder, and I've put all of their B-sides onto my computer. Now, I've numbered the tracks to relate to the dates they were released (1-58) and put them in an album entitled "B sides", but when I sort by "artist"
-
Best IDE to develop EJB/Servlet development with WebLogic
Hi, I am prepearing a recommendation for our company's standard Java development environment. I would appriciate any comment you guys might have on the best IDE that supports J2EE and EJB and Servlet development that integrates with WebLogic. I guess
-
Is Unity Web Player safe for my MacBook Pro?
Is Unity Web Player safe for my MacBook Pro?
-
Sql 2000 gives error setup stub has stop working
sir i am installing sql server 2000 but i am gate a error setup stub has stop working so what can u do....