The patch directory area must be a number. - 10.1.3 R12

Hi,
I am running an R12 vision instance. I need to apply a patch but whenever I try I get the error "The patch directory area must be a number.".
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ pwd
/tmp/stage/15929270
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ ls README*
README.html  README.txt
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ echo $ORACLE_HOME
/oracle/r12/VIS121/apps/tech_st/10.1.3
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ which opatch
/oracle/r12/VIS121/apps/tech_st/10.1.3/OPatch/opatch
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ opatch apply
Oracle Interim Patch Installer version 1.0.0.0.64
Copyright (c) 2011 Oracle Corporation. All Rights Reserved..
Oracle recommends you to use the latest OPatch version
and read the OPatch documentation available in the OPatch/docs
directory for usage. For information about the latest OPatch and
other support-related issues, refer to document ID 293369.1
available on My Oracle Support (https://myoraclesupport.oracle.com)
Oracle Home           : /oracle/r12/VIS121/apps/tech_st/10.1.3
Oracle Home Inventory : /oracle/r12/VIS121/apps/tech_st/10.1.3/inventory
Central Inventory     : /home/r121/oraInventory
   from               : /etc/oraInst.loc
OUI location          : /oracle/r12/VIS121/apps/tech_st/10.1.3/oui
OUI shared library    : /oracle/r12/VIS121/apps/tech_st/10.1.3/oui/lib/linux/liboraInstaller.so
Java location         : /oracle/r12/VIS121/apps/tech_st/10.1.3/jre/1.4.2/bin/java
Log file location     : /oracle/r12/VIS121/apps/tech_st/10.1.3/.patch_storage/<patch ID>/*.log
The patch directory area must be a number.
ERROR: OPatch failed because of problems in patch area.
VIS121 r121@ebs121-vm /tmp/stage/15929270 $
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ cat /etc/oraInst.loc
inventory_loc=/home/r121/oraInventory
#inventory_loc=/oracle/r12/EM_Agent/oraInventory
inst_group=dba
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ cat ~/oraInventory/ContentsXML/
comps.xml      inventory.xml  libs.xml
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ cat ~/oraInventory/ContentsXML/inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2002 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>10.1.0.6.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="VIS121_DB__oracle_r12_VIS121_db_tech_st_11_1_0" LOC="/oracle/r12/VIS121/db/tech_st/11.1.0" TYPE="O" IDX="1"/>
<HOME NAME="VIS121_WEBOH__oracle_r12_VIS121_apps_tech_st_10_1_3" LOC="/oracle/r12/VIS121/apps/tech_st/10.1.3" TYPE="O" IDX="2"/>
<HOME NAME="VIS121_WEBOH__oracle_r12_VIS121_apps_tech_st_10_1_2" LOC="/oracle/r12/VIS121/apps/tech_st/10.1.2" TYPE="O" IDX="3"/>
</HOME_LIST>
</INVENTORY>
VIS121 r121@ebs121-vm /tmp/stage/15929270 $
Can anyone help me here? I've tried re-downloading the patch, doing it with another patch etc but always the same. I am uploading the zip file to the server and unzipping using "unzip p....".
VIS121 r121@ebs121-vm /tmp/stage/15929270 $ uname -a
Linux ebs121-vm.us.oracle.com 2.6.18-164.11.1.0.1.el5 #1 SMP Wed Jan 20 01:49:42 EST 2010 i686 i686 i386 GNU/Linux
VIS121 r121@ebs121-vm /tmp/stage/15929270 $
Thanks!

Hi,
There seems to be couple of reasons for this:
-This problem indicates that the patch is not extracted properly.
The patch was unzipped on a pc and transferred over to the server box.
The problem can also occur if the downloaded patch is corrupted .
-Opatch was not run from the correct patch directory. Once the patch is unzipped, the patch is then stored in the following example location:
\patches\p123456_9042_WINNT\123456\123456
Make sure that the patch location has write permissions to the user that is performing the patching.
Thanks,
Sharmela

Similar Messages

  • HT1620 where are the patches that are being discussed all over in the media???  i have an iphone and ipad and had no APPLE updates for a long time.

    where are the patches that are being discussed all over in the media???  i have an iphone and ipad and have had no APPLE updates for a long time.

    Thank you... one would think that if Apple needed to push out something so important they would make it more obvious!!!

  • [SOLVED] Files in the /tmp directory are being deleted

    Hi,
    I've been using Arch Linux for four weeks, but have now come across a problem which I can't fix after trying to search for a solution (and also checking to see if anyone also had the same problem). I would appreciate any help you can give.
    A few days ago the web browsers I use (chromium and opera) lost their profile settings, and I had to set the profiles. This kept happening and the indicator of the problem was that I use profile-sync-daemon for both web browsers, which uses the /tmp directory. I then started noticing that a file I created in /tmp disappeared which pointed me to the fact that something was cleaning up the /tmp directory (this seems to happen hourly).
    A quick search led me to systemd-tmpfiles and the /usr/lib/tmpfiles.d/tmp.conf file. I have not modified the file, and if I have read it correctly only files in the /tmp directory that are more than 10 days old are deleted. I boot every day, so no files should be deleted by systemd-tmpfiles (unless I've misunderstood tmpfiles.d).
    Here is the tmp.conf file anyway:
    $ cat /usr/lib/tmpfiles.d/tmp.conf
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See tmpfiles.d(5) for details
    # Clear tmp directories separately, to make them easier to override
    d /tmp 1777 root root 10d
    d /var/tmp 1777 root root 30d
    # Exclude namespace mountpoints created with PrivateTmp=yes
    x /tmp/systemd-private-*
    x /var/tmp/systemd-private-*
    X /tmp/systemd-private-*/tmp
    X /var/tmp/systemd-private-*/tmp
    The /etc/tmpfiles.d directory is empty, so /usr/lib/tmpfiles.d is the only location for the tmpfiles.d config files:
    $ ls /etc/tmpfiles.d/
    $
    Here is the list of packages I upgraded/installed for the last few days. systemd 207-3 seems the likeliest candidate, but I have not come across any reports about the problem I am having.
    [2013-09-17 19:30] [PACMAN] Running 'pacman -Syu'
    [2013-09-17 19:30] [PACMAN] synchronizing package lists
    [2013-09-17 19:30] [PACMAN] starting full system upgrade
    [2013-09-17 19:34] [PACMAN] upgraded bluez-utils (5.7-1 -> 5.8-1)
    [2013-09-17 19:34] [PACMAN] upgraded cogl (1.14.0-4 -> 1.14.0-5)
    [2013-09-17 19:34] [PACMAN] upgraded dbus (1.6.12-1 -> 1.6.14-1)
    [2013-09-17 19:34] [PACMAN] upgraded dialog (1.2_20130523-2 -> 1.2_20130902-1)
    [2013-09-17 19:34] [PACMAN] installed efivar (0.6-1)
    [2013-09-17 19:34] [PACMAN] upgraded efibootmgr (0.6.0-3 -> 0.6.0.138.1132342-1)
    [2013-09-17 19:34] [ALPM-SCRIPTLET] Generating locales...
    [2013-09-17 19:34] [ALPM-SCRIPTLET] en_GB.UTF-8... done
    [2013-09-17 19:34] [ALPM-SCRIPTLET] Generation complete.
    [2013-09-17 19:35] [PACMAN] upgraded glibc (2.18-3 -> 2.18-4)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-color-manager (3.8.2-1 -> 3.8.3-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-control-center (3.8.4.1-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded libpng (1.6.3-1 -> 1.6.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded libusbx (1.0.16-2 -> 1.0.17-1)
    [2013-09-17 19:35] [PACMAN] upgraded linux-firmware (20130725-1 -> 20130903-1)
    [2013-09-17 19:35] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-09-17 19:35] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-17 19:35] [PACMAN] upgraded linux (3.10.10-1 -> 3.11.1-1)
    [2013-09-17 19:35] [PACMAN] upgraded openssh (6.2p2-1 -> 6.3p1-1)
    [2013-09-17 19:35] [PACMAN] upgraded orc (0.4.17-1 -> 0.4.18-1)
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> The file /etc/sysctl.conf has been removed from this
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> package, as all its settings are now kernel defaults.
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> If you had customized it, you need to rename it as
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> /etc/sysctl.d/99-sysctl.conf since from version 207 on
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> systemd only applies settings from /etc/sysctl.d/* .
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [PACMAN] upgraded procps-ng (3.3.8-2 -> 3.3.8-3)
    [2013-09-17 19:35] [PACMAN] upgraded raptor (2.0.9-2 -> 2.0.10-2)
    [2013-09-17 19:35] [PACMAN] upgraded xorg-xinput (1.6.0-1 -> 1.6.1-1)
    [2013-09-17 19:36] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-dsana/PKGDEST.u70/profile-sync-daemon-5.40.1-1-any.pkg.tar.xz'
    [2013-09-17 19:36] [PACMAN] upgraded profile-sync-daemon (5.40-1 -> 5.40.1-1)
    [2013-09-18 20:35] [PACMAN] Running 'pacman -Syu'
    [2013-09-18 20:35] [PACMAN] synchronizing package lists
    [2013-09-18 20:35] [PACMAN] starting full system upgrade
    [2013-09-18 20:35] [ALPM] warning: /etc/systemd/journald.conf installed as /etc/systemd/journald.conf.pacnew
    [2013-09-18 20:35] [ALPM-SCRIPTLET] ==> systemd 205 restructures the cgroup hierarchy and changes internal
    [2013-09-18 20:35] [ALPM-SCRIPTLET] protocols. You should reboot at your earliest convenience.
    [2013-09-18 20:35] [ALPM-SCRIPTLET] ==> The "timestamp" hook for mkinitcpio no longer exists. If you used
    [2013-09-18 20:35] [ALPM-SCRIPTLET] this hook, you must remove it from /etc/mkinitcpio.conf. A "systemd"
    [2013-09-18 20:35] [ALPM-SCRIPTLET] hook has been added which provides this functionality, and more.
    [2013-09-18 20:35] [PACMAN] upgraded systemd (204-3 -> 207-3)
    [2013-09-18 20:35] [PACMAN] upgraded systemd-sysvcompat (204-3 -> 207-3)
    [2013-09-18 20:35] [PACMAN] upgraded udisks2 (2.1.0-3 -> 2.1.1-1)
    [2013-09-19 20:46] [PACMAN] starting full system upgrade
    [2013-09-19 20:48] [PACMAN] Running 'pacman -Rns psd'
    [2013-09-19 20:48] [PACMAN] Running 'pacman -Rns profile-sync-daemon'
    [2013-09-19 20:48] [PACMAN] removed profile-sync-daemon (5.40.1-1)
    [2013-09-19 20:48] [PACMAN] removed rsync (3.0.9-6)
    [2013-09-19 20:49] [PACMAN] Running 'pacman -Rns chromium'
    [2013-09-19 20:49] [PACMAN] Running 'pacman -Syu'
    [2013-09-19 20:49] [PACMAN] synchronizing package lists
    [2013-09-19 20:49] [PACMAN] starting full system upgrade
    [2013-09-19 20:50] [PACMAN] upgraded chromium (29.0.1547.65-1 -> 29.0.1547.76-1)
    [2013-09-19 20:50] [PACMAN] upgraded xvidcore (1.3.2-1 -> 1.3.2-2)
    [2013-09-19 20:58] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-dsana/PKGDEST.ZDK/chromium-pepper-flash-stable-2:11.8.800.170-1-x86_64.pkg.tar.xz'
    [2013-09-19 20:58] [PACMAN] upgraded chromium-pepper-flash-stable (2:11.8.800.97-1 -> 2:11.8.800.170-1)
    EDIT: journalctl doesn't show me anything interesting, other than the fact that chromium complains when it realizes that its profile data has gone missing.
    Last edited by dsana123 (2013-09-21 16:02:48)

    I think I have found the problem.
    There was a gnome update earlier in the week. gnome-settings-daemon runs an hourly housekeeping job. I had set the "Automatically Purge Temporary Files" in the Privacy tab when setting up my laptop last month.
    gnome-settings-daemon has decided to delete files in the /tmp directory (I can trigger this by clicking "Purge Temporary files" which then deletes my files in the /tmp directory). This does not happen in the previous gnome-settings-daemon. Anyway, I'll mark the thread SOLVED if my file in the /tmp directory survives the hour!
    [2013-09-17 19:35] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-color-manager (3.8.2-1 -> 3.8.3-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-control-center (3.8.4.1-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)

  • How to find the list of patches which are applicable to DS 5.2

    Hi;
    Is there any web page which lists the list of the patches which are released for Directory Server 5.2.
    I appreciate your assistance

    Read:
    http://docs.sun.com/source/817-7611/index.html#wp33336
    And also all the release notes.
    � SUN ONE Directory Server 5.2 release notes:
    http://docs.sun.com/source/816-6703-10/index.html
    � SUN Java System Directory Server 5.2 / 2005Q1 release notes:
    http://docs.sun.com/source/817-7611/index.html
    � SUN Java System/Directory Server 5.2 / 2005Q4 release notes
    http://docs.sun.com/source/819-2405/index.html
    � SUN Java System/Directory Server 5.2 / 2005Q1 release notes for Compressed Archive
    http://docs.sun.com/source/819-1815/index.html
    � SUN Java System/Directory Server 5.2 / 2005Q4 release notes for Patchzip
    http://docs.sun.com/source/819-4290/index.html
    You may find the following script useful.
    #! /bin/sh
    # chk_patches_sjes_ds52.sh
    # Gary Tay, 1-Apr-2005 written
    # Pls customize the patches you are checking, use blank to separate
    # multiple patch ids, eg: 5.9:112345 113456
    # Pls refer to:
    # http://docs.sun.com/source/817-7611/index.html#wp33336
    #114677-08 SunOS 5.9: International Components for Unicode Patch
    #117724-10 SunOS 5.8: NSPR 4.5.1 / NSS 3.9.5 / JSS 4.0
    #115342-01 SunOS 5.9: Simple Authentication and Security Layer (2.01)
    #115610-18 SunOS 5.9_sparc: Administration Server 5.2 patch
    #115614-20 SunOS 5.9: Directory Server 5.2 patch
    #117015-16 Patch for localized Solaris packages
    #116837-02 LDAP CSDK - SUNWldk, SUNWldkx
    # Solaris 8: (DS 5.2 Patch3 for the package version)
    #115610 SunOS 5.9 : Sun Java(TM) System Directory Server 5.2 patch 3 (Adminserv)
    #115614 SunOS 5.9 : Sun Java(TM) System Directory Server 5.2 patch 3 (DS)
    #117722 SunOS 5.8: NSPR 4.5.1 / NSS 3.9.5 / JSS 4.0...
    #118615 LDAP Java Development Kit 4.17 SunOS 5.8 5.9 _x86: genesis patch
    # Solaris 8: LDAP-Client
    #108993 LDAP-Client for Solaris 8 (phase II)
    #108808 LDAP-Client for Solaris 8 (man-pages)
    # And at your choice for for JES 114045
    cat >/tmp/chk_patches$$.tmp <<EOF
    5.8:108993 115610 115614 117722 118615 108808 114045
    5.9:114677 117724 115342 115610 115614 117015 116837
    EOF
    SOLARIS_VER=`uname -r`
    PATCH_IDS=`grep "$SOLARIS_VER" /tmp/chk_patches$$.tmp | cut -d: -f2`
    for i in `echo $PATCH_IDS`
    do
    RESULT=`showrev -p | grep "^Patch: $i-"`
    [ -n "$RESULT" ] && echo $RESULT
    [ -z "$RESULT" ] && echo PATCH $i not found...
    done
    /bin/rm -f /tmp/chk_patches$$.tmp
    Example of running chk_patches_sjes_ds52.sh:
    # ./chk_patches_sjes_ds52.sh
    Patch: 114677-08 Obsoletes: Requires: Incompatibles: Packages: SUNWicu, SUNWicux
    Patch: 117724-10 Obsoletes: 115926-10 Requires: Incompatibles: Packages: SUNWtls, SUNWtlsx, SUNWpr, SUNWjss, SUNWprx
    Patch: 115342-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsasl, SUNWsaslx
    Patch: 115610-17 Obsoletes: Requires: Incompatibles: Packages: SUNWasvc, SUNWasvu, SUNWasvr, SUNWasvcp
    Patch: 115614-19 Obsoletes: 117907-02 Requires: 115610-17 Incompatibles: Packages: SUNWdsvr, SUNWdsvcp, SUNWdsvh, SUNWdsvhx, SUNWdsvu, SUNWdsvx, SUNWdsvpl
    PATCH 117015 not found...
    Patch: 116837-02 Obsoletes: Requires: Incompatibles: Packages: SUNWldk
    Gary

  • Pkgadd failed when applying the patch cluster

    Hi,
    When I apply the patch cluster to servers that have been jumpstarted to Sol10U3 and U4, I am getting a package add failure. The only way around this is to add install user in passwd:
    install:x:0:1:installpatch:/root:/bin/true
    Is there something that needs to be configured to avoid this or is the install user required?
    Thanks

    See the Solaris FAQ:
    http://www.science.uva.nl/pub/solaris/solaris2.html#q5.59
    5.59) Patch installation often fails with "checkinstall" errors.
    When installing a patch, the Solaris 2.5+ patch installation procedure will execute the script "checkinstall" with uid nobody.
    If any of the patch files or if any part of the path leading up to the patch directory cannot be read by nobody, an error similar to the following will appear:
    patchadd .                    # or ./installpatch .
    Generating list of files to be patched...
    Verifying sufficient filesystem capacity (exhaustive method) ...
    Installing patch packages...
    pkgadd: ERROR: checkinstall script did not complete successfully
    You can workaround this in two ways, one is to make sure that the user "nobody" can read all patch files and execute a "pwd" in the patch directory or add an account "install" to /etc/passwd:
         install:x:0:1:installpatch braindamage:/:/bin/true
    Installpatch and patchadd use "nobody" as a fallback if it cannot find the "install" user.

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Oracle Security Patch Error while applying --The filename, directory name,

    Hello,
    I am running into strange error while applying Oracle Security Patch 68 by using Opatch.
    Supposedly, All the environment variables are set properly.
    ACTIVE_STATE_PERL=true
    DBMS_TYPE=ORA
    dbs_ora_tnsname=YBQ
    JAVA_HOME=C:\jdk1.3.1_10
    OPATCH_DEBUG=TRUE
    ORACLE_HOME=E:\oracle\ora92
    ORACLE_SID=YBQ
    Path=E:\oracle\OPatch;C:\jdk1.3.1_10\bin;E:\oracle\Perl\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Common Files\VERITAS Shared;\NetBackup\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\usr\sap\YBQ\SYS\exe\run
    Installed Active Perl. latest version
    downloaded Opatch 1.0.0.50
    and the patch number 3738339
    I went to that directory and run the command :
    perl opatch.pl apply
    It started of well.
    OPatch version is: 1.0.0.0.50
    Using ORACLE_HOME/oui to look up oui libs...
    Oracle Home = E:\oracle\ora92
    Location of Oracle Inventory = E:\oracle\ora92\inventory
    Oracle Universal Installer shared library = E:\oracle\ora92\oui\lib\win32\oraInstaller.dll
    Path to Java = "E:\oracle\ora92\jre\1.4.2\bin\java.exe"
    Location of Oracle Inventory Pointer = N/A
    Location of Oracle Universal Installer components = E:\oracle\ora92\oui
    Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
    find under OH/oui/jlib
    found OraInstaller.jar
    Checking if this is a RAC system...
    Accessing inventory... This may take up to 300 seconds.
    (retry 10 times, delay 30 seconds each time)
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;.:E:\oracle\ora92\jlib\srvm.jar" opatch/O2O "e:\oracle\ora92" "E:\oracle\ora92\oui" opatch.pl 1.0.0.0.50"
    Result:
    ----- DEBUG is ON -------
    oracle.installer.startup_location will be set to E:\oracle\ora92\oui
    oracle.installer.oui_loc will be set to E:\oracle\ora92\oui
    oracle.installer.scratchPath will be set to /tmp
    opatch.local_node_only is OFF
    retryOption is ON: 10
    delayOption is ON: 30
    Few more stuff here .. not pasting the entire contents
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;." opatch/CheckConflict "E:\oracle\ora92\oui" "e:\oracle\ora92" opatch.pl 1.0.0.0.50 3738339 "3741539 3528282 3516951 3622875 3668572 3371796 3239873 3356103 3543125 3666502 2800494 2824035 2964252 3617042 3320622 3571233 3253770 3492040 3566469 3354470 3625370 3583686 3150750 3617519 3635177 3597640 3749394 3542588 3698501 2954891 2918138 3559212 3518909 3412818 3430832 3172282 3358490 3637624 3458446 3179637 2810394 3668224 3609791 3566813 3475932 2338704 3412136 3388633 3540576 3571226 3575743 2690205 3240280 3509265 3177513 3575747 3811906 3554319 3752406 3323435 " E:\3738339\etc\config\actions"
    Result:
    opatch.pl version: 1.0.0.0.50
    Copyright (c) 2001-2004 Oracle Corporation. All Rights Reserved.
    The filename, directory name, or volume label syntax is incorrect.
    Error in executing Java program to check conflict
    ERROR: OPatch failed during pre-reqs check.
    Now there is no problem with executing the last java program in the same prompt by removing the first and the last double quote "
    Please advise.
    Thanks in advance.

    hi somnath,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Hi what are the needed documents so that I can avail of Apple's one year warranty? Is the Official Receipt a must? Thanks

    Hi what are the needed documents so that I can avail of Apple's one year warranty? Is the Official Receipt a must? Thanks

    Not necessarily... The Serial Number will allow Apple to ascertain what they need.
    Apple Warranty  >  http://www.apple.com/legal/warranty/
    "Choose a product" and then "Choose a region"

  • Why rmiregistry & Server must start in the same directory.

    I have 2 servers & one rmiregisty for both. I want to start this servers separetely from different directories.
    But if I try to start server from the directory other than where I've already started rmiregistry the server doesn't bind.
    Please, can anyone explain why rmiregisty & server must start from the same directory?

    Are you sure the classpath when rmiregistry is started includes jar/directories where rmiregistry can find your server stubs ???
    rmiregistry does not need your implementation, but it needs your stubs to be able to register your server objects ...

  • I previously had PS CS5 Trial installed but removed it using both Control Panel Programs and deleting all files from the CS5 directory on Program Files.  I then installed a purchased product from Adobe disc using the serial number on the case.  But when I

    I previously had PS CS5 Trial installed but removed it using both Control Panel Programs and deleting all files from the CS5 directory on Program Files.  I then installed a purchased product from Adobe disc using the serial number on the case.  But when I try to launch it, I get a screen headed Photoshop CS5 Extended Trial.  It asks for the serial number and says that my trial has expired.  It rejects the serial number from the Adobe case saying "This Serial Number is not valid for this product".  It thinks that I still have the expired Trial Version installed.  How do I convince it (the program) that the Trial Version is long gone and the currently installed product was installed with a valid and accepted serial number????

    Let me know how it goes. Go into your Adobe account and register your serial number asap.
    https://www.adobe.com/account/my-products-services.html
    That way, should you lose it or you need support, it is on record that it's yours and you can fetch your s/n it from anywhere.
    There are too may sad stories here, where people forgot and the box is buried or lost.
    Gene

  • Template must be in the forms directory

    i uploaded a word document to site assets, and took the url and went to the shared documents, advanced settings for shared documents, then tried to change the template url to the one in site assets, i get this error :
    Invalid template URL.
    The template must exist in the Forms directory of this document library. Create the template in the Forms directory, and then re-type the Web address. Note that you cannot move or copy a template into the Forms directory.

    it specified same steps: to go to site assets upload a document, then go to my library advanced settings, and put the url for the document in site assets. are they wrong?
    You and I both experience different behavior than what the book states.  Books are just written by regular folks.  I found that out when I was invited to be the tech editor of a book (doing that now) and then the author of a book.  THat's when
    I realized that although these books are written by people who live and breathe SharePoint, they are still normal people, and it's possible to make a mistake even with a tech editor.  The book could still be right, but it's not working for either of us,
    so it makes me think a step is missing.  The book may have been written and edited before RTM.  I know we've been working on our book since before RTM and several of the chapters were done while in Beta or RC.
    Anyway, the error is very clear, and the behavior is consistent with the error.  Unless I allow for management of content types, this particular method does not work.  Are you sure they didn't allow for management of content types earlier in the
    chapter?  One of the 4 methods you gave referred to content types, so I wouldn't be surprised if the doc lib they used for testing was already allowing for mgmt of content types, and they were using the default Document content type.  I could be
    wrong, but that's the behavior I'm seeing.
    SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force

  • What Are the Files in the Resources Directory for Apple Configurator

    I liked to read the krypted.com blog and others to better understand the inner workings of Apple Configurator, but one thing I have been curious of are all the files with GUID names in the ~/Library/Application Support/com.apple.configurator/ directory are and what they do.  All of them are of variable sizes.  Using the strings utility in the terminal, it would appear these are customized images of each iPad app it pushes to the iPad in question (I see Apple bundle directories dumped, among other things).  Is there any information on the web or other people's experiences that can give me a better explanation?

    If you attempt delete the Q partition from within Vista - AFTER YOU MAKE YOUR PRODUCT RECOVERY MEDIA - Vista will offer to add the freed space to the C partition.  The deletetion attempt should offer to burn the media for you.  You don't need any 3rd party tools.
    Z..
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was

    I am trying to install Lightroom and I am OK until it asks for a serial number. I purchased Lightroom from B&H and the have entered the seal number on the the B&H invoice. Nothing happens, not all the entry boxes are filled with the serial number that was provided by B&H. I looked for a serial number on and in the box it came in, nada. Need a bit of help here, what can I do?
    RJ@

    Try to connect on Live chat one more time.
    Still not connected , better to contact Adobe Phone Support
    Click on Phone option and check once :
    Contact Customer Care

  • I am trying to install an update of Microsoft office and I get a message that says.  This application must be closed ETC.....   I am running Parralell and I think it is there.  The two programs are "Microsoft Database Daemon" "SyncServicesAgent"....

    I am trying to install an update of Microsoft office and I get a message that says.  This application must be closed ETC.....   I am running Parralell and I think it is there.  The two programs are "Microsoft Database Daemon" "SyncServicesAgent".  How do I close these programs?

    If the Office updates have to be run through Win in Parallels, there's not really a section here that covers that , because Neither Office or Parallels are Apple products. There is only a small chance that you'll find someone with BOTH your conditions who just happend to look into a forum on older iMacs.
    Parallels has a forum here:
    http://forum.parallels.com/forum.php
    I think you'll get a faster response there.

Maybe you are looking for

  • Satellite A200- Interfacing with Sky HD box, via the i.Link on my Notebook.

    Satellite A200-1VP I'm trying to find away of recording to my Notebook's DVD drive, from my SKY HD boxs harddrive, So I can copy recorded programmes from the Sky harddrive on to DVD discs. But do not have an HDMI interface port, only the AVI & VGA ou

  • Process chain stopping in middle

    process chain stopping in middle , after a info-object present in the process chain has been manually set to green.Please advice me what to do????

  • Problem starting Adobe After Effects CS5 Trial

    Hey there, I have a huge problem starting AE5 Trial and well I looked around several Discussions about the problem without anything that'd help me. I used to work with an older version of AE, borrowed by my filmbuddy, on my old desktop without any pr

  • Error during deployment writing deployemnt cache

    I get this error every time I try to deploy from JDeveloper to oc4j. Only shutdown and redeploy works. Error instantiating compiler: IO error writing cache: D:\oc4j\j2ee\home\applic ation-deployments\App\Appejb.jar\deployment.cache It might have some

  • Data for navigational attributes # Not Assigned

    Hello friends, Our report is based on Multiprovider which is based on 5 cubes. These five cubes has one particular Characteristics which hasnavigational Attribute . We are using the navigational attribute directly under free characteristics Tab in Qu