Who's writing to /etc/mnttab?

From what I learned, the /etc/mnttab is only supposed to be written to when mounting or dismounting anything.
Thus I set up a little monitoring script to watch the file for changes, to catch it if someone should change mounts, or one of the FC filesystems dismounting automatically due to some error etc.
However, I keep getting alerts about the modification time of the file being changed, but the content checksum stays the same.
Can anyone point me at a reason why this file keeps getting touched every few hours without changing anything?
(else I'll try rewriting my monitoring script to mount|grep|diff.. but that's a bit ugly)

I did that already, which is why I wrote my monitoring script the way I did.
The manpage notes state clearly, that:
The file modification time returned by stat(2)
for the mnttab file is the time of the last change to
mounted file system information... so whenever the mtime of /etc/mnttab changes, something must have happened to the mounted filesystems.
That's exactly what's confusing me.. the content of the mnttab stays the same, meaning nothing was changed on the mount points,
but the mtime of the mnttab changes, meaning something must have been changed on the mount points.
I see a certain contradiction there, that I'd like to clear up.
However, I do have a suspicion already.. might be one of the shared QFS/StorNext file systems reconnecting or changing meta owner..

Similar Messages

  • How can I edit /etc/mnttab file of a running Solaris 10 Machine?

    Hi All,
    How can I edit /etc/mnttab file of a running Solaris 10 Machine?
    Any ideas, solution, suggestions.
    Regards,
    Rahul.

    Hello Roach,
    First, thanks for your quick response.
    I am using a Solaris 10 (Sparc ) machine , I want to make sure that no set uid programs get executed in /tmp partition.
    Currently I am modifying the value in /etc/vfstab to and adding the value in Mount Options as nosetuid, and restarting the system as a result when the system is rebooted the /etc/mnttab entry is populated accordingly and setuid programs are not executed in /tmp partition.
    But I want to avoid the reboot.
    I am planning to update the /etc/vfstab as well as /etc/mnttab file directly so that the reboot can be avoided.
    I found some function related to /etc/mnttab i.e
    (i)getmntent
    (ii)resetmnttab
    I will go into more details about it now
    Regards,
    Rahul.

  • /etc/mnttab reading for maped drive

    Hi All,
    I want monitor the map drive which the mount through nfs command .For example SYS1 has filesystem /src and SYS2 NFS mounts /src . When SYS1 is shutdown, SYS2 will still have an entry for /src
    in it's file system list.
    If any one can tell me any suggestion how can it be implemented and which type of entry would be in /etc/mnttab file for the same?
    Thanks!

    Gokul_03 wrote:
    It have to be monitored by c program. Can you suggest me?It doesn't really matter what programming language do you use; in the end, you have to use some OS service (OS being Solaris, right?) So it still remains a question for one of the OpenSolaris forums.
    I would've helped you if I could, but it's really not my area.

  • What would be an ideal labtop for my daughter to use for school, writing essays etc

    I need help choosing the right labtop for my daughter's homework, she is always writing essays, she uses the computer at home but I want a labtop so she can do homework while away from home

    I'd ask the parents of the other students and the teacher for recommendations. When I was in school we use to have to chase the dinosaurs out of the parking lot every morning.

  • Photoshop connects stroke ends when using a pen (writing letters, etc)

    Seems that if i make quick strokes PS tries to connect the start and end stroke or something.
    I'm using a Wacom Intuos 4 and Windows 8
    it basically makes writing letters as I would on paper impossible. thoughts?
    Thanks in advance

    Adobe cc, standard brush, standard document. Updated Wacom drivers and updated Adobe. In Windows 7 it was an issue with windows tablet input settings or something... like windows tablet settings not wacom tablet settings, but in win8 i don't have the option to disable the default tablet settings? idk
    It happens when the start of the stroke and the end of the stroke are close together: photoshop seems to interpolate a new stroke from the end of the stroke to the start position - very tough problem to google

  • HT3529 I'm trying to send messages to other people (who have iPhones, iPods etc.) from my iMac and as I hit the send button it always says "Messages couldn't send message to.." what do I do?

    I'm trying to send messages from my imac to other people who have apple devices and it always says "Messages couldn't send message to..." how can I send messages now?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How to manage podcast episodes by: marking favorites, writing notes, etc.

    I realize this is probably only a dream, but I would love a Podcasts app in which I could mark certain episodes within a station I listen to as *favorite* so that I could come back to these favorite episodes from time to time and review their content.  What would be really cool is if I could not only mark them as favorites but also write a small note to myself as to the main info points from the podcast episode, so that when reviewing things, I could find what I am looking for easier.  Since I glean information from the many podcasts I listen to for business purposes, having a library of the single best episodes (an acompanying notes) would really enhance my podcast experience. 
    Is there any way to do this with the Podcasts app? 
    Is there a different app I should explore for this?
    Does itunes support something like this (or for that matter any other type of app for my iphone 5)?
    Thanks much.

    i dont know how the programs work, the ftp and rss updater and whatever, but if u use feedburner, or u can change what the name of the file it edits is, or u can create a .htacess that roots it, just stick all old episodes under what it updates in the file iWeb will update and when it updates, new episodes go on top
    ...er...mumbo jumbo...didjoo understand what i mean?

  • More oracle tutorials from the one who loves writing them

    Follow this link and down all tutorials(may be 10+)
    http://www.devshed.com/cp/bio/Jayaram-Krishnaswamy/
    Also:
    Access Front end to Oracle 10g XE
    http://aspalliance.com/893
    Future article summary at:
    http://hodentek.blogspot.com

    Using Oracle Developer Tools with Visual Studio at:
    http://www.aspfree.com/c/a/MS-SQL-Server/Using-Oracle-Developer-Tools-with-Visual-Studio/

  • EXP-00002: error in writing to export file

    Dear All,
    When I am exporting a table I am getting the following Error:
    EXP-00015: error on row 7585060 of table WIP_TRANSACTION_ACCOUNTS, column PROGRAM_UPDATE_DATE, datatype 12
    EXP-00002: error in writing to export file
    EXP-00002: error in writing to export fileerror closing export file /export/home/oraprod/wip_transaction_accounts_tbl.dmp
    EXP-00000: Export terminated unsuccessfully
    What is the cause of this issue..? It shows there is an error in row 7585060 of table WIP_TRANSACTION_ACCOUNTS, column PROGRAM_UPDATE_DATE, datatype 12
    How can I rectify this..?
    Please update...
    Many thanks..

    Thank you for the response..,
    I checked with the query and the result is as follows:
    SQL> select PROGRAM_UPDATE_DATE
    from WIP_TRANSACTION_ACCOUNTS
    where rowid = (
    select rowid from WIP_TRANSACTION_ACCOUNTS
    where rownum <= 7585060
    minus
    select rowid from WIP_TRANSACTION_ACCOUNTS
    where rownum < 7585060);
    PROGRAM_U
    12-JUL-09
    and
    the disk usage is as follows:
    Filesystem size used avail capacity Mounted on
    /dev/dsk/c1t0d0s0 5.8G 5.7G 0K 100% /
    /proc 0K 0K 0K 0% /proc
    mnttab 0K 0K 0K 0% /etc/mnttab
    fd 0K 0K 0K 0% /dev/fd
    /dev/dsk/c1t0d0s3 5.8G 4.5G 1.2G 79% /var
    swap 20G 104K 20G 1% /var/run
    swap 20G 432K 20G 1% /tmp
    /dev/dsk/c3t3d3s3 39G 18G 21G 47% /free1
    /dev/dsk/c3t3d3s6 247G 88G 156G 37% /proddata
    /dev/dsk/c1t2d0s0 67G 48G 19G 72% /prod
    /dev/dsk/c1t3d0s0 67G 49G 18G 74% /stage
    Is there is problem with the space in the disk..? as its showing 100% usage for /dev/dsk/c1t0d0s0
    Please update....
    regards..

  • Disk free listing no longer work after rsync overwritten system files /etc

    Hi All,
    I am having difficulty running some key critical commands on this Solaris 10 server (Sun Fire X2200, M2 x64 Server) called SERVERB. This SERVERB is a disaster recovery system identical to our production server known as SERVERA. We recently scheduled an regular rsync cron job to copy everything from SERVERA to SERVERB, but feared that this process has also overwritten some of our system files in /etc which prevented these commands from working.
    Below is the output when attempting to run these commands:
    $ hostname                                                                     
    SERVERB                                                                        
    $ id                                                                           
    uid=12345(jack) gid=6789(staff)                                            
    $ df -k                                                                        
    $ df /home                                                                     
    df: Could not find mount point for /home                                       
    $ pwd                                                                          
    /tmp                                                     
    $ df -k .                                                                      
    df: Could not find mount point for .                                           
    $ which df                                                                     
    /usr/bin/df
    $ top                                                                          
    top: cannot find/execute "top" in ISA subdirectories                           
    $ which top                                                                    
    /usr/local/bin/top     I have re-installed 'top' but it did not make much difference.
    We have also splitted up physical SERVERB into multiple regions using Solaris Zoning, but not sure whether we have correctly partitioned/sized the filesystems correctly amongst each zones.
    Any advice would be appreciated.
    Thanks,
    Jack

    Hi rogerfujii,
    Thank you very much for responding to my call for advice.
    Does /etc/mnttab gets regenerated during reboot, or do we need to restore the orginal file (going to be difficult) prior to rebooting? I thought that this file is dynamically build (from /etc/vfstab) during startup but need your confirmation.
    Below is listing of "zfs list" which may shed some light on what the filesystems were configured to:
    $ zfs list
    NAME                   USED  AVAIL  REFER  MOUNTPOINT
    dr-zpool               133G  51.5G    18K  /dr-zpool
    dr-zpool-old           129G  55.2G    18K  /dr-zpool-old
    dr-zpool-old/dr-db     121G  29.2G   121G  /old/prod/db
    dr-zpool-old/dr-inst  6.34G  23.7G  6.34G  /old/prod/inst
    dr-zpool-old/dr-lg    1.74G  2.26G  1.74G  /old/prod/lg
    dr-zpool-old/dr-pl    1.04M  4.00G  1.04M  /old/prod/pl
    dr-zpool-old/logs       18K  55.2G    18K  /old/dr/logs
    dr-zpool/dr-db         118G  31.8G   118G  /prod/db
    dr-zpool/dr-inst      9.21G  20.8G  9.21G  /prod/inst
    dr-zpool/dr-lg        2.86G  1.14G  2.86G  /prod/lg
    dr-zpool/dr-logs      1.90G  51.5G  1.90G  /prod/logs
    dr-zpool/dr-pl         377M  3.63G   377M  /prod/pl
    The following is the content of /etc/vfstab which I suspect may have also been clobberred:
    $ more vfstab
    #device         device          mount           FS      fsck    mount   mount
    #to mount       to fsck         point           type    pass    at boot options
    fd      -       /dev/fd fd      -       no      -
    /proc   -       /proc   proc    -       no      -
    /dev/md/dsk/d20 -       -       swap    -       no      -
    /dev/md/dsk/d10 /dev/md/rdsk/d10        /       ufs     1       no      logging
    /dev/md/dsk/d30    /dev/md/rdsk/d30     /var    ufs     1       no      logging
    /devices        -       /devices        devfs   -       no      -
    ctfs    -       /system/contract        ctfs    -       no      -
    objfs   -       /system/object  objfs   -       no      -
    swap    -       /tmp    tmpfs   -       yes     -
    #dr-UFS-tuned
    /dev/dsk/c4t600A0B800029FC220000073D49C29FD9d0s6 /dev/rdsk/c4t600A0B800029FC2200
    00073D49C29FD9d0s6 /apps ufs 2 yes logging
    #dr-UFS-tuned
    /dev/dsk/c4t600A0B800029FC220000073D49C29FD9d0s5 /dev/rdsk/c4t600A0B800029FC2200
    00073D49C29FD9d0s5 /prod/3g ufs 2 yes logging
    #dr-UFS
    /dev/dsk/c4t600A0B800029FC220000067E48345A45d0s6 /dev/rdsk/c4t600A0B800029FC2200
    00067E48345A45d0s6 /backup ufs 2 yes logging
    #dev-regions
    /dev/dsk/c4t600A0B800029FC2200000681483462BFd0s6 /dev/rdsk/c4t600A0B800029FC2200
    000681483462BFd0s6 /regions ufs 2 yes logging
    sharefs         -       /etc/dfs/sharetab       sharefs -       no      -
    Output of "truss -f -o /tmp/df.out /usr/local/bin/df":
    13858:     execve("/usr/sbin/df", 0xFFBFE964, 0xFFBFE970)  argc = 2
    13858:     resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
    13858:     resolvepath("/usr/sbin/df", "/usr/sbin/df", 1023) = 12
    13858:     stat("/usr/sbin/df", 0xFFBFE740)          = 0
    13858:     open("/var/ld/ld.config", O_RDONLY)          Err#2 ENOENT
    13858:     stat("/product/lib/libcmd.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libcmd.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libcmd.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/lib/libcmd.so.1", 0xFFBFE1F8)     = 0
    13858:     resolvepath("/usr/lib/libcmd.so.1", "/lib/libcmd.so.1", 1023) = 16
    13858:     open("/usr/lib/libcmd.so.1", O_RDONLY)          = 3
    13858:     mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    13858:     mmap(0x00010000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF380000
    13858:     mmap(0xFF380000, 9948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF380000
    13858:     mmap(0xFF394000, 1027, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 16384) = 0xFF394000
    13858:     munmap(0xFF384000, 65536)               = 0
    13858:     memcntl(0xFF380000, 3336, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    13858:     close(3)                         = 0
    13858:     stat("/product/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/lib/libc.so.1", 0xFFBFE1F8)          = 0
    13858:     resolvepath("/usr/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
    13858:     open("/usr/lib/libc.so.1", O_RDONLY)          = 3
    13858:     mmap(0xFF3A0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
    13858:     mmap(0x00010000, 1351680, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF200000
    13858:     mmap(0xFF200000, 1229381, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF200000
    13858:     mmap(0xFF33E000, 35801, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 1236992) = 0xFF33E000
    13858:     mmap(0xFF348000, 1576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF348000
    13858:     munmap(0xFF32E000, 65536)               = 0
    13858:     mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3F0000
    13858:     memcntl(0xFF200000, 144964, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    13858:     close(3)                         = 0
    13858:     stat("/product/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     stat("/usr/local/lib/libc.so.1", 0xFFBFE1F8)     Err#2 ENOENT
    13858:     mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF370000
    13858:     munmap(0xFF3A0000, 32768)               = 0
    13858:     getcontext(0xFFBFE430)
    13858:     getrlimit(RLIMIT_STACK, 0xFFBFE410)          = 0
    13858:     getpid()                         = 13858 [13857]
    13858:     setustack(0xFF372A88)
    13858:     brk(0x000290D0)                         = 0
    13858:     brk(0x0002B0D0)                         = 0
    13858:     stat("/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1", 0xFFBFE0F0) = 0
    13858:     resolvepath("/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1", "/platform/sun4v/lib/libc_psr.so.1", 1023) = 33
    13858:     open("/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1", O_RDONLY) = 3
    13858:     mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    13858:     munmap(0xFF3A2000, 24576)               = 0
    13858:     close(3)                         = 0
    13858:     ioctl(1, TCGETA, 0xFFBFE88C)               = 0
    13858:     open("/etc/mnttab", O_RDONLY)               = 3
    13858:     llseek(3, 0, SEEK_CUR)                    = 0
    13858:     llseek(3, 0, SEEK_SET)                    = 0
    13858:     ioctl(3, (('m'<<8)|7), 0xFFBFE6EC)          Err#25 ENOTTY
    13858:     llseek(3, 0, SEEK_CUR)                    = 0
    13858:     close(3)                         = 0
    13858:     zone_lookup("")                         = 0
    13858:     zone_lookup("")                         = 0
    13858:     zone_list(0x00000000, 0xFFBFE76C)          = 0
    13858:     zone_list(0x0002A188, 0xFFBFE76C)          = 0
    13858:     brk(0x0002B0D0)                         = 0
    13858:     brk(0x0002D0D0)                         = 0
    13858:     zone_getattr(9, ZONE_ATTR_ROOT, 0x0002A57C, 1024) = 26
    13858:     _exit(0)Looks like I will need some training in this area.
    Any suggestion would be very much appreciated.
    Thanks again,
    Jack

  • Error with Who is Who application :Hrxssce_Service_Appl_Path does not exist

    Hi all,
    We have done with ESS  business package. And have assigned ESS roles to users. While checking with who is who iview is getting the below error.
    com.sap.dictionary.runtime.DdException: Typecom.sap.pcuigp.xssutils.pernr.model.grpinfo.types.Hrxssce_Service_Appl_Path does not exist
    where as when i checked with SDN i saw only two threads, both of the threads said its related to patches. where as we have lates patches with. SAP-HR 600 sp47  and  EA-HR 600 sp47 and  SAP-BASIS 701 sp3.
    Please provide some help.
    Thanks in advance,
    kishore.

    Hi Kishore...
    I saw ur thread, now a days i am also facing the same problem with my ESS Iviews like Who's Who and Leave Req etc...
    How you solved it? Whats the Solution?
    All my JCO's are Working fine and Pointing to Correct Target ECC. We Deployed all the Latest Levels of Business Packages and XSS Java Components..
    BP_ERP5COM     1.31 SP5 
    BP_ERP5ESS      1.31 SP5 
    BP_ERP5MSS     1.31 SP5
    SAP_ESS      603 SP5 (1000.603.0.5.11.20100120030039)
    SAP_MSS      600 SP16 (1000.600.0.16.0.20090726022831)
    SAPPCUI_GP 603 SP5 (1000.603.0.5.0.20090810105723)
    By Chance any Component is missed out? Please Share some inputs!!!
    Thanks In Advance
    Adapa

  • Getting an error as "Access denied" while writing the data into CRM 2013?

    Hi,
    I have written code in Script component Transformation to connect CRM 2013. I have used CRM 2013 SDK to connect it.
    #region
    Help:  Introduction to the Script Component
    /* The Script Component allows you to perform virtually any operation that can be accomplished in
    * a .Net application within the context of an Integration Services data flow.
    * Expand the other regions which have "Help" prefixes for examples of specific ways to use
    * Integration Services features within this script component. */
    #endregion
    #region
    Namespaces
    using
    System;
    using
    System.Data;
    using
    Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using
    Microsoft.SqlServer.Dts.Runtime.Wrapper;
    using
    Microsoft.Xrm.Sdk;
    using
    Microsoft.Xrm.Sdk.Query;
    using
    Microsoft.Xrm.Sdk.Client;
    using
    Microsoft.Xrm.Sdk.Messages;
    using
    System.ServiceModel;
    using
    System.ServiceModel.Description;
    #endregion
    [Microsoft.SqlServer.Dts.Pipeline.
    SSISScriptComponentEntryPointAttribute]
    public
    classScriptMain:
    UserComponent
    //This
    method is called once, before rows begin to be processed in the data flow.
    ///You
    can remove this method if you don't need to do anything here.
    IOrganizationServiceorganizationservice;   
    // Variables for the CRM webservice credentials
    // You could also declare them in the PreExecute
    // if you don't use it anywhere else
    stringCrmUrl =
    stringCrmDomainName =
    stringCrmUserName =
    stringCrmPassWord =
    publicoverridevoidPreExecute()
    base.PreExecute();
             * Add your code here
    CrmUrl =
    this.Variables.CrmWebservice.ToString();
            CrmDomainName =
    this.Variables.CrmDomainName.ToString();
            CrmUserName =
    this.Variables.CrmUserName.ToString();
            CrmPassWord =
    this.Variables.CrmPassWord.ToString();
    // Connect to webservice with credentials
    ClientCredentialscredentials =
    newClientCredentials();
            credentials.UserName.UserName =
    string.Format("{0}\\{1}",
    CrmDomainName, CrmUserName);//"[email protected]";
            credentials.UserName.Password = CrmPassWord;
            organizationservice =
    newOrganizationServiceProxy(newUri(CrmUrl),
    null, credentials,
    null);
    ///This
    method is called after all the rows have passed through this component.
    ///You
    can delete this method if you don't need to do anything here.
    //</summary>
    publicoverridevoidPostExecute()
    base.PostExecute();
             * Add your code here
    ///<summary>
    ///This
    method is called once for every row that passes through the component from Input0.
    //<param
    name="Row">The row that is currently passing through the component</param>
    publicoverridevoidInput0_ProcessInputRow(Input0BufferRow)
             * Add your code here
    EntityContact =
    newEntity("Contact");
       Contact["Employeeid"] = Row.EmpId;    
     if (!Row.Prefix_IsNull)
        Contact["MiddleName"] = Row.Prefix;
    organizationservice.Create(Contact);
    I was getting an error when the Create method is called from Organizationservice object and it is executing fine till that method. Could you please suggest me how to go further on this?
    Thanks &amp;amp; Regards, Anil

    Hi Anil, 
    You want to make sure you use lower case for both CRM entity and field names. 
    In any case, writing a custom script component to talk to CRM may not sound terribly hard, but as soon as you get more business requirements and you deal with more entities, you will find it is not something trivial.
    For this reason, we highly recommend you check out a commercial offering which will actually save you a lot of time and effort. Check out our solution at http://www.kingswaysoft.com/products/ssis-integration-toolkit-for-microsoft-dynamics-crm/ for
    further details, we offer many integration features for Microsoft Dynamics CRM you can't find elsewhere, such as Upsert, Text Lookup, many-to-many relationship support, various writing actions, etc. 
    Disclaimer: I work for KingswaySoft
    Daniel Cai | http://danielcai.blogspot.com |
    @danielcai | Data Integration made easy with
    SSIS Integration Toolkit

  • Find out who has given local administrator rights to standard domain user?

    In my Organization i have faced problems with domain administrator, it seem that all of a sudden a standard domain user is having Local administrator rights. Can anyone please help me how to find out who has given local administrator rights to that standard
    domain user account? 

    Hi,
    Based on your requirement, you need to enable the auditing in your Active Directory to identify the user/ group changes and WHO made the change etc.
    Checkout the below steps to enable auditing for AD User Changes,
    1. Open GPMC console, click Start --> Administrative Tools --> Group Policy Management.
    2. Right click the Default Domain Controllers Policy, and then click Edit.
    3. Navigate to Audit Policy node, “Computer Configuration/ Policies/ Windows Settings/ Security Settings/ Local Policies/ Audit Policy”.
    4. Now enable the Success auditing for - Audit Account Management and Audit Directory Service Access.
    5. Execute the command “GPUPDATE /FORCE” in the Domain Controller to force apply the GPO settings.
    For Windows Server 2008 R2 and later versions, additional configuration is required in  “Advanced Audit Policy Configuration” section in Default Domain Controller Policy.
    1. Go to the node DS Access (Computer Configuration/Policies/Windows Settings/Security Settings/Advanced Audit Policy Configuration/Audit Policies/DS Access.) 
        Enable Success auditing for the following settings
         - Audit Directory Service Changes
    2. Go to the node Account Management (Computer Configuration/Policies/Windows Settings/Security Settings/Advanced Audit Policy Configuration/Audit Policies/Account Management.) 
        Enable Success auditing for the following settings
        - Audit User Account Management
    After completing the audit settings, configure SACL in Active Directory Users and Computers console for enabling the geneartion of AD Change events in the eventlog as shown below,
    Checkout the below KB article on complete list on Event ID and Description for AD Changes,
    http://support.microsoft.com/kb/947226/en-us
    Regards,
    Gopi
    JiJi Technologies

  • Capture who changed data using Forms Personalization & changed to what data

    Dear All,
    When the data is changed to a new data (say the price has been changed), I need to capture
    a) the original data
    b) newly changed data
    c) who changed the data
    into a newly created custom table using FORMS PERSONALIZATION.
    How do I do using FORMS PERSONALIZATION?
    Thanks.
    Matthew

    Hey guys, I did it.... and it does work. Here is what I did.
    I created a table to capture the required data.
    CREATE TABLE XYKA_PRICE_CHANGE_DTLS
    LIST_LINE_ID NUMBER,
    PRODUCT_ID VARCHAR2(240),
    PRODUCT_ATTR_VAL_DISP VARCHAR2(4000),
    NEW_PRICE NUMBER,
    DIV_NAME VARCHAR2(240),
    PRICE_CHANGED_BY VARCHAR2(6),
    PRICE_CHANGED_TIME DATE,
    OLD_PRICE     NUMBER
    Create two procedures which needs to enter data into this XYKA_PRICE_CHANGE_DTLS table. We will pass values from FORMS PERSONALIZATION by calling this
    procedure in the ACTION tab.
    CREATE OR REPLACE procedure PRICE_CHANGE_DETAILS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    v_name varchar2(240);
    BEGIN
    select name into v_name from qp_secu_list_headers_v where list_header_id = head_id;
    insert into XYKA_PRICE_CHANGE_DTLS(NEW_PRICE, PRICE_CHANGED_BY,ITEM_NUMBER,PRICE_CHANGED_TIME,PRODUCT_ID,LIST_LINE_ID,PRICE_LIST_NAME,OLD_PRICE) values (price,updated_by,disp,sysdate,prod_id,line_id,v_name,old_price);
    COMMIT;
    END;
    CREATE OR REPLACE procedure APPS.PRICE_CHANGE_DTLS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    V_PRICE_CHANGED_TIME date;
    V_PRODUCT_ID varchar2(240);
    V_LIST_LINE_ID number;
    V_count number := 0;
    BEGIN
    select count(*) into v_count from XYKA_PRICE_CHANGE_DTLS
    WHERE LIST_LINE_ID = line_id AND PRODUCT_ID = prod_id AND NEW_PRICE = price;
    if nvl(v_count,0) = 0 THEN
    PRICE_CHANGE_DETAILS(price,updated_by,disp,prod_id,line_id,head_id,old_price);
    else
    null;
    end if;
    END;
    In fact, I want to capture the current price and the changed price in pricing which is OPERAND field in qp_list_lines_v table (OM MANAGER > PRICING > PRICE
    LISTS > PRICE LIST SETUP)
    In the FORM PERSONALIZATION, enter the seq and the description
    Seq          1
    Description     GLOBAL_VARIABLE
    Level          Function
         In the CONDITION tab
              Trigger Event          WHEN-NEW-ITEM-INSTANCE
              Trigger Object          LIST_LINES.OPERAND
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Property
              Description     Operand Value
              Language     All
              Object Type     Global Variable
              Target Object     XX_EXIST_OPERAND_VALUE
              PropertyName     VALUE
              Value          ${item.list_lines.operand.value}
              Seq          2
              Type          Property
              Description     USER
              Language     All
              Object Type     Global Variable
              Target Object     XX_USER_ID
              PropertyName     VALUE
              Value          =fnd_global.user_id
    Seq          2
    Description     CONDITION & PASSING PARAMETER
    Level          Function
         In the CONDITION tab
              Trigger Event     WHEN-VALIDATE-RECORD
              Trigger Object     LIST_LINES
              Condition     ${item.list_lines.operand.value} <>${global.XX_EXIST_OPERAND_VALUE.value}
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Builtin
              Description     PASSING_VALUE
              Language     All
              Builtin Type     Exceute a Procedure
              Argument     ='begin PRICE_CHANGE_DTLS('''||${item.list_lines.operand.value}||''','''||${global.XX_USER_ID.value}
    ||''','''||${item.list_lines.product_attr_val_disp.value}||''','''||${item.list_lines.product_id.value}
    ||''','''||${item.list_lines.list_line_id.value}
    ||''','''||${item.list_lines.list_header_id.value}||''','''||${global.XX_EXIST_OPERAND_VALUE.value}
    ||''');end'
    Click APPLY NOW button. Save it and the close this FORMS PERSONALIZATION. Go back to the navigation and then click on the module. Try changing the price.
    Your current and the newly changed price along with who changed it, time etc will be inserted into XYKA_PRICE_CHANGE_DTLS table.
    Edited by: e-brain on Sep 14, 2009 11:21 AM
    Edited by: e-brain

  • Who is using up all my space?

    Hi. I'm very new to Oracle and have run into a situation.
    We have a 11g db server that we've hardened via CIS Security Configuration Benchmark. When our application (HP Operation Manager) attempts to write to one of his tables, we are seeing an error message indicating that we've exceeded quotas (in our application logs). A best as I can figure, the application is connecting to the DB as opc_op. When I log in a opc_op and select from session_priv;* I see UNLIMITED TABLESPACE. From my understanding this privilege overrides any quotas that's in place.
    My question is how do I accurately determine who is writing to a particular tablespace?
    TIA,
    Bert

    Odd;
    Try this with your tablespace :
    col segment_name format a22
    col ts_name format a8
    col owner format a8
    select ds.tablespace_name                               ts_name
          ,ds.owner                                         owner
          ,rtrim(ds.segment_name||' '||ds.partition_name)   segment_name
          ,substr(ds.segment_type,1,7)                      typ
          ,to_char(ds.extents,'999')                        exts
          ,to_char(ds.initial_extent/1024,'9,999,999')      initial_K
          ,to_char(ds.next_extent/1024,'9999,999')          next_k
          ,to_char(ds.bytes/1024,'999,999,999')             size_k
          ,do.created                                       created
          ,do.last_ddl_time                                 last_ddl_time
    from sys.dba_segments ds, sys.dba_objects do
    where ds.tablespace_name =Best Regards
    mseberg
    Edited by: mseberg on Mar 28, 2012 8:36 AM

Maybe you are looking for

  • Multiple Internet Connection Issues

    Hi there, long time reader first time poster. I figured I should post this as, while having read through hundreds of similar posts I still can't figure out how to solve my connectivity issues. I just bought a new iMac 21.5 inch 3.2Ghz i3 model and wh

  • 24" iMac not waking up

    I have a 24" iMac that's been great until the recent EFI update. When it goes to sleep I can't wake it. I have the wireless MM and kb, and they woke it before. I even plug in a usb mouse and keyboard, or hold the play/pause button on my front row rem

  • Inhouse production / Subcontracting mapping in SAP PP

    Hi,   I have a scenario for inhouse and subcon. My FG is canbe manufactured inhouse and as well as can send for subcontracting for operation. for this I have maintained X (both procurement type) in Material master and also created a MRP group and ass

  • Burning Photos to Disk

    When I save my photos to a CD for storage, I usually drag the iphoto file folders to the CD. When I check the CD, the folders are gone, as well as the photo names. They are in a simple list, with the IMG.JPG designation. It is a huge amount of troubl

  • Having Trouble Opening .EPS File

    I am trying to open a .eps file in Illustrator CS3. As it is trying to open the progress bar for Parsing EPS format appears. Once the bar reaches the end, an error message shows up saying  operation cannot complete because of an unknown error. Can an