Unable to execute update commands after improper shutdown

Hi!
It sounds a little strange.
I am unable to execute update commands from my application. My machine was shutdown improperly. Then I loaded the datastores again. I was able to execute select commands but unable to execute update commands. It was working fine before shutdown.
Regards
/Ahmad

Hi Chris!
SQLExecute method of ODBC is returning -1.
I have checked the syntax of the query its also correct. I am also very confused on it why is this happening. If I execute the update command from ttisql it works ok.
The code is the same that we discussed in our previous conversation.
The steps I did after improper shutdown:
1. Started TimeTen daemon >ttdaemonadmin -start
2. Loaded the Data store >ttAdmin -ramLoad spiderM
3. Executed the code
The output of ttstatus is as follows:
TimesTen status report as of Fri Jun 29 21:45:41 2007
Daemon pid 8273 port 17001 instance tt70
TimesTen server pid 8284 started on port 17003
TimesTen webserver pid 8280 started on port 17005
Data store /tmp/spiderM
There are 6 connections to the data store
Data store is in shared mode
Shared Memory KEY 0x08004f3c ID 557070
Type PID Context Connection Name ConnID
Subdaemon 8278 0x0000000000570520 Worker 2042
Subdaemon 8278 0x00000000005dc4d0 Flusher 2043
Subdaemon 8278 0x000000000060d5d0 Checkpoint 2044
Subdaemon 8278 0x000000000063e5a0 Aging 2045
Subdaemon 8278 0x000000000066f570 HistGC 2046
Subdaemon 8278 0x00000000006a0430 Monitor 2047
RAM residence policy: Manual
Data store is manually loaded into RAM
Replication policy : Manual
Cache agent policy : Manual
Data store /usr/users/spider/TimesTen/tt70/info/TT_tt70
There are no connections to the data store
Replication policy : Manual
Cache agent policy : Manual
Access control enabled.
End of report
Regards
/Ahmad

Similar Messages

  • Unable to execute QEMU command 'qom-list': The command qom-list has not been found

    I have been trying to get openstack working on the 2 Node Architecture -  Controller (OL6.6) and Compute(OL.6.6). I am following the Oracle Openstack Installation Document but I keep getting the following error -
    2015-03-26 20:32:13.662 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Attempting to build 1 instance(s) uuids: [u'9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c']
    2015-03-26 20:32:13.676 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Choosing host WeighedHost [host: kvm4A.com, weight: 1.0] for instance 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c
    2015-03-26 20:32:33.586 8067 INFO nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Attempting to build 1 instance(s) uuids: [u'9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c']
    2015-03-26 20:32:33.588 8067 ERROR nova.scheduler.filter_scheduler [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] [instance: 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c] Error from last host: kvm4A.com (node kvm4A.com): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1328, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1740, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1737, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2297, in spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3704, in _create_domain_and_network\n    power_on=power_on)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3605, in _create_domain\n    domain.XMLDesc(0))\n', u'  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3600, in _create_domain\n    domain.createWithFlags(launch_flags)\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call\n    rv = execute(f,*args,**kwargs)\n', u'  File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker\n    rv = meth(*args,**kwargs)\n', u'  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 738, in createWithFlags\n    if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u"libvirtError: internal error: unable to execute QEMU command 'qom-list': The command qom-list has not been found\n"]
    2015-03-26 20:32:33.592 8067 INFO nova.filters [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] Filter RetryFilter returned 0 hosts
    2015-03-26 20:32:33.592 8067 WARNING nova.scheduler.driver [req-92279e25-f098-4a7a-b8d5-a75bc965a3d3 6e5fe2a1961a4b31921c37f0d2e74265 326a884b9db44e56a68e8a9761ffcf84] [instance: 9fb4d99c-a7f7-4cd2-bbbc-4056ac0e8f1c] Setting instance to ERROR state.
    Any suggestions?
    Thanks

    Hi Avi,
    The guide is for OL6 (see excerpt from page 5)
    "A compute node is a system running Oracle Linux using KVM, or Oracle VM Server Release 3.3. You can download
    installation ISOs of the latest version of Oracle Linux 6, or Oracle VM Server Release 3.3, from the Oracle Software
    Delivery Cloud at:"
    And although 1.0 release says OL6.5 and later I cannot find the OL7 pacakges on the public yum server. The only ones I can find are http://public-yum.oracle.com/public-yum-openstack-ol6.repo  which is clearly OL6. I tried them on OL7 and the install fails.
    [ol6_openstack10]
    name=OpenStack 1.0 packages for Oracle Linux 6 (x86_64)
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/openstack10/x86_64/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
    gpgcheck=1
    enabled=1
    [ol6_latest]
    name=Oracle Linux $releasever Latest ($basearch)
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
    gpgcheck=1
    enabled=1
    If you have an Oracle Openstack install running I'd love to hear how you did it and what you did to accomplish it.
    Right now I'm running OL6.6 with a RDO icehouse packstack install and I'm running into problems mounting volumes.
    Openstack will be awesome once I get it running
    Thank you for any assistance.
    Dave

  • [Solved] "slim: failed to execute login command" after awesomewm updat

    Hi,
    i updated some weeks ago via pacman -Syu, where also awesome wm was updated from 3.4.* to 3.5.* so I updated my rc.lua as it is told on their wiki, but i cant login with my rc.lua anymore i got the failed to execute login command error from slime. If i use the shipped efault rc.lua it works fine, can someone help me to figure out whats wrong with my rc.lua?
    -- Standard awesome library
    local gears = require("gears")
    local awful = require("awful")
    awful.rules = require("awful.rules")
    require("awful.autofocus")
    -- Widget and layout library
    local wibox = require("wibox")
    -- Theme handling library
    local beautiful = require("beautiful")
    -- Notification library
    local naughty = require("naughty")
    local menubar = require("menubar")
    local vicious = require("vicious")
    function fullscreens(c)
    awful.client.floating.toggle(c)
    if awful.client.floating.get(c) then
    local clientX = screen[1].workarea.x
    local clientY = screen[1].workarea.y
    local clientWidth = 0
    -- look at http://www.rpm.org/api/4.4.2.2/llimits_8h-source.html
    local clientHeight = 2147483640
    for s = 1, screen.count() do
    clientHeight = math.min(clientHeight, screen[s].workarea.height)
    clientWidth = clientWidth + screen[s].workarea.width
    end
    local t = c:geometry({x = clientX, y = clientY, width = clientWidth, height = clientHeight})
    else
    --apply the rules to this client so he can return to the right tag if there is a rule for that.
    awful.rules.apply(c)
    end
    -- focus our client
    client.focus = c
    end
    -- {{{ Error handling
    -- Check if awesome encountered an error during startup and fell back to
    -- another config (This code will only ever execute for the fallback config)
    if awesome.startup_errors then
    naughty.notify({ preset = naughty.config.presets.critical,
    title = "Oops, there were errors during startup!",
    text = awesome.startup_errors })
    end
    -- Handle runtime errors after startup
    do
    local in_error = false
    awesome.connect_signal("debug::error", function (err)
    -- Make sure we don't go into an endless error loop
    if in_error then return end
    in_error = true
    naughty.notify({ preset = naughty.config.presets.critical,
    title = "Oops, an error happened!",
    text = err })
    in_error = false
    end)
    end
    -- {{{ Variable definitions
    -- Themes define colours, icons, and wallpapers
    -- beautiful.init("/home/kili/Repositories/awesome-themes/arch/theme.lua")
    beautiful.init("/usr/share/awesome/themes/default/theme.lua")
    -- This is used later as the default terminal and editor to run.
    terminal = "urxvt"
    editor = os.getenv("EDITOR") or "nano"
    editor_cmd = terminal .. " -e " .. editor
    -- Default modkey.
    -- Usually, Mod4 is the key with a logo between Control and Alt.
    -- If you do not like this or do not have such a key,
    -- I suggest you to remap Mod4 to another key using xmodmap or other tools.
    -- However, you can use another modifier like Mod1, but it may interact with others.
    modkey = "Mod4"
    -- Table of layouts to cover with awful.layout.inc, order matters.
    layouts =
    awful.layout.suit.tile,
    awful.layout.suit.tile.left,
    awful.layout.suit.tile.bottom,
    awful.layout.suit.tile.top,
    awful.layout.suit.floating,
    awful.layout.suit.fair,
    awful.layout.suit.fair.horizontal,
    awful.layout.suit.spiral,
    awful.layout.suit.spiral.dwindle,
    awful.layout.suit.max,
    awful.layout.suit.max.fullscreen,
    awful.layout.suit.magnifier
    -- {{{ Tags
    -- Define a tag table which hold all screen tags.
    tags = {}
    for s = 1, screen.count() do
    -- Each screen has its own tag table.
    tags[s] = awful.tag({ 1, 2, 3, 4, 5}, s, layouts[1])
    end
    -- {{{ Menu
    -- Create a laucher widget and a main menu
    myawesomemenu = {
    { "manual", terminal .. " -e man awesome" },
    { "edit config", editor_cmd .. " " .. awesome.conffile },
    { "restart", awesome.restart },
    { "quit", awesome.quit }
    mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
    { "open terminal", terminal }
    mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu })
    -- {{{ Wibox
    -- Create a textclock widget
    batwidget = wibox.widget.textbox()
    vicious.register(batwidget, vicious.widgets.bat,
    function(widget,args)
    local formatstring = " Bat: "..args[1]..args[2] .."%".. " "..args[3] .. " "
    if args[2] <= 25 and args[1] == "-" then
    return "<span color=\"red\">".. formatstring .. "</span>"
    end
    return formatstring
    end, 60, "BAT0")
    netwidgetETH = wibox.widget.textbox()
    netwidgetWIFI = wibox.widget.textbox()
    vicious.register(netwidgetETH, vicious.widgets.net, ' eth0:<span color="#CC9393">${eth0 down_kb}</span> <span color="#7F9F7F">${eth0 up_kb}</span>', 3)
    vicious.register(netwidgetWIFI, vicious.widgets.net,' wlan0:<span color="#CC9393">${wlan0 down_kb}</span> <span color="#7F9F7F">${wlan0 up_kb}</span>', 3)
    menubar.utils.terminal = terminal
    mytextclock = awful.widget.textclock()--{ align = "right" })
    -- Create a systray
    mysystray = wibox.widget.systray()
    -- Create a wibox for each screen and add it
    mywibox = {}
    mypromptbox = {}
    mylayoutbox = {}
    mytaglist = {}
    mytaglist.buttons = awful.util.table.join(
    awful.button({ }, 1, awful.tag.viewonly),
    awful.button({ modkey }, 1, awful.client.movetotag),
    awful.button({ }, 3, awful.tag.viewtoggle),
    awful.button({ modkey }, 3, awful.client.toggletag),
    awful.button({ }, 4, function(t) awful.tag.viewnext(aweful.tag.getscreen(t)) end),
    awful.button({ }, 5, function(t) awful.tag.viewprev(aweful.tag.getscreen(t)) end)
    mytasklist = {}
    mytasklist.buttons = awful.util.table.join(
    awful.button({ }, 1, function (c)
    if c == client.focus then
    c.minimized = true
    else
    c.minimized = false
    if not c:isvisible() then
    awful.tag.viewonly(c:tags()[1])
    end
    -- This will also un-minimize
    -- the client, if needed
    client.focus = c
    c:raise()
    end
    end),
    awful.button({ }, 3, function ()
    if instance then
    instance:hide()
    instance = nil
    else
    instance = awful.menu.clients({ width=250 })
    end
    end),
    awful.button({ }, 4, function ()
    awful.client.focus.byidx(1)
    if client.focus then client.focus:raise() end
    end),
    awful.button({ }, 5, function ()
    awful.client.focus.byidx(-1)
    if client.focus then client.focus:raise() end
    end))
    for s = 1, screen.count() do
    -- Create a promptbox for each screen
    mypromptbox[s] = awful.widget.prompt()--{ layout = awful.widget.layout.horizontal.leftright })
    -- Create an imagebox widget which will contains an icon indicating which layout we're using.
    -- We need one layoutbox per screen.
    mylayoutbox[s] = awful.widget.layoutbox(s)
    mylayoutbox[s]:buttons(awful.util.table.join(
    awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
    awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
    awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
    awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
    -- Create a taglist widget
    mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.filter.all, mytaglist.buttons)
    -- Create a tasklist widget
    mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons)
    -- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    -- Widgets that are aligned to the left
    local left_layout = wibox.layout.fixed.horizontal()
    left_layout:add(mylauncher)
    left_layout:add(mytaglist[s])
    left_layout:add(mypromptbox[s])
    -- Widgets that are aligned to the right
    local right_layout = wibox.layout.fixed.horizontal()
    if s == 1 then right_layout:add(wibox.widget.systray()) end
    right_layout:add(netwidgetWIFI)
    right_layout:add(netwidgetETH)
    right_layout:add(batwidget)
    right_layout:add(mytextclock)
    right_layout:add(mylayoutbox[s])
    -- Now bring it all together (with the tasklist in the middle)
    local layout = wibox.layout.align.horizontal()
    layout:set_left(left_layout)
    layout:set_middle(mytasklist[s])
    layout:set_right(right_layout)
    mywibox[s]:set_widget(layout)
    -- Add widgets to the wibox - order matters
    --mywibox[s].widgets = {
    -- mylauncher,
    -- mytaglist[s],
    -- mypromptbox[s],
    --layout = awful.widget.layout.horizontal.leftright
    -- mylayoutbox[s],
    -- mytextclock,
    -- batwidget,
    -- netwidgetETH,
    -- netwidgetWIFI,
    -- s == 1 and mysystray or nil,
    -- mytasklist[s],
    -- layout = awful.widget.layout.horizontal.rightleft
    end
    -- {{{ Mouse bindings
    root.buttons(awful.util.table.join(
    awful.button({ }, 3, function () mymainmenu:toggle() end),
    awful.button({ }, 4, awful.tag.viewnext),
    awful.button({ }, 5, awful.tag.viewprev)
    -- {{{ Key bindings
    globalkeys = awful.util.table.join(
    awful.key({ modkey, }, "Left", awful.tag.viewprev ),
    awful.key({ modkey, }, "Right", awful.tag.viewnext ),
    awful.key({ modkey, }, "Escape", awful.tag.history.restore),
    awful.key({ modkey, }, "j",
    function ()
    awful.client.focus.byidx( 1)
    if client.focus then client.focus:raise() end
    end),
    awful.key({ modkey, }, "k",
    function ()
    awful.client.focus.byidx(-1)
    if client.focus then client.focus:raise() end
    end),
    awful.key({ modkey, }, "w", function () mymainmenu:show() end),
    -- Layout manipulation
    awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
    awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
    awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
    awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
    awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
    awful.key({ modkey, }, "Tab",
    function ()
    awful.client.focus.history.previous()
    if client.focus then
    client.focus:raise()
    end
    end),
    -- Standard program
    awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
    awful.key({ modkey, "Control" }, "r", awesome.restart),
    awful.key({ modkey, "Shift" }, "q", awesome.quit),
    awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
    awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
    awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
    awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
    awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
    awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
    awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
    awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
    awful.key({ modkey, "Control" }, "n", awful.client.restore),
    -- Prompt
    awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
    awful.key({ modkey }, "x",
    function ()
    awful.prompt.run({ prompt = "Run Lua code: " },
    mypromptbox[mouse.screen].widget,
    awful.util.eval, nil,
    awful.util.getdir("cache") .. "/history_eval")
    end),
    -- Multimedia
    awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer -q sset Master 2dB-") end),
    awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -q sset Master 2dB+") end),
    awful.key({ }, "XF86AudioNext",function () awful.util.spawn( "mocp -f" ) end),
    awful.key({ }, "XF86AudioPrev",function () awful.util.spawn( "mocp -r" ) end),
    awful.key({ }, "XF86AudioPlay",function () awful.util.spawn( "mocp -G" ) end),
    awful.key({ }, "Print", function () awful.util.spawn("ksnapshot") end),
    awful.key({ }, "", function () awful.util.spawn("slimlock") end)
    clientkeys = awful.util.table.join(
    awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
    awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
    awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
    awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
    awful.key({ modkey, }, "o", awful.client.movetoscreen ),
    -- awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
    awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
    awful.key({ modkey, }, "n",
    function (c)
    -- The client currently has the input focus, so it cannot be
    -- minimized, since minimized clients can't have the focus.
    c.minimized = true
    end),
    awful.key({ modkey, }, "m",
    function (c)
    c.maximized_horizontal = not c.maximized_horizontal
    c.maximized_vertical = not c.maximized_vertical
    end),
    awful.key({ modkey, "Shift" }, "f", fullscreens)
    -- Compute the maximum number of digit we need, limited to 9
    keynumber = 0
    for s = 1, screen.count() do
    keynumber = math.min(9, math.max(#tags[s], keynumber))
    end
    -- Bind all key numbers to tags.
    -- Be careful: we use keycodes to make it works on any keyboard layout.
    -- This should map on the top row of your keyboard, usually 1 to 9.
    for i = 1, keynumber do
    globalkeys = awful.util.table.join(globalkeys,
    awful.key({ modkey }, "#" .. i + 9,
    function ()
    local screen = mouse.screen
    if tags[screen][i] then
    awful.tag.viewonly(tags[screen][i])
    end
    end),
    awful.key({ modkey, "Control" }, "#" .. i + 9,
    function ()
    local screen = mouse.screen
    if tags[screen][i] then
    awful.tag.viewtoggle(tags[screen][i])
    end
    end),
    awful.key({ modkey, "Shift" }, "#" .. i + 9,
    function ()
    if client.focus and tags[client.focus.screen][i] then
    awful.client.movetotag(tags[client.focus.screen][i])
    end
    end),
    awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
    function ()
    if client.focus and tags[client.focus.screen][i] then
    awful.client.toggletag(tags[client.focus.screen][i])
    end
    end))
    end
    clientbuttons = awful.util.table.join(
    awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
    awful.button({ modkey }, 1, awful.mouse.client.move),
    awful.button({ modkey }, 3, awful.mouse.client.resize))
    -- Set keys
    root.keys(globalkeys)
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    -- properties = { tag = tags[1][2] } },
    -- {{{ Rules
    if screen.count() > 1 then
    awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
    properties = { border_width = beautiful.border_width,
    -- border_color = beautiful.border_normal,
    focus = true,
    keys = clientkeys,
    buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
    properties = { floating = true } },
    { rule = { class = "gimp" },
    properties = { floating = true } },
    { rule = { class = "Xdialog" },
    properties = { floating = true } },
    { rule = { class = "Firefox" },
    properties = { tag = tags[1][1] } },
    { rule = { name = "Thunderbird" },
    properties = { tag = tags[1][2] } },
    { rule = { instance = "plugin-container" },
    properties = { floating = true } },
    { rule = { class = "Luakit" },
    properties = { floating = true } }
    else
    awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
    properties = { border_width = beautiful.border_width,
    -- border_color = beautiful.border_normal,
    focus = true,
    keys = clientkeys,
    buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
    properties = { floating = true } },
    { rule = { class = "gimp" },
    properties = { floating = true } },
    { rule = { class = "Firefox" },
    properties = { tag = tags[1][2] } },
    { rule = { name = "Thunderbird" },
    properties = { tag = tags[1][3] } },
    { rule = { instance = "plugin-container" },
    properties = { floating = true, fullscreen = true } },
    { rule = { class = "Dolphin" },
    properties = { floating = false, fullscreen = false, tag = tags[1][4] } },
    { rule = { class = "Luakit" },
    properties = { floating = true } },
    { rule = { class = "Pidgin" },
    properties = { tag = tags[1][5] } }
    end
    -- {{{ Signals
    -- Signal function to execute when a new client appears.
    client.connect_signal("manage", function (c, startup)
    -- Add a titlebar
    -- awful.titlebar.add(c, { modkey = modkey })
    -- Enable sloppy focus
    c:connect_signal("mouse::enter", function(c)
    if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
    and awful.client.focus.filter(c) then
    client.focus = c
    end
    end)
    if not startup then
    -- Set the windows at the slave,
    -- i.e. put it at the end of others instead of setting it master.
    -- awful.client.setslave(c)
    -- Put windows in a smart way, only if they does not set an initial position.
    if not c.size_hints.user_position and not c.size_hints.program_position then
    awful.placement.no_overlap(c)
    awful.placement.no_offscreen(c)
    end
    end
    local titlebars_enabled = false
    if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then
    -- Widgets that are aligned to the left
    local left_layout = wibox.layout.fixed.horizontal()
    left_layout:add(awful.titlebar.widget.iconwidget(c))
    -- Widgets that are aligned to the right
    local right_layout = wibox.layout.fixed.horizontal()
    right_layout:add(awful.titlebar.widget.floatingbutton(c))
    right_layout:add(awful.titlebar.widget.maximizedbutton(c))
    right_layout:add(awful.titlebar.widget.stickybutton(c))
    right_layout:add(awful.titlebar.widget.ontopbutton(c))
    right_layout:add(awful.titlebar.widget.closebutton(c))
    -- The title goes in the middle
    local title = awful.titlebar.widget.titlewidget(c)
    title:buttons(awful.util.table.join(
    awful.button({ }, 1, function()
    client.focus = c
    c:raise()
    awful.mouse.client.move(c)
    end),
    awful.button({ }, 3, function()
    client.focus = c
    c:raise()
    awful.mouse.client.resize(c)
    end)
    -- Now bring it all together
    local layout = wibox.layout.align.horizontal()
    layout:set_left(left_layout)
    layout:set_right(right_layout)
    layout:set_middle(title)
    awful.titlebar(c):set_widget(layout)
    end
    end)
    client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
    client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
    Here is also my slime config and my initrc
    ls -lisa .xinitrc
    3276814 4 -rwxr-xr-x ...
    #!/bin/sh
    xrdb -merge ~/.Xresources
    wicd-client --tray &
    exec awesome #>> ~/.cache/awesome/stdout 2>> ~/.cache/awesome/stderr
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    login_cmd exec /bin/bash -login ~/.xinitrc %session
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Available sessions (first one is the default).
    # The current chosen session name is replaced in the login_cmd
    # above, so your login command can handle different sessions.
    # see the xinitrc.sample file shipped with slim sources
    sessions awesome,xfce4,icewm-session,wmaker,blackbox
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Welcome to %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    default_user kili
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    focus_password yes
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    current_theme archlinux-simplyblack
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    Thanks in advance!
    Edit:
    Besides a lot of other errors the problem was the systray. It was created 2 times, now login works again. I figured that out via enabling logging for awesome in the xinitrc again.
    Last edited by stubb (2013-01-08 23:20:05)

    Hi,
    I have the same kind of issue after updated slim from v1.3.4-4 to v1.3.5-1.
    see my topic  here :
    https://bbs.archlinux.org/viewtopic.php?id=156792
    Last edited by cedricl (2013-01-24 17:16:42)

  • Unable to execute Linux command from Java

    Hi,
    I am currently working on a code wherein i need to execute Linux command from Java. Below are some of the query i have.
    1) Is there any efficient method of running OS commands from Java, rather than using Runtime and Process method.
    2) Below is details of my code which fails in execution
    **-- Java Version**
    java version "1.6.0"
    OpenJDK Runtime Environment (build 1.6.0-b09)
    OpenJDK Server VM (build 1.6.0-b09, mixed mode)
    -- Program Code ----
    Where <path> = Path i put myself
    package test;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.*;
    public class GetInode{
         * @param args
         public static void main(String[] args) {
              GetInode test = new GetInode();
              test.getInode();
         public void getInode(){                    
              String command = "/usr/bin/stat -Lt <path>;
              System.out.println(command);
              Process process;
              Runtime rt;     
              try{
              rt = Runtime.getRuntime();               
              process = rt.exec(command);
              InputStreamReader isr = new InputStreamReader(process.getErrorStream());
              BufferedReader bre = new BufferedReader(isr);
              BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream());
              System.out.println(bre.readLine());
    System.out.println(br.readLine().split(" ")[7]);
              process.destroy();          
              }catch (Exception ex){
                   System.out.println("Error :- " + ex.getMessage());
    ------Output -------------
    /usr/bin/stat -Lt "<path>"
    /usr/bin/stat: cannot stat `"<path>"': No such file or directory
    Error :- null
    Can any one help me what is wrong and why i am unable to run the Linux command from Java.

    For clarity purpose............i m submitting actual code here
    --- Code ---
    package test;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.*;
    public class GetInode{
    * @param args
    public static void main(String[] args) {
    GetInode test = new GetInode();
    test.getInode();
    public void getInode(){               
    String command = "/usr/bin/stat -Lt \"/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt\"";
    System.out.println(command);
    Process process;
    Runtime rt;
    try{
    rt = Runtime.getRuntime();
    process = rt.exec(command);
    InputStreamReader isr = new InputStreamReader(process.getErrorStream());
    BufferedReader bre = new BufferedReader(isr);
    BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream()));
    System.out.println(bre.readLine());
    System.out.println(br.readLine().split(" ")[7]);
    process.destroy();
    }catch (Exception ex){
    System.out.println("Error :- " + ex.getMessage());
    --- Output ---
    [ratz]s0898671: java GetInode
    /usr/bin/stat -Lt "/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"
    /usr/bin/stat: cannot stat `"/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"': No such file or directory
    Error :- null
    -- Linux Terminal --
    If i copy the first line from the output and execute on Linux terminal her is the output that i get
    [ratz]s0898671: /usr/bin/stat -Lt "/afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt"
    /afs/inf.ed.ac.uk/user/s08/s0898671/workspace/CASWESBLIN/TestFS/01_FIL_01.txt.txt 12003 24 81a4 453166 10000 1c 360466554 2 0 1 1246638450 1246638450 1246638450 4096
    Can you just assist me where am i really making mistake.......i was wondering if the command that i pass from Java....can be executed on Linux terminal why is it faling to run from java.........and when i print the Error Stream for process output........it show cannot Stat.......

  • Unable to execute find command

    I am trying to execute a command as below:
    find . -name '*' -mtime +20 -printf "%f %t\n\r" | sort;
    The error after this is as below:
    find: bad option -printf
    find: path-list predicate-list
    I am also trying to execute the same as above in the following way:
    find . -name '*' -mtime +20;
    This throws an error saying:
    find: cannot open .: Permission denied
    What could be the problem?
    The details of the server: SunOS LOMa 5.9 Generic_122300-50 sun4u sparc SUNW,Sun-Fire-V240 Solaris

    Please post your thread in the UNIX forum rather than wasting everyones time here...This forum is exclusively for Oracle ...Please close the thread..

  • Execute a command after 3 seconds...

    hey guys... there´s a way on AS to execute a command like.... menu2items.selectedIndex = 2; after some seconds?
    cya....

    Example code:
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    // create a timer that executes after 3 seconds, only once
    public var timer:Timer = new Timer( 3*1000, 1 );
    public function init():void
         // add event listeners
         timer.addEventListener( TimerEvent.TIMER, handleTimerEvent );
         // start the timer
         timer.start();
    public function handleTimerEvent( event:TimerEvent ):void
         menu2items.selectedIndex = 2;
    Let me know if that helps...
    Ben Edwards

  • Unable to contact update center after installing ML update

    I have a licensed version of Java Studio Creator. Yesterday, I downloaded and installed the Multilanguage version of Java Studio Creator, after uninstalling the old one. Now, every time I try to update JSC, it give an error: unable to conatact update center and the following exception is thrown:
    Annotation: URL: http://www.sun.com/applink?SunDispatchService=qmds&SunDispatchSubService=creatorcatalog&SunDispatchVersion=1.0&idev=4.26.2&auv=&lc=en&ibr=creator&osname=Windows+2000&osarch=x86&osversion=5.0&sn=(I have removed this)
    org.xml.sax.SAXParseException: Premature end of file.
         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    [catch] at org.openide.xml.XMLUtil.parse(Unknown Source)
         at org.netbeans.modules.autoupdate.XMLUpdates.parseDocument(Unknown Source)
         at org.netbeans.modules.autoupdate.XMLUpdates.access$500(Unknown Source)
         at org.netbeans.modules.autoupdate.XMLUpdates$2.run(Unknown Source)
         at org.openide.util.Task.run(Unknown Source)
         at org.openide.util.RequestProcessor$Task.run(Unknown Source)
         at org.openide.util.RequestProcessor$Processor.run(Unknown Source)I have already posted this on another thread,
    http://swforum.sun.com/jive/thread.jspa?threadID=48512&tstart=0
    but that seems to have diverted to other issues.

    This is on the update center side of things. Even if you were to get a response (instead of an error) the response would be an empty update catalog (no updates available). This problem will be resolved before any updates are available, so don't worry about missing updates.

  • Boot fails after improper shutdown

    A few months ago, my Powerbook G4 Titanium began failing to boot into 10.4 after any improper shutdown---power failure, force restart, etc.
    It would begin booting, the little circle would start to spin, and then the thing would just shut off. No error, no message.
    The only solution was to pull out my Norton Systemworks CD, use it to boot into OS9, and then restart into 10.4.
    Any help in figuring out what's up would be greatly appriciated.

    Norton Systemworks was actually probably the cause at one point. It is not compatible with Mac OS X in its Disk Doctor or Speed Disk module.
    You should only use these utilites:
    1. A backup utility before any other as my backup FAQ says:
    http://www.macmaps.com/backup.html
    2. And if your data is backed up and won't boot after an improper shut down, try repairing your directory with utilities known to work as my FAQ explains:
    http://www.macmaps.com/directoryfaq.html
    The only elements of Systemworks that are even remotely safe for use with Mac OS X are Retrospect for backup, and Anti-virus for locating Windows viruses on your Mac that you may transfer to Windows users. Everything else, you should throw away from the Systemworks bundle.

  • Unable to execute rules twice after applying Planning 9.3.1.1.11

    Hi All,
    Just wondering whether someone has come across this issue.
    We have just applied Planning 9.3.1.1.11 on a Windows platform.
    As a result, we are unable to execute the same rule twice from within the AAS console on any client machine and get the following error:
    "You must be connected to database to execute a rule."
    Once we get this error we cannot exeucte any other business tules and need to log back in to the AAS console to fix the problem.
    If we open up the AAS console on the AAS server, we can rule the rules as many times as we like. The error only comes up when executing a same rule from a client machine.
    In Planning web we can execute any business rules multiple times. However, if a user gets the above error in the AAS console, he/she is then unable to execute rules in Planning web unless he/she logs out and logs back in.
    We are using Planning 9.3.1.1.11, AAS 9.3.1.3.07 and HBR 9.3.1.1.11 on the server.
    However the AAS version on the client side is 9.3.1.1.9 and I think this may be what s causing the issue.
    The HBR patch for 9.3.1.1.11 is a server patch and cannot be installed on client machines. I am therefore unable to upgrade the AAS console on client machines to 9.3.1.1.11.
    Has anyone come across this?
    Thanks for your help.
    Seb

    Hi John,
    I worked it out last night... The readme for 9.3.1.1.11 is not very clear and I dont think it mentions patching each client.
    Below are the steps:
    1 - Close down the AAS console
    2 - Copy the newly deployed easclientplugin.jar, cmdlnlauncher.jar and identitymigration.jar from the AAS server and paste them under Hyperion\AnalyticAdministrationServices\console\lib on your client machine. Overwrite existing files if necessary.
    3 - Copy the new MigrateIdentities.bat from the AAS server and paste it under Hyperion\AnalyticAdministrationServices\console\bin on your client machine. Overwrite existing files if necessary.
    4 - Log on to the AAS console and go to Help - About and ensure that the HBR version is now 9.3.1.1.11
    5 - From the AAS console try and execute the same HBR twice.
    Thanks for your help.
    Seb

  • How can I execute a command after kernel-upgrade/mkinitcpio

    Because of the archlinux specific kernelnaming-policy there's a problem when using grub2. The created menu looks nasty because grub-mkconfig can't find the proper kernel-version. (Bugreport: https://bugs.archlinux.org/task/25453)
    Even if this is fixed we need to recreate the grubconfig always when a new kernel-version is installed.
    What I want now is executing grub-mkconfig after each kernel-installation/mkinitcpio, without repackaging the kernel. Is such a hook possible?
    Last edited by fsckd (2012-02-21 17:36:20)

    Rorschach wrote:
    Because of the archlinux specific kernelnaming-policy there's a problem when using grub2. The created menu looks nasty because grub-mkconfig can't find the proper kernel-version. (Bugreport: https://bugs.archlinux.org/task/25453)
    Even if this is fixed we need to recreate the grubconfig always when a new kernel-version is installed.
    What I want now is executing grub-mkconfig after each kernel-installation/mkinitcpio, without repackaging the kernel. Is such a hook possible?
    This is not necessary unless Versioned Kernel Installs are supported by pacman. I have added a new patch to https://www.dropbox.com/sh/jth3mchm3hob … src.tar.gz that solves the issue. No need for pacman or mkinitcpio hooks (for now).

  • Unable to execute a command line command using Java

    I am trying to run a command to add a group name. It is executed in command prompt of Windows 2003/2000
    Say this is the command I want to execute:
    net localgroup LordSM /add
    Here LordSM is the group name.
    I wrote the following code but it does not seem to work. Please suggest.
    String ABC=Value1TextField.getText();
    Value2Label.setText("Value is now " + ABC);
    // Above is to get value from a JText Field
    // Below is the code to run command for adding a group name to a System.
    String ExecutedCmd = "net localgroup " + ABC + "/add";
    Process p = Runtime.getRuntime().exec(ExecutedCmd);
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    { System.out.println(s); }
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    { System.out.println(s); }
    I am trying to run a command to add a group name. It is executed in command prompt of Windows 2003/2000
    Say this is the command I want to execute:
    net localgroup LordSM /add
    Here LordSM is the group name.
    I wrote the following code but it does not seem to work. Please suggest.
    String ABC=Value1TextField.getText();
    Value2Label.setText("Value is now " + ABC);
    // Above is to get value from a JText Field
    // Below is the code to run command for adding a group name to a System.
    String ExecutedCmd = "net localgroup " + ABC + "/add";
    Process p = Runtime.getRuntime().exec(ExecutedCmd);
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null)
    { System.out.println(s); }
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null)
    { System.out.println(s); }
    It does not seem to work means, that no Standard Error is defined, when it executes and group name is not added as well. The following is JUnit Test Result: Hope it gives a better idea of the problem I am facing:
    compile:
    run:
    Here is the standard output of the command:
    Here is the standard error of the command (if any):
    The syntax of this command is:
    NET LOCALGROUP [groupname [/COMMENT:"text"]] [DOMAIN]
    groupname {ADD [/COMMENT:"text"] | /DELETE} [DOMAIN]
    groupname name [...] {ADD | /DELETE} [DOMAIN]
    Got it
    BUILD SUCCESSFUL (total time: 10 minutes 49 seconds)
    I had even tried this:
    Runtime rt =Runtime.getRuntime();
    String[] cmd = new String[3];
    cmd[0] = "cmd.exe";
    cmd[1]="net localgroup";
    cmd[2] =ABC + "/add";
    rt.exec(cmd);
    but again, it does not give any error as such, but it does not create the group name either. Please suggest. We can see the group names that are added on right clicking My Computer Icon and click Manage and then go to User & Group section. On executing either of the code nothing happens.
    Thanks

    Duplicate post:
    http://forum.java.sun.com/thread.jspa?threadID=5203526&messageID=9812067#9812067

  • Unable to open production database after normal shutdown

    Hi,
    We are using oracle database 10.2.0.3 on AIX 5.3 with ASM.
    I have normally shutdown my database and after that when I am trying to open that i got lots of errors and as a result of that ASM diskgroups got dismounted.
    Our asm instance boots normally and mount the diskgroups but while opening database got following error:
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2071104 bytes
    Variable Size 102786496 bytes
    ASM Cache 25165824 bytes
    ASM diskgroups mounted
    SQL>
    =============================
    DATABASE STARTUP
    ===============================
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2.0451E+10 bytes
    Fixed Size 2109304 bytes
    Variable Size 1929379976 bytes
    Database Buffers 1.8488E+10 bytes
    Redo Buffers 31444992 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '+ORADATA/pakedwp/datafile/system.260.644366937'
    ORA-15078: ASM diskgroup was forcibly dismounted
    FOllowing is the alert_log entries details:
    ==================================================
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_dbw0_160228.trc:
    ORA-01157: cannot identify/lock data file 862 - see DBWR trace file
    ORA-01110: data file 862: '+ORADATA/pakedwp/datafile/sor_pre_voice_su_out_dec08w4.2014.672099749'
    ORA-17503: ksfdopn:2 Failed to open file
    +ORADATA/pakedwp/datafile/sor_pre_voice_su_out_dec08w4.2014.672099749
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    Thu Jan 29 20:00:10 2009
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_dbw0_160228.trc:
    ORA-01157: cannot identify/lock data file 863 - see DBWR trace file
    ORA-01110: data file 863:
    '+ORADATA/pakedwp/datafile/sor_msc_cdr_in_dec08w1.2013.672099785'
    ORA-17503: ksfdopn:2 Failed to open file
    +ORADATA/pakedwp/datafile/sor_msc_cdr_in_dec08w1.2013.672099785
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    Thu Jan 29 20:00:10 2009
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_dbw0_160228.trc:
    ORA-01157: cannot identify/lock data file 864 - see DBWR trace file
    ORA-01110: data file 864:
    '+ORADATA/pakedwp/datafile/sor_msc_cdr_out_sep08w1.1550.663694183'
    ORA-17503: ksfdopn:2 Failed to open file
    +ORADATA/pakedwp/datafile/sor_msc_cdr_out_sep08w1.1550.663694183
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    Thu Jan 29 20:00:10 2009
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_dbw0_160228.trc:
    ORA-01157: cannot identify/lock data file 865 - see DBWR trace file
    ORA-01110: data file 865:
    '+ORADATA/pakedwp/datafile/sor_msc_cdr_in_sep08w2.1549.663694199'
    ORA-17503: ksfdopn:2 Failed to open file
    +ORADATA/pakedwp/datafile/sor_msc_cdr_in_sep08w2.1549.663694199
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    Thu Jan 29 20:00:10 2009
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_dbw0_160228.trc:
    ORA-01157: cannot identify/lock data file 866 - see DBWR trace file
    ORA-01110: data file 866:
    '+ORADATA/pakedwp/datafile/sor_msc_cdr_out_sep08w2.1157.663694209'
    ORA-17503: ksfdopn:2 Failed to open file
    +ORADATA/pakedwp/datafile/sor_msc_cdr_out_sep08w2.1157.663694209
    ORA-15001: diskgroup "ORADATA" does not exist or is not mounted
    ORA-15001
    ==============================================
    No Recent changes have been brought down on the storage or system.
    After this failure when I try to mount diskgroup it successfuly mounted again. But again when we try to open database it prompt same errors:
    Does any one have any solution/suggestions?????????

    following are the results of the query:
    NAME PATH HEADER_STATU DISK_NUMBER
    ORADATA_0064 /dev/rhdisk13 MEMBER 64
    ORADATA_0030 /dev/rhdisk40 MEMBER 30
    ORADATA_0031 /dev/rhdisk41 MEMBER 31
    ORADATA_0062 /dev/rhdisk10 MEMBER 62
    ORADATA_0005 /dev/rhdisk11 MEMBER 5
    FLASH_RECO_AREA_0002 /dev/rhdisk12 MEMBER 2
    ORADATA_0006 /dev/rhdisk33 MEMBER 6
    ORADATA_0024 /dev/rhdisk34 MEMBER 24
    ORADATA_0028 /dev/rhdisk38 MEMBER 28
    ORADATA_0029 /dev/rhdisk39 MEMBER 29
    ORADATA_0019 /dev/rhdisk3 MEMBER 19
    ORADATA_0023 /dev/rhdisk4 MEMBER 23
    ORADATA_0000 /dev/rhdisk27 MEMBER 0
    ORADATA_0002 /dev/rhdisk28 MEMBER 2
    ORADATA_0018 /dev/rhdisk29 MEMBER 18
    ORADATA_0017 /dev/rhdisk26 MEMBER 17
    ORADATA_0016 /dev/rhdisk25 MEMBER 16
    ORADATA_0015 /dev/rhdisk24 MEMBER 15
    ORADATA_0014 /dev/rhdisk23 MEMBER 14
    ORADATA_0013 /dev/rhdisk22 MEMBER 13
    ORADATA_0012 /dev/rhdisk21 MEMBER 12
    ORADATA_0011 /dev/rhdisk20 MEMBER 11
    ORADATA_0010 /dev/rhdisk19 MEMBER 10
    ORADATA_0008 /dev/rhdisk17 MEMBER 8
    ORADATA_0007 /dev/rhdisk16 MEMBER 7
    ORADATA_0027 /dev/rhdisk37 MEMBER 27
    ORADATA_0032 /dev/rhdisk42 MEMBER 32
    ORADATA_0065 /dev/rhdisk15 MEMBER 65
    ORADATA_0009 /dev/rhdisk18 MEMBER 9
    ORADATA_0026 /dev/rhdisk36 MEMBER 26
    ORADATA_0025 /dev/rhdisk35 MEMBER 25
    ORADATA_0020 /dev/rhdisk30 MEMBER 20
    ORADATA_0021 /dev/rhdisk31 MEMBER 21
    ORADATA_0022 /dev/rhdisk32 MEMBER 22
    ORADATA_0003 /dev/rhdisk44 MEMBER 3
    ORADATA_0001 /dev/rhdisk43 MEMBER 1
    ORADATA_0004 /dev/rhdisk45 MEMBER 4
    ORADATA_0033 /dev/rhdisk46 MEMBER 33
    ORADATA_0034 /dev/rhdisk47 MEMBER 34
    ORADATA_0035 /dev/rhdisk48 MEMBER 35
    ORADATA_0036 /dev/rhdisk49 MEMBER 36
    ORADATA_0037 /dev/rhdisk5 MEMBER 37
    ORADATA_0038 /dev/rhdisk50 MEMBER 38
    ORADATA_0039 /dev/rhdisk51 MEMBER 39
    ORADATA_0040 /dev/rhdisk52 MEMBER 40
    ORADATA_0041 /dev/rhdisk53 MEMBER 41
    ORADATA_0042 /dev/rhdisk54 MEMBER 42
    ORADATA_0043 /dev/rhdisk55 MEMBER 43
    ORADATA_0044 /dev/rhdisk56 MEMBER 44
    ORADATA_0045 /dev/rhdisk57 MEMBER 45
    ORADATA_0046 /dev/rhdisk58 MEMBER 46
    ORADATA_0047 /dev/rhdisk59 MEMBER 47
    ORADATA_0066 /dev/rhdisk6 MEMBER 66
    ORADATA_0048 /dev/rhdisk60 MEMBER 48
    ORADATA_0049 /dev/rhdisk61 MEMBER 49
    ORADATA_0050 /dev/rhdisk62 MEMBER 50
    ORADATA_0053 /dev/rhdisk63 MEMBER 53
    ORADATA_0054 /dev/rhdisk64 MEMBER 54
    ORADATA_0063 /dev/rhdisk65 MEMBER 63
    FLASH_RECO_AREA_0000 /dev/rhdisk66 MEMBER 0
    ORADATA_0055 /dev/rhdisk67 MEMBER 55
    ORADATA_0056 /dev/rhdisk68 MEMBER 56
    ORADATA_0057 /dev/rhdisk69 MEMBER 57
    ORADATA_0067 /dev/rhdisk7 MEMBER 67
    ORADATA_0078 /dev/rhdisk93 MEMBER 78
    ORADATA_0079 /dev/rhdisk94 MEMBER 79
    ORADATA_0080 /dev/rhdisk95 MEMBER 80
    ORADATA_0081 /dev/rhdisk96 MEMBER 81
    ORADATA_0058 /dev/rhdisk70 MEMBER 58
    ORADATA_0059 /dev/rhdisk71 MEMBER 59
    ORADATA_0060 /dev/rhdisk72 MEMBER 60
    ORADATA_0051 /dev/rhdisk8 MEMBER 51
    ORADATA_0074 /dev/rhdisk89 MEMBER 74
    ORADATA_0075 /dev/rhdisk90 MEMBER 75
    ORADATA_0076 /dev/rhdisk91 MEMBER 76
    ORADATA_0077 /dev/rhdisk92 MEMBER 77
    ORADATA_0070 /dev/rhdisk85 MEMBER 70
    ORADATA_0071 /dev/rhdisk86 MEMBER 71
    ORADATA_0072 /dev/rhdisk87 MEMBER 72
    ORADATA_0073 /dev/rhdisk88 MEMBER 73
    ORADATA_0052 /dev/rhdisk9 MEMBER 52
    ORADATA_0068 /dev/rhdisk83 MEMBER 68
    ORADATA_0061 /dev/rhdisk73 MEMBER 61
    ORADATA_0069 /dev/rhdisk84 MEMBER 69
    84 rows selected.
    SQL>
    I have also check the ownership and its correct.
    I have also check ASMCMD and tried to located files in the diskgroup and all files are there.
    I have also successfully created one test directory in asm diskgroup by mkdir command.

  • Unable to execute the query after transpoting to Quality in BI7.0

    Hi Friends,
    We are facing problem while executing the query in BI 7.0 after transporting to Quality system.
    Whenever we are clicking on the query in Analyser after transporting to quality, it is throwing an error like "Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION" and " system error in program SAPLRRI2 and form DIM_FAC_SRDATE-02" and it is disconnecting from BI system.
    The transport went successfully to quality system.
    Please do the needful regarding the above errors.
    Thanks
    Rama

    Hello,
    I resolved the problem. I removed all the variables in the query did another "Query Check" and the error message was clearer.
    There were missing infobjects in the Multi-Provider.  When I fixed this the error was gone.
    Thanks.

  • Script getting hang while trying to execute update command in python using cx_oracle

    Hi All,
    My script is getting hang while executing below script and it is not throwing any error.
    TEMP_PROD_cur=TEMP_PROD_schema_conn.cursor()
    sql="update APP_DB_CONNECT set DRIVER=:driver,URL=:url where APPNAME=:appname and CONNECT_NAME=:connect_name"
    TEMP_PROD_cur.execute(sql,{'driver':driver_name,'url':jdbc_url,'appname':app_name,'connect_name':connect_name})
    TEMP_PROD_schema_conn.commit()
    I tried several ways to prepare update statement to execute but the script is getting hang in all the ways.
    Please help to resolve this issue.

    There's not enough info provided to be able to tell what's going on.  You can find online ways to troubleshoot Oracle lock issues - if this is what you are experiencing.

  • Unable to run UNIX command after uploading file using webutil_file_transfer

    OS: UNIX Solaries , Oracle Application Server 10g
    I designed a form contains 2 buttons
    1- <b>Upload</b> button: to let the user upload form.fmb file to the application server using webutil_file_transfer function
    2- <b>Compile</b> button to compile the uploaded form in the applications server to generete the FMX using the following command
    host('/bin/bash /u01/oracle/runtime/test/frmkfccmp.sh >/u01/oracle/runtime/test/log.log'); The problem is after uploading the file to the server, the Compile button don't work, although it works well if I close the form then open it again and press the Compile button without pressing the <b>Upload</b> button
    Any help is appreciated
    Thanks and Regards

    Add the weblogic server's bin directory to your PATH. You will need to a couple of WLS jars to the CLASSPATH. There might be something in the installation/setup documentation that tells you all this. I have only used WLS 5.1 and 7.0.

Maybe you are looking for