Cgroup : option or name mismatch, new: 0x0"", old: 0x4 "systemd"

Hello!
I've installed Archlinux a new ThinkPad X220 and get this message during shutdown/reboot
cgroup : option or name mismatch, new: 0x0"", old: 0x4 "systemd"
What does want Systemd tell me?
I've never seen this on my other systems (ThinkPad t430s and ThinkCenter M).
Somebody mentioned it here and posted also a screenshot:
https://bbs.archlinux.org/viewtopic.php?pid=1362098
The discussion there doesn't take a good direction and I care only about this message, no problem with a "delay" or something similiar.
Thank you

Okay, here's a rather long explanation of some of the things that happen during shutdown (simplified at some places, because some details don't help the understanding at all).
systemd activates shutdown.target, which conflicts with all services and mount points, essentially stopping everything that was started.
Activating shutdown.target starts a service that creates the executable /run/initramfs/shutdown, if it doesn't exist yet (more on that further down).
Upon reaching shutdown.target, systemd replaces itself with /usr/lib/systemd/systemd-shutdown.
systemd-shutdown tries kill all remaining processes, unmount all remaining file systems, detach all loop and device-mapper devices. It gives up at some point, since most of the time it will fail for a few mount points.
If /run/systemd/shutdown does not exist, systemd-shutdown proceeds to power off or reboot the machine.
systemd-shutdown changes the root to /run/initramfs, puts the old root to /oldroot and replaces itself with /shutdown.
In our case, /shutdown is a copy of /usr/lib/systemd/systemd-shutdown, which again tries to unmount everything and so on. Most of the time, it succeeds now (this means that the root file system is not only remounted read-only as it was classically done, but unmounted entirely. Any encryption mapping is also closed, which causes the kernel to wipe the encryption key from memory, to prevent a cold boot attack).
/shutdown then proceeds to power off or reboot.
So, how does the hardware watchdog come into play here? By default, systemd sets the watchdog timer to 10 minutes before it replaces itself with systemd-shutdown. Then it closes it, but does not stop it. When systemd-shutdown takes over, it opens the watchdog again. The same happens again when systemd-shutdown switches to /run/initramfs. This has a very useful result: If somehow the execution of the new binary fails, the hardware watchdog will time out after 10 minutes and reboot the computer - so your machine reboots instead of hanging indefinitely. The downside: You get a "watchdog did not stop" warning twice during shutdown.
As for the other error:
cgroup : option or name mismatch, new: 0x0 "", old: 0x4 "systemd"
This is a message from the kernel that is generated when a cgroup file system is remounted and options are changed that should not be changed. I cannot explain this entirely, but somehow this seems to happen while /oldroot/sys/fs/cgroup/systemd is being unmounted. In any case, it is of no special interest.

Similar Messages

  • IP5 set up with all options...however new emails  OLD like 13-14 years old have arrived in the IN BOX that say no "this message has no content", and I am not able to delete them. Any helpful ideas?

    IP5 set up with all options...however new emails  OLD like 13-14 years old have arrived in the IN BOX that say no "this message has no content", and I am not able to delete them. Any helpful ideas?

    Hi 23672!
    I have an article here that can definitely help you with that issue. The article is about what to do when a mail message has no content, and can be found here:
    iOS 4: Unable to view message body preview or mail receives blank messages
    http://support.apple.com/kb/ts3426
    Note that the article was written for iOS 4, but it will work in later iOS versions. Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How do I remove old web site when publishing new site with same URL in iweb? Hit replace when publishing new iweb site (so we could have control over changes) but new site name is attached to old via a / after our www address we want to keep.

    I hit the replace when publishing the new iweb site (so we could have control over changes - last one was not an apple based site) but new site name is attached to old via a forward slash and underscore after our www address. Makes it very messy with a very long web address.  Original address now followed by iweb site name followed by name of first page? Went for iweb as not that computer literate - all going so well?! Cheers for help in anticipation. Have to get off to work now but be great end to week if we could be sorted tonight. Rupes

    Well yes of course, if you try and publish through iWeb there won't be an option to publish without your site folder which is exactly why I told you to download Cyberduck and use Cyberduck to upload your site to your server having published your site from iWeb to a local folder.  That is what you need to do if you don't want your site name to be included in yoru url.
    It would have been easier also if you had used Cyberduck initially to connect to your server and delete your old site yourself - at least that way you would have deleted the correct files rather than relying on your hosting service to do it and doing it incorrectly.
    Download Cyberduck and then select the publish to a local folder option from iWeb and then use Cyberduck to upload your site to your server, but rather than uploading the whole site folder and separate index file, upload ONLY the contents of your site folder and then your url will be http://www.domain.com/page_name.html.
    It really isn't rocket science!

  • After Transfer of data to a new comp., old admin name doesn't match new adm

    I'm having issues with Word for Mac since I installed Fusion. I am trying to uninstall Word for Mac but I get the message: "You do not have permission. Log into the same Mac OS user Acct that you used to Install office and try again".
    I recently bought a new MacPro to replace my G5 and had the Apple store transfer data from my old mac to my new one.
    Apparently I used a different variation of my name on my old G5 when I installed Word for Mac than I did on my new mac, and the old name transfer with the date. But I have no idea how to log into the old account, or how to make an account for the old name not knowing the old name.
    any suggestions, or work arounds for uninstalling Word for Mac?
    The problem with Word,is that the menu and tool bar comes up, but I can't open any documents.
    Thanks
    Bill

    had to wipe and reload

  • Using correlation names :new and :old in ODBC

    Does anyone know how to use correlation names :new and :old through an ODBC connection?
    EG:
    CREATE TRIGGER Print_Cust_changes
    BEFORE INSERT ON CUST_tab
    FOR EACH ROW
    BEGIN
    dbms_output.put('Adding: ' || :new.custid);
    END;
    When I try to do that using ODBC, I get this error:
    Server Msg: 24344, State: HY000, [Oracle][ODBC][Ora]
    Trigger, procedure or function created with PL/SQL compilation error(s).
    And if I try and Insert I get:
    Server Msg: 4098, State: HY000, [Oracle][ODBC][Ora]
    ORA-04098: trigger 'BCL.PRINT_CUST_CHANGES' is invalid and failed re-validation
    The same code works perfectly in SQL*Plus.

    The plot thickens...
    I just tried this code:
    CREATE OR REPLACE TRIGGER Print_Cust_changes
    BEFORE INSERT ON CUST_tab
    FOR EACH ROW
    BEGIN
    INSERT INTO CUST_LOG VALUES('X');
    END;
    And received the same error:
    Server Msg: 24344, State: HY000, [Oracle][ODBC][Ora]
    Trigger, procedure or function created with PL/SQL compilation error(s).
    Again, using the same code (Cut & Paste) in SQL*Plus, it works without any problems.
    The ODBC function being used is: SQLExecuteDirect(), ODBC driver is SQLORA32.dll v9.02.00.00
    CREATE TABLE, VIEW, INDEX etc, all work fine, but not a trigger. If I read the code back from ALL_TRIGGERS after using SQL*Plus or the console application to create the trigger, it is exactly the same code...

  • I am changing from an iphone 3 to an iphone 3g and i was not offered an option to restore the new device from a backup of the old device - how do i reset the new device to do this?

    i am changing from an iphone 3G to an iphone 3GS and i was not offered an option to restore the new device from a backup of the old device - how do i reset the new device to allow me restore the data from the old one to the new one?

    Go to Settings>General>Reset>Erase All Content and Settings.  This will return it to its new out of the box condition.  Go through the setup screens again and you will be given the option to restore from a previous iTunes or iCloud backup (see http://support.apple.com/kb/HT2109).

  • Getting settings back after OS crash... new admin & old user

    I'm just recovering from an OS crash that took a while to resolve.
    http://discussions.apple.com/thread.jspa?threadID=1647853&tstart=0
    Now I have a new administrator account with a blank desktop and I can see my old user account in Finder/Users, but I don't see it in System Prefs/Accounts. Reading up on this, I understand I need to do some renaming to recover my settings for Safari, Mail, etc.
    http://support.apple.com/kb/TS1876?viewlocale=en_US
    http://www.macupdate.com/info.php/id/16620
    I'm not clear on what to rename though. Do I want to rename the new administrator account with the old user name or rename the old user name with the new admin name?

    I suggest you create a backup administrator id on the system that you are changing!!!
    Now I have a new administrator account with a blank desktop and I can see my old user account in Finder/Users, but I don't see it in System Prefs/Accounts. Reading up on this, I understand I need to do some renaming to recover my settings for Safari, Mail, etc.
    http://support.apple.com/kb/TS1876?viewlocale=en_US
    This procedure seems correct as far as to go. The author assumes that the GUID and UID are the same. You need to verify this.
    http://www.macupdate.com/info.php/id/16620
    I am not sure this procedure is what you need.
    I'm not clear on what to rename though. Do I want to rename the new administrator account with the old user name or rename the old user name with the new admin name?
    There seems to be two ways to proceed.
    Assigned your old administrator data to your new administrator. To do this, you would rename your new administrator directory to something else then rename your old administrator directory to what ever you selected for the new administrator directory name. You would then verify the Group ID and the user ID.
    Or, renamed your old administrator directory. Create a new administrator with the same names as your old administrator was. You can either follow the steps above or copy the data from the old directory to the new with the Finder. Hold down the option key in the Finder to be sure that you are copying the data.
    Mac OS X: How to change user short name or home directory name
    http://docs.info.apple.com/article.html?artnum=106824
    This is tricky stuff.
    You need to change these things:
    1) Your account information
    2) All of your files & folders
    One way to change what uid and gid are defined for your account is theNetInfo Manager application. This doesn't change the UID & GID on your files and folders.
    Mac OS X ... harddrive -> Applications -> Utilities -> NetInfo Manager
    In the middle column is the function. Pick users then select your user. Click on the lock at the bottom of the panel. Go into the property list and change UID and GID."
    sudo find -x / -user 501 -exec chown 5464 {} \;
    sudo find -x / -group 20 -exec chgrp 211 {} \;
    #combined change of uid & gid
    sudo find -x / -user 501 -exec chown 5464:211 {} \;
    There are two generally used schemes for assigning a group to a user:
    1) Assign all users to a common group like staff.
    2) Assign each user to their own group. A user like test would be in group test.
    Mac OS uses method 1 in 10.2 and method 2 in 10.4.
    You should not have multiple users assigned to the same uid. My worry is that if you are only change in the 50x range, you could run into a conflict.
    Your best bet is to change to a high number like 5464 on all of your accounts.
    On Mac OS, there are a few files that have the old uid as part of their names. The .Trashes file will be on your removal media and maybe everywhere.
    /.Trashes/501
    /Library/Caches/com.apple.IntlDataCache.501
    /Library/Caches/com.apple.IntlDataCache.sbdl.501
    /Library/Caches/com.apple.user501pictureCache.tiff
    Here are some terminal commands:
    Macintosh-HD -> Applications -> Utilities -> Terminal
    cd /Applications
    Your current user is:
    echo $USER
    Let's assume myuser
    To find out your UID and GID do:
    cd ~
    ls -ln
    ls -l
    Or, you can use the id command.
    id
    compare the output and write down what you find.
    You best use the numeric value for your userid. In this case it is 500. To list all the files owned by a userid do:
    sudo find / -user 500 -exec ls {} \;
    #And you need to do this from an administrator id.
    /* adding a -x before the / limits the search to the current file system. *
    # To stop the display press control-c
    sudo find -x / -user 501 -exec chown 5464 {} \;
    #And you need to do this from an administrator id.
    Hope this helps a little.
    Robert

  • My daughter forgot her passcode, phone is disabled.  I attempted restore procedures by placing phone in restore mode and syncing to original computer, but it still says I need the passcode and does not offer option to restore as new.  Verizon can't help.

    My daughter forgot her passcode.  Phone is now disabled.  I attempted restore procedures by placing phone in restore mode and connected it to the computer / itunes with which it was originally synced.  itunes recognized phone in restore mode and said I must restore.  I clicked restore, restore and update.  Update began, itunes recognized the device by name and gave error message that stated I must have the passcode to restore.  There was no option to restore as new.  I attempted to restore the iphone 4s on another computer by instaling itunes, but same error messages appeared.  I contacted Verizon and they said they could not help me.  The nearest apple retail store is over 40 miles away.  PLEASE HELP!

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup.
    If you can not restore your device then you will need to go to recovery mode.
    Placing your device into recovery mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
         1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the other end
             of the cable connected to your computer's USB port.
         2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the
             red slider appears, then slide the slider. Wait for the device to turn off.
              If you cannot turn off the device using the slider, press and hold the Sleep/Wake
              and Home buttons at the same time. When the device turns off, release the Sleep/Wake
              and Home buttons.
         3. While pressing and holding the Home button, reconnect the USB cable to the device.
             The device should turn on. Note: If you see the screen pictured below, let the device
             charge for at least ten minutes to ensure that the battery has some charge, and then
             start with step 2 again.
         4. Continue holding the Home button until you see the "Connect to iTunes" screen.
             When this screen appears you can release the Home button.
         5. If necessary, open iTunes. You should see the following "recovery mode" alert:
         6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • Finder not recognizing images properly (maybe overwriting new w/old)

    I am experiencing an odd and troubling issue with my 15" MacBook Pro (running Mavericks). This occurred on Saturday and I thought I was crazy, but now it has occurred a 2nd time (sort of) and I'm alarmed that this is indicative of some major issues with my machine.
    I'm working on a design project where I'm asked to create images for a mobile web page based on an old set of images. The new images need to be the exact same size, dimensions and filename as the old images so that the developer can swap them in easily.
    For that reason, I've downloaded the old set of images to my desktop, created new images and am overwriting the old images. (I am saving Photoshop files for my new images in a Dropbox folder --- it is just the final exported files that I am writing to the folder saved on the desktop.)
    So here I am, 99% finished and I go to look at the images in my finder. When I do, I see that the images displaying are the old, overwritten images instead of the new ones. There is no chance that I'm just not opening the correct folder or anything like that.
    At first, I thought the files themselves were being overwritten by their old versions, but it appears that maybe it is just the finder thumbnail image that isn't displaying correctly. When I actually open the file using Preview, it opens the correct image (new, not old). You can see an example in the screenshot attached. The old image (thumbnail) is the moneyroll. The new image is the man and the woman.
    At least the file itself appears to be correct, though I have no idea what happens if I zip these up and email them to another user on another computer. Still, I'm concerned that this suggests there is something really wrong with my machine.
    By the way, the incident I referenced on Saturday was much more troubling. It was an issue where I worked on a Dreamweaver file for 2+ hours, saving constantly before closing it. The next time I opened it later that day, it opened the old version. I thought maybe it was due to me changing the name of a folder or something and wrote it off as human error. But given what is taking place today, I'm not 100% sure that is the case now.
    Has anyone encountered this? Any insight would be much appreciated.
    Thanks.

    Yup. Thomas, have you tried replicating this in the other direction? In Terminal you can make a folder, chown it to root, get the permissions to the same as those of /Applications/Utilities,  then as a normal user, try dragging something
    into that folder? I have - this is replicable.
    This is a real bug - worked ok until 10.7.2, then broke.
    I have worked around this bug by changing the permissions on my Applications and Applications/Utilities folders so that my account has write permission there without authentication. But that not ideal from a security standpoint.
    If any developer out there could fire a Radar report off on this, I'd be much obliged.

  • HT3406 If I choose "restore from iTunes backup" to move everything from old phone.  Will I still be able to use the old phone for music and apps?  Can the old phone be docked up to the computer?  Or will the new and old phone overwrite each other in some

    If I choose "restore from iTunes backup" to move everything from old iphone to a new one, will I still be able to use the old phone for music and apps?  Can the old phone be docked up to that same computer every now and then?  Or will the new and old phone overwrite each other in some way?  In other words, are the two phones treated as different devices when the "restore" option is used to set up the new phone?   Thanks in advance.

    Yes, you can use the old iPhone as an iPod touch.
    Read this:
    http://support.apple.com/kb/HT3406

  • Field name not known   in old existing report.

    We have a report that we have used for a long time and has always been fine.  Today when we open it  it says data will be lost because "Field name not known".   So you click ok and look at the report in design and the report is missing a bunch of fields.  You look at the Field Explorer and it only shows the first field in the table.  This report links 2 tables. The linking field is the first field in both tables.
    I try to re-map datasource and no luck.   I close Crystal, open Crystal and create a new report, look at the same tables and all of the fields are there. Create similar report looking at same datasource, same tables, some of the same fields, and it works fine.
    What is wrong with the original report and why won't it connect or show fields?

    It may be that the report file became corrupted. Do you have a back up of that report anywhere? If not you could create a new report using the same tables and links and then have both new and old reports open and copy objects from the old report to the new report. Save it and then verify it all works as it should and replace the old report with then new report. Copy the old report somewhere safe also.
    Thank you
    Don

  • Have a new computer with a different name.  New computer does not reconize the ipod classic device?

    Have a new computer with a different name.  New computer does not recognize the ipod classic device? How can I remody this problem

    Add '''DOZEN''S''''' of giggs of ram, switch from hard disk to SSD or add inline SSC.
    Consult some free experts about potential malware infestation: BleepingComputer.com
    In windows control panel is an option to rate performance of your computer. What number does the applet rate your computer?
    http://windows.microsoft.com/en-US/windows7/What-is-the-Windows-Experience-Index

  • RMAN-05520: database name mismatch, auxiliary instance has ORADB

    Hi,
    i am using Oracle 10g (10.2.0.1.0) in RHEL 5 server. i am trying to duplicate my primary database(ORADB) to standby database with name DEVDB in different server. I have taken an RMAN backup and transferred to standby server and now i am trying to duplicate with the below commands
    [oracle@rhel5 data]$ rman target / auxiliary sys/oracle@DEVDB
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Mar 9 16:11:52 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: ORADB (DBID=2542358497, not open)
    connected to auxiliary database: ORADB (not mounted)
    RMAN>
    RMAN>
    RMAN> duplicate target database to DEVDB
    2> ;
    Starting Duplicate Db at 09-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=151 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/09/2013 16:14:02
    RMAN-05520: database name mismatch, auxiliary instance has ORADB, command specified DEVDB
    My primary db pfile has
    *.db_name='ORADB'
    *.db_unique_name='ORADB'
    My standby db has
    *.db_name='ORADB'
    *.db_unique_name='DEVDB'
    Regards,
    007

    Hello again;
    Agreed. You have at least two issues.
    Generally I change the SID
    export ORACLE_SID=DEVDB
    Then I start NOMOUNT using an INIT file.
    Then this should be correct
    connected to target database: ORADB (DBID=2542358497, not open)
    connected to auxiliary database: ORADB (not mounted)h2. Later
    I think I was wrong I would like to change my answer. I looked back and found my old notes and things are not as I stated above.
    I used an INIT file ( standby side ) for cloning as follows :
    db_name=RECOVER2
    instance_name=RECOVER2
    control_files=("/u01/app/oracle/oradata/RECOVER2/control01.ctl", "/u01/app/oracle/flash_recovery_area/RECOVER2/control02.ctl")
    db_recovery_file_dest=/u01/app/oracle/flash_recovery_area
    db_recovery_file_dest_size=4070572032
    compatible=11.2.0.0.0
    core_dump_dest='/u01/app/oracle/diag/rdbms/recover2/RECOVER2/cdump'
    db_block_size=8192
    audit_file_dest=/u01/app/oracle/admin/RECOVER2/adump
    undo_tablespace=UNDOTBS1
    undo_management = AUTO
    undo_retention=10800So for the duplicate I don't set DB_UNIQUE_NAME
    I Backed up the target database as shown here with the ‘backup current controlfile for standby format’ command:
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/RECOVER2/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/RECOVER2/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/RECOVER2/sb_t%t_s%s_p%p';
    release channel d1;
    }I did a startup the standby as follows : ( Notice you are correct about the SID and I was incorrect )
    export ORACLE_SID=RECOVER2
    /home/oracle:SRECOVER2 >sysplus "/ as sysdba"
    Connected to an idle instance.
    SQL> startup nomount pfile='/u01/app/oracle/admin/RECOVER2/pfile/initRECOVER2.ora';I started RMAN like this :
    /home/oracle:SRECOVER2 >export ORACLE_SID=RECOVER2
    rman target sys/password@recover2 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 10 13:35:29 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: RECOVER2 (DBID=3806912436)
    connected to auxiliary database: RECOVER2 (not mounted)So you connect to the Primary, but the auxiliary should show "not mounted"
    Finally I issue the duplicate command
    RMAN> run {
    2> allocate channel C1 device type disk;
    3> allocate auxiliary channel C2 device type disk;
    4> duplicate target database for standby nofilenamecheck;
    5> }Best Regards
    mseberg
    Edited by: mseberg on Mar 9, 2013 10:39 AM

  • Dynamic build of a table trigger - Issue building :new and :old vars

    (which leads me to my next issue - this one might be a deal killer for me; see "Are Optional Parameters possible in Procedural Units?"
    I'm using a Select statement to dynamically create a table trigger which looks like the following:
    create or replace trigger tr_audit#reporter
    after update on reporter
    for each row
    begin
    ttms_audit_pkg.insert_audit_info( 'reporter', 'ZIP', :new.ZIP, :old.ZIP, 'REPORTER.REPORTER,REPORTER.PROJECT_CD', 'EXFC', :new.reporter, :new.project_cd);
    end;
    The :new. and :old. variables are generated based on which table_name is passed to the script creating this trigger. My problem is that I need all the :new. and :old. parameters to be passed in as Char. regardless of whether they are Number or Date variables.
    So in the example above...if :new.reporter is a number on the table then I need to to_char is like this:
    create or replace trigger tr_audit#reporter
    after update on reporter
    for each row
    begin
    ttms_audit_pkg.insert_audit_info( 'reporter', 'ZIP', :new.ZIP, :old.ZIP,
    'REPORTER.REPORTER,REPORTER.PROJECT_CD', 'EXFC', to_char(:new.reporter), :new.project_cd);
    end;
    However, since this trigger is created dynamically I will not know in advance which :new. and :old. parameters will need to be converted to character. So if to_char(:new.reporter) is used and :new.reporter is already a character on the table then I will get an error.
    So my question then is this. Is there a way to write this dynamic sql in a way to accomidate this problem? I'm thinking something that would act a bit like a decode does with values...pehaps something like this:
    decode(:new.reporter, NUMBER, to_char(:new.reporter), DATE, to_char(:new.reporter,'DD-MON-YYYY HH12:MIPM'), :new.reporter)
    ...if :new.reporter is a number then to_char it; if :new.reporter is a date then to_char it; otherwise let it be.
    By any chance does anyone know if this is possible? I would greatly appreciate any insights.

    Sure, you can selectively version-enable tables using Workspace Manager (you call DBMS_WM.EnableVersioning on each table you want Workspace Manager to track history for).
    What do you mean by "programmatically rollback changes"? Workspace Manager has the ability to call GotoTime and queries against a version-enabled table will return results as if you were querying it at that specific point in time (unless you've purged history of course). You can also use it to create what are essentially long-running transactions where you can work on multiple sets of proposed data changes simultaneously for days or months before finally deciding to commit a one particular set. It's incredibly powerful.
    Justin

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

Maybe you are looking for

  • 'gReport' is null or not an object - Interactive Report

    I'm getting a "'gReport' is null or not an object" error when attempting to use the Search bar in an Interactive Report. Based on googling and searching this forum, it seems likely that the Javascript on the page is interferring w/ the Interactive re

  • F.13 automatic clearing for vendor

    Hi experts, My business process step is : 1. Create vendor invoice 2. Create payment request 3. Run payment run After the payment run, the clearing account for payment request and payment run is automatically cleared. But the vendor invoice and payme

  • Macpro sluggish

    I purchased a MACPRO in 2006... dual core Intel Xeon 3 ghz processors... upgraded from tiger to snow leopard recently... seemed fine.... couple months later mac feels sluggish... checked service provider... BTW I'm on a Apple airport wireless router.

  • Background job is in on hold

    Dear sir, i am facing problem in background job. we have scheduled MRP run in background. Background job is in "on Hold " and status "ARFC". The job is running in "Active" mode for 11 hours. please give me the  suggestions with your  experience regar

  • How do I assign a contact ringtone to my fascinate phone?

    I have looked all over this website and still can't find how to assign contact ringtones.  Does anyone know out there?