Proper Method for updating Virtualbox on linux-ck? [SOLVED]

Running linux-ck on sandybridge, here are installed packages:
linux-ck-sandybridge 3.19.1-1
linux-ck-sandybridge-headers 3.19.1-1
virtualbox 4.3.26-1
virtualbox-ck-guest-modules-sandybridge 4.3.24-2
virtualbox-ck-host-modules-sandybridge 4.3.24-2
virtualbox-ext-oracle 4.3.26-1
virtualbox-guest-iso 4.3.26-1
virtualbox-host-dkms 4.3.26-1
kernel information:
3.19.1-1-ck #1 x86_64
After updating Virtualbox, I am receiving this error:
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. Reload the modules or if you don't use our stock kernel execute
'dkms autoinstall'
Which of course would traditionally mean that I must re-compile virtualbox kernel modules. In the old Arch days, that was:
/etc/rc.d/xbovdrv setup
I'm a bit confused by both the Virtualbox wiki page as well as the linux-ck page; my understanding is that the linux-ck repo contains updates modules for virtualbox, and that these automatically update (thereby removing the need to use dkms). However, I am fully updated and I am still getting this error (after reloading kernel modules and rebooting).
I've also tried running:
dkms install vboxhost/4.3.26
As root, but it only reports that, "Module vboxhost/4.3.26 already installed on kernel 3.19.1-1-ck/x86_64"
I'm sure this is my bad, but I'm afraid after two hours of reading the wiki and this forum, I am still quite lost. I'd appreciate any help - let me know if there is anything else I can tell you all that will help!
Thanks
Last edited by yochaigal (2015-03-20 14:43:12)

No idea why your system has /etc/rc.d/* ... if you're using [repo-ck] I have been be compiling 3.19.2 and just rebuilt the vbox packages updating them to 4.3.26.  There was a short delay since I had to rebuild against the new kernel.  Anyway, just:
pacman -Syyu

Similar Messages

  • Proper Method for closing a VI?

    Hi there,
    I am a very inexperienced labview user, so this question may be a walk in the park for you pros. What is the proper method for closing a VI? I want a particular VI to close upon a certain occurence. When I use a property node to close the front panel, then an invoke node to abort the VI with a static reference. I sometimes get a message dialog in the upper left corner of the screen that says "Resetting VI: [Vi's name].vi" at which point labview freezes, and must be closed externally from the Windows task manager. I know that using the "abort" can leave certain references open, so I close these references upon completion of every cycle... What is the proper method of closing a VI?
    Thanks a bunch,
    Ryan

    Hi Ryan,
    The correct method for closing your VI is dependent on how you have chosen to
    open it.  Like Jhoskins, I think the LabVIEW community will better be able
    to assist you if you post what you've already tried.
    If you have tried to dynamically load your VI using a Call by Reference Node,
    you will need to use an Open VI Reference and a Close Reference.  Please
    take a look at the Dynamic Load Example from the NI Example Finder.  You
    can find this by searching for VI Server in the Example Finder. 
    I have attached a figure that shows this Open, Run, Close paradigm in the
    Dynamic Load Example.
    Message Edited by cphuong on 04-17-2007 10:43 AM
    Regards,
    Ching P.
    DAQ and Academic Hardware R&D
    National Instruments
    Attachments:
    Open_Run_Close.JPG ‏88 KB

  • Best method for networking with ubuntu linux

    Hi,
    I'm setting up an ubuntu linux fileserver, and I was wondering what the best method for filesharing with my mac is. I'm currently running osx 10.4.11, though I may be upgrading to 10.5 soon. I'll be running SMB networking for a couple of other computers, but I'd prefer something a bit more robust that can handle file permissions etc.

    Mac OS X supports NSF out of the box. Configuration isn't documented.
    I recall Apple got rid of net info manager in Leopard, so the configuration will be different. Perhaps more unix like.
    Mac OS X support the Unix Network File System (NFS). However, it leaves out
    the GUI.
    This page show you how to use NetInfo Manager:
    http://mactechnotes.blogspot.com/2005/09/mac-os-x-as-nfs-server.html#c1168221713 40271068
    NFS Manager can both setup NFS shares and connect to NFS shares.
    http://www.bresink.com/osx/NFSManager.html
    Once you figure out how NFS Manager configures the NFS shares, you can
    use Applications > Utilities > NetInfo Manager to create more shares.
    You will either have to coordinate Unix Userid number and Unix Group Id number or use the mapall option on the share.
    To find out your Mac OS X userid and group id do:
    applications > utilities > terminal
    ls -ln
    ls -l
    # lists the NFS share on your mac
    showmount -e localhost
    #list NFS shares on a remote host
    showmount -e remote-ip-address
    Once you see what NFS Manager does, you will be able to use NetInfo Manager to manage a connection. In Mac OS 10.4 you can configure the /etc/exports control file. See man exports for the details. Before that you had to have the data in NetInfo manager. When Mac OS X came out, many common Unix control files were not present. Instead the data had to be in NetInfo manager. Over time Apple has added more and more standard Unix control files.
    ======
    You do know about the need to match userids & groupids.
    # display uid and gid
    ls -ln
    sudo find / -user short-user-name -exec ls '-l' {} \;
    # on Mac OS X
    you will need to go into NetInfo Manager and select user and find your short-user-name. Change uid and guid.
    #on Linux look in
    /etc/passwd
    /etc/group
    # with care...
    # change 1000:20 to your values for uid:gid
    sudo find / -user short-user-name -exec chown 1000:20 {} \;
    The manual for Tenon MachTen UNIX (which Apple checked when doing Mac OS
    X) says that one should crate the file /etc/exports, which will cause
    portmap, mountd and nsfd to launch at startup via the /etc/rc file. The
    file must not contain any blank lines or comments, and each line has the
    syntax
    directory -option[, option] hostlist
    where 'directory is the pathname of the directory that can be exported,
    and 'hostlist' is a space separated list of hostnames that can access the
    directory. For example
    /usr -ro foo bar
    /etc
    /Applications
    /User/gladys gladys
    The client the uses a command like
    /sbin/mount -t type [-rw] -o [options] server:directory mount_point
    where 'type' is 'nfs', 'server' the name of the server, 'directory' the
    server directory mounted, and 'mount_point' the client mount point. See
    'man mount' for details.
    I haven't tried the above, but it would be nice to know if it works on Mac OS X.
    Hans Aberg
    This will give you some hints on NFS. Post back your questions.
    Robert

  • What's the method for updating a book?

    I use a variation of FrameMaker 10's FM_Outputs_CondText.jsx to automate generation of PDFs.
    What do I need to add to force a book update?
    It looked to me as if it were doing that, but I just noticed that the build date variable in the front matter is updated only when I manually update the book.

    To be a little more elaborate: I checked the script you mentioned and it only updates cross-references when opening a book and its files. That is not the same as updating the book and all its variables. You do need to use the Book.UpdateBook method for that explicitly, after first opening all files in the book. That amounts to the same as manually updating the book.
    Ciao again

  • Proper method for interactive video

    Hi.  It's been a while since I've used Flash/Actionscript, and I've been having trouble figuring out the proper way to do this.  I'm hoping someone here can outline the proper methods.
    Basically, I'm creating a Flash project where it will play a video, then at a certain point, stop and display some buttons, and then go to the appropriate video based on what button was pressed.  Sort of a choose your own adventure type of thing.
    Without knowing the current/ideal way of doing it, how I tried it was by having the first video (embedded into the project) on one layer, and at the end of that video, I have a stop()  on another (script) layer (on the last frame of the video in the timeline), and I had the buttons (which appear on top of the video) on another layer at that same frame.  So, in theory, it plays the video, hits the last frame, stops the timeline, and waits for one of the buttons to be clicked.  Each button triggers and gotoAndPlay(), which takes the timeline to one of the other two videos that are located one after the other, after the first video, on the same (video) layer.
    Problem is, I have a bit of a catch-22...  I was aware that there would be sync issues between the video and it's audio (addressed by doing the audio as Sync or something in the audio properties)... however, I was suprised to see that the video does not maintain sync with the other layers (script).   So, what happens is that it plays the video, but SEEMS to play it faster than the script layer, so it reaches the end of the video before reaching the (identical frame) location of the actionscript.  As a result, the video loops, and the stop() is hit sometime during the start of the second playing of the video.  The buttons act similar, appearing sometime AFTER the point in the video where they should.
    I had embedded the video with the assumption that this would give me hard sync between it and the timeline, since it's physically there in the timeline, and you can see the frame at which it ends... and I thought then putting a stop() on that frame (but on a different layer), would guarantee that the stop code gets hit at the same time the end of the video was.
    I've tried a number of things, like putting the actionscript code on the frame after the video on the same layer, figuring a single layer can't go out of sync with itself... but that didn't work either.
    Looking into it, I saw that one option was to not embed the video, but to have it reference an external file (which, supposedly, would result in no sync issues).  But, in doing that, I'm not aware of how the rest of the timeline would know when the video has reached certain spots of the video.
    I'm sure the proper method is entirely different from what I'm doing, but I'm not familiar with other methods.  I'm hoping someone can outline the proper procedures (in as much detail as possible, since I probably won't know about much of what you are explaining).
    Keep in mind, again that this is basically what I want to do:
    -Play video 1
    -Stop timeline, display buttons, wait for response
    -Based on which button is pressed, jump in the timeline to video 2 or 3 (...I'm assuming all the vids will be on one layer, one after the other, with a label at the start of each one)
    Hope you can help.  Thanks.

    Hi, kglad.  Conceptually, I understand, but I'm totally new to most of these things.  I've worked with actionscript and flash in general, but am still very green when it comes to things like event listeners and some of the more technical coding.
    I've been frustrated with the tutorial vids I've been finding, as they are often very generic (...5 minutes of video, only to show you how to load the component onto the stage, then point to a video).  But, I did finally find one that seemed to address more detail.  It's the ActionScript 3 Video Basics tutorial on gotoandlearn.com.  All very techy code, which goes right over my head, but at least it's seemingly usable and relevant.  I just don't like using coding/methods I don't fully understand, as then you are helpless if something goes wrong.
    In answer to your question, what I'm after (in more detail) is this:
    -A video plays (Intro video)
    -After that video, a looping video plays, with buttons (Scene selection thumbnails) on top of it (Selection menu with looping background)
    -Clicking on one of the scene thumbnails then goes to the scene player section
    -Scene plays, and when it reaches the end of the clip, two buttons appear, and it waits (parked on last frame of the video via a stop() command)
    -Pressing button A jumps the timeline ahead 2 frames to the A video (which is located right after the initial scene video, right after the stop()), and that video plays, and stops at the end (via another stop() command.
    -Pressing button B jumps the timeline ahead many frames (past that second A video, over to the B video, which is the third clip on the video timeline, consisting of the initial scene, the A clip, and now the B clip), plays that and stops.
    Now, I am 90% sure that the way I am currently doing this is inefficient, obsolete, and to anyone half-decent at Flash authoring, completely wrong... but it's the only way I currently know.
    I've done the above like this:
    Timeline has the first (Intro) video embedded, then the second (Scene Selection loop), with a label ('Loop') at the first frame, and a gotoAndPlay('Loop') on the last, with the graphics and code for the scene selection thumbnail buttons occupying the duration/span of that loop clip, on a different layer.
    I have a MovieScreen movieclip, which has a series of one frame movieclips within it.  Each of those movieclips is the full video of a scene.  Think of the MovieScreen mc as a sort of Jukebox, containing a series of 1 frame 'records' (those being a movieclip that contains the video of each scene).  Pressing one of the thumbnail Scene buttons in the Scene Selection simply moves the MovieScreen movieclip timeline to the appropriate 'record' (frame containing the appropriate movieclip that contains the scene you selected), and jumps the main timeline (via a gotoAndPlay()) out of that Scene Selection loop, to the next frame after it, which is a 'Selection made' clip (an exit animation), which plays, and then parks on the 'Play Scene' section.
    The Play Scene frame of the main timeline simplly contains the Moviescreen movieclip, which (at this point) has had its own timeline jumped to the appropriate 'record' (movieclip within it), and that movieclip plays.  This is my (probably laughably incorrect, yet functioning) method to have a global 'movie player' frame in the main timeline, but have it able to play any of the available videos, rather than having a moviescreen for each scene.
    Certainly, I'd assume there is a far better way to do this, most likely with pure actionscript, where the scenes are called up, and things are dynamically generated... but, again, I don't know how to do that sort of thing.
    My first attempt had me embedding the videos directly into the timeline, which had the benefit of having the clip literally there on the timelines, taking up the literal amount of frames, and being visible during the timeline editing.  Problem is, it wouldn't play in sync with the rest of the layers (which was a real surprise, as I assumed that the whole point of embedding it would be to lock it to the timeline).  So, my codes/graphics that were placed on other frames at the end of the video clip's timeline layer didn't trigger in sync with the end of the clip (...which still puzzles me).
    My second attempt had the videos being called on as external clips, but that also had its share of problems, plus without the clips physically on the timeline, I had no way to know when the clip ended (...assuming I was to have the actionscript/graphics on a particular frame in the timeline... which I suspect now is wrong thinking).
    My third attempt used the FLV component.  First of all, the videos where about half the size that they should have been, plus where positioned half off the screen.  Today, I managed to figure out how to remedy that, so that works.  However, I soon realized that when placed on the stage, the resulting element on the timeline was an infinite duration, and not representitive of the duration of the clip, like an embedded vid would be... So, again, I had the problem of how to know when the clip ended, and where to place the script/graphics in the timeline.
    Researching a bit more today, I see that you can read metadata from a clip, which may be relevant to triggering a stop() or a loop back or a gotoAndPlay()...although I'm not entirely sure how it would all work.  I couldn't see an obvious way to loop a clip (from the FLV Playback properties).  So, even though I suspect this is the proper way to be doing this, I'm completely lost on how to utilize it.
    As well, I've been reading that the current version of the FLV Playback component has an issue with seamless looping... in that it supposedly can't.  So, that's yet another problem.
    Sorry for the novel, but I wanted to give everyone the full info on what I'm doing and what troubles I'm facing here.  Sorry too for being green on this.  I'd be happy to watch/read some tutorials on this, but really haven't found anything that either addresses things more than just 'load it onto the stage and select the video location', or ones that are the opposite end of the spectrum, and are way over my head.

  • What is the best method for updating Bios for 8.1 on GT70 2OD

    Hey,
    I've been getting a bunch of different BSODs and its been recommended I update my bios because I am running win 8.1
    Im just a little confused with which method would be best to update the bios. The EFI bios utility method on the PDF looks easy enough, but the information above that says to use the flash utility in the compressed file. Is that the afuwinx64.exe file and I run it from windows? or can I do something with the .bat files?
    As you can tell I dont know to much about this kind of thing, I have been avoiding this update hoping to solve all issues without it, no such luck unfortunately. The feedback I got said that it seems as If something is misconfigured. in your opinion is it likely not having the bios updated could cause issues?
    Thanks.

    Use one of the methods outlined in the PDF files on the website from MSI. Either of those methods should work just fine.
    The generally recommended method though is using the BIOS HQ Flasher.
    >>Use the MSI HQ Forum USB flasher<<
    I would NOT just flash using the exe or the bat files, as this can cause issues if done improperly.
    I believe there was a bios update for the GE series of laptops because of a configuration issue for Windows 8.1. I don't believe the update for the GT series for Windows 8.1 had that same issue.

  • Proper method for building kernel modules? [solved]

    I am attempting to build a custom kernel module for a PCI express interface to an FPGA.  However, I seem to be running into some issues with getting the standard kernel module makefile to work correctly.  Here is my makefile:
    # object files to build
    obj-m += nnic.o
    nic-objs += nnic_driver.o
    all:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) modules
    clean:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) clean
    However, the first time I ran 'make', I got this output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/kconfig/conf --silentoldconfig Kconfig
    *** Error during update of the configuration.
    /usr/lib/modules/3.14.1-1-ARCH/build/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
    make[3]: *** [silentoldconfig] Error 1
    /usr/lib/modules/3.14.1-1-ARCH/build/Makefile:512: recipe for target 'silentoldconfig' failed
    make[2]: *** [silentoldconfig] Error 2
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    After poking around online, I decided to try running make as root.  I got the following output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    scripts/kconfig/conf --silentoldconfig Kconfig
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    Now, when runing 'make' as a normal user, I get:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    I have the linux-headers package installed.  I do not need to build the whole kernel, only this small module.  What am I missing here?  What is the correct procedure for this?
    Last edited by alex.forencich (2014-04-25 08:16:31)

    Sigh, found the problem.  Should be $(PWD) and not $(pwd) in my makefile.

  • What is the proper method for cleaning up EventWaitHandle?

    Hi all,
    I'm working on inter-process communication between applications running on the same machine. More specifically I have a primary application that is connected to multiple industrial machines collecting data from each.
    I want to create secondary applications that consume this data. I intend on using MemoryMappedFile to share the information. I've tested the MMF part and it works fine.
    I'm at the point where I want to notify the client applications when new data is available by using an EventWaitHandle. I create the handle as follows.
    handle = new EventWaitHandle(false, EventResetMode.AutoReset, ClientName);
    In the client application I use WaitOne inside a thread for the event notification. This too works well.
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled)
    if (!handle.SafeWaitHandle.IsClosed)
    //Do something
    I create the thread as follows:
    monitor = new Thread(MonitorForSignal);
    monitor.IsBackground = true;
    running = true;
    monitor.Start();
    My concern is that I may be creating an orphaned thread or a memory leak when I close the client application. So I implemented IDisposable in my client class and do the following.
    protected virtual void Dispose(bool disposing)
    if (disposing)
    // free managed resources
    // free native resources here if there are any
    running = false;
    handle.Close();
    handle.Dispose();
    monitor.Abort();
    I believe this does indeed free the resources, but I've read that Thread.Abort is "bad". Before I implemented IDisposable I did some testing in a couple of WinForm applications, one acting as the host and one as the client. I noticed that I could
    close the client and subsequently Set the EventWaitHandle in the host application and this line of code in the client would fire in the debugger.
    signaled = handle.WaitOne();
    This made me worry that I wasn't properly cleaning up my thread objects.
    Below is the entire client for reference. What I'm really asking is how do I properly clean up the MonitorForSignal thread and the EventWaitHandle in the client?
    public class ClientA : IDisposable
    bool running;
    string clientName;
    EventWaitHandle handle;
    Thread monitor;
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled)
    if (!handle.SafeWaitHandle.IsClosed)
    //Do something
    private void ProcessData()
    //Do Something
    public ClientA(string ClientName)
    if (ClientName == null || ClientName == string.Empty)
    throw new ArgumentException("Cannot be null or empty.", "ClientName");
    clientName = ClientName;
    handle = new EventWaitHandle(false, EventResetMode.AutoReset, ClientName);
    monitor = new Thread(MonitorForSignal);
    monitor.IsBackground = true;
    running = true;
    monitor.Start();
    #region IDispose
    ~ClientA()
    Dispose(false);
    public void Dispose()
    Dispose(true);
    GC.SuppressFinalize(this);
    protected virtual void Dispose(bool disposing)
    if (disposing)
    // free managed resources
    // free native resources here if there are any
    running = false;
    handle.Close();
    handle.Dispose();
    monitor.Abort();
    #endregion
    Regards,

    Hi Michael,
    Does this code cause the thread to spin?
    while (!handle.WaitOne())
    //TODO: Do work
    Thread.Sleep(1000);
    I was hoping not to spin thus the EventWaitHandle. As for the named handle, I am building multiple applications that need to have inter-process communication, all running on the same machine.
    I think I can update my class to use your recommendation for the dispose method, specifically using handle.Set
    However, I would update the MonitorForSignal as follows:
    bool _closing = false;
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled && !_closing )
    if (!handle.SafeWaitHandle.IsClosed)
    if (NewData != null)
    NewData();
    And the dispose as follows:
    protected virtual void Dispose(bool disposing)
    if (disposing && handle!=null)
    running = false;
    _closing = true;
    handle.Set();
    if (!monitor.Join(5000))
    monitor.Abort();
    monitor = null;
    handle.Dispose();
    handle = null;
    // free managed resources
    // free native resources here if there are any
    This allows me to skip over the "Do Work" part which should only be done when Signaled from another application. Your suggestion to use handle.Set() in the dispose method coupled with adding the bool _closing allows me to get past the EventWaitHandle
    and also skip the work when closing.
    Also by setting "running" to false in the dispose, the thread will naturally end after the wait handle has been set.
    Thanks for suggesting the Thread.Join, that does seem allot more graceful. When I tested these changes it was blazing fast. In the previous code when I called monitor.Abort the application would hang for about a second. 
    Do you think the changes capture the intent of your suggestions?
    Regards,

  • Better method for update query

    Thanks in advance for any help you can offer on this...
    I have two tables:
    DETAIL_TABLE with columns: email_address, invalid_format_indicator, source, create_date
    SUMM_TABLE with columns: run_date, source, email_address_cnt, invalid_email_address_cnt
    Each week I run a job that truncates, then inserts new rows into the DETAIL_TABLE of email addresses that are likely invalid (invalid_format_indicator = 'Y'), and the source system ("source") that created them, as well as the date they were created in our system. Later in the process of that same job, I add new rows into SUMM_TABLE with counts.
    So, for data:
    DETAIL_TABLE:
    email_address|invalid_format_indicator|source|create_date
    joe.aol.com|Y|web|2011-03-01
    mary@myurl|Y|web|2011-03-05
    larry 2yahoo.com|Y|phone|2011-03-06
    After the DETAIL_TABLE is refreshed, new rows (14 of them) are inserted into the SUMM_TABLE whereby it creates a new row for each source. What I then want to do is update the 'invalid_email_address_cnt' field by counting the number of rows in DETAIL_TABLE, grouping by source.
    Right now, I'm running 14 update queries simultaneously--one for each source.
    Data looks like this after the update is complete (bear in mind, it's being updated via 14 separate queries):
    SUMM_TABLE
    run_date|source|email_address_cnt|invalid_email_address_cnt
    2011-03-06|web|25|5
    2011-03-06|phone|3|1
    2011-03-06|loader|20|4
    2011-03-06|source14|5|2
    It looks like this BEFORE the update:
    run_date|source|email_address_cnt|invalid_email_address_cnt
    2011-03-06|web||
    2011-03-06|phone||
    2011-03-06|loader||
    2011-03-06|source14||
    I'm currently running this update statement:
    Update SUMM_TABLE S
    set invalid_email_address_cnt =
    (Select count(*)
    from DETAIL_TABLE D
    where D.source = 'web'
    and D.invalid_format_indicator = 'Y')
    where S.run_date = sysdate
    and S.source = 'web';
    I repeat this query 13 more times-- one for each source. Ick...
    I'd like to consolidate it to one query. I prefer not using PL/SQL. The tool I'm using doesn't support PL/SQL (It's an open source ETL tool), so if I can do this via straight SQL (Oracle compliant) that would be ideal.
    Any help would be greatly appreciated!

    I believe you just want a correlated update
    Update SUMM_TABLE S
       set invalid_email_address_cnt =
          (Select count(*)
            from DETAIL_TABLE D
           where D.source = s.source
             and D.invalid_format_indicator = 'Y')
    where S.run_date = sysdate;I'm not sure, though, about the WHERE clause. Surely you mean TRUNC(sysdate) or you're using a local variable that you used to insert the row into the summary table. Otherwise, if you get unlucky and the clock ticks while your procedure is running, the update may not affect any rows.
    Justin

  • What is the proper method for embedding image files in a documentDB model?

    I'm working on some standard CMS functionality to produce simple service articles for a website. I'm looking at two possible options but I'm not sure which way to go.
    Example 1:
    I really want to create a value object to represent the image such as 
    class ImageFile
    public byte[] fileData { get; set;}
    public string contentType { get; set;}
    class WebArticle
    public ImageFile {get; set}
    public string someContent { get; set; }
    Or am I stuck with storing the image seperately w/ Azure Storage and just simply using my documentDB object to reference it's url via something like this:
    class WebArticle
    public string imageUrl { get; set; }
    public string someContent { get; set; }
    I see that there is some way to add "Attachments" but I'm not really clear on what the attachments are for. I don't think that I am reading the correct documentation. Is there a webpage out there that clarifies this. A kindle book on Amazon maybe?
    I'm looking forward to using this new technology. Ryan's Channel 9 presentation on the subject really caught my attention.
    Thank,
    Dan Jerome

    Ryan C:
    https://code.msdn.microsoft.com/Azure-DocumentDB-NET-Code-6b3da8af
    Mimi G:
    http://azure.microsoft.com/en-us/documentation/articles/documentdb-resources/

  • What is the proper method for creating a document with double spacing?

    There was a questioned posed regarding double spacing documents and it was suggested to set the leading to twice that of the font size.  Is this how "double spacing" is defined?

    Double-spacing is a concept traditionally used in word processing. In professional page layout, as you would use it in InDesign, the space between lines is called "leading" and refers to finer increments than word processing (Word's Single, 1.5 lines, Double, etc.) It is measured in units called "points." There are 12 points in an inch.
    In most professionally laid out publications, body copy of average column width is set with 1 to 4 points of space beyond the point size of the type. If the type size were 11 point, the leading might be set as between 12 and 15 points, depending on how much space you desired between lines.
    Why don't you tell us what is you're trying to accomplish, and perhaps attach a screen capture of what you're trying to do?

  • Best method for controlling Office 365 updates

    Were looking for the best method for updating Office 365. We will be testing prior to releasing the version to the rest of the company.  We have a couple of methods we're contemplating but looking for any pros or cons for each.  We are also
    using SCCM 2012.
    1. Run setup.exe setting the version and internal install source in an .xml file run as an SCCM package using distribution points as the install source.
    2. Run click2runclient.exe with command lines setting the version and internal install source as an SCCM package using distribution points as the install source.
    3  Set the version through group policy and turn on automatic updates and don't specify an install source.
    Option 3 appears to be the most straight forward with the least administrative overhead.  Would it be possible to revert back to an earlier version using this method?
    I have read various articles but looking for any input as to what is working well  or not working for others.

    Hi,
    I would like to share this
    blog post with you, which provides an example how to implement a fully automated testing and deployment process of Office 365 updates. This deployment method provides you the ability to test updates before you approve them in my environment.
    The process might look like:
    Deploy Office 365 in your environment with Office Deployment Tool, configure the "Updates" element in the configuration.xml file so that updates are enabled and the "UpdatePath" attribute points to an internal source.
    Download the latest Office 365 build into a different internal source, configure your test machine to pick up builds from it.
    After testing the updates, copy the updates to the first internal source.
    You should be able to integrate the process with SCCM to reduce your administrative effort.
    Hope this helps.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • For update issue

    I got a scenario in which i update ecc by pulling data from database.
    For that i am using a BPM.
    while pulling data, i got a select with join to get data from couple of tables...Then immediately i update the selected rows by changing flags to show rows are selected.
    But before update triggers, my database is added with couple of new records. So delay makes to updated newly added records too.
    So basically i update unselected records.
    If i can use for update in select, i can slove this issue.
    But select is a join sql, so i can't use for update.
    How can i solve this issue?.

    Hi,
    Which adapter are you using Sender or Receiver?
    From you question, I think a Receiver, but still not sure.
    Anyways, coming to the question, in your Sender / Receiver JDBC adapter , select Adavanced Mode and under Transaction Isolation Level , Select Repeatbale Read or Serializable. This will solve your problem.
    <i>Transaction Isolation Level
    There are different levels of database transactions known as isolation levels. The isolation level determines how transactions running in parallel can influence each other. The options correspond to the JDBC constants:
    &#9679;     Default (default setting of the respective database)
    &#9679;     None
    &#9679;     read_uncommitted (weakest setting)
    &#9679;     read_committed
    &#9679;     repeatable_read
    &#9679;     serializable (strongest setting)</i>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Regards
    Bhavesh

  • My firefox beta 12 using Linux platform does not update to firefox RC1 via the "check for update" function. I know windows' beta version had this fixed, when would Linux get similar support ?

    Current platform : Linux
    Current firefox version : Firefox 4 beta 12
    Issue : does not update to RC 1 using the check for update feature.
    Background : previously downloaded beta 8 and then it automatically updated to beta 12 using update features but for RC1, it does not.
    I know users under Windows platform had same problem but was resolved and they can now update via check for update feature.
    Please implement for Linux users too.
    Thanks !!

    If you can't update then you can download and install the full Firefox 4 RC version.
    * http://www.mozilla.com/firefox/all-beta.html

  • Webdynpro abap-method for saving updated values in new database table

    Hi Experts,
    I am creating an ALV  application in weddynpro abap where i have given update button to update fields & save button to save values in mastertable,but whenever i am updating & saving ,it will overwrit previous values. For this,I need  to create a separate method to save the updated values of the fields in a new database table.
    Looking forward for solutions.
    Thank You!

    becuase of the below statement u r getting the error
    insert into ZTAB_CS_ISSSAL values Item_Dates.
    u declared the field Item_Dates as Stru_Issuesal-DATES
    and u were trying to inesrting the record in the table ZTAB_CS_ISSSAL with the field Item_Dates
    the error is related to the compatible.
    so declare work area for updating the table should be of type ZTAB_CS_ISSSAL.

Maybe you are looking for

  • Is it possible to "convert" a PPT/Presenter file to Captivate and retain the audio, video, etc.?

    Hi - I'm wondering if someone has done this or can recommend the best way to do this. We have a PPT/Presenter file that was created using PPT 2010 and Presenter 9. We recorded audio for the training right in Presenter and have also imported videos in

  • New 'Sleep Display' in Leopard

    New to Leopard, the "Hot Corners" options in Screensaver prefs now includes the ability to set one or more screen corners to "Sleep Display" to make the energy saver kick in. Is anyone using this? Is anyone having problems with it? I have dual displa

  • How to refresh ODI variables from file

    Hi, I followed the fillowing links to implement the dynamic file parameter passing in to the resource name of a datastore. part-1. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%E2%80%93-part-1-%E2%80%93-just-one-value part-2. http://o

  • Creating a digital stamp

    Hi, I am trying to create the stamp for our company, but I am not sure where to start and what to search for to get help in creating it. This would be very efficient for our office. I am looking to create a stamp/form, don't know what its called in A

  • CS4 English convert to German

    hallo each other, I am looking for a "default Patterns.pat" file from a German version of CS4. The file can be found in Photoshop CS4 installation directory under the folder "Required" to. According to my information might be used to override the Eng