Command number
Hi all,
I ran the statement below to give a list of all statements that have been hitting the instance.
select command, count(distinct command) from v$session group by command;
from the command output column i got a value of zero i.e. 0 and i can not find the "interpretation" in the V$session documentation. can any one help.
"0" stands for no command issued.
You can verify this by connecting to the database using sqlplus. leave the connection idle.
Connect through another session and query v$session for current machine. You will find two rows (one with command = 0 [doing nothing] and other with command = 3 [issuing select]).
Similar Messages
-
Why doesn't the "Command Number" keyboard shortcut apply the colored label to the selected image? The similar keyboard shortcut to assign stars works, but the shortcut to assign a label color doesn't?
Just to be sure they haven;t been reassigned in your Aperture go to Aperture->Commands->Customize then in the search box in the upper right hand corner enter color.
You should see the keyboard shortcuts and the corresponding add label commands.
If they are set then quit Aperture move you preference file to the desktop and restart Aperture. The instructions for moving the preference file can be found at Aperture 3: Troubleshooting Basics
Post back the results
Message was edited by: Frank Caggiano - Added preference file move -
HT5559 Can't execute command number 4.
sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo ls -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
ls: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin: No such file or directory
/System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI. plugin:
total 0
0 . 0 .. 0 Contents
This How To doesn't work. Please help me with this.Please see
http://java.sun.com/j2ee/1.4/docs/tutorial/information/faq.html#compile -
How to change number of new messages
Is there a way to change how iCloud shows the number of new messages from including the whole thread of messages?
ie - it shows the number of all old messages in a thread when there's just one new message.The only way to do so with Tiger Mail is by using the Activity Viewer.
At the Mail.app menu bar, go to Window and select Activity Viewer or use the Apple/Command key - Command/number 0 key.
I've been using the Mail.app exclusively since Jaguar was introduced, thru Panther and now Tiger and I've always preferred keeping the Activity Viewer window open.
I keep the Activity Viewer window at the bottom right just below the bottom of the Mail.app window. -
<p>Hi,</p><p>One way of getting an easy to edit command history is to use JLine as a wrapper for ICE.</p><p>You can download JLine from:</p><p>http://jline.sourceforge.net/</p><p>After you have downloaded and unzipped JLine, copy the JLine.jar file to the Quark distribution directory.</p><p>Then on windows:</p><p>create a new file "set-javacp-extended.bat" in the Quark directory containing the following line:</p><p> set JAVACP_PATH=%JAVACP_PATH%;jline-0.9.9.jar</p><p>edit ICE.bat so that it looks like this:</p><p>@rem This starts ICE with the cal.samples.cws workspace.</p><p>@javacp -DCAL.workspace.spec="StandardVault cal.samples.cws" jline.ConsoleRunner com.businessobjects.lang.cal.ICE %1 %2 %3 %4 %5 %6 %7 %8 %9</p><p> And then start ICE using ICE.bat as normal, and ICE will run with full command line editing thanks to Jline. </p><p>On UNIX/Mac:</p><p> create a new file "set-javacp-extended.sh" in the Quark directory containing the following line:</p><p>set JAVACP_PATH=$JAVACP_PATH:jline-0.9.9.jar </p><p>edit ICE.sh so that it looks like this:</p><p>#!/bin/sh</p><p># This starts ICE with the cal.samples.cws workspace.</p><p>cd "`dirname "$0"`"</p><p>./javacp-workspace.sh cal.samples.cws jline.ConsoleRunner com.businessobjects.lang.cal.ICE $*</p><p> </p><p>I'm afraid this won't give you tab completion - that would require updating ICE to use jline directly and supplying some completers... </p><p>Magnus.</p><p> </p><p> </p><p> </p><p> </p>
There is some support for command history in ICE . The commands can be seen by typing :h on the ICE command line.<br />:spc (Show previously executed commands in a numbered list)<br />:pc <command number> (Execute a previous command indicated by the command number)<br />:npc <number of commands> (Set the size of the command history)<br />:rr (Re-evaluate the last entered CAL expression.)<br /><br />One can also script ICE commands, editing the script in one's preferred editor. Note that script files support /*.. */ and // style comments and can also contain any other ICE commands, one per line.<br />:script <script file name> (Run the specified script.)<br /><br />ICE itself just uses the standard Java console which doesn't support the functionality needed for some fancier shell-like features such as up-down arrow command histories. However, it is possible to write a custom shell (i.e. essentially a Java UI program), to get some of the features you suggest. <br /><br />
-
COMMAND column in V$SESSION just show s SELECT
Hi,
i queried command column in v$session, but it shows only 3(which is for SELECT) and 0 (which is for unknown), even i update some thing its not shown.
ThanksHi Pavan,
following is the list for that
Number Command Number Command
1 CREATE TABLE 2 INSERT
3 SELECT 4 CREATE CLUSTER
5 ALTER CLUSTER 6 UPDATE
7 DELETE 8 DROP CLUSTER
9 CREATE INDEX 10 DROP INDEX
11 ALTER INDEX 12 DROP TABLE
13 CREATE SEQUENCE 14 ALTER SEQUENCE
15 ALTER TABLE 16 DROP SEQUENCE
17 GRANT OBJECT 18 REVOKE OBJECT
19 CREATE SYNONYM 20 DROP SYNONYM
21 CREATE VIEW 22 DROP VIEW
23 VALIDATE INDEX 24 CREATE PROCEDURE
25 ALTER PROCEDURE 26 LOCK
27 NO-OP 28 RENAME
29 COMMENT 30 AUDIT OBJECT
31 NOAUDIT OBJECT 32 CREATE DATABASE LINK
33 DROP DATABASE LINK 34 CREATE DATABASE
35 ALTER DATABASE 36 CREATE ROLLBACK SEG
37 ALTER ROLLBACK SEG 38 DROP ROLLBACK SEG
39 CREATE TABLESPACE 40 ALTER TABLESPACE
41 DROP TABLESPACE 42 ALTER SESSION
43 ALTER USER 44 COMMIT
45 ROLLBACK 46 SAVEPOINT
47 PL/SQL EXECUTE 48 SET TRANSACTION
49 ALTER SYSTEM 50 EXPLAIN
51 CREATE USER 52 CREATE ROLE
53 DROP USER 54 DROP ROLE
55 SET ROLE 56 CREATE SCHEMA
57 CREATE CONTROL FILE 59 CREATE TRIGGER
60 ALTER TRIGGER 61 DROP TRIGGER
62 ANALYZE TABLE 63 ANALYZE INDEX
64 ANALYZE CLUSTER 65 CREATE PROFILE
66 DROP PROFILE 67 ALTER PROFILE
68 DROP PROCEDURE 70 ALTER RESOURCE COST
71 CREATE MATERIALIZED VIEW LOG 72 ALTER MATERIALIZED VIEW LOG
73 DROP MATERIALIZED VIEW LOG 74 CREATE MATERIALIZED VIEW
75 ALTER MATERIALIZED VIEW 76 DROP MATERIALIZED VIEW
77 CREATE TYPE 78 DROP TYPE
79 ALTER ROLE 80 ALTER TYPE
81 CREATE TYPE BODY 82 ALTER TYPE BODY
83 DROP TYPE BODY 84 DROP LIBRARY
85 TRUNCATE TABLE 86 TRUNCATE CLUSTER
91 CREATE FUNCTION 92 ALTER FUNCTION
93 DROP FUNCTION 94 CREATE PACKAGE
95 ALTER PACKAGE 96 DROP PACKAGE
97 CREATE PACKAGE BODY 98 ALTER PACKAGE BODY
99 DROP PACKAGE BODY 100 LOGON
101 LOGOFF 102 LOGOFF BY CLEANUP
103 SESSION REC 104 SYSTEM AUDIT
105 SYSTEM NOAUDIT 106 AUDIT DEFAULT
107 NOAUDIT DEFAULT 108 SYSTEM GRANT
109 SYSTEM REVOKE 110 CREATE PUBLIC SYNONYM
111 DROP PUBLIC SYNONYM 112 CREATE PUBLIC DATABASE LINK
113 DROP PUBLIC DATABASE LINK 114 GRANT ROLE
115 REVOKE ROLE 116 EXECUTE PROCEDURE
117 USER COMMENT 118 ENABLE TRIGGER
119 DISABLE TRIGGER 120 ENABLE ALL TRIGGERS
121 DISABLE ALL TRIGGERS 122 NETWORK ERROR
123 EXECUTE TYPE 157 CREATE DIRECTORY
158 DROP DIRECTORY 159 CREATE LIBRARY
160 CREATE JAVA 161 ALTER JAVA
162 DROP JAVA 163 CREATE OPERATOR
164 CREATE INDEXTYPE 165 DROP INDEXTYPE
167 DROP OPERATOR 168 ASSOCIATE STATISTICS
169 DISASSOCIATE STATISTICS 170 CALL METHOD
171 CREATE SUMMARY 172 ALTER SUMMARY
173 DROP SUMMARY 174 CREATE DIMENSION
175 ALTER DIMENSION 176 DROP DIMENSION
177 CREATE CONTEXT 178 DROP CONTEXT
179 ALTER OUTLINE 180 CREATE OUTLINE
181 DROP OUTLINE 182 UPDATE INDEXES
183 ALTER OPERATOR -
Number of detail lines base on qty required
Hi Forum,
I have a Picking sheet form that i need to print detail lines base on the qty required. I need to print serial numbers based on the Qty.
i.e..
Qty required = 3
i need to print:
Serial #: ____________
Serial #: ____________
Serial #: ____________
Is there any magic that someone can advised me to do?
Regards,
Manuel RomanDid it and i got a message:
"Failed to retrieve data from database"...
Here is the code:
DECLARE @WorkOrder int, @Quantity int
SET @WorkOrder = '{?DocNum}'
SELECT @Quantity = MAX(WOR1.PlannedQty)
FROM "Lewa_0825a"."dbo"."WOR1"
WHERE WOR1.DocEntry IN (
SELECT OWOR.DocEntry
FROM "Lewa_0825a"."dbo"."OWOR"
WHERE OWOR.DocNum = @WorkOrder)
IF object_id('tempdb..#Temp') IS NOT NULL
BEGIN
DROP TABLE #Temp
END
CREATE TABLE #Temp (Number int)
INSERT INTO #Temp (Number) Values (1)
WHILE (SELECT MAX(Number) FROM #Temp) < @Quantity
BEGIN
INSERT INTO #Temp (Number) (SELECT MAX(Number) + 1 FROM #Temp)
END
SELECT
"OITM"."ItemName",
"OWOR"."PlannedQty",
"OWOR"."DueDate",
"OWOR"."OriginNum",
"OWOR"."DocNum",
"OITM_wor1"."ManSerNum",
"WOR1"."ItemCode",
"OITM_wor1"."ItemName",
"WOR1"."PlannedQty",
"OITM_wor1"."InvntryUom",
"OWOR"."Uom",
"OCRD"."CardName",
"OWOR"."ItemCode",
"OITW"."U_StkLoc",
"Command"."Serial"
FROM "Lewa_0825a"."dbo"."OWOR" "OWOR"
INNER JOIN "Lewa_0825a"."dbo"."WOR1" "WOR1" ON "OWOR"."DocEntry"="WOR1"."DocEntry"
INNER JOIN "Lewa_0825a"."dbo"."OITM" "OITM" ON "OWOR"."ItemCode"="OITM"."ItemCode"
LEFT OUTER JOIN "Lewa_0825a"."dbo"."OCRD" "OCRD" ON "OWOR"."CardCode"="OCRD"."CardCode"
LEFT OUTER JOIN "Lewa_0825a"."dbo"."OITM" "OITM_wor1" ON "WOR1"."ItemCode"="OITM_wor1"."ItemCode"
LEFT OUTER JOIN "Lewa_0825a"."dbo"."OITW" "OITW" ON ("WOR1"."ItemCode"="OITW"."ItemCode")
AND ("WOR1"."wareHouse"="OITW"."WhsCode")
LEFT OUTER JOIN (
SELECT Number, 'Serial #: ___________________________' AS Serial FROM #Temp) AS Command
ON WOR1.PlannedQty >= Command.Number
WHERE "OWOR"."DocNum" = @WorkOrder
ORDER BY "OWOR"."DocNum"
Regards,
Manuel -
SERVICE COMMANDS *166# NOW WORKING WELL from NOKIA
GOOD NEW FOR ALL N900 USERS ONLY YESTERDAY I UPDATED THE APPLICATION MENU OF DESKTOP > APPLICATION MANAGER . JUST GO IN > APPLICATION MANAGER > DOWNLOAD > DESKTOP > THEN MAKE REFRESH you will find program call USSD .. its already released from nokia now , no need for headache about much steps ,,, just download then install you will find it in you desktop .. then you will to add you service command number because it will give ERROR first time it work till you enter your service number by clicking on the icon appeard on desktop . "
Did the update as suggested but the USSD app is still not listed
Anyone else tried getting it this way?
Running 2.2009.51-1.205.1 -
Ice: command history navigation like in ghci?
Hi, we are using cal/quark on the mac. But one thing we really miss is a good
command history in ice: (like in normal shells / or new ghci)
- navigate to previous/next enter data
- tab expansion of known strings, are even better functions in scope
Thx, KlausThere is some support for command history in ICE . The commands can be seen by typing :h on the ICE command line.<br />:spc (Show previously executed commands in a numbered list)<br />:pc <command number> (Execute a previous command indicated by the command number)<br />:npc <number of commands> (Set the size of the command history)<br />:rr (Re-evaluate the last entered CAL expression.)<br /><br />One can also script ICE commands, editing the script in one's preferred editor. Note that script files support /*.. */ and // style comments and can also contain any other ICE commands, one per line.<br />:script <script file name> (Run the specified script.)<br /><br />ICE itself just uses the standard Java console which doesn't support the functionality needed for some fancier shell-like features such as up-down arrow command histories. However, it is possible to write a custom shell (i.e. essentially a Java UI program), to get some of the features you suggest. <br /><br />
-
[SOLVED] Hotkeys on Asus 1015 PEM
Hey everyone,
So i've been trying to install arch linux on my Asus netbook (ASUS 1015 PEM) and it's been working spectacularly well. Things have just been working that I wouldnt've expected, and it's really great. My only problem is that I'm currently unable to get my hotkeys to work well. Specifically, the one to blank the screen doesn't work and the sound ones are laggy/buggy.
I followed the guide here to get acpi-eeepc-laptop working:
https://bbs.archlinux.org/viewtopic.php … 43#p881743
and it got a lot of my buttons working. The sound ones work (increase volume, decrease volume, and mute) but they are really buggy. Specifically, they're slow to react and it seems like they almost stack; if i hit increase volume 10 times but the volume is maxed out after 5 times, i have to lower the volume 5 times before i can actually lower the volume. It's like I have to cancel out the other 5 times. It's really peculiar and I was wondering whether anyone has run into similar problems and found a solution.
Here's my /etc/rc.conf:
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged.
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
# VERBOSE: Verbose level (from 1 to 8). man 3 syslog for level info
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="America/Chicago"
KEYMAP="dvorak"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
VERBOSE="3"
# HARDWARE
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
MOD_AUTOLOAD="yes"
MODULES=(!net-pf-10 !pcspkr loop acpi-cpufreq cpufreq_ondemand eeepc-wmi rfkill bluetooth eeepc_laptop)
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# NETWORKING
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="luna"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This now requires the netcfg package
#NETWORKS=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
DAEMONS=(hwclock @syslog-ng dbus @acpid !network !dhcdbd !networkmanager wicd netfs @crond @alsa)
and my /etc/conf.d/acpi-eeepc-generic.conf
# Configuration file for EeePC ACPI utilities
# Please edit to your liking!!!
# http://code.google.com/p/acpi-eeepc-generic/
# http://aur.archlinux.org/packages.php?ID=23318
# Copyright 2009 Nicolas Bigaouette
# This file is part of acpi-eeepc-generic.
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with acpi-eeepc-generic. If not, see <http://www.gnu.org/licenses/>.
# Put your username in "XUSER". It _is_ important.
# Some defaults are defined, but
# they might not work on your system. For example, the task manager
# used is "lxtask", which is part of the LXDE desktop environment.
# You can install it with "pacman -S lxtask". You can use
# something else if you want, just be sure to edit the appropriate
# variable.
# Format:
# Format of the settings is as follow:
# VARIABLE_NAME=("command number 1" "command number 2" "etc.")
# Note that:
# -Commands with spaces _need_ to be double-quoted
# -You can put as many commands as you want, as in the previous example
# -Some defaults are provided which might not work on your
# system. Please edit as your liking. Look at
# COMMANDS_WIFI_POST_UP for example. It uses by
# default "wicd" for for network management. It is killed and
# re-run to save battery. If you don't use wicd, please remove
# it from the commands to run!!!
# -All commands are executed as root. To execute a command as
# yourself (not root), put @ in front of the command. This allow
# graphical applications to work.
# -If a key is not working, uncomment KEY_SHOW. It will show
# you the code of the key you pressed. Then report it to me
# with your model number.
# -Change your wifi module. By default it uses "rt2860sta", which
# is the one used in the 901/1000*.
# -You can choose between different OSD:
# libnotify: by default (GTK), you need "notification-daemon"
# knotify: OSD used by KDE, you need "kdebase"
# dzen: Small OSD, you need "dzen2"
# NONE: You guessed it... none :)
# Different helper script you can use:
# Rotate the screen
# /etc/acpi/eeepc/acpi-eeepc-generic-rotate-lvds.sh
# Suspend to ram
# /etc/acpi/eeepc/acpi-eeepc-generic-suspend2ram.sh
# Toggle bluetooth on and off
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-bluetooth.sh
# Toggle between different monitors
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-displays.sh
# Toggle a suspension lock on and off
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-lock-suspend.sh
# Toggle card reader on and off
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-cardr.sh
# Change between supported screen resolutions
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-resolution.sh
# Enable or disable the touchpad (needs SHM)
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad.sh
# Toggle webcam on and off
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-webcam.sh
# Toggle wifi on and off
# /etc/acpi/eeepc/acpi-eeepc-generic-toggle-wifi.sh
# Different hardware states can be saved and restored when needed.
# To restore at boot, just add "eeepc-restore" to your DAEMONS
# array in /etc/rc.conf
### Fallback user to be used for X session if autodetection fails
XUSER=parth
### Choose what kind of notification you want. libnotify is the
### default, but can disable it with NONE.
NOTIFY="libnotify" # Gnome, XFCE, GTK
#NOTIFY="kdialog" # KDE, QT
#NOTIFY="dzen" # dwm, wmii, xmonad or any other
#NOTIFY="naughty" # Awesome window manager
#NOTIFY=NONE
NOTIFY_DURATION="2000" # Duration, in ms, of the OSD
### Show the ACPI key event
#KEY_SHOW="1"
### Some scripts needs to be run as root. Specify how to gain priviledges
SUDO="sudo"
#SUDO="kdesu -i eee"
#SUDO="gksu" # Append "--sudo-mode" to use sudo instead of su
### Drivers used by this Eee. Most used are "rt2860sta", "ath9k"
### and "iwlagn". For Madwifi, you can try this exact list:
### "wlan_tkip" "wlan_ccmp" "ath_pci" "ath_rate_sample" "ath_hal" "wlan_scan_sta" "wlan"
WIFI_DRIVERS=("rt2860sta")
BLUETOOTH_DRIVERS=("bluetooth")
CAMERA_DRIVERS=("uvcvideo")
# Let acpi-eeepc-generic load/unload modules?
#DRIVERS_LOAD="no" # default: yes
#DRIVERS_UNLOAD="no" # default: yes
### Volume options
ALSA_VOLUME_MIXER=("Master") # Mixer(s) to change volume
### Defined commands on specific key press
### Please edit to what you want!!!
### Some defaults are provided, but they might not work on your
### system if you don't have the utility installed.
COMMANDS_POWER_BUTTON=("/sbin/shutdown -t3 -h now")
# Users of LXDE might consider the following:
#COMMANDS_POWER_BUTTON=("@_LXSESSION_PID=`pidof lxsession` lxde-logout")
# See http://code.google.com/p/acpi-eeepc-generic/issues/detail?id=26
# and http://wiki.archlinux.org/index.php/LXDE#Shutdown_and_Reboot_from_LXDE
# These are the 4 silver buttons, located above the Fn+F2 to
# Fn+F6 on certain models and the Fn+Spacebar. The first just
# shutdown your screen to save power. The second toggle the touchpad on and off.
# Note the "@" in from of the two user button commands: because
# of this, theese commands will be executed as yourself and not root.
# The User1, User2 & User3 (when available) are executed as your username!!!
COMMANDS_BUTTON_BLANK=("xset dpms force off")
COMMANDS_BUTTON_RESOLUTION=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad.sh")
COMMANDS_BUTTON_USER1=("@terminal")
COMMANDS_BUTTON_USER2=("@pcmanfm --no-desktop")
COMMANDS_SHE_TOGGLE=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-she.sh")
COMMANDS_SLEEP=("/etc/acpi/eeepc/acpi-eeepc-generic-suspend2ram.sh")
# On some models, calling the wifi toggle script can prevent the card from
# being re-enabled. If you have that problem, just don't call the script and
# let the BIOS dis/enable the card.
# See http://wiki.github.com/nbigaouette/acpi-eeepc-generic/wireless
COMMANDS_WIFI_TOGGLE=("")
COMMANDS_WIFI_UP=()
COMMANDS_WIFI_DOWN=()
COMMANDS_WIFI_PRE_UP=()
#COMMANDS_WIFI_POST_UP=("/etc/rc.d/wicd start" "@wicd-client")
#COMMANDS_WIFI_PRE_DOWN=("pkill wicd-client" "/etc/rc.d/wicd stop" "pkill wpa_supplicant" "pkill dhcpcd")
COMMANDS_WIFI_POST_UP=()
COMMANDS_WIFI_PRE_DOWN=()
COMMANDS_WIFI_POST_DOWN=()
COMMANDS_BLUETOOTH_TOGGLE=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-bluetooth.sh")
COMMANDS_BLUETOOTH_UP=()
COMMANDS_BLUETOOTH_DOWN=()
COMMANDS_BLUETOOTH_PRE_UP=()
COMMANDS_BLUETOOTH_POST_UP=()
COMMANDS_BLUETOOTH_PRE_DOWN=()
COMMANDS_BLUETOOTH_POST_DOWN=()
COMMANDS_TOUCHPAD_TOGGLE=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-touchpad.sh")
COMMANDS_RESOLUTION=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-resolution.sh")
COMMANDS_BRIGHTNESS_DOWN=() # Brightness down controled by BIOS
COMMANDS_BRIGHTNESS_UP=() # Brightness up controled by BIOS
#COMMANDS_SCREEN_OFF=(/etc/acpi/eeepc/acpi-eeepc-generic-rotate-lvds.sh)
COMMANDS_SCREEN_OFF=("${COMMANDS_BLUETOOTH_TOGGLE[@]}")
#COMMANDS_XRANDR_TOGGLE=("@lxrandr") # Run as user (not root)
COMMANDS_XRANDR_TOGGLE=("/etc/acpi/eeepc/acpi-eeepc-generic-toggle-displays.sh")
COMMANDS_XRANDR_TOGGLE_VGA="above" # VGA is: right-of, left-of, above or below of LVDS
COMMANDS_TASKM=("@lxtask")
#COMMANDS_TASKM=("@xterm htop")
#COMMANDS_TASKM=("@ksysguard")
# If you use OSS, you can use http://ossvol.sourceforge.net/
COMMANDS_MUTE=("alsa_toggle_mute")
COMMANDS_VOLUME_DOWN=("amixer set Master 5%-")
COMMANDS_VOLUME_UP=("amixer set Master 5%+")
COMMANDS_AC_UNPLUGGED=()
COMMANDS_AC_PLUGGED=()
COMMANDS_ON_LID_CLOSE="yes"
COMMANDS_LID_CLOSE_ON_AC=("xset dpms force off") # Just turn the backlight off
#COMMANDS_LID_CLOSE_ON_AC=("${COMMANDS_SLEEP[@]}") # Do the same as COMMANDS_SLEEP
COMMANDS_LID_CLOSE_ON_BATTERY=("${COMMANDS_SLEEP[@]}") # Do the same as COMMANDS_SLEEP
### Check for these processes before suspending
SUSPEND_BLACKLISTED_PROCESSES=(vlc mplayer smplayer kmplayer skype dragon songbird-bin amarok)
### Change the suspend commands.
SUSPEND2RAM_COMMANDS=("echo -n \"mem\" > /sys/power/state") # Simple suspend
#SUSPEND2RAM_COMMANDS=("pm-suspend") # Use pm-utils
#SUSPEND_QUIRKS_VTSWITCH="yes"
### Display toggling options (excluding LVDS only, since you
### need that one!). You can use any of these three, in any order.
#XRANDR_AVAILABLE_MODES=("clone" "vga" "both")
XRANDR_AVAILABLE_MODES=("vga" "both")
### Restore feature: On boot, restore different hardware states
RESTORE_BLUETOOTH=0
RESTORE_BRIGHTNESS=0
RESTORE_TOUCHPAD=0
RESTORE_WIFI=0
### If you mount /var/log in ram (to protect an SSD drive), you
### might want to backup them on shutdown/suspend, just in case.
### Add "logsbackup" to your DAEMONS array in /etc/rc.conf. You
### can also set the folder where to send these compressed backups.
LOGSBACKUP_FOLDER="/logs_backup"
### Please comment/remove the following, to prove that you edited
### and read fully the file ;)
### Else, you will get a 20 second warning.
#EEEPC_CONF_DONE="no"
#EEEPC_MODEL="1015PEM"
#EEEPC_CPU="Atom"
Any help would be greatly appreciated, thank you!
-parth
Last edited by plutoisaplanet (2011-05-20 23:07:03)Okay, I was able to fix the issue by disabling the volume commands in etc/conf.d/acpi-eeepc-generic.conf (as shown in the code)
COMMANDS_MUTE=("")
COMMANDS_VOLUME_DOWN=("")
COMMANDS_VOLUME_UP=("")
and then having openbox bind the volume keys to commands (amixer sset Master toggle, amixer sset Master 5%+, etc.).
It's a workaround but it works.
As for blanking the screen it's not the biggest issue in the world so i'll probably leave it for another time.
-parth -
Hello forum. Currently I'm trying to establish a TCP/IP connection between a server and client, in which the client has to be a labview written VI. The server and client communicates via a certain protocol. Can someone "translate' this protocol to Labview?
Description of the communication protocol
1. Introduction
The communication between Client and Server application is based on request – response rule. Client application side requests and server side responses to it.
Request is sent by the Client to the Server side. Type of request (and the response as well) is recognized by command number (field Command in the sent structure). Next, depending on type of request, Server responses to client by sending requested data.
2. General frame structure
The frame structure is like shown below:
FRAME = HEADER + DATA
Header consists of following fields:
Type of command (public ushort Command) – describes type of request (or response)
Size of whole data package (header + data) (public int Lenght)
Number of the next sent frame (public ushort CommandNo)
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct Header
public ushort Command;
public int Lenght;
public ushort CommandNo;
3. Command types and numbers
Command types and numbers are shown below:
a) Commands sent by Client application
LAN_CODE_GET_GPS_INFORMATION = 0x0005 – requests to calculate and send new position
INTERNAL_CODE1 = 0x0007 – reserved
INTERNAL_CODE2 = 0x0008 – reserved
b) Commands sent by Server application
LAN_CODE_GPS_INFORMATION = 0x0006 – sends calculated position
INTERNAL_CODE3 = 0x0009 – reserved
/// <summary>
/// Commands sent between client and server.
/// </summary>
public enum Commands
LAN_CODE_GET_GPS_INFORMATION = 0x0005,
LAN_CODE_GPS_INFORMATION = 0x0006,
INTERNAL_CODE4 = 0x0007,
INTERNAL_CODE5 = 0x0008,
INTERNAL_CODE6 = 0x0009,
4. Detail description of the commands
4.1 Requests
4.1.1 Calculate and send new position request
This request is sent by the client in order to calculate and send new position on the track by the server. Server reacts on it by sending calculated data in response described in 4.2.2 paragraph.
a) Header
ushort Command = LAN_CODE_GET_GPS_INFORMATION = 0x0005
int Length = sizeof(Header)
ushort CommandNo – unknown value (next message number)
b) Data
No additional data.
4.2 Responses
4.2.1 Sending calculated GPS position with additional data
This response is reaction to "Calculate and send new position" request (paragprah 4.1.1). The position (and additional data) is sent in packed GPSInfo structure.
a) Header
ushort Command = LAN_CODE_GPS_INFORMATION = 0x0006
int Length = sizeof(Header) + sizeof(GPSInfo)
ushort CommandNo – unknown value (next message number)
b) Data
Data is sent binary in structure shown below packed to byte array.
/// <summary>
/// Structure containing calculated data with additional info.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct GPSInfo
/// <summary>
/// Calculated position.
/// </summary>
public PositionSt Position;
/// <summary>
/// Section id, on which train is.
/// </summary>
public int IdSection;
/// <summary>
/// USISID, on which train is.
/// </summary>
public double USISID;
/// <summary>
/// Actual mileage (in section).
/// </summary>
public double SectionMileage;
/// <summary>
/// Begin mileage of the section.
/// </summary>
public double SectionBeginMileage;
/// <summary>
/// End mileage of the section.
/// </summary>
public double SectionEndMileage;
/// <summary>
/// Mileage from odometer.
/// </summary>
public double OdometerMileage;
/// <summary>
/// Structure describing batteries status of the GPS.
/// </summary>
public BatteriesSt Batteries;
/// <summary>
/// Actual time.
/// </summary>
public double DateTimeInfo;
/// <summary>
/// Actual speed.
/// </summary>
public double Speed;
/// <summary>
/// Defines if navigation needs choosing leg by the user.
/// </summary>
public int NeedChoosing;
/// <summary>
/// Defines if sent position is unknown (when we don’t know on which leg we are)
/// </summary>
public int PositionUnknown;
/// <summary>
/// Number of the first leg.
/// </summary>
public double Leg1;
/// <summary>
/// Number of the second leg.
/// </summary>
public double Leg2;
/// <summary>
/// Defines if section, on which we are is properly defined in database.
/// </summary>
public int WrongObject;
/// <summary>
/// Defines ‘virtual’ mileage of the non-properly defined section.
/// </summary>
public int WrongMileage;
/// <summary>
/// Non calculated raw gps position.
/// </summary>
public PositionSt RawGPSPosition;
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BatteriesSt
/// <summary>
/// Percentage of batteries load.
/// </summary>
public double Percentage;
/// <summary>
/// Voltage of the batteries.
/// </summary>
public double Voltage;
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct PositionSt
public double X;
public double Y;
public double Z;Some more very general info, not so much the TCP itself, but how to deal with those data structures.
The TCP interface in LabVIEW takes strings. So you'll have to convert the packets into the right kind of data structure.
1. You'll probably want to define LabVIEW datatypes corresponding to the various structs defined in the header. A LabVIEW cluster is the element that is most like a struct.
2. As you populate the cluster with native datatypes, be careful to use the correct ones. When you drop a numeric control, LabVIEW treats it as a double by default. You can then right click and change the representation to the right kind. Be careful about the size of your integers too! You'll need to know whether a ushort means 16 or 32 bits for example.
3. The memory layout order for a LabVIEW cluster is not necessarily the same as the visual order. You'll need to right-click the cluster border in order to define the correct order of all the items within the cluster.
4. Back on the cluster border, right-click and choose Advanced->Customize... This brings up the custom control editor. Make your custom data type into a typedef.
5. The LabVIEW function Unflatten from String is probably the best way to convert the received TCP string into the typedef'ed cluster's datatype.
6. For debug and troubleshooting of this conversion, be sure you have a way for your server to send a known non-default struct so you can validate what you receive and interpret.
-Kevin P. -
Dock/Display shifts to the right?
My macbook 2.1 display goes whacko and the dock shifts to the right and sinks half way below the bottom of the screen. If I move the cursor to the right hand edge of the screen the screen begins rolling continuously to the left.
In frustration I walked away and come back to find everything centered. It is doing this repeatedly.It sounds like the "Zoom" feature is being activated. Check in "System Preferences">"Universal Access" to make sure it's off. You can also turn it on or off with the key combination "Option, Command, Number 8"
-
以下为代网友发帖,内容为
环境:db:10.2.0.4.0 system:aix 6.1
请各位大师帮忙确定是什么原因导致的
node1
Wed Aug 22 09:59:17 2012
IPC Send timeout detected.Sender: ospid 25821502
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:17 2012
IPC Send timeout detected.Sender: ospid 24838548
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:18 2012
IPC Send timeout detected.Sender: ospid 18743888
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:18 2012
IPC Send timeout detected.Sender: ospid 8586514
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:19 2012
IPC Send timeout detected.Sender: ospid 21365006
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:20 2012
IPC Send timeout detected.Sender: ospid 18088896
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:20 2012
IPC Send timeout detected.Sender: ospid 15467098
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:20 2012
Wed Aug 22 09:59:44 2012
IPC Send timeout detected.Sender: ospid 9635304
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 09:59:44 2012
IPC Send timeout detected.Sender: ospid 1704160
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 09:59:44 2012
IPC Send timeout detected.Sender: ospid 2687916
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 09:59:44 2012
IPC Send timeout detected.Sender: ospid 1836306
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 09:59:45 2012
IPC Send timeout detected.Sender: ospid 11273456
Wed Aug 22 10:00:03 2012
IPC Send timeout detected.Sender: ospid 4982212
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 629
Wed Aug 22 10:00:03 2012
IPC Send timeout detected.Sender: ospid 15270298
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.5 inc 28 for msg type 36 from opid 374
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 619
Wed Aug 22 10:00:03 2012
IPC Send timeout detected.Sender: ospid 16712906
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 626
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 376
Wed Aug 22 10:00:03 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 260
Wed Aug 22 10:00:03 2012
IPC Send timeout detected.Sender: ospid 12125594
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:04 2012
IPC Send timeout detected.Sender: ospid 22086174
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:04 2012
IPC Send timeout detected.Sender: ospid 8979076
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:00:04 2012
IPC Send timeout detected.Sender: ospid 23004052
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:04 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 640
Wed Aug 22 10:00:04 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 114
Wed Aug 22 10:00:04 2012
IPC Send timeout to 1.5 inc 28 for msg type 36 from opid 642
Wed Aug 22 10:00:04 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 644
Wed Aug 22 10:00:04 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 228
Wed Aug 22 10:00:04 2012
IPC Send timeout detected.Sender: ospid 13436000
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:05 2012
IPC Send timeout detected.Sender: ospid 4850956
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:00:05 2012
IPC Send timeout detected.Sender: ospid 21627618
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:00:05 2012
IPC Send timeout to 1.1 inc 28 for msg type 36 from opid 637
Wed Aug 22 10:00:05 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 648
Wed Aug 22 10:00:05 2012
IPC Send timeout to 1.1 inc 28 for msg type 36 from opid 628
Wed Aug 22 10:00:05 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 647
Wed Aug 22 10:00:05 2012
IPC Send timeout detected.Sender: ospid 23724892
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:05 2012
IPC Send timeout detected.Sender: ospid 14353416
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:05 2012
IPC Send timeout detected.Sender: ospid 15270628
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 634
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 235
Wed Aug 22 10:00:06 2012
IPC Send timeout detected.Sender: ospid 10749150
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 72
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 654
Wed Aug 22 10:00:06 2012
IPC Send timeout detected.Sender: ospid 16123646
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:00:06 2012
IPC Send timeout detected.Sender: ospid 19005890
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 655
Wed Aug 22 10:00:06 2012
IPC Send timeout detected.Sender: ospid 1311244
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:06 2012
IPC Send timeout to 1.5 inc 28 for msg type 36 from opid 658
Wed Aug 22 10:00:07 2012
IPC Send timeout detected.Sender: ospid 14091918
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:07 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 424
Wed Aug 22 10:00:07 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 631
Wed Aug 22 10:00:07 2012
IPC Send timeout detected.Sender: ospid 14876874
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:07 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 661
Wed Aug 22 10:00:07 2012
IPC Send timeout detected.Sender: ospid 18613208
Receiver: inst 2 binc 1412232506 ospid 27066946
Wed Aug 22 10:00:07 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 664
Wed Aug 22 10:00:07 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 603
Wed Aug 22 10:00:07 2012
IPC Send timeout detected.Sender: ospid 2818720
Receiver: inst 2 binc 1412232544 ospid 25362610
Wed Aug 22 10:03:54 2012
IPC Send timeout to 1.1 inc 28 for msg type 36 from opid 1219
Wed Aug 22 10:04:05 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 2256
Wed Aug 22 10:04:08 2012
IPC Send timeout to 1.1 inc 28 for msg type 36 from opid 1908
Wed Aug 22 10:04:10 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1476
Wed Aug 22 10:04:12 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1653
Wed Aug 22 10:04:12 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1266
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1345
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1202
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1203
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1239
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1237
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1207
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1197
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1313
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.5 inc 28 for msg type 32 from opid 1274
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc 28 for msg type 32 from opid 1140
Wed Aug 22 10:04:13 2012
IPC Send timeout to 1.1 inc Wed Aug 22 10:25:55 2012Node2:
Wed Aug 22 09:47:57 2012
Error 2056 trapped in 2PC on transaction 20.16.21521114. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:48:28 2012
Error 2056 trapped in 2PC on transaction 78.44.4484418. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Error 2056 trapped in 2PC on transaction 17.42.11081684. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:48:42 2012
Error 2056 trapped in 2PC on transaction 75.15.10618335. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:48:58 2012
Error 2056 trapped in 2PC on transaction 62.28.20411900. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:49:04 2012
Error 2056 trapped in 2PC on transaction 81.34.7287924. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:50:01 2012
Thread 2 advanced to log sequence 53611 (LGWR switch)
Current log# 5 seq# 53611 mem# 0: /dev/rredo05_rzdb
Wed Aug 22 09:50:34 2012
Error 2056 trapped in 2PC on transaction 71.15.14657575. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:50:46 2012
Error 2056 trapped in 2PC on transaction 84.12.11181366. Cleaning up.
Error stack returned to user:
ORA-02056: 2PC: k2lpre: bad two-phase command number 0 from coord
Wed Aug 22 09:50:48 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/udump/crmrz2_ora_23856588.trc:
ORA-00600: internal error code, arguments: [ksqcmi:res2], [], [], [], [], [], [], []
Wed Aug 22 09:50:49 2012
Trace dumping is performing id=[cdmp_20120822095049]
Wed Aug 22 09:59:16 2012
IPC Send timeout detected. Receiver ospid 27066946
Receiver is waiting for a latch dumping latch state for receiver -17356
Wed Aug 22 09:59:16 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms4_25362610.trc:
Wed Aug 22 09:59:38 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms0_27066946.trc:
Wed Aug 22 09:59:38 2012
Trace dumping is performing id=[cdmp_20120822095938]
Wed Aug 22 10:02:09 2012
kkjcre1p: unable to spawn jobq slave process
Wed Aug 22 10:02:09 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_cjq0_25100728.trc:
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lmon_25493740.trc:
ORA-29740: evicted by member 0, group incarnation 30
Wed Aug 22 10:02:32 2012
LMON: terminating instance due to error 29740
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms2_24904066.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms6_25626088.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms3_25559280.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms5_22873874.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms1_24905100.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc1_26543176.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc1_26543176.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc1_26543176.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Master background archival failure: 29740
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lgwr_26477376.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lck0_22677374.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lmd0_27132530.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:32 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_pmon_25494950.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:33 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_mman_21235492.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:33 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc0_25036272.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:33 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc0_25036272.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:33 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_arc0_25036272.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:33 2012
Master background archival failure: 29740
Wed Aug 22 10:02:33 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_smon_22743004.trc:
ORA-29740: evicted by member , group incarnation
Wed Aug 22 10:02:34 2012
Shutting down instance (abort)
License high water mark = 1722
Wed Aug 22 10:02:38 2012
Instance terminated by LMON, pid = 25493740
Wed Aug 22 10:02:39 2012
Instance terminated by USER, pid = 22873880
Wed Aug 22 10:03:09 2012
Starting ORACLE instance (normal)
sskgpgetexecname failed to get name
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 en10 192.100.100.0 configured from OCR for use as a cluster interconnect
Interface type 1 en9 134.224.106.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 3000
sessions = 3305
resource_limit = TRUE
event =
sga_max_size = 51539607552
__shared_pool_size = 4227858432
__large_pool_size = 16777216
__java_pool_size = 33554432
__streams_pool_size = 0
spfile = /dev/rspfile_rzdb
sga_target = 51539607552
control_files = /dev/rcntrl01_rzdb, /dev/rcntrl02_rzdb, /dev/rcntrl03_rzdb
db_block_size = 8192
__db_cache_size = 46707769344
db_keep_cache_size = 536870912
compatible = 10.2.0.3.0
log_archive_dest_1 = location=/arch02
db_files = 1000
db_file_multiblock_read_count= 16
cluster_database = TRUE
cluster_database_instances= 2
thread = 2
instance_number = 2
undo_management = AUTO
undo_tablespace = UNDOTBS2
undo_retention = 900
recyclebin = OFF
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=crmrzXDB)
local_listener = (ADDRESS = (PROTOCOL =TCP)(HOST = 134.224.106.126)(PORT = 1521))
remote_listener = LISTENERS_CRMRZ
utl_file_dir = /arch01
job_queue_processes = 20
cursor_sharing = SIMILAR
background_dump_dest = /oracle/opt/product/10.2.0/db/admin/crmrz/bdump
user_dump_dest = /oracle/opt/product/10.2.0/db/admin/crmrz/udump
core_dump_dest = /oracle/opt/product/10.2.0/db/admin/crmrz/cdump
audit_file_dest = /oracle/opt/product/10.2.0/db/admin/crmrz/adump
db_name = crmrz
open_cursors = 1500
pga_aggregate_target = 10726932480
Cluster communication is configured to use the following interface(s) for this instance
192.100.100.2
Wed Aug 22 10:03:11 2012
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=24379686
DIAG started with pid=3, OS id=22743022
PSP0 started with pid=4, OS id=24773700
LMON started with pid=5, OS id=25429322
LMD0 started with pid=6, OS id=25494130
LMS0 started with pid=7, OS id=24904068
LMS1 started with pid=8, OS id=9437246
LMS2 started with pid=9, OS id=13304862
LMS3 started with pid=10, OS id=24969498
LMS4 started with pid=11, OS id=26936330
LMS5 started with pid=12, OS id=26935868
LMS6 started with pid=13, OS id=25167108
MMAN started with pid=14, OS id=27132604
DBW0 started with pid=15, OS id=26739208
DBW1 started with pid=16, OS id=23790482
DBW2 started with pid=17, OS id=25626104
DBW3 started with pid=18, OS id=25494956
LGWR started with pid=19, OS id=26673758
CKPT started with pid=20, OS id=26542676
SMON started with pid=21, OS id=20383626
RECO started with pid=22, OS id=26477394
CJQ0 started with pid=23, OS id=26411882
MMON started with pid=24, OS id=26346430
Wed Aug 22 10:03:14 2012
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=25, OS id=25624582
Wed Aug 22 10:03:14 2012
starting up 1 shared server(s) ...
Wed Aug 22 10:03:19 2012
lmon registered with NM - instance id 2 (internal mem no 1)
Wed Aug 22 10:03:26 2012
Reconfiguration started (old inc 0, new inc 33)
List of nodes:
0 1
Global Resource Directory frozen
* allocate domain 0, invalid = TRUE
Communication channels reestablished
* domain 0 valid = 0 according to instance 0
Wed Aug 22 10:03:26 2012
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Wed Aug 22 10:03:26 2012
LMS 4: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 6: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 2: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 1: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 5: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 3: 0 GCS shadows cancelled, 0 closed
Wed Aug 22 10:03:26 2012
LMS 0: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Wed Aug 22 10:03:28 2012
LMS 5: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 6: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 4: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 2: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 1: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 3: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
LMS 0: 0 GCS shadows traversed, 0 replayed
Wed Aug 22 10:03:28 2012
Submitted all GCS remote-cache requests
Fix write in gcs resources
Reconfiguration complete
LCK0 started with pid=28, OS id=26215276
Wed Aug 22 10:03:33 2012
ALTER DATABASE MOUNT
Wed Aug 22 10:03:37 2012
Setting recovery target incarnation to 1
Wed Aug 22 10:03:37 2012
Successful mount of redo thread 2, with mount id 3477695295
Wed Aug 22 10:03:37 2012
Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE)
Completed: ALTER DATABASE MOUNT
Wed Aug 22 10:03:38 2012
ALTER DATABASE OPEN
Picked broadcast on commit scheme to generate SCNs
Wed Aug 22 10:03:59 2012
Trace dumping is performing id=[cdmp_20120822100344]
IPC Send timeout detected. Receiver ospid 24904068
Wed Aug 22 10:04:03 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms0_24904068.trc:
Wed Aug 22 10:04:59 2012
Trace dumping is performing id=[cdmp_20120822100458]
Wed Aug 22 10:05:19 2012
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=32, OS id=26739814
Wed Aug 22 10:05:19 2012
ARC0: Archival started
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC1 started with pid=31, OS id=24445226
Wed Aug 22 10:05:20 2012
IPC Send timeout detected. Receiver ospid 24904068
Wed Aug 22 10:05:20 2012
Errors in file /oracle/opt/product/10.2.0/db/admin/crmrz/bdump/crmrz2_lms0_24904068.trc:
Wed Aug 22 10:05:21 2012
Thread 2 opened at log sequence 53612
Current log# 6 seq# 53612 mem# 0: /dev/rredo06_rzdb
Wed Aug 22 10:05:21 2012
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
Wed Aug 22 10:05:21 2012
ARC0: Becoming the heartbeat ARCH
Wed Aug 22 10:05:21 2012
Successful open of redo thread 2
Wed Aug 22 10:05:21 2012
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Aug 22 10:05:21 2012
SMON: enabling cache recovery
Wed Aug 22 10:06:31 2012
WARNING: inbound connection timed out (ORA-3136)
Wed Aug 22 10:06:32 2012
Successfully onlined Undo Tablespace 4.
Wed Aug 22 10:06:32 2012
SMON: enabling tx recovery
Wed Aug 22 10:06:32 2012
Database Characterset is ZHS16GBK
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 28
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=42, OS id=25887794
Wed Aug 22 10:06:43 2012
Completed: ALTER DATABASE OPEN
Wed Aug 22 10:07:00 2012
WARNING: inbound connection timed out (ORA-3136)
Wed Aug 22 10:07:13 2012
WARNING: inbound connection timed out (ORA-3136)
Wed Aug 22 10:07:25 2012
WARNING: inbound connection timed out (ORA-3136)
Wed Aug 22 10:07:31 2012
Trace dumping is performing id=[cdmp_20120822100731]
Wed Aug 22 10:09:20 2012
Trace dumping is performing id=[cdmp_20120822100732]
Wed Aug 22 10:25:54 20122012-08-22 10:01:23.571: [ CRSEVT][11527]32CAAMonitorHandler :: 0:Could not join /oracle/opt/product/10.2.0/crs/bin/racgwrap(check)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
2012-08-22 10:01:31.473: [ CRSEVT][11527]32CAAMonitorHandler :: 0:Action Script /oracle/opt/product/10.2.0/crs/bin/racgwrap(check) timed out for ora.crmrz01.vip! (timeout=60)
2012-08-22 10:01:31.474: [ CRSAPP][11527]32CheckResource error for ora.crmrz01.vip error code = -2
2012-08-22 10:03:04.553: [ CRSEVT][11530]32CAAMonitorHandler :: 0:Could not join /oracle/opt/product/10.2.0/crs/bin/racgwrap(check)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
2012-08-22 10:03:04.553: [ CRSEVT][11530]32CAAMonitorHandler :: 0:Action Script /oracle/opt/product/10.2.0/crs/bin/racgwrap(check) timed out for ora.crmrz01.vip! (timeout=60)
2012-08-22 10:03:04.554: [ CRSAPP][11530]32CheckResource error for ora.crmrz01.vip error code = -2
2012-08-22 10:03:39.055: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:03:39.138: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:03:39.630: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:03:39.814: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:13.506: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:04:13.522: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:13.610: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:04:13.618: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:44.509: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:04:44.525: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:44.898: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:04:44.915: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:58.959: [ COMMCRS][3866]Authorization failed, network error
2012-08-22 10:04:58.963: [ OCRSRV][3866]th_select_answer: Failure in answer. clsc ret [3]
2012-08-22 10:04:59.047: [ COMMCRS][3866]Authorization failed, network 2012-08-22 10:12:25.310: [ CRSRES][11569]32startRunnable: setting CLI values
crs 日志network error 基本上可以确定当时的网络是存在问题 -
How to do a print screen?
How do I do a print of a screen with my new macbook Pro?
If you're talking about taking a picture of your screen press Shift, Command, Number 3 for a picture of the whole screen. Or press Shift, Command, Number 4 and the cursor will change to crosshairs. You can then hold the left click (or mouse) button down and drag the cursor to select a smaller protion of the screen. The picture will then appear on your desktop.
-
Try/catch issue - "cannot find symbol - class InputMismatchExeption"
I'm still learning try/catch but from what i've read online and in the class library it looks right...i'm not sure why it won't compile.
try {
do {
System.out.print("Enter command (1-5): ");
selection = scan.nextInt();
if (selection < 1 || selection > 5) {
System.out.print("Illegal command number.");
System.out.println("The available commands are:");
System.out.println("\t1. Add new entry to the address book.");
System.out.println("\t2. Delete existing entry from address book entries.");
System.out.println("\t3. Print out all address book entries.");
System.out.println("\t4. Search records for a certain pattern.");
System.out.println("\t5. Quit the Application.");
while (selection < 1 || selection > 5);
//this does not work!!!!!!
catch( InputMismatchException ime ){
System.out.println("Illegal command.");
}I have
import.java.io.*;at the beginning before i declare my class. I'm not sure abotu the second thing you said, could you elaborate?
I'm sorry, I'm still new at java.
edit: yeah, I didn't import java.util.... hides in shame
Do i still have to import util.Scanner or will that import automatically when i import util.*
Message was edited by:
Cymae
Maybe you are looking for
-
How can I get my apps back after recovery and installing ios 8?
I have updated my phone a couple of hours ago. Luckily all my photos, contacts, notes, messages... they are all here. But I don't have any of my old apps. Where can I restore them? Please don't tell me I have to download one by one again Most of them
-
i have a problem in compiling an RLP example program /* ChipObject and DIO 96 example program */ and i think its a linker error... do i need dll or something to work this out or files in my project are incorrect? Files included in my VC++ project: di
-
Translation of excel file to an xml file
hello does any one know how do I translate an Excel File to enter to the XI as XML file? (XI 3.0 version, SP21) Thanks Kfir
-
Planned order creation in the past
Dear Experts, For some business requirements, I have a necessiity for placing orders in the past. Is there any method to make a planned orders manually in the past in APO ? Thanks in advance four your input. Regards, Lee, Seung Won
-
My boss sent an excel sheet for me to update now he can't open it on his pc how do i change it
how can i save a google doc so my boss can open it on his pc, I have a mac late 2013 is x 10.9.5 he doesn't, can anyone help me?