SYS.UTIL_FILE

Connected to Oracle Database 10g Enterprise Edition Release 10.1.0.5.0
We have this working fine on this version database
Connected to Oracle Database 11g Release 11.2.0.1.0
Created a directory 'TEST_DIR' with a path of \\1234-winxp\temp <-- This is a directory on a PC with sharing options to everyone
declare
     output_file utl_file.file_type;
          v_path      VARCHAR2(20) := TEST_DIR';
          v_filename  VARCHAR2(10) := 'x.txt';
              v_text      VARCHAR2(32000);
BEGIN
     output_file := utl_file.fopen(upper(v_path),
                                               v_filename,
                                               'w',
                                               32767);
          utl_file.put(output_file,
                          v_text);
          utl_file.fclose(output_file); ....
END;when I run this code in 11g database, file gets written, everything is okay, please note that 11g database is on a windows server, the 10g is on OPEN VMS
When I run this code in 10g database, we get these errors
ORA-29283: Invalid file operation
ORA-06512: at SYS.UTL_FILE line 457
ORA-29283: invalid file operation
I've searched forum/google to no avail.
The permissions are identical in both databases.
can anyone please shed some light as to what I am missing?
thanks in advance.

A file share on Windows is done using Microsoft's NTLM (New Technology Lan Manager) networking and application protocols.
For a client to access and use that share, it needs to be a NTLM client. This means the client needs to talk to a NetBIOS interface/driver that creates SMBs (Server Message Blocks) for communicating with the NTLM server.
You can not simply point an Oracle directory object to a NTLM share and expect it to magically just work.
That Oracle server needs to support NTLM. It needs to authenticate itself with the NTLM file server. It need to use SMBs to read and write files to and from that NTLM file server.
So do you have NTLM support on your OpenVMS server? Does it have some kind of NetBIOS interface that the o/s can use to talk SMB?
On Linux there is Open Source s/w called Samba that implements SMB support - and Samba clients and servers can talk to Microsoft NTLM/CIFS clients and servers.
What do you have installed and configured on your OpenVMS server to support SMB?
PS. Like a FTP client and FTP server are needed on the client and server side to talk FTP and transfer files, a Windows share needs specific s/w on the client, and specific s/w on the server, for the client and server to transfer file data using SMB (or what Microsoft arrogantly calls CIFS).

Similar Messages

  • UTIL_File In Remote Node

    Hi,
    My Problem is that we seperated our AppServer(Solaris) and DBServer(Solaris) and some of my Script uses UTIL_FILE to write file from database,so i mounted My Appserver in DBServer so that it writes the data in Appserver only,now my Mount is working fine still i'm getting Oracle Error
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 488
    ORA-29283: invalid file operation
    And i have given the Folder Full permission(777) but still no use,
    so is that a permission issue or My SP is not working

    Hi,
    has the user already assigned Write Privilege to the Virtual Directory.
    777 is in the OS Level, but in the DB Level, SYS need to grant privilege to the user.
    HTH

  • Instead of using the make file can you build nirlpk.sys using MS WDK 8.0 on VS2012?

    After downloading the NI nimhddk_windowsWDM-2 and -1
    Instead of using the make file I built nirlpk.sys using MS WDK 8.0 on VS2012
    I copied the source files out of the dir /nirlpk to the MS template for WDM drivers
    It built after turning warnings as errors off.
    After uninstalling the NI_DMX driver I tried to install the RLP driver that consisted of nirlp.inf and nirlpk.sys
    I got this message:
    Windows found driver software for your device but encounted and error while attempting to install it.
    PCI-6602 RLP WDM
    Driver is not intended for this platform
    Is the nirlp.inf file correct for loading on Windows 7 64 bit?
    Any ideas?

    I have now altered the example along lines
    suggested by ghaneman*, who pointed out that
    a trusted application did not need to use the
    FileOpenService/FileContents just to get an
    InputStream.
    * Mentioned on 'File associations / sandboxed app.'
    http://forum.java.sun.com/thread.jspa?threadID=785224
    The altered code is..
    /** Load a file into the editing area.
    @param path A string representing the path to the desired file. */
    public void loadFile(String path) {
        // first try as if this were a trusted application..
        if (!path.equals(".")) {
            try {
                FileInputStream inputStream = new
                    FileInputStream(path);
                loadFile(inputStream);
            } catch (Exception e) {
                // we do not have trust, use the FileOpenService
                loadFileByFileService(path);
        } else {
            // we only have a directory, use the FileOpenService
            loadFileByFileService(path);
    public void loadFileByFileService(String path) {
        try {
            if (fileOpenService==null) {
                fileOpenService = (FileOpenService)ServiceManager.
                    lookup("javax.jnlp.FileOpenService");
            fileContents = fileOpenService.openFileDialog(path, xtns);
            // the user may have cancelled the action..
            if (fileContents!=null) {
                loadFile( fileContents.getInputStream() );
        } catch(UnavailableServiceException use) {
            use.printStackTrace();
        } catch(IOException ioe) {
            ioe.printStackTrace();
    }If the user launches the trusted version, and
    selects 'always trust' for the (self signed)
    certificate, the end user can thereafter double
    click a file and see it appear in the application's
    editing area with no further user interaction.

  • "Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'"

    Hi!
    As you can see from here :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    MaxDB seems to work fine, but after starting application server i have got an error :
    SAPGUI Logon Error Message:
    http://www.fabiocavallo.it/sap/sapguilog.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL 1
    ACTIVE TRACE COMPONENTS all, MJ
    B
    B Thu May 22 19:58:50 2008
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M sysno 00
    M sid NSP
    M systemid 560 (PC with Windows NT)
    M relno 7000
    M patchlevel 0
    M patchno 95
    M intno 20050900
    M make: multithreaded, ASCII, optimized
    M pid 3376
    M
    M kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M length of sys_adm_ext is 360 bytes
    M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) http://dpxxdisp.c 1301
    I MtxInit: 30000 0 0
    M DpSysAdmExtCreate: ABAP is active
    M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M
    M Thu May 22 19:58:51 2008
    M DpShMCreate: sizeof(wp_adm) 6328 (904)
    M DpShMCreate: sizeof(tm_adm) 3605136 (17936)
    M DpShMCreate: sizeof(wp_ca_adm) 1200 (60)
    M DpShMCreate: sizeof(appc_ca_adm) 1200 (60)
    M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M DpShMCreate: sizeof(comm_adm) 528048 (1048)
    M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M DpShMCreate: sizeof(slock_adm) 0 (96)
    M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M DpShMCreate: sizeof(file_adm) 0 (72)
    M DpShMCreate: sizeof(vmc_adm) 0 (1280)
    M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
    M DpShMCreate: sizeof(gw_adm) 48
    M DpShMCreate: SHM_DP_ADM_KEY (addr: 06420040, size: 4205552)
    M DpShMCreate: allocated sys_adm at 06420040
    M DpShMCreate: allocated wp_adm at 06421A28
    M DpShMCreate: allocated tm_adm_list at 064232E0
    M DpShMCreate: allocated tm_adm at 06423310
    M DpShMCreate: allocated wp_ca_adm at 067935A0
    M DpShMCreate: allocated appc_ca_adm at 06793A50
    M DpShMCreate: allocated comm_adm at 06793F00
    M DpShMCreate: system runs without slock table
    M DpShMCreate: system runs without file table
    M DpShMCreate: allocated vmc_adm_list at 06814DB0
    M DpShMCreate: allocated gw_adm at 06814DF0
    M DpShMCreate: system runs without vmc_adm
    M DpShMCreate: allocated ca_info at 06814E20
    M DpShMCreate: allocated wall_adm at 06814E28
    X EmInit: MmSetImplementation( 2 ).
    X MM global diagnostic options set: 0
    X <ES> client 0 initializing ....
    X Using implementation view
    M <EsNT> Memory Reset disabled as NT default
    X ES initialized.
    M ThInit: running on host PCFABIO
    M
    M Thu May 22 19:58:52 2008
    M calling db_connect ...
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) http://thxxhead.c 1426
    M in_ThErrHandle: 1
    M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) http://thxxhead.c 10240
    M
    M Info for wp 0
    M
    M stat = WP_RUN
    M waiting_for = NO_WAITING
    M reqtype = DP_RQ_DIAWP
    M act_reqtype = NO_REQTYPE
    M rq_info = 0
    M tid = -1
    M mode = 255
    M len = -1
    M rq_id = 65535
    M rq_source =
    M last_tid = 0
    M last_mode = 0
    M semaphore = 0
    M act_cs_count = 0
    M csTrack = 0
    M csTrackRwExcl = 0
    M csTrackRwShrd = 0
    M control_flag = 0
    M int_checked_resource(RFC) = 0
    M ext_checked_resource(RFC) = 0
    M int_checked_resource(HTTP) = 0
    M ext_checked_resource(HTTP) = 0
    M report = > <
    M action = 0
    M tab_name = > <
    M vm = no VM
    M
    M *****************************************************************************
    M *
    M * LOCATION SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M * ERROR ThInit: db_connect
    M *
    M * TIME Thu May 22 19:58:52 2008
    M * RELEASE 700
    M * COMPONENT Taskhandler
    M * VERSION 1
    M * RC 13
    M * MODULE thxxhead.c
    M * LINE 10439
    M * COUNTER 1
    M *
    M *****************************************************************************
    M
    M PfStatDisconnect: disconnect statistics
    M Entering TH_CALLHOOKS
    M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm http://thxxrun1.c 720
    M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed http://thxxtool3.c 260
    M Entering ThSetStatError
    M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M Entering ThReadDetachMode
    M call ThrShutDown (1)...
    M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) http://dpnttool.c 327
    File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\), maybe i have to set environment variable in windows for SAP.
    Could you help me, please ?
    I don't know how to set these variables.......
    Many thanks.
    Regards.
    Fabio

    Hello Fabio,
    -> You wrote:
    "File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\)"
    => Please check the version of this file.
    < Go to file properties ->Version && update with 'file version', Platform,
       Product Name, Product Version information >
    -> What version of the SAP system did you install?
         "I suppose that i can download this patch from Sap MaketPlace, but i can't register there, because i have no
          Customer or   Installation Number! (i can't Logon in SAP....) "
         From were did you get the SAP software installation or CD?
    -> Could you upgrade the database client software on the application server to the version 7.7.04.08 or higher.
        You pointed "As you can see from here : http://www.fabiocavallo.it/sap/maxdb.jpg u2026 "
       => If the database and application were running on the same server, you installed the database
    Software version 7.6.02.17. Please run 'sdbregview -l' to review the list of all installed packages
    on the server.
    -> "MaxDB seems to work fine, but after starting application server i have got an error"
         Was the system working fine before? What was changed?
         Or you was not able to start the application server after installation. ?
    Thank you and best regards, Natalia Khlopina

  • Upgrade oracle 9.2.0.8.0 to 10.2.03 ORA-06512: at "SYS.VERSION_SCRIPT", lin

    Upgrade oracle 9.2.0.8.0 to 10.2.03. while runing catupgrd.sql script. i am geting error.
    SELECT version_script AS file_name FROM DUAL
    ERROR at line 1:
    ORA-20000: Upgrade not supported from version
    ORA-06512: at "SYS.VERSION_SCRIPT", line 52
    Please help me.
    AT

    Strange. Metalink doc 316889.1 says you should be able to upgrade following versions directly to 10.2.0.3.0
    8.1.7.4 -> 10.2.X.X.X
    9.0.1.4 or 9.0.1.5 -> 10.2.X.X.X
    9.2.0.4 or higher -> 10.2.X.X.X
    10.1.0.2 or higher -> 10.2.X.X.X
    Not too sure but may be you need to contact Oracle support.

  • COMPUTE INDEX vs. SYS.DBMS_STATS.GATHER_INDEX_STATS

    Hi,
    I've got an Oracle 9 database.
    I am creating an index. I had created this index using the following syntax:
    CREATE INDEX index1. . . . . . COMPUTE STATISTICS;
    One of my colleagues tells me that I should scrap 'COMPUTE STATISTICS' and instead make this a two step process:
    (1) CREATE INDEX index1. . . . .
    (2) SYS.DBMS_STATS.GATHER_INDEX_STATS
    OwnName => 'schema'
    ,IndName => 'index_name'
    ,Estimate_Percent => 10
    ,Degree => 4
    ,No_Invalidate => FALSE);
    Is there any advantage to using SYS.DBMS_STATS.GATHER_INDEX_STATS instead of 'COMPUTE STATISTICS'?
    Thanks,
    Tom

    9i references<br>
    In particular...<br>
    Deprecated at 10<br>

  • How to protect the SYS ID?

    Hi All,
    I have an application that allows a central application administrator - this ID in the application matches to an Oracle ID with no objects, but many rights. Since they need to reset regular user passwords this user gets granted the "ALTER USER" role. Doing some experimentation I found that this user has the rights to change the SYS password now! (and any other SYSDBA user). The documentation does confirm this:
    *Security administrators are typically the only users that have this system privilege, as it allows a modification of any user security domain.*
    Now, my solution is to remove the ALTER USER privilege and leave the password resets to the DBA (i.e. me), but I was wondering if anyone knows of a solution that will still allow a user to change other database user passwords, but exclude the SYS password?
    FYI, this is running 11.1.0.7 on Windows 64-bit. Any ideas would be greatly appreciated.
    Thanks,
    Martin

    Normally, you'd use a stored procedure for this.
    A highly privileged user (i.e. a DBA account) would own a procedure that resets user passwords. That procedure would do a bit of validation that the password being reset is a regular application user account, not a DBA. And the procedure would probably do a bit of logging so you can track who reset the password. The highly privileged user would then grant the application administrator EXECUTE access on this stored procedure. The application admin would be able to reset normal user passwords by calling the procedure but would not be able to reset the password for privileged users.
    Justin

  • Jobs running under sys user name

    Oracle 10.2.0.3 Enterprise
    Win2k3
    Just upgraded to 10.2.0.3 ee from 10.1.0.4 standard.
    The jobs were entered via em and given the proper owner.
    em was logged in as sys. All jobs are running as user name sys.
    Can the user name be changed to the owner or do I have to drop and rebuild the jobs?
    Thanks for any help
    Bob

    Hi,
    For jobs there are two users, the job_owner and the job_creator.
    The job_owner is the schema the job is created in. The job runs as the job owner and with the privileges of the job owner.
    The job_creator is the user that creates the job (even if he creates it in another schema). When a job runs it sets its logged-in-user to be the job creator, so any actions will be audited as having been done by the job creator.
    Neither the job_owner nor the job_creator can be modified after the job has been created.
    But you may be able to use the copy_job command or the create_like EM button to save you some trouble.
    Hope this helps,
    Ravi.

  • Vista crcdisk.sys error on Tecra A4

    When the beta version of Vista came out several people were having installation problems where start-up would stop on first reboot at 'crcdisk'sys'
    I've been following the MS forums as well as here but never found a solution.
    Has anyone successfully installed Vista Beta on a Tecra A4 yet? If so, what's the secret?
    Any help appreciated
    Salamat

    Thanks for replying and suggesting the link. I have been keeping my eyes on the MS forums since first installing
    Beta2 but not yet found the cause or solution in there. Most of the posts go back to June and July shortly after Beta 2 came out and since it went all quiet I assume people resigned themselves to not solving the problem. With the release of 5536 maybe the issue will raise itself there again.
    Thanks
    Salamat
    > Hi,
    >
    > Maybe found you a answer for your Question with Vista
    > in the Vista Forum.
    > Please check this.
    > http://forums.microsoft.com/TechNet/Search/Search.aspx
    > ?words=Installation+from+Vista&localechoice=9&Site ID=1
    > 7&searchscope=allforums
    >
    > By

  • I keep getting blue screen and error message to remove this file from system. spooldr.sys

    HP Officejet 4500 Wireless All-in-One Printer - G510n    w/operating system     Windows XP Professional
    I installed the printer in February and the disk did not finalize the setup process.  I went online and
    down loaded the drivers and software that was offered from the HP website.
    The printer works, but as the months have gone along, I keep getting updates for the printer and
    the system needs to reboot and it does automatically.
    Now I am getting a blue screen with a critical dump error message.  HP error reporting keeps sending
    the same message back to restore to earlier date before the updates.  That worked for awhile.  Now
    HP Error system says that malware has corrupted and needs to remove system file     spooldr.sys
    Is this in your driver software.  Spooldr is the system that caches pages of data for printing in chronological
    order....
    Can I uninstall my software and drivers and change to the plain & simple, print and scan to prevent the
    spool driver from loading to my system?

    Thank you for your input.  But, It is amazing that you can tell me that I was infected with  rootkit. 
    Without information as to how to fix, your information is after the fact and useless.
    I used the Safety Scanner provided to me by HP.  A full scan didn't detect any Malware in any files on my system.  But the last screen dump provided the information that   spooldr.sys  was corrupted and  needed
    to be removed.  
    Coming into HP Form, I did read on the HP website that my system Windows XP Professional was not listed
    and noted that the software may have not been just what I needed.  This was the reason for the question
    about uninstalling and reinstalling less of the program.  I really don't need my printer to print backward and
    that is all I see that it is doing that other printers don't.
    Besides, Kudos goes to the person from HP who sent the email,  suggesting I used the HP Update software and drives recommended  for my computer system.  Computer, printer is working, back to normal and hasn't taken a dump since, I uploaded  software and drives for Windows XP Professional.

  • Storport.sys BSOD on Windows Server 2012 R2

    I recently purchased a Server that houses 45 4TB drives to use as my backup to disk solution. I installed Windows Server 2012 R2 Standard so that I could take advantage of Microsoft's Storage Spaces. I have configured the Storage Pool
    with Dual Parity with 3 hot spares. I have also updated every thing to the most current firmware, drivers and Windows Updates that I could find but I am still getting the BSOD. I am using Symantec Backup Exec 2010 R3 to backup my file server to this server.
    It will run for anywhere between 12 to 31 hours transferring 1.5 to 3TB and then my server will Blue Screen and every time it Blue Screens it says it is caused by the storport.sys Driver. I've found articles talking about the storport.sys driver causing nonpaged
    pool leaks but that was for Windows Server 2008 R2, I can't find anything for Windows Server 2012 R2. If you need additional information just let me know and I will provide it. Any help you can give would be greatly appreciated.

    Hi,
    This article provided the limitation of Storage Pool in Windows Server 2012 R2:
    https://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx#What_are_the_recommended_configuration_limits
    Yor current situation is still in supported configuration.
    Also there is no hotfix for Windows Server 2012 R2 regarding storport.sys yet. Which means your current issue is not a known issue.
    For further troubleshooting purpose you may need to collect dump files for analysis. However it will take a long time to do the troubleshooting process on forum. Thus it is recommended to submit a ticket to Microsoft online support for a professional troubleshooting.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
    If you have any feedback on our support, please send to [email protected]

  • Dc5850 cpu fan speeds to top speed sys then shutdown

    I have a Hewlett-Packard HP Compaq dc5850 Micro tower PC, now running windows 7 pro 64-bit. That was new in late 2008. Originally it came with vista 32-bit downgrade able to XP pro 32 bit, running on 2G RAM, and 160G C drive with a 2.30 gigahertz AMD Phenom 8600B Triple-Core processor. It also has ATI 3100 integrated graphics as well as integrated NIC at 1G and integrated High def audio. In the first few months I had the system, I upgraded memory by 4G and total Disc space by 500G by adding a D drive; then upgraded to windows 7 pro 64-bit.
    Overall, I have had a good experience with the PC but it has had problems while in its 3-year warranty. I did need to replace the C drive and later it original RAM devices. Yes HP did these replacements and swaps, under warranty; that meant I had 6G memory for a long time before the HP 2Gig failed out of warranty, leaving me with 4Gig now. Yes I have always had the Unit on an UPS; I even replaced the old UPS with a more powerful unit in late 2009 or early 2010 when the old UPS showed signs of failure. Now instead of serial based UPS connection it is USB.
    Over the last few months I have been getting blue-screen errors of all sorts. Ranging from video related errors, Memory faults, Disc read/write failures and processor flag errors too. After numerous repair disc runs or re-install of windows, the disc read write errors wore corrected by the HP drive sanitation utility disc repair/wipe after failing the extended test. The non video ram was tested by a bootable CD of memtest86 v4 running extended test as well as MS memory Diagnostic. Both run multiple times, both passed multiple times. I was able to find a CD based video diagnostic for ATI and the Video passed repeated stress test as well. Over Labor Day I conducted these test and re-installed windows 64-bit; on the following Monday windows informed me I needed to activate windows, so I verified the correct key and called to do so, successfully.
    With that background given here is the question. Recently over the last two or three months, for no apparent reason, mainly on boot the fan races to top speed and the system shuts down to protect itself. I researched this a little and found one cause to be inadequate airflow over the CPU to keep it cool; the recommendation made sense to vacuum with a computer vacuum and be sure airflow is not somehow obstructed. I am now thinking all these problems are related to the CPU temp sensor. Is it on the CPU fan or the motherboard, and can raising the fan speed in BIOS help prevent the problem, particularly if it on the motherboard.
    John M Gray II

    My pentium 4 3.0c stock Intel fan is 4.44 watts. Isn't the mobo designed for this?
    Also, can the sys fan header have the speed sensor activated by a bios fix or is it a hardware issue where it just does not exist? If hardware, seems strange since Corecell shows sys fan.
    Regards

  • T61 with memory leak on XP for driver battc.sys

    Hi
    I have an issue with XP where the battc.sys module that is part of Windows XP and responsible for the kernel side of monitoring the battery status. This module continually leaks memory until I have no more kernel paged resources left and programs start to fail on my laptop.
    I raised a support case for this with Microsoft and after some investigation and upgrading to the latest T61 power drivers that were released a few days ago on the Lenovo site, MS support told me it is a fault of the T61 and that I would need to disable Microsoft APCI support to stop this memory leak from occuring and to take the issue up with Lenovo.
    I have used the verifier tool to confirm that it is the Windows XP SP3 battc.sys memory module leaking.
    I am running the latest T61 drivers and fully patch with MS drivers on SP3.
    As MS have told me it is the fault of the T61 I am posting this issue here.
    Thanks
    Stephen

    It is memory available to the kernelwhich itself does not show under a process in task manager as far as I am aware (unles it is taken account as part of the system process).
    The best way to measure the available kernel memory space available is by using sysinternals procexp.
    You need to download procexp and also install the windows debugging tools from Microsoft. Then in procexp set the "Options > Configure Symbols : Debughlp.dll path" to the new debughlp.dll installed with your debu tools and set the symbols path to srv*c:\Symbols*http://msdl.microsoft.com/download/symbols
    Then you can choose in procexp "View > System Information" and see the used and total paged and non-paged kernel memory space.
    poolmon helps monitor all the symbols that are taking up this memory and verifier lets you drill down to the exact module and the changes in memory for a module that is occuring.
    Here are two really good links on it
    http://blogs.msdn.com/ntdebugging/archive/2006/12/18/Understanding-Pool-Consumption-and-Event-ID_3A0...
    http://blogs.msdn.com/ntdebugging/archive/2008/05/08/tracking-down-mmst-paged-pool-usage.aspx
    In my poolmon i notice that Mmst and battc are taking alot of memory after my computer has been running for some time. Mmst being high is normal but battc should not continually be growing as it is which is why I raised the case to MS but they want verification it is not a Lenovo issue.

  • Am unable to get the data from Sys.databases when i use where condition for column owner_sid

     
    Hi all,
    Help me here when i try am unable to get a data,Can some one help me with a query to get.
    If it cant be done can i know why..
     select * from Sys.databases
      where owner_sid='0x01'
    What am trying is to get a login
    names from syslogin
    table with respect to Sid.
    Select a.name,b.name,a.owner_sid from Sys.databases a
      Join Syslogins b
      on a.owner_sid = b.sid
      where owner_sid like '0x01'
    Thanks all in Advance.....

    Below are a couple of examples of how to accomplish the task.  Note that SID is varbinary so the literal should not be enclosed in quotes.
    SELECT
    a.name AS DatabaseName
    ,b.name AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    JOIN sys.server_principals b ON
    a.owner_sid = b.sid
    WHERE owner_sid = 0x01;
    SELECT
    a.name AS DatabaseName
    ,SUSER_SNAME(owner_sid) AS OwnerName
    ,a.owner_sid AS OwnerSID
    FROM sys.databases a
    WHERE a.owner_sid = 0x01;
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Postoffice-startup-file not copied from SYS-volume

    We migrated a Groupwise 7.02-postoffice from a Netware 6.5-Sp5-server to a
    SLES10-SP1-server with the Novell GroupWise Migration Utility.
    When we started gwpoa the postoffice-startup-file was not
    in /opt/novell/groupwise/agenst/share/
    We looked in the migration-logfile and we saw these messages
    10/27/07 02:32:23 Configuring agent(s)...
    10/27/07 02:32:23 Running remote command:
    sh /tmp/groupwise/software/addagent.sh -
    b /opt/novell/groupwise/agents/bin/gwpoa -
    s /tmp/groupwise/software/p006.poa -h /var/opt/novell/groupwise/mail/p006 -
    v 7
    /tmp/groupwise/software/addagent.sh: line
    135: /tmp/groupwise/software/p006.poa: No such file or directory
    mv: cannot stat `/tmp/p006.poa.tmp.16849': No such file or
    directory
    cp: cannot stat `/tmp/groupwise/software/p006.poa': No such file
    or directory
    10/27/07 02:32:25 Remote command failed (1)
    This is were our sourcefiles were:
    Post Office:
    Source database path: \\fileserver\VOL1\DATA\GRPWISE\P006\
    Destination path: /var/opt/novell/groupwise/mail/p006
    Agents:
    Post Office Agent:
    Path to startup file: \\fileserver\SYS\SYSTEM\p006.poa
    As you see, our startup-file was on another volume then the postoffice.
    In the migration-log we only saw a mount of the postoffice-volume, so we
    think there is a bug in the migration utility. It does not copy the
    startup-file if it is on another volume (in this case on the SYS-volume).
    Or did we something wrong?
    At last we solved our problem by copying (and editing) a startup-file
    to /opt/novell/groupwise/agenst/share/
    Regards,
    Jeroen van der Klaauw

    It happens between the full dbcopy and the incremental dbcopy, when the
    agent is configured.
    Jeroen van der Klaauw
    > When the migration agent finishes the migration of the data there are
    > the second and third phases that the application runs through - 2) to
    > install the agents and 3) configure them. If you bombed out before
    > that third phase then I would understand...
    >
    >
    >
    > On Mon, 29 Oct 2007 15:55:53 GMT, [email protected] wrote:
    >
    > >We migrated a Groupwise 7.02-postoffice from a Netware 6.5-Sp5-server
    to a
    > >SLES10-SP1-server with the Novell GroupWise Migration Utility.
    > >When we started gwpoa the postoffice-startup-file was not
    > >in /opt/novell/groupwise/agenst/share/
    > >We looked in the migration-logfile and we saw these messages
    > >
    > >10/27/07 02:32:23 Configuring agent(s)...
    > >10/27/07 02:32:23 Running remote command:
    > >sh /tmp/groupwise/software/addagent.sh -
    > >b /opt/novell/groupwise/agents/bin/gwpoa -
    > >s /tmp/groupwise/software/p006.poa -
    h /var/opt/novell/groupwise/mail/p006 -
    > >v 7
    > > /tmp/groupwise/software/addagent.sh: line
    > >135: /tmp/groupwise/software/p006.poa: No such file or directory
    > > mv: cannot stat `/tmp/p006.poa.tmp.16849': No such file or
    > >directory
    > > cp: cannot stat `/tmp/groupwise/software/p006.poa': No such file
    > >or directory
    > >10/27/07 02:32:25 Remote command failed (1)
    > >
    > >This is were our sourcefiles were:
    > >
    > >Post Office:
    > > Source database path: \\fileserver\VOL1\DATA\GRPWISE\P006\
    > > Destination path: /var/opt/novell/groupwise/mail/p006
    > >
    > >Agents:
    > > Post Office Agent:
    > > Path to startup file: \\fileserver\SYS\SYSTEM\p006.poa
    > >
    > >As you see, our startup-file was on another volume then the postoffice.
    > >In the migration-log we only saw a mount of the postoffice-volume, so
    we
    > >think there is a bug in the migration utility. It does not copy the
    > >startup-file if it is on another volume (in this case on the SYS-
    volume).
    > >Or did we something wrong?
    > >
    > >
    > >At last we solved our problem by copying (and editing) a startup-file
    > >to /opt/novell/groupwise/agenst/share/
    > >
    > >Regards,
    > >
    > >Jeroen van der Klaauw
    > Tim
    > ___________________
    > Tim Heywood (SYSOP)
    > NDS8
    > Scotland
    > (God's Country)
    > www.nds8.co.uk
    > ___________________
    >
    > In theory, practice and theory are the same
    > In Practice, they are different

Maybe you are looking for