Systemd errors with proc-sys-fs-binfmt_misc.automount [solved]

Been enjoying systemd for a few weeks now but for some reason I have two failed errors:
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded failed failed Arbitrary Executable File Formats File System Automount Point
systemd-modules-load.service loaded failed failed Load Kernel Modules
and
$ status systemd-modules-load.service
systemd-modules-load.service.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
$ status proc-sys-fs-binfmt_misc.automount
proc-sys-fs-binfmt_misc.automount.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
Not quite sure why.
Last edited by graysky (2012-05-15 20:22:14)

The kernel does support it.  My problem was a typo in /etc/modules-load.d/cpupower.conf
/acpi_cpufreq/acpi-cpufreq/
Problem solved.

Similar Messages

  • Reproducable Error with script SYS.I_PLSCOPE_SIG_IDENTIFIER$

    Hi Oracle,
    I get an error when running attached script:
    The error message is:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-00600: internal error code, arguments: [kqlidchg1], [], [], [], [], [], [], [], [], [], [], []
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
    00603. 00000 - "ORACLE server session terminated by fatal error"
    *Cause:    An ORACLE server session is in an unrecoverable state.
    *Action:   Login to ORACLE again so a new server session will be created
    DROP SEQUENCE T_TEAM_ID;
    DROP SEQUENCE T_COMPANY_ID;
    DROP TABLE t_company CASCADE CONSTRAINTS
    DROP TABLE t_team CASCADE CONSTRAINTS
    CREATE TABLE t_company
    id INTEGER NOT NULL ,
    name VARCHAR2 (20) NOT NULL
    ALTER TABLE t_company
    ADD CONSTRAINT PK_company PRIMARY KEY ( id ) ;
    CREATE TABLE t_team
    id INTEGER NOT NULL ,
    company_id INTEGER NOT NULL ,
    name VARCHAR2 (20) NOT NULL
    ALTER TABLE t_team
    ADD CONSTRAINT PK_team PRIMARY KEY ( id ) ;
    ALTER TABLE t_team
    ADD CONSTRAINT FK_t_team_t_company FOREIGN KEY
    company_id
    REFERENCES t_company
    id
    CREATE SEQUENCE T_COMPANY_ID
    NOCACHE
    ORDER ;
    CREATE SEQUENCE T_TEAM_ID
    NOCACHE
    ORDER ;
    CREATE OR REPLACE TRIGGER t_team_BI
    BEFORE INSERT ON t_team
    FOR EACH ROW
    WHEN (NEW.id IS NULL)
    BEGIN
    SELECT T_TEAM_ID.NEXTVAL INTO :NEW.id FROM DUAL;
    END;
    CREATE OR REPLACE TRIGGER t_company_BI
    BEFORE INSERT ON t_company
    FOR EACH ROW
    WHEN (NEW.id IS NULL)
    BEGIN
    SELECT T_COMPANY_ID.NEXTVAL INTO :NEW.id FROM DUAL;
    END;
    The error is thrown for the CREATE OR REPLACE TRIGGER and also comes up when creating the rest 1st, logging of and logging in again.
    As it seems to be a serious error (I'd never expect it to show) and I don't now how to solve it, I wrote you this bug report.
    I'm on Win7 Pro and using SQL Developer 3.0.04. Oracle version installed is:
    SELECT * FROM V$VERSION
    where banner like 'Oracle%';
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Any advise or idea how to solve the error?
    Thank you,
    Blama

    Error with script SYS.<...>Using sysdba connections for schemas is strongly discouraged.
    Creating tables in the system tablespace that have no relation to the sys and system schemas brings its own set of admin headaches, sysdba should only be used to shutdown or startup an instance.
    Or if there is a specific SYS object that needs to have permissions granted that cannot be done via a user with the DBA role privilege (i.e. SYSTEM), that should be the only time a sysdba connection is needed.
    Also, beginning with 11g the pl/sql for setting a column with a sequence value can be done directly, no 'select ... into ... from dual;' needed.
    begin
      :new.<column> := <sequence>.nextval;
    end [<trigger name>];

  • Semantic Error with ProC for a granted package

    Hi,
    we are now switching to Oracle 11gR2, and I encounter an error when precompiling our ProC code.  The error is PLS-S-00201, identifier 'XXXXXX' must be declared.
    Let me explain what I do.
    The identifier in question is a package.  The owner of this package is a schema user USER1.  In the same database instance, I have an other schema user, USER2.
    USER1 granted EXECUTE to USER2.  And a SYNONYM has been created for USER2.  So now, connecting with USER2 with SqlDeveloper, I can see the synonym from the granted package.
    When precompiling with ProC, I use the SQLCHECK=SEMANTICS USERID=USER2/PWD@INSTANCE.
    Other flags are : DBMS=V8 CHAR_MAP=VARCHAR2 ireclen=80 oreclen=80 parse=NONE select_error=NO maxliteral=1024 maxopencursors=10 ltype=NONE release_cursor=YES
    This is when I get the error.  I must connect with USER2, because it is the main schema, and only a package is in another schema.  But if I change the USERID for ProC to USER1, and precompile only the part of the code that need USER1, it works (same package here, but in the owner schema).  It seems there is a problem with the GRANT.
    Does anyone have any idea ?
    Thank you.
    Jessy Saint.

    Of course, it was the ovious.  The grant was removed from someone else, testing something else.  The problem with big dev teams using the same databases....
    Thanks again.

  • ORA-12154 TNS resolve error with ProC

    <p>Hi all,
    <br>
    <p>
    I have a program written in ProC which works fine when it connects to a local database. However, it is unable to connect to a remote database. The code for making the connection is:
    <p>
    <i>
    EXEC SQL BEGIN DECLARE SECTION;<br>
    char name[20];<br>
    char pwd[20];<br>
    char dbname[20];<br>
    char dbstring[20];<br>
    EXEC SQL END DECLARE SECTION;<br>
    strcpy(name, "admin");<br>
    strcpy(pwd, "adminadmin");<br>
    strcpy(dbname, "userdb");<br>
    strcpy(dbstring, "userdb");<br>
    EXEC SQL WHENEVER SQLERROR DO printf( "Connection Error = %s", sqlca.sqlerrm.sqlerrmc);<br>
    EXEC SQL CONNECT :name IDENTIFIED BY :pwd AT :dbname USING :dbstring;<br>
    </i>
    <p>
    The content of fthe file tnsnames.ora:<br>
    <i>
    userdb =<br>
    (DESCRIPTION =<br>
    (ADDRESS_LIST =<br>
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.21)(PORT = 1521))<br>
    )<br>
    (CONNECT_DATA =<br>
    (SID = userdb)<br>
    )<br>
    )<br>
    </i>
    <p>
    I can "tnsping userdb" and "telnet 192.168.30.21 1521" but the program keeps generating the ORA-12154 connection error.
    The version of my oracle client is 9.2.0.1.0
    The version of the db server is 8.1.7
    Could any one give me some advice please. I had been searching for the solutions for days but failed. Please help. Thanks.

    <p>
    i do a file search "find / -name tnsnames.ora", here is the result:
    <p>
    /home/oracle/dbscript/database/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/samples/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora<br>
    <p>
    the first one is not found in the path

  • Systemd Errors From Deluge Group and gvfs Permission [SOLVED]

    Have a few things that I have not been able to find a fix for.
    The Deluge group is unknown and a gvfs permission problem.  I've tried reinstalled both packages.  I've searched and found inf regarding both, but nothing that has worked for me so far.
    [jeff@Arch2010p5 ~]$ systemctl --failed
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    systemd-tmpfiles-clean.service loaded failed failed Cleanup of Temporary Directories
    systemd-tmpfiles-setup.service loaded failed failed Recreate Volatile Files and Directories
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    [root@Arch2010p5 jeff]# systemctl status systemd-tmpfiles-clean.service
    systemd-tmpfiles-clean.service - Cleanup of Temporary Directories
    Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-clean.service; static)
    Active: failed (Result: exit-code) since Thu, 2012-11-15 11:07:19 PST; 56min ago
    Docs: man:tmpfiles.d(5)
    Process: 1015 ExecStart=/usr/bin/systemd-tmpfiles --clean (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-tmpfiles-clean.service
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Starting Cleanup of Temporary Directories...
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: stat(/run/user/1000/gvfs) failed: Permission denied
    Nov 15 11:07:19 Arch2010p5 systemd[1]: systemd-tmpfiles-clean.service: main process exited, code=exited, status=1/FAILURE
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Failed to start Cleanup of Temporary Directories.
    Nov 15 11:07:19 Arch2010p5 systemd[1]: Unit systemd-tmpfiles-clean.service entered failed state
    [root@Arch2010p5 jeff]# systemctl status systemd-tmpfiles-setup.service
    systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
    Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
    Active: failed (Result: exit-code) since Thu, 2012-11-15 10:52:44 PST; 20min ago
    Docs: man:tmpfiles.d(5)
    Main PID: 377 (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-tmpfiles-setup.service
    Nov 15 10:52:44 Arch2010p5 systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
    Nov 15 10:52:44 Arch2010p5 systemd[1]: Failed to start Recreate Volatile Files and Directories.
    Nov 15 10:52:44 Arch2010p5 systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state
    [root@Arch2010p5 jeff]# journalctl -f /usr/bin/systemd-tmpfiles
    -- Logs begin at Thu, 2012-11-01 15:56:20 PDT. --
    Nov 15 09:46:50 Arch2010p5 systemd-tmpfiles[923]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 09:46:50 Arch2010p5 systemd-tmpfiles[923]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 09:55:33 Arch2010p5 systemd-tmpfiles[361]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    -- Reboot --
    Nov 15 10:02:35 Arch2010p5 systemd-tmpfiles[388]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:17:10 Arch2010p5 systemd-tmpfiles[971]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:17:10 Arch2010p5 systemd-tmpfiles[971]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 10:41:34 Arch2010p5 systemd-tmpfiles[1151]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 10:41:34 Arch2010p5 systemd-tmpfiles[1151]: stat(/run/user/1000/gvfs) failed: Permission denied
    -- Reboot --
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: [/usr/lib/tmpfiles.d/deluge.conf:1] Unknown group 'deluge'.
    Nov 15 11:07:19 Arch2010p5 systemd-tmpfiles[1015]: stat(/run/user/1000/gvfs) failed: Permission denied
    Last edited by jeff story (2012-11-16 10:20:45)

    Yes the deluge user is present, group deluge is not. I find the following quote from the wiki confusing though.
    Yea I have tried troubleshooting via the wiki and much more.
    wiki wrote:The default user for the Deluge daemon, is deluge, which is created upon package installation. You can change this in /etc/conf.d/deluged. Of course, the user needs to exist.
    So ....... Is the word daemon implied to also mean group?  If so, should user deluge belong to the group deluge?
    The user deluge currently belongs to no groups.
    Does the quote also imply that everything is ok as installed per default?
    If not, it should simply specify that the user has to manually set up <user x> to belong to <group y>.
    The last sentence further confuses things as far as I'm concerned. I'll try to guess the meaning of it.
    Of course user deluge exists if it is created by the installation.
    Is the sentence referring to the user deluge, the user(jeff) or who needs to belong to what?
    I'll update the wiki to clarify if I can get an answer and verify it on my system.
    Also I should mention that Deluge currently works great and also did before switching to systemd. Deluge is a default install as I have not changed any user or groups deluge.
    [root@Arch2010p5 jeff]# cat /etc/passwd | grep d
    daemon:x:2:2:daemon:/sbin:/bin/false
    nobody:x:99:99:nobody:/:/bin/false
    dbus:x:81:81:System message bus:/:/bin/false
    deluge:x:125:125:Deluge user:/srv/deluge:/bin/false
    smmsp:x:150:25:sendmail:/var/spool/mail:/bin/false
    git:x:998:998:git daemon user:/:/bin/bash
    gdm:x:120:120:Gnome Display Manager:/var/lib/gdm:/sbin/nologin
    uuidd:x:996:996::/:/sbin/nologin
    polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
    [jeff@Arch2010p5 ~]$ cat /etc/group | grep d
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    adm:x:4:root,daemon,jeff
    disk:x:6:root,xbmc
    lp:x:7:daemon,jeff,remote
    uuidd:x:68:
    video:x:91:jeff,remote,xbmc
    audio:x:92:xbmc
    nobody:x:99:
    printadmin:x:1000:jeff
    gdm:x:120:
    [root@Arch2010p5 jeff]# groups deluge
    [root@Arch2010p5 jeff]#
    [root@Arch2010p5 jeff]# groups jeff
    adm lp wheel games video storage power vboxusers printadmin users
    /etc/conf.d/deluge
    OPTIONS=""
    WEB_OPTIONS=""
    EDITED TO ADD INFO
    Last edited by jeff story (2012-11-16 02:41:41)

  • [Solved] /proc, /sys, Various systemd Directories: No Space?

    Howdy-ha, folks.  So out of sheer curiosity, I decided that I'd install GNOME and KDE to see how Steam performed under their conditions.  While installing KDE (and before installing GNOME), I receieved an error about no disk space remaining on the device.  Incredulous, I ran "dfc" and saw plenty of space left on the drives.  "dfc -a" told me this, however:
    FILESYSTEM (=) USED FREE (-) %USED AVAILABLE TOTAL MOUNTED ON
    rootfs [==========----------] 48% 4.2G 8.0G /
    proc [====================] 100% 0B 0B /proc
    sys [====================] 100% 0B 0B /sys
    dev [--------------------] 0% 3.8G 3.8G /dev
    run [=-------------------] 0% 3.8G 3.8G /run
    /dev/sdb2 [==========----------] 48% 4.2G 8.0G /
    securityfs [====================] 100% 0B 0B /sys/kernel/security
    tmpfs [--------------------] 0% 3.8G 3.8G /dev/shm
    devpts [====================] 100% 0B 0B /dev/pts
    tmpfs [--------------------] 0% 3.8G 3.8G /sys/fs/cgroup
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/systemd
    pstore [====================] 100% 0B 0B /sys/fs/pstore
    efivarfs [====================] 100% 0B 0B +ys/firmware/efi/efivars
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/cpuset
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/memory
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/devices
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/freezer
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/net_cls
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/blkio
    cgroup [====================] 100% 0B 0B /sys/fs/cgroup/bfqio
    systemd-1 [====================] 100% 0B 0B /proc/sys/fs/binfmt_misc
    systemd-1 [=-------------------] 4% 488.3M 511.0M /boot
    mqueue [====================] 100% 0B 0B /dev/mqueue
    hugetlbfs [====================] 100% 0B 0B /dev/hugepages
    debugfs [====================] 100% 0B 0B /sys/kernel/debug
    configfs [====================] 100% 0B 0B /sys/kernel/config
    none [=-------------------] 0% 3.8G 3.8G /tmp
    /dev/sdb1 [=-------------------] 4% 488.3M 511.0M /boot
    /dev/mapper/home [==========----------] 49% 14.6G 28.8G /home
    binfmt_misc [====================] 100% 0B 0B /proc/sys/fs/binfmt_misc
    Well, that's not right.  I'm not even sure what the problem is here, so Im not sure how to begin troubleshooting it.  A reboot is about as far as I got, and it didn't help.  Incidentally, my pacman databases seem to be screwed up as well, as the installation partially finished before spitting out the error:
    $ testdb
    'oxygen-icons-4.10.5-1': description file is missing
    'oxygen-icons-4.10.5-1': file list is missing
    So: What did I screw up this time? Are there any systemd docs in particular I should look into?  At the moment my system seems to be running alright, as I was able to log in and post this, at least.  I can look into the pacman docs/wiki page for clearing up the database issue when I get a chance. Thanks in advance.
    Last edited by ANOKNUSA (2013-07-28 19:28:57)

    karol wrote:/proc is a pseudo-filesystem, it doesn't occupy space and it's recreated on boot so don't bother removing anything from /proc.
    ewaller wrote:... in fact, both /proc and /sys are the kernel's way of communicating with user space.
    I knew their contents were temporary, but didn't realize they didn't in fact exist; since they store vital system/session data, I figured they were more tangible then that.  Anyhoo, here's what karol asked for
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/sdb2 0 0 0 - /
    dev 982K 413 982K 1% /dev
    run 983K 496 983K 1% /run
    tmpfs 983K 1 983K 1% /dev/shm
    tmpfs 983K 9 983K 1% /sys/fs/cgroup
    /dev/sdb1 0 0 0 - /boot
    none 983K 17 983K 1% /tmp
    /dev/mapper/home 0 0 0 - /home
    I recreated this by trying to install GNOME and got this:
    error: could not extract usr/lib/libspandsp.so.2 (Can't create '/usr/lib/libspandsp.so.2')
    error: could not extract usr/lib/pkgconfig/spandsp.pc (Can't create '/usr/lib/pkgconfig/spandsp.pc')
    error: problem occurred while installing spandsp
    error: could not open file /var/lib/pacman/local/spandsp-0.0.6pre21-1/desc: No space left on device
    error: could not update database entry spandsp-0.0.6pre21-1
    error: could not commit transaction
    error: failed to commit transaction (transaction aborted)
    Errors occurred, no packages were upgraded.
    My first inclination after seeing "not enough space" was to clear the pacman cache and re-sync the mirrors (stupid knee-jerk reaction); now, sync gives me this:
    $ pacman -Syy
    error: failed to update core (unable to lock database)
    error: could not open file /var/lib/pacman/sync/extra.db.part: No space left on device
    error: failed to update extra (failed to retrieve some files)
    error: failed to update community (unable to lock database)
    multilib 107.3 KiB 206K/s 00:01 [-----------------------------------------------------------------------------] 100%
    error: could not rename /var/lib/pacman/sync/multilib.db.part to /var/lib/pacman/sync/multilib.db (No space left on device)
    error: failed to update multilib (unexpected error)
    repo-ck 42.7 KiB 464K/s 00:00 [-----------------------------------------------------------------------------] 100%
    error: could not rename /var/lib/pacman/sync/repo-ck.db.part to /var/lib/pacman/sync/repo-ck.db (No space left on device)
    error: failed to update repo-ck (unexpected error)
    error: failed to synchronize any databases
    error: failed to init transaction (unexpected error)

  • Problem with the file /proc/sys/kernel/hotplug which is incorrect

    Hello,
    Since few days, I can't import photos from my camera with my user (that work in root), I open a thread in this forum (http://bbs.archlinux.org/viewtopic.php?pid=348659).
    After investigations, the problem come from the content of the file /proc/sys/kernel/hotplug which is just :
    -e
    When I run the start_udev script, the content of /proc/sys/kernel/hotplug change and importing photos with my user work again.
    I isolate the only important line for my problem :
    echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
    When I run this line after a boot, the import file from camera work.
    I think that the content of the file is bas setted while the udev starting or replaced by another event which occurs later !
    I use the x86 version up-to-date with kdemod.
    Someone have an idea of why the content of /proc/sys/kernel/hotplug (it must contain an executable for kernel call on hotplugging) is bad ?
    Last edited by tuxom (2008-03-30 13:31:14)

    I think I've found the problem, see my comment in http://bugs.archlinux.org/task/9935. Thanks for the information about /proc/sys/kernel/hotplug!

  • Cannot install blackberry link on new Q10 as crashes with fatal error DRIVER_IRQL_NOT_LESS_OR_EQUAL (ndis.sys)

    I cannot install blackberry link on new Q10 as repeatedly crashes with fatal error DRIVER_IRQL_NOT_LESS_OR_EQUAL (ndis.sys) makes blackberry Q10 phone pretty useless!! Is there any other way to transfer content from PC to Blackberry?? Will blackberry fix this problem- cannot find any solutions on Google. Thanks
    Solved!
    Go to Solution.

    Hello Black55
    Welcome to http://supportforums.blackberry.com/
    You can tell which version you have installed Blackberry Link
    Respect al error that you listed, you are likely to mistake the sea tu windows corrupt.
    Regards.
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

  • Windows Server 2008 R2 SP1 - BSOD Stop Error 0x00000050 RDPWD.SYS

    Hi all,
    I have been struggling with a BSOD for the past 5 weeks and have scoured the web trying in vain to find someone else with the same issue.
    Environment:
    8 x 2008 R2 SP1 Windows Servers (8Gb RAM, 25Gb HDD) with Remote Desktop Services Roles installed, running as part of an RDS Farm.  All Servers are VM Guests (hardware version 7) running on VMware vSphere v4.1.0-260247 Hosts (Dell
    PowerEdge R710 - 128Gb RAM).  Our vSphere 'farm' has 5 Hosts that connect to our EMC SAN via iSCSI with multipath routes. 
    Each RDS Server is load balanced via a Connection Broker, and each server has the same set of software / vm hardware installed.  In a nutshell, each has Symantec Endpoint Protection v11.0.5002.333, Symantec Altiris v7.0, Microsoft Office 2007 as well as
    other various software essential to these servers.
    Symptoms:
    Randomly throughout the day, one (or more) of the RDS Servers will crash with a BSOD more often than not with "caused by driver ntoskrnl.exe" sometimes with "cng.sys" and once with "ksecpkg.sys".  So far in the 5 weeks I have had 90 crashes.  Yesterday
    all 8 of the RDS Servers crashed at some point throughout the day.
    On a typical BSOD, it says:
    The problem seems to be caused by the following file: ntoskrnl.exe
    PAGE_FAULT_IN_NONPAGED_AREA
    Technical Information:
    *** STOP: 0x00000050 (0xfffffa800c153284, 0x0000000000000001, 0xfffff880053dc0c9, 0x0000000000000000)
    *** ntoskrnl.exe - Address 0xfffff8000169ac40 base at 0xfffff8000161e000 DateStamp 0x4e02aaa3
    Using BlueScreenView it says "caused by address: ntoskrnl.exe+7cc40" nearly every time.
    I have analysed as best I could using Microsoft WinDbg, and this is the output of a typical mini-dump file:
    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [\\hqrds01\c$\Windows\Minidump\030112-19359-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    Symbol search path is: SRV*C:\Program Files\Debugging Tools for Windows (x64)\Symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (2 procs) Free x64
    Product: Server, suite: TerminalServer
    Built by: 7601.17640.amd64fre.win7sp1_gdr.110622-1506
    Machine Name:
    Kernel base = 0xfffff800`01609000 PsLoadedModuleList = 0xfffff800`0184e670
    Debug session time: Thu Mar  1 09:14:00.921 2012 (UTC + 0:00)
    System Uptime: 0 days 21:31:41.950
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    *                        Bugcheck Analysis                                   
    Use !analyze -v to get detailed debugging information.
    BugCheck 50, {fffffa800be83284, 1, fffff8800576f0c9, 0}
    Could not read faulting driver name
    Probably caused by : RDPWD.SYS ( RDPWD!memcpy+1d9 )
    Followup: MachineOwner
    1: kd> !analyze -v
    *                        Bugcheck Analysis                                   
    PAGE_FAULT_IN_NONPAGED_AREA (50)
    Invalid system memory was referenced.  This cannot be protected by try-except,
    it must be protected by a Probe.  Typically the address is just plain bad or it
    is pointing at freed memory.
    Arguments:
    Arg1: fffffa800be83284, memory referenced.
    Arg2: 0000000000000001, value 0 = read operation, 1 = write operation.
    Arg3: fffff8800576f0c9, If non-zero, the instruction address which referenced the bad memory
     address.
    Arg4: 0000000000000000, (reserved)
    Debugging Details:
    Could not read faulting driver name
    WRITE_ADDRESS: GetPointerFromAddress: unable to read from fffff800018b8100
     fffffa800be83284
    FAULTING_IP:
    RDPWD!memcpy+1d9
    fffff880`0576f0c9 668901          mov     word ptr [rcx],ax
    MM_INTERNAL_CODE:  0
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  VERIFIER_ENABLED_VISTA_MINIDUMP
    BUGCHECK_STR:  0x50
    PROCESS_NAME:  svchost.exe
    CURRENT_IRQL:  0
    TRAP_FRAME:  fffff8800bf70a80 -- (.trap 0xfffff8800bf70a80)
    NOTE: The trap frame does not contain all registers.
    Some register values may be zeroed or incorrect.
    rax=000000000000023d rbx=0000000000000000 rcx=fffffa800be83284
    rdx=ffffffffffe7e63b rsi=0000000000000000 rdi=0000000000000000
    rip=fffff8800576f0c9 rsp=fffff8800bf70c18 rbp=0000000000000001
     r8=000000000000001c  r9=fffff8a0033401e8 r10=fffff8a0033401e8
    r11=fffffa800be83268 r12=0000000000000000 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei pl nz na pe nc
    RDPWD!memcpy+0x1d9:
    fffff880`0576f0c9 668901          mov     word ptr [rcx],ax ds:0c40:fffffa80`0be83284=????
    Resetting default scope
    LAST_CONTROL_TRANSFER:  from fffff800016319fc to fffff80001685c40
    STACK_TEXT: 
    fffff880`0bf70918 fffff800`016319fc : 00000000`00000050 fffffa80`0be83284 00000000`00000001 fffff880`0bf70a80 : nt!KeBugCheckEx
    fffff880`0bf70920 fffff800`01683d6e : 00000000`00000001 fffffa80`0be83284 00000000`00000000 fffff8a0`0be85820 : nt! ?? ::FNODOBFM::`string'+0x4611f
    fffff880`0bf70a80 fffff880`0576f0c9 : fffff880`057547cf 00000000`00000000 00000000`00000022 00000000`00000002 : nt!KiPageFault+0x16e
    fffff880`0bf70c18 fffff880`057547cf : 00000000`00000000 00000000`00000022 00000000`00000002 fffff880`0576c99d : RDPWD!memcpy+0x1d9
    fffff880`0bf70c20 fffff880`0576c9fc : fffff8a0`0f938010 00000000`00000022 00000000`00000019 00000000`00000002 : RDPWD!SM_MCSSendDataCallback+0x303
    fffff880`0bf70c60 fffff880`0576b354 : fffff880`0bf70da0 fffff8a0`033401e8 00000000`00000000 fffff880`0576abfd : RDPWD!HandleAllSendDataPDUs+0x188
    fffff880`0bf70d10 fffff880`0576af64 : 00000000`00000031 fffffa80`0bd01895 00000006`0000001f fffff880`05739079 : RDPWD!RecognizeMCSFrame+0x28
    fffff880`0bf70d50 fffff880`029ba1f8 : fffff8a0`03345000 fffffa80`0bae6e80 fffffa80`0a5c0e60 fffff880`05737e00 : RDPWD!MCSIcaRawInputWorker+0x3d4
    fffff880`0bf70df0 fffff880`057378d0 : 00000000`00000000 fffff880`0bf70f10 fffff880`0bf70f08 00000000`00000000 : termdd!IcaRawInput+0x50
    fffff880`0bf70e20 fffff880`05736d85 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : tssecsrv!CRawInputDM::PassDataToServer+0x2c
    fffff880`0bf70e50 fffff880`057367c2 : fffffa80`088e8a28 fffffa80`00000000 00000000`00000031 fffff800`00000000 : tssecsrv!CFilter::FilterIncomingData+0xc9
    fffff880`0bf70ef0 fffff880`029ba1f8 : fffff880`009b8180 00000000`00000001 00000000`00000000 00000000`00000000 : tssecsrv!ScrRawInput+0x82
    fffff880`0bf70f60 fffff880`0572c4c5 : fffffa80`088e8a10 fffffa80`0bd01658 00000000`00000000 fffffa80`088e8a10 : termdd!IcaRawInput+0x50
    fffff880`0bf70f90 fffff880`029baf3e : fffffa80`0bd01620 fffffa80`0c100420 fffffa80`0bd4b450 fffffa80`0973b9b0 : tdtcp!TdInputThread+0x465
    fffff880`0bf71810 fffff880`029b9ae3 : fffffa80`09d902b0 fffffa80`0973b9b0 fffffa80`093d8520 fffffa80`0bd4b450 : termdd!IcaDriverThread+0x5a
    fffff880`0bf71840 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : termdd!IcaDeviceControlStack+0x827
    STACK_COMMAND:  kb
    FOLLOWUP_IP:
    RDPWD!memcpy+1d9
    fffff880`0576f0c9 668901          mov     word ptr [rcx],ax
    SYMBOL_STACK_INDEX:  3
    SYMBOL_NAME:  RDPWD!memcpy+1d9
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: RDPWD
    IMAGE_NAME:  RDPWD.SYS
    DEBUG_FLR_IMAGE_TIMESTAMP:  4ce7ab45
    FAILURE_BUCKET_ID:  X64_0x50_VRF_RDPWD!memcpy+1d9
    BUCKET_ID:  X64_0x50_VRF_RDPWD!memcpy+1d9
    Followup: MachineOwner
    The RDS servers are set to reboot automatically, and after a period of 5 minutes or so, the users can reconnect and log back in.  On a typical day each server will have around 10 people RDP'd in to them.
    The Users connecting to the RDS Servers included XP laptops/desktops and IGEL UD-120-LX Thin Terminals.  The XPs have SP3 installed and are fully patched via Symantec Altiris.
    Things I have tried:
    - Analyse the dump-files (as per above).
    - I have tracked each user logging on to the RDS Farm (via batch scripts) and tried to determine if this is caused by the same individual(s) but it appears random.
    - Check to see if the crashing Virtual Machine is running on a specific host, but it has happened on all Hosts.
    - Check to see if there was anything specific that happened on the day that the crashes started.  There were about 5 new poeple introduced to the RDS Farm at that time, but there were using (a) client machines that had been used previously elsewhere with
    no issues, (b) software that had been used previously, (c) in a remote location that had previous users using RDS, (d) have not been logged on to a RDS Server when it has crashed.
    - Updated Windows Server 2008 R2 SP1 to the latest patches (as of Feb 2012).
    - Turned on Verifier (using recommended settings), and then analysed dump-files with the same reference to rdpwd.sys.
    - Fixed the Memory Resource Reservation in vSphere to the full 8Gb for all these RDS Servers (so that the memory is not shared at all).
    - Ran MEMTEST on a VM Guest with the full 8Gb RAM, on a couple of the ESX Hosts.
    - Changed the VMTools Video Driver to the SVGA II driver from the Standard VGA Driver.
    - Ran a full AV Scan (using SEP).
    - Isolated the Printer Drivers using the Printer Management MMC.
    - Ran sfc /scannow of all RDS Servers and rebooted.
    The mini-dump file mentioned above is here:https://skydrive.live.com/redir.aspx?cid=48f471f287af2349&resid=48F471F287AF2349!105&parid=48F471F287AF2349!103
    I hope someone can help, as what hair I have left (from pulling it out) is turning grey!
    Andy

    *                        Bugcheck Analysis                                   
    PAGE_FAULT_IN_NONPAGED_AREA (50)
    Invalid system memory was referenced.  This cannot be protected by try-except,
    it must be protected by a Probe.  Typically the address is just plain bad or it
    is pointing at freed memory.
    Arguments:
    Arg1: fffffa800c153284, memory referenced.
    Arg2: 0000000000000001, value 0 = read operation, 1 = write operation.
    Arg3: fffff880053dc0c9, If non-zero, the instruction address which referenced the bad memory
        address.
    Arg4: 0000000000000000, (reserved)
    Debugging Details:
    Could not read faulting driver name
    WRITE_ADDRESS: GetPointerFromAddress: unable to read from fffff800018cd100
     fffffa800c153284
    FAULTING_IP:
    RDPWD!memcpy+1d9
    fffff880`053dc0c9 668901          mov     word ptr [rcx],ax
    MM_INTERNAL_CODE:  0
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  VERIFIER_ENABLED_VISTA_MINIDUMP
    BUGCHECK_STR:  0x50
    PROCESS_NAME:  svchost.exe
    CURRENT_IRQL:  0
    TRAP_FRAME:  fffff8800aa48a80 -- (.trap 0xfffff8800aa48a80)
    NOTE: The trap frame does not contain all registers.
    Some register values may be zeroed or incorrect.
    rax=00000000000001ff rbx=0000000000000000 rcx=fffffa800c153284
    rdx=ffffffffffee6b8b rsi=0000000000000000 rdi=0000000000000000
    rip=fffff880053dc0c9 rsp=fffff8800aa48c18 rbp=0000000000000001
     r8=000000000000001c  r9=fffff8a0123923a8 r10=fffff8a0123923a8
    r11=fffffa800c153268 r12=0000000000000000 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei pl nz na pe nc
    RDPWD!memcpy+0x1d9:
    fffff880`053dc0c9 668901          mov     word ptr [rcx],ax ds:8c40:fffffa80`0c153284=????
    Resetting default scope
    LAST_CONTROL_TRANSFER:  from fffff800016469fc to fffff8000169ac40
    STACK_TEXT:  
    fffff880`0aa48918 fffff800`016469fc : 00000000`00000050 fffffa80`0c153284 00000000`00000001 fffff880`0aa48a80 : nt!KeBugCheckEx
    fffff880`0aa48920 fffff800`01698d6e : 00000000`00000001 fffffa80`0c153284 00000000`00000000 fffff8a0`10919830 : nt! ?? ::FNODOBFM::`string'+0x4611f
    fffff880`0aa48a80 fffff880`053dc0c9 : fffff880`053c17cf 00000000`00000000 00000000`00000022 00000000`00000002 : nt!KiPageFault+0x16e
    fffff880`0aa48c18 fffff880`053c17cf : 00000000`00000000 00000000`00000022 00000000`00000002 fffff880`053d999d : RDPWD!memcpy+0x1d9
    fffff880`0aa48c20 fffff880`053d99fc : fffff8a0`10cf30d0 00000000`00000022 00000000`00000019 00000000`00000002 : RDPWD!SM_MCSSendDataCallback+0x303
    fffff880`0aa48c60 fffff880`053d8354 : fffff880`0aa48da0 fffff8a0`123923a8 00000000`00000000 fffff880`053d7bfd : RDPWD!HandleAllSendDataPDUs+0x188
    fffff880`0aa48d10 fffff880`053d7f64 : 00000000`00000031 fffffa80`0c039de5 00000006`0000001f fffff880`053a6079 : RDPWD!RecognizeMCSFrame+0x28
    fffff880`0aa48d50 fffff880`012c01f8 : fffff8a0`12393000 fffffa80`0bb7aa60 fffffa80`0b81e9c0 fffff880`053a4e00 : RDPWD!MCSIcaRawInputWorker+0x3d4
    fffff880`0aa48df0 fffff880`053a48d0 : 00000000`00000000 fffff880`0aa48f10 fffff880`0aa48f08 fffffa80`0c039ba8 : termdd!IcaRawInput+0x50
    fffff880`0aa48e20 fffff880`053a3d85 : fffff880`01716890 fffffa80`0c0327e8 00000000`00000000 00000000`00000000 : tssecsrv!CRawInputDM::PassDataToServer+0x2c
    fffff880`0aa48e50 fffff880`053a37c2 : fffffa80`0c16e598 fffffa80`00000000 00000000`00000031 fffff800`00000000 : tssecsrv!CFilter::FilterIncomingData+0xc9
    fffff880`0aa48ef0 fffff880`012c01f8 : fffff880`009b8180 00000000`00000001 00000000`00000000 00000000`00000000 : tssecsrv!ScrRawInput+0x82
    fffff880`0aa48f60 fffff880`052994c5 : fffffa80`0c16e580 fffffa80`0c039ba8 00000000`00000000 fffffa80`0c16e580 : termdd!IcaRawInput+0x50
    fffff880`0aa48f90 fffff880`012c0f3e : fffffa80`0c039b70 fffffa80`0acccf20 fffffa80`0a95c450 fffffa80`0abf9620 : tdtcp!TdInputThread+0x465
    fffff880`0aa49810 fffff880`012bfae3 : fffffa80`0c0a6560 fffffa80`0abf9620 fffffa80`087eee80 fffffa80`0a95c450 : termdd!IcaDriverThread+0x5a
    fffff880`0aa49840 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : termdd!IcaDeviceControlStack+0x827
    STACK_COMMAND:  kb
    FOLLOWUP_IP:
    RDPWD!memcpy+1d9
    fffff880`053dc0c9 668901          mov     word ptr [rcx],ax
    SYMBOL_STACK_INDEX:  3
    SYMBOL_NAME:  RDPWD!memcpy+1d9
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: RDPWD
    IMAGE_NAME:  RDPWD.SYS
    DEBUG_FLR_IMAGE_TIMESTAMP:  4ce7ab45
    FAILURE_BUCKET_ID:  X64_0x50_VRF_RDPWD!memcpy+1d9
    BUCKET_ID:  X64_0x50_VRF_RDPWD!memcpy+1d9
    Followup: MachineOwner
    Bug Check Code 0x50:http://msdn.microsoft.com/en-us/library/windows/hardware/ff559023%28v=vs.85%29.aspx
    Please start by that:
    Update all possible drivers
    Uninstall all unused programs
    Disable all security softwares you have
    Run chkdsk /r /f and sfc /scannow
    Run memtest86+ to check if all is okay with your RAM. If an error was detected then replace the faulty RAM or contact your manufacturer Technical Support
    If this does not help then upload MEMORY.DMP file (You can zip it and divide it using 7-ZIP) using Microsoft Skydrive and post a link here.
    You can also contact Microsoft CSS for assistance.
    This
    posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   
    Microsoft
    Student Partner 2010 / 2011
    Microsoft
    Certified Professional
    Microsoft
    Certified Systems Administrator: Security
    Microsoft
    Certified Systems Engineer: Security
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft
    Certified Technology Specialist: Windows 7, Configuring
    Microsoft
    Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft
    Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

  • Problem accessing SQL Developer with user sys

    Hi Experts;
    I'm working with Oracle 10G, in Solaris 10, The DB apparently is working properly, but I can not access the DB thru SQL Developer. When I try to acccess with user sys, and I enter de password, in oracle role I select sysdba, when I choose connect I get this error message:
    ORA-01017: invalid username/password; logon denied
    However, I can connect with other user without any problem.
    I was connecting directly in the server, with sqlplus /as sysdba and I changed the password for user sys, but still the problem continues.
    What is wrong with this. I got the same problem if try to connect thru OEM.
    Thanks and regards
    Al
    Edited by: user12048358 on Jul 8, 2011 12:02 PM

    Hi Buntoro;
    Thank you for answer.
    First, I'm completely sure I'm using the correct password, to be sure I changed the password thru sqlplus.
    I'm using tns connection, btw, with the same connection, I can connect, but with other user.
    I was trying again, however, with the same results previous explained.
    But also I have the same problen when I tried to connect to OEM, and I was trying to stop the dbconsole, and found this:
    export ORACLE_SID=YAWIDBLAB
    emctl status dbconsole
    OC4J Configuration issue. /opt/oracle/102/oc4j/j2ee/OC4J_DBConsole_yawi-db-lab01_YAWIBLAB not found.
    export ORACLE_SID=YAWIDBLA
    emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://yawi-db-lab01:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /opt/oracle/102/yawi-db-lab01_YAWIDBLA/sysman/log
    If I type export ORACLE_SID=YAWIDBLA and then sqlplus /nolog
    SQL> connect /as sysdba
    Connected to an idle instance.
    But, when I connect settiong the SID in this way:
    export ORACLE_SID=YAWIDBLAB
    sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jul 9 23:03:15 2011
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect /as sysdba
    Connected.
    SQL>
    Apparently, there is problem with the tnsnames. When I see the tnsnames in SQL DEVELOPER I see this: YAWIDBLA
    So, here is the tnsname, in order you have a better idea, what I have.
    YAWIDBLA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yawi-db-lab01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = YAWIDBLAB)
    Is the first time I see this kind of problem.
    Have an idea of what's happening;
    Best Regards;
    Al

  • Error in browser - Sys.WebForms.PageRequestManagerParserErrorException

    I received following message in browser - when i click on error icon in browse. Any idea what could be the reason how to
    resolve it
    ==================================================
    Webpage error details
    Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace
    is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    Line: 5
    Char: 62099
    Code: 0
    URI: http://mossdev/ScriptResource.axd?d=7XM9mXhJYBs_Rebls9ePTRUPL5kAW6mTTENJEaHW_04gC-IW60rnFxmljHQp7B9GFD73EPvTz26Ep92TQlDtGuOCHhU26N0H-w5KubuBFrMxn5zjsuYTqneImI_sAxSN0qUNkti6hLr4fY_pEb_bSSEO0r01&t=ffffffffb868b5f4
    ==================================================
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

    Hi,
    The error is occurred when you have a SSRS report with SharePoint Integration Mode.
    I recommend to add the below entry to the web.config for the "SharePoint" web app that your report is running under.  
    <add key="aspnet:MaxHttpCollectionKeys" value="100000" />
    You can also increased the timeout value to 10 on rsreportserver.config .
    In addition, you can change the TCP Port.
    Here are some similar threads for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/656b454e-b6b0-4d1e-9eb2-e8974698a886/ssrs-in-sharepoint-integration-mode-with-sp-2010-?forum=sharepointgeneralprevious
    http://social.technet.microsoft.com/Forums/en-US/7eb05eab-ce89-4c82-9ccf-62ed7c4238c7/syswebformspagerequestmanagerparsererrorexception-on-ssrs-2008?forum=sqlreportingservices
    http://social.technet.microsoft.com/Forums/en-US/69a288c1-2feb-40ff-9816-80e05f9b4cfe/ssrs-2008r2-new-issue-on-report-in-production-?forum=sqlreportingservices
    If still no help, for quick and accurate answers to your questions, it is recommended that you initial a new thread in SQL forum.
    SQL Server Reporting Services, Power View
    http://social.technet.microsoft.com/Forums/en-US/home?forum=sqlreportingservices
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error with dbms_xslprocessor.clob2file

    Hi all!
    I am experiencing an error with this command
    dbms_xslprocessor.clob2file(v_xml,'DIR','1.xml');
    where:
    v_xml is a clob ( it is well formed and with data)
    DIR is the directory where i want to output the data, it has beeen created with: EXECUTE IMMEDIATE 'create or replace directory DIR ' ||' as ' || '''D:\XMLFILES''';
    and i don't have any error in this command
    1.xml is the name of the file.
    The errors i get when i execute that command are the following:
    ORA-29283 invalid file operation
    ORA-06512 at "SYS.UTL_FILE" line 451
    ORA-29283 invalid file operation
    ORA-06512 at "XDB.DBMS_XSlPROCESSOR" line 58
    ORA-06512 at "DBA_TEST.PRUEBA_TEST" line 106
    ORA-06512 at line 2
    thx in advance!!!

    Hi, excuse me for taking so long time to respond, but yesterday i had a mayor issue to solve, but now i am again with this problem.
    I'm gonna put some more code.
    The database is in another location, and i want to write the data in a local drive, so maybe this is important for the code.
    I will put the full code so maybe there is something else important here:
    CREATE OR REPLACE PROCEDURE DBA_TEST.PRUEBA_TEST AS
    v_select VARCHAR2(2000);
    v_ctx DBMS_XMLGen.ctxHandle;
    v_xml CLOB;
    v_more BOOLEAN := TRUE;
    xmldoc dbms_xmldom.DOMDocument;
    DIR VARCHAR2(200);
    v_DIR VARCHAR2(200);
    BEGIN
    EXECUTE IMMEDIATE 'create or replace directory DIR ' ||' as ' || '''D:\XMLFILES''';
    v_DIR := DIR;
    v_select := ' select nombre, direccion, dni from clientes where anio = 2009';
    v_ctx := DBMS_XMLGen.newContext(v_select);
    DBMS_XMLGen.setRowsetTag(v_ctx, 'rec_decla');
    DBMS_XMLGen.setRowTag(v_ctx, '');
    v_xml := DBMS_XMLGen.GetXML(v_ctx);
    DBMS_XMLGen.closeContext(v_ctx);
    dbms_xslprocessor.clob2file(v_xml,v_DIR,'1.xml');
    DBMS_LOB.FREETEMPORARY(v_xml);
    END;
    Remeber that the data are in another location, no local, and i need to output these xml in the D:\XMLFILES directory.
    I tried to grant permisions
    GRANT READ, WRITE ON DIRECTORY TO DBA_USER
    , but it said that i can't give permision to itself..
    maybe there is another way to write these files witout using:
    dbms_xslprocessor.clob2file(v_xml,v_DIR,'1.xml');
    but i would like to use it.
    Thx all!!!

  • Oracle 10g R 10.2 for Linux x86-64 - /proc/sys/vm/disable_cap_mlock problem

    Hi All,
    During installation - Oracle Database Configuration Assistance, I have got below error and thus I stuck. As per Metalink note 293988.1, this will be resolved if I do [root@localhos]# echo 1 > /proc/sys/vm/disable_cap_mlock . But problem is when I do this because I dont have /proc/sys/vm/disable_cap_mlock file in my system, it giving ¨bash: /proc/sys/vm/disable_cap_mlock: No such file or directory¨ error. So I am unable to get rid of this error. I also set SELinux Default and Current mode as permissible and rebooted it.
    No use, Its giving same error.
    ORA-27125: Unable to create shared memory segment.
    DB Details_
    Oracle 10g Release 2 (10.2) for Linux x86-64
    Choosen Basic Installation
    OS Details:_
    *[root@localhost vm]# uname -rm*
    2.6.32-100.0.19.el5 x86_64
    *[root@localhost vm]# uname -a*
    Linux localhost.localdomain 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    *[root@localhost etc]# cat /etc/redhat-release*
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    *[root@localhost etc]# make -v*
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for x86_64-redhat-linux-gnu
    This is bugging me since last two days. Any help would be appreciated.
    Thanks in advance.
    Regards,
    Mahi

    From what I can gather form your post, the ORA-27125: Unable to create shared memory segment is probably the result of:
    a) not enough physical memory available.
    b) /dev/shm not configured properly.
    c) kernel parameters are not set according to Oracle requirements.
    Since this is happening during the installation of Oracle I suggest to check the SHMMAX kernel parameter. This is all mentioned in the pre-installation steps. Oracle 11g will actually check these kernel parameters prior to installing. Not sure about 10g now, which you are trying to install.
    The most common, easiest way to prepare the system for Oracle RDBMS is to install the "oracle-validated" package. If you don't have access to ULN, you can setup public yum.
    http://public-yum.oracle.com/ Then you can simply type as the root user: yum install oracle-validated
    Edited by: waldorfm on Nov 3, 2010 1:18 PM

  • Import error with snapshot logs

    I have an export that is a full from our production database. I'm trying to import a small subset of tables from a user to a different user. One of the tables has a snapshot log against it I believe due to the error msg in the import file. I don't care about the snapshot log I just want to get the table imported. How can I tell import to avoid the snapshot log. If this is not possible, how do I figure out what table it's says can't be found to import into.
    IMP log:
    . importing TYUADM's objects into DWADM
    . . importing table "ZONE" 10583 rows imported
    IMP-00017: following statement failed with ORACLE error 942:
    "BEGIN SYS.DBMS_REPUTIL.SYNC_UP_REP('TYUADM','ZONE'); END;"
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 79
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 157
    ORA-06512: at "SYS.DBMS_INTERNAL_TRIGGER", line 201
    ORA-06512: at "SYS.DBMS_REPUTIL", line 616
    ORA-06512: at line 1
    "BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('TYUADM','ZONE'); END;"
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    ORA-06512: at "SYS.DBMS_ISNAPSHOT", line 108
    ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1666
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully

    Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 11.2.0.2 - Release: 8.1.7 to 11.2
    Oracle Server - Personal Edition - Version: 8.1.7.0 to 11.2.0.2 [Release: 8.1.7 to 11.2]
    Oracle Server - Standard Edition - Version: 8.1.7.0 to 11.2.0.2 [Release: 8.1.7 to 11.2]
    Information in this document applies to any platform.
    Symptoms
    You have created a snapshot log:
    SQL> connect system/manager
    SQL> grant create snapshot to scott;
    SQL> connect scott/tiger
    SQL> create snapshot my_snap as select * from emp;
    SQL> create snapshot log on scott.emp;
    You run a user level export:
    % exp system/manager file=exp_s.dmp log=exp_s.log owner=scott
    Export: Release 9.2.0.6.0 - Production on Tue Dec 28 08:06:12 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Export terminated successfully without warnings.
    You run a user level import, e.g. in a different database:
    SQL> connect system/manager
    SQL> create user hugo identified by hugo default tablespace
    users temporary tablespace temp
    quota unlimited on users;
    SQL> grant create session, create table, create snapshot
    to hugo;
    % imp system/manager file=exp_s.dmp log=imp_s.log fromuser=scott touser=hugo
    Import: Release 9.2.0.6.0 - Production on Tue Dec 28 08:08:16 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    . importing SCOTT's objects into HUGO
    . . importing table "BONUS" 0 rows imported
    . . importing table "DEPT" 4 rows imported
    . . importing table "EMP" 14 rows imported
    . . importing table "MLOG$_EMP" 0 rows imported
    . . importing table "MY_SNAP" 14 rows imported
    . . importing table "SALGRADE" 5 rows imported
    IMP-00017: following statement failed with ORACLE error 942:
    "BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('SCOTT','EMP'); END;"
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
    ORA-06512: at line 1
    Note that the line number in the first ORA-6512 error my differ between versions:
    - in 8.1.7.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1033
    - in 9.2.0.6.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1589
    - in 10.1.0.3.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1599
    - in 10.2.0.4.0: ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1666
    Also note that the same errors occur when the export was done with a table level export.
    If the user SCOTT (FROMUSER) does not exist in the target database, import aborts with:
    "CREATE SNAPSHOT LOG ON "SCOTT"."EMP" WITH PRIMARY KEY EXCLUDING NEW VALUES"
    "USING ("MLOG$_EMP", (...left_out...))"
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully
    Changes
    The information in this article applies to:
    - Oracle Server - Enterprise Edition - Version: 8.1.7.0 to 11.2.0.x
    - Oracle Server - Personal Edition - Version: 8.1.7.0 to 11.2.0.x
    - Oracle Server - Standard Edition - Version: 8.1.7.0 to 11.2.0.x
    This problem can occur on any platform.
    Cause
    Snapshots, snapshot logs, and related items are exported with the schema name explicitly given in the DDL statements, therefore, snapshots and their related items cannot be imported into a different schema.
    If you attempt to use FROMUSER and TOUSER to import snapshot data, an error will be written to the Import log file and the items will not be imported.
    Solution
    It is expected behavior that the snapshot log cannot be imported with a FROMUSER and TOUSER import. Therefore the errors should either be prevented from happening, or be ignored:
    1. Either delete the snapshot logs before the export takes place. Then run the export and import. After import completes, re-create the snapshot logs manually, and if necessary, perform a refresh of the snapshot.
    2. Or ensure that the FROMUSER (SCOTT in this example) exists in the target database, so the import session does not abort with the IMP-0 error (Import terminated unsuccessfully). During the import, ignore the errors that are related to the snapshot logs. After import completes, re-create the snapshot logs manually, and if necessary, perform a refresh of the snapshot.

  • [SOLVED] Test conversion to systemd - Help with iptables status

    With all the discussion around systemd and with a move for systemd to [core] soon, I thought I would convert an arch laptop from initscripts to systemd and see how it worked.
    I followed the advice on the arch wiki for systemd, having already moved the systemd compatible parameters out of rc.conf a while ago. After installing systemd and systemd-arch-units, and adding init=/bin/systemd to the boot kernel line the system booted up nicely with systemd - graphical login failed as the relevant unit is not enabled at that stage - so hitting return to get a login prompt and logging as root it was quick to enable graphical.target and kdm.service, and rebooting then gave me a normal kdm login screen and then a normal login to kde.
    All fine at this point. (By the way total login time was just over 30 seconds for both initscripts and systemd) - then it was necessary to check which services were running - most were running by default under systemd including postfix, dovecot, and sound worked fine with a quick check on a browser for a video feed. Networking was working fine too.
    However iptables which was previously working fine under initscripts was not running - I checked that the firewall rules file was intact which is was.  Executing systemctl enable iptables.service appeared to be accepted but after executing systemctl start iptables.service and checking status again it was "exited" - the commands listed under the "start" command seemed normal and no error message appeared in the /var/log/messages file about iptables.
    Can anyone suggest what is needed to get iptables working under systemd (yes I have read the wiki entries but nothing seemed to be relevant to fixing that particular issue).
    Thanks in advance.
    Last edited by mcloaked (2012-08-30 09:01:25)

    cfr wrote:
    I think what you're seeing is normal. Does it give a 0 exit status?
    The service is of type "oneshot". I *think* that means that it is expected to exit.
    As I understand it, iptables is a bit like ipfw. It's in the kernel and the userspace tools just provide an interface to that. So there's no daemon to run.
    You can tell if it has worked correctly by
    iptables --list
    to check that your rules have been loaded correctly.
    Note: I hope somebody will quickly correct me if I'm wrong about this because I've been assuming this is the expected behaviour on my own machine!
    Perfectly correct - I didn't think to check iptables --list but yes all the rules are there as they should be.
    It would be nice to have this documented in the wiki under systemd to help anyone else coming across the same issue.
    I will mark this as solved in the topic title - thank you for replying - it was very helpful (and stopped me continuing the search for a solution by googling!)

Maybe you are looking for