Help on unix

This is not oracle but unix question.
I want to delete 10 days old files from a directory. The file name is like this file####
(# is number and that are different for different files). My knowledge on unix is almost zero. Can someone help me about the corrrect command to remove 10 days olf files. thanks

Try something like this:
find /home/abc/test1/arch -mtime +10 -name "*test*" -exec
rm {}
Hope this hepls

Similar Messages

  • Need help in unix regular expressions

    Hi All,
    I'm new to shell scripting. Please help me in achieving this
    I am trying to a find regular expression that need to pick a file with begin with the below format and mask variable is called in xml file.
    currently the script accepts:
    mask="CLIENT_ID+'_ADHSUITE_IN_'+date2str(now,'MMddyy','US/Eastern')+'.txt'"
    But it should accept in the below format
    2595_ADHSUITE_IN_ANNWEL_030309_2009-02-10_15-12-46-000_648.TXT715.outpgp_out
    where CLIENT_ID=2595. How to place wild card character '*' in the below to accept file in the above format. here is what i made changes.
    mask="CLIENT_ID+'_ADHSUITE_IN_'*+date2str(now,'MMddyy','US/Eastern')*+'.TXT'*+'.outpgp_out'"
    Please help.
    Thanks

    I believe your statement is being passed over twice:
    First Pass: (This is done by something like javascript)
    CLIENT_ID+'_ADHSUITE_IN_'+'.*'+date2str(now,'MMddyy','US/Eastern')+'.*'+'.TXT'+'.*'+'.outpgp_out'In this pass the variables and functions that are enclosed in literals are processed:
    (1) CLIENT_ID is replaced by 2595 or whatever is current value is:
    (2) date2str(now,'MMddyy','US/Eastern') gets replaced by 040609 (if the current time now is 4th april 2009).
    So at the end of this first pass we have a string:
    2595_ADHSUITE_IN_.\*040609.\*.TXT.*.outpgp_outThis string at the end of the first pass is a Posix basic regular expression. (ref: [http://en.wikipedia.org/wiki/Regular_expression] ) accessed at time of post).
    This is the string I put in the Regular Expression text box on [http://www.fileformat.info/tool/regex.htm]
    and it matches "2595_ADHSUITE_IN_ANNWEL_040609_2009-01-27_17-02-28-000_631.TXT715.outpgp_out" for me (though I prefer my egrep test).
    I hope this is somewhat clearer. Remember I have very little information about your system/application and I make big guesses.
    NB: (I should thank Frits earlier for pointing my sloppiness between wildcards (for eg unix shell filename expansion) and regular expressions).
    For the second pass this used to compared other strings to see

  • Help Installing Unix Based Software

    I have been searching the internet high and low for the past few days, and have found nothing to help me.
    I'm trying to install a certain software that will give me ultimate flexibility over creating audio cds (in particular, the space inbetween tracks). This seems to be my answer (http://cdrdao.sourceforge.net/) with it's GUI located here (http://cdrdao.sourceforge.net/gcdmaster/index.html).
    My only problem is, I can't figure out how the heck to install them! The Terminal is a very foreign thing to me, as well as anything Unix. Please help!

    I'm trying to install a certain software that will
    give me ultimate flexibility over creating audio cds
    (in particular, the space inbetween tracks). This
    seems to be my answer
    (http://cdrdao.sourceforge.net/) with it's GUI
    located here
    (http://cdrdao.sourceforge.net/gcdmaster/index.html).
    Christina,
    Welcome to the discussions!
    I would encourage you to try a package management tool like fink or darwin ports first if you are not yet comfortable with the unix command line. There are great tutorials around and this place is a great place to get advice from "veteran" unix users - so please ask more if you want help.
    This package (as listed on the original site) is not reported as working on Mac. Usually it is because there is work to be done to figure out device drivers or find parts of the code that need to be changed specifically for one operating system.
    Have a look at http://pdb.finkproject.org/pdb/package.php/cdrdao - as it appears that someone has taken the code and modified it to be easily installed using fink tools.
    The steps to get fink running are here...
    Good luck and post back if you have any more questions or need help with fink.

  • Help Mac/Unix Gurus - Boot Camp

    1. I created my BC partition for Vista x64.
    2. Installed Vista x64 150g NTFS - Boots ok.
    3. Under MAC Os 10.5.x - Vista x64/x86 Partition is shown as MS-Dos and Does not mount as read only.
    4. Installed Paragon's MAC OS Ntfs - works.
    Now my main question, like fstab is to unix, where can i find the equivalent file MAC's unix enviroment that will allow me edit the option for that partition from MS-Dos to NTFS hence allow MAC NTFS to get that disk mounted?
    Sean.

    1. I created my BC partition for Vista x64.
    2. Installed Vista x64 150g NTFS - Boots ok.
    3. Under MAC Os 10.5.x - Vista x64/x86 Partition is shown as MS-Dos and Does not mount as read only.
    4. Installed Paragon's MAC OS Ntfs - works.
    Now my main question, like fstab is to unix, where can i find the equivalent file MAC's unix enviroment that will allow me edit the option for that partition from MS-Dos to NTFS hence allow MAC NTFS to get that disk mounted?
    Sean.

  • Help with Unix in Java

    Hi All,
    I am currently stuck in a program that I am coding. I have written a java program that should execute a system command and capture the output of the command.
    Here is my code:
    String boxname="";
    String box = new CmdExec().run("echo $__box_name");
    boxname = (box[box.length-1]);
    System.out.println("BoxName2:"+boxname+"\n");
    Here is the output:
    BoxName2:$__box_name
    The problem I am having is that the "echo $__box_name" command returns $__box_name, and not the acutal value of the $__box_name...which I have set to be "testbox." The problem is the command line is taking $__box_name as text..and that's not what I want.
    I have the code working another way, but it is impractical. In the second version I have a script named get_name with two lines in it:
    #!/usr/bin/ksh
    echo $__box_name
    In my java code calls the script with the following changes:
    String boxname="";
    String[] box = new CmdExec().run("./get_name");
    boxname = (box[box.length-1]);
    This returns the value of $__box_name which is "testbox," and not the text "$__box_name." On the other hand, I don't want to have a separate script just to display one simple value. I don't know what the problem with the "echo $__box_name"command is, but I'm assuming that the space between the command may be the problem. I tried running the java program with "hostname" instead of the "echo $__box_name" and it returned the actual server name. Is there a way other than having a separate script, of combining the "echo $__box_name" command
    into a single execution...say "getbox" (so i can just run String[] box = new CmdExec().run("getbox")) ?? If anyone can help, I'd appreciate it. I just don't understand how something so simple can make me pull my hair out. Any feedback would be much appreciated. Please put me out of my misery..Thanks.
    Brian

    The command you just gave me returns nothing. I also tried usin "ksh echo $__box_name"...and modified it with the backlash "`", backslash "\", and single quote "'"...nothing has seemed to work. The closest I got was getting an integer as a return value. Your piece of code seems to be pretty close. I am not quite sure what that line means...could you please let me know what each part of the code means?
    /bin/sh -c echo $__box_name
    Thanks
    Brian

  • Need help opening Unix Executable Files

    I've recently been given the task of updating various files containing instruction manuals. However, the person who created these files is long gone and no one seems to know what program they were created in. All I know is that they are listed as "Unix Executable File" when I click on the document. I've tried opening them in TextEdit and this does me no good. Does anyone know how I can determine what program these files were originally created in so that I can open them?

    Files that have no filename extensions (used by Windows and OS X, but not by OS 9) and have lost their Type and Creator codes (used by OS 9, but not by Windows or OS X), and are then written to a DOS-formatted disc by OS 9 and copied back to a Mac disc, are usually if not always misidentified by the OS X Finder as Unix executables.
    Your company's old files, created in applications that ran in OS 9, probably have never had any filename extensions. Their Type and Creator codes have evidently been lost; those are what OS 9 uses to link the files to the applications that created them. If the files have also been written by OS 9 to any disk or flash drive formatted for Windows, i.e. FAT16 or FAT32, they have also lost their resource forks. The resource fork is a portion of a Mac file that has no analogous structure in a PC file. When a Mac file that contains data in its resource fork is written by OS 9 to a PC-formatted storage device, there's no place in the Windows file structure for that data — so it is simply discarded. When the Mac file is later copied back onto a Mac-formatted storage device, its resource fork is gone along with whatever data it contained, and the file may for all practical purposes be destroyed. OS X handles writing Mac files to Windows-formatted drives more gracefully, but passing files back and forth between OS 9 and OS X via a Windows-formatted storage device is asking for trouble.
    I don't know just what practices have been used in moving these files from the Macs they were created on to the one you're trying to open them on now, but I suspect there has been some unwitting demolition in the process.
    If copies of these files are still stored on the old Mac on which they were created, and that Mac still works, get on it and double-click the saved copies of the files to open them in the program(s) that created them, and make notes of which application opens each of the files. Be aware that the folder structure containing the files may have to be preserved exactly as it is for the files to open properly — do not reorganize anything. It may be essential, for example, for a PageMaker file to be kept in the same folder as all the individual files that have been "placed" in it using the Place command in PageMaker. If any of those files are moved elsewhere, they may be missing from the PageMaker document when it opens. I've never used Quark or Freehand, so I don't know whether they have the same requirement, or other requirements that are less than obvious.
    Any of the old manuals that you're able to open in their original applications can be saved as PDF files using an invaluable OS 9-based "printer driver" called PrintToPDF. They can then be opened in Adobe Reader or Preview on your G5 running OS X, though you won't be able to edit them easily. If you require the ability to edit these files on the G5, rather than on the old computer using the apps that originally created them, you will need first to discover which OS 9-based application created each one, and then ascertain what if any current OS X-based application is able to open the file format used by that old application. In the case of PageMaker files, that will probably be Adobe InDesign or nothing. InDesign may also open old Quark files; I don't know. Aldus or Adobe Freehand files may be openable using Adobe Illustrator. These are just guesses.
    Dragging and dropping the files onto MS Word or TextWrangler may reveal, buried somewhere in them, the name of the application(s) that created them. I know a PageMaker file, opened as plain text, will always contain the word "PageMaker". As for other file formats, I'm not sure.
    Message was edited by: eww
    Message was edited by: eww

  • Need urgent help on unix script

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

    Hi Experts, I have aquestion, I am getting phone number as A=123,B = 456C = 7890D= 123(Extension) I need to concatenate like this in informatica power center: (123)456-7890*123  If I dont get any extension, then we should only populate  (123)456-7890 in the target, I need to remove *ext if ext is null...  can somebody help me out with example. Thanks in advance

  • Help Requested:  Unix WebLogic 6.0 sp2 and PetStore Error

    Hello,
    I have tried several variations to cleanly run the WL6 sp2 Pet Store
    application on a Solaris 8 box.
    The server starts, but I am getting the following error:
    <Sep 7, 2001 3:57:05 PM EDT> <Critical> <WebLogicServer> <Failed to
    invoke start
    up class "StartBrowser", java.lang.ClassNotFoundException:
    com.bea.estore.startu
    p.StartBrowser>
    This error I get from a clean install. What could be wrong?
    Also by which command should the petstore be started?
    ./startPetStore.sh
    sh startPetStore.sh
    . ./startPetStore.sh
    I would greatly appreciate any timely insight.
    Leslie

    After executing sh startPetStore.sh, bring up a browser and enter the
    following URL to read about and optionally invoke the Pet Store
    application:
    http://<target_host>:<target_port>/index.html
    LAA at Work wrote:
    Hello,
    I have tried several variations to cleanly run the WL6 sp2 Pet Store
    application on a Solaris 8 box.
    The server starts, but I am getting the following error:
    <Sep 7, 2001 3:57:05 PM EDT> <Critical> <WebLogicServer> <Failed to
    invoke start
    up class "StartBrowser", java.lang.ClassNotFoundException:
    com.bea.estore.startu
    p.StartBrowser>
    This error I get from a clean install. What could be wrong?
    Also by which command should the petstore be started?
    ./startPetStore.sh
    sh startPetStore.sh
    . ./startPetStore.sh
    I would greatly appreciate any timely insight.
    Leslie

  • Using UNIX command to copy desktop files/folders

    Hello All. I need help using UNIX command(s) to copy text documents and or folders from my lab computers to my desktop at home. Since I have such a slow connection, I think this will work best. I need help with the cp command and the path mostly. Since all files would be in folders on the desktop (including documents (that "missed" the folders), I believe I could simply copy desktop contents? Thanks, J Langlois

    What you want to do is SCP (secure copy) your documents to your remote host.
    send this command to the computer with the documents
    scp ~/Desktop/FILEOR_FOLDERNAME USERNAME@REMOTE_COMPUTER:~/Desktop/
    Replace all the stuff in UPPERCASE with the correct vales for your situation.
    Mini (Intel Core Duo)   Mac OS X (10.4.8)  

  • Executing Unix Commands

    Hi
    I realise there is a Runtime class to help execute Unix commands from within Java code, but how would this work if the command required a password.
    For example, were I to try to execute:
    ssh -Y myserver.domain.com -u Myself -p
    How would this work with supplying the password (which is prompted for after the command is sent to the shell)?
    Thanks
    Dave

    from the ssh man page under "environment variables":     SSH_ASKPASS
                  If ssh needs a passphrase, it will read the passphrase from the
                  current terminal if it was run from a terminal.  If ssh does not
                  have a terminal associated with it but DISPLAY and SSH_ASKPASS
                  are set, it will execute the program specified by SSH_ASKPASS
                  and open an X11 window to read the passphrase.  This is particu-
                  larly useful when calling ssh from a .xsession or related
                  script.  (Note that on some machines it may be necessary to
                  redirect the input from /dev/null to make this work.)

  • Symbolic link error when exporting during heterogeneous system copy

    My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing  heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
    I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
    I want to export both ABAP & JAVA stack but only the java stack is getting  picked.
    Below  is part of the resultng sapinst.log 
    Thanks
    INFO 2011-09-05 10:44:30.573
    Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    INFO[E] 2011-09-05 10:44:33.851
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:44:33.851
    FSL-02061  Link /._ is invalid: Unable to link a link to itself.
    INFO 2011-09-05 10:44:46.118
    Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
    #Mon Sep 05 10:44:45 EAT 2011
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
    java.vm.version=1.4.2_09-b05
    java.vm.vendor=Sun Microsystems Inc.
    java.vendor.url=http\://java.sun.com/
    path.separator=\:
    java.vm.name=Java HotSpot(TM) Client VM
    file.encoding.pkg=sun.io
    user.country=US
    sun.os.patch.level=unknown
    java.vm.specification.name=Java Virtual Machine Specification
    user.dir=/oracle/PRD/INSTDIR/sapinst_dir
    java.runtime.version=1.4.2_09-b05
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
    os.arch=sparc
    java.io.tmpdir=/var/tmp/
    line.separator=\n
    java.vm.specification.vendor=Sun Microsystems Inc.
    os.name=SunOS
    sun.java2d.fontpath=
    java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
    java.specification.name=Java Platform API Specification
    java.class.version=48.0
    java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
    os.version=5.10
    user.home=/
    user.timezone=Africa/Nairobi
    java.awt.printerjob=sun.print.PSPrinterJob
    file.encoding=ISO8859-1
    java.specification.version=1.4
    java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
    user.name=root
    java.vm.specification.version=1.0
    java.home=/usr/j2sdk1.4.2_09/jre
    sun.arch.data.model=32
    user.language=en
    java.specification.vendor=Sun Microsystems Inc.
    java.vm.info=mixed mode
    java.version=1.4.2_09
    java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
    sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
    java.vendor=Sun Microsystems Inc.
    file.separator=/
    java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
    sun.io.unicode.encoding=UnicodeBig
    sun.cpu.endian=big
    sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
    INFO 2011-09-05 10:44:47.076
    Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
    INFO 2011-09-05 10:44:47.572
    Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    INFO 2011-09-05 10:44:47.715
    Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
    WARNING 2011-09-05 10:44:47.944
    Could not determine a valid JAVA_HOME directory from the environment.
    INFO 2011-09-05 10:44:48.86
    Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:48.890
    Account sapinst already exists.
    INFO 2011-09-05 10:44:48.894
    Account prdadm already exists.
    INFO 2011-09-05 10:44:48.917
    Account oraprd already exists.
    INFO 2011-09-05 10:44:49.73
    Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.217
    Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.341
    Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
    INFO 2011-09-05 10:44:49.480
    Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
    INFO[E] 2011-09-05 10:44:52.251
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:44:52.252
    FSL-02061  Link /._ is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.760
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.761
    FSL-02061  Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.762
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.762
    FSL-02061  Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.763
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.764
    FSL-02061  Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.765
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.765
    FSL-02061  Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.766
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.767
    FSL-02061  Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.768
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.768
    FSL-02061  Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.769
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.770
    FSL-02061  Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.771
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.772
    FSL-02061  Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.773
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.773
    FSL-02061  Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.774
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.775
    FSL-02061  Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.776
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.777
    FSL-02061  Link /oracle/PRD/css is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.778
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
    INFO[E] 2011-09-05 10:45:01.778
    FSL-02061  Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
    INFO[E] 2011-09-05 10:45:01.779
    FSL-00001  System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).

    Hi,
    In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
    Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full  offline backup .
    Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
    Regards
    APR

  • I'm a online university student. Can I replace Windows 7 with Arch?

    Actually both my wife and I are both online students. I'm so tired of Windows 7. I want to be free from the chains of Windows. I know Wine won't run all my programs but they are getting better. I was looking into getting VMWare Workstation 8 or VirtualBox. I know there is VMWare player that is free. But I can afford to pay for VMWare workstation. I  just hope it's a fast virtual environment. I'm not a new user to Linux either. Been running it since OpenSuse 9 a long time ago. But it has been a dual boot setup. I'm ready to venture out and use Arch Linux.
    So I was wondering if anyone else here is running Arch Linux full time and also a student. Have you run into any issues? If so how did you solve it? Hopefully when I do this. I can convert some friends and family.

    @mythus,
    I was also about to say that that is outrageous. I would very much like to know the university and subject or country and subject but I understand you might not wish to say. If they really gave a zero purely because they could tell it was not done in Office 2010, that's reprehensible. The only exception I could think of would be a course on the use of specific computer software where the assignment was designed to test students skills with Office 2010 specifically. That would be an odd uni course, but...
    To the OP,
    You should find out your university's policy on support for different OSs. This is really important for online study. If you are on campus, you can always use a computer lab if you have to to get something particular done. If you are halfway around the world, that's not an option. Universities vary wildly in their support for different OSs. Some require students to have machines which meet certain standards and which are equipped with Windows. Others actively support cross-platform solutions. Others officially support Windows, sort of support Mac and do "best effort" support for Linux. I have also been on campuses where the support for non-Windows was non-existent to the point that the campus didn't actually recognise the possible existence of non-Windows machines. This was good and bad. On the negative side, none of the packs MS makes available to help Mac/Unix users connect to Windows servers were installed. None. On the positive side, all network security checked for was Windows. Plug a Mac laptop in and you had immediate access to the web, printers etc. even before you'd been issued with a computer account. Plug a Windows laptop in and it demanded a username and password.
    Psychology is likely to require the use of specific statistics packages. You would need to know which. You also need to bear in mind that the software in use in three, four or more years time won't necessarily be what's used now. Stuff can change quite quickly. Even new versions and updates can block access. So even if you don't update your software, the university may update server software in ways which make it difficult for you to access the information you need.
    Last edited by cfr (2012-03-20 23:26:28)

  • Output XML to Application Server

    Hi,
    I have successfully output the contents of an xml document object (if_ixml_document) using the following code (where p_xml_document is my xml document object):
      TYPES:
        BEGIN OF xml_line,
          data(256) TYPE x,
        END OF xml_line.
      DATA:
        streamfactory     TYPE REF TO if_ixml_stream_factory,
        ostream           TYPE REF TO if_ixml_ostream,
        renderer          TYPE REF TO if_ixml_renderer,
        ls_xml            TYPE xml_line,
        lt_xml_table      TYPE TABLE OF xml_line,
        v_xml_size        TYPE i.
    Transfer contents of xml document object into an internal table.
      streamfactory = g_ixml->create_stream_factory( ).
      ostream = streamfactory->create_ostream_itable( table = lt_xml_table ).
      renderer = g_ixml->create_renderer( ostream = ostream document = p_xml_document ).
      renderer->render( ).
      v_xml_size = ostream->get_num_written_raw( ).
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          bin_filesize = v_xml_size
          filename     = 'c:\hr_sl\aaa_sunlife.xml'
          filetype     = 'BIN'
        CHANGING
          data_tab     = lt_xml_table.
    My problem is I really need to output the XML to the application server, so I need to replace the call to cl_gui_frontend_services=>gui_download with something that will download the xml to the app server.
    I've tried using OPEN DATASET/TRANSFER/CLOSE DATASET, and while I am getting a file created on the app server, it only contains one line of XML.
    My code looks lile this:
      OPEN DATASET l_ofile FOR OUTPUT IN BINARY MODE.
    Transfer xml to dataset
      LOOP AT lt_xml_table INTO ls_xml.
        TRANSFER ls_xml TO l_ofile.
      ENDLOOP.
    Close the dataset.
      CLOSE DATASET l_ofile.
    I've searched and searched on SDN and have not found an answer.  Any help would be greatly appreciated.
    Thanks!
    Edited by: Russell Hergott on Jan 16, 2008 10:52 PM

    hi boss,
    some of the code may be useful for u .
    try like this sending into the internal table  and then try ....
    *& Report  ZTESTPROGRAMFORUPLOAD
    REPORT  ZTESTPROGRAMFORUPLOAD message-id zmsg.
    tables:pa0002.
    types:begin of ty_pa0000,
          pernr like pa0000-pernr,
          endda like pa0000-begda,
          end of ty_pa0000.
    types:begin of ty_pa0002,
          pernr like pa0002-pernr,
          begda like pa0002-begda,
          endda like pa0002-endda,
          vorna like pa0002-vorna,
          nachn like pa0002-nachn,
          end of ty_pa0002.
    data:it_pa0000 type standard table of ty_pa0000 with header line,
          it_pa0002 type standard table of ty_pa0002 with header line.
    data: v_pernr like pa0002-pernr,
          v_lines type i.
    DATA: W_MSG(150)  TYPE C.
    SELECTION-SCREEN BEGIN OF BLOCK FILE WITH FRAME TITLE TEXT-FIL.
    *SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: P_PC  RADIOBUTTON GROUP RAD USER-COMMAND USR.         "PC
    *SELECTION-SCREEN COMMENT 3(5) TEXT-SC1.
    PARAMETERS: P_UNIX  RADIOBUTTON GROUP RAD DEFAULT 'X'.         "UNIX
    *SELECTION-SCREEN COMMENT 11(5) TEXT-SC2.
    parameters:p_file like rlgrap-filename.
    *SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK FILE.
    at selection-screen on value-request for p_file.
    perform f4_help.
    START-OF-SELECTION.
    *---Get the  active employyes
      select     pernr
                 endda
                 from pa0000
                 into table it_pa0000 up to 100 rows
                 where endda >= sy-datum
                 and   begda <= sy-datum
                 and   stat2 = '3'.
      if sy-subrc = 0.
        sort it_pa0000 by pernr endda descending.
        delete adjacent duplicates from it_pa0000 comparing pernr.
      endif.
    select pernr
           begda
           endda
           vorna
           nachn
           from pa0002
           into table it_pa0002
           for all entries in it_pa0000
           where pernr = it_pa0000-pernr.
    sort it_pa0002 by pernr.
    delete adjacent duplicates from it_pa0002 comparing pernr.
    append it_pa0002.
    endloop.
    END-OF-SELECTION.
      describe table it_pa0002 lines  v_lines .
    *---get data into Application Server.
    PERFORM OUTPUT_CORPEDIA_VENDOR_FILE .
      SKIP 2.
      WRITE:/ 'FILE NAME :' , P_FILE .
      WRITE:/ 'NO OF RECORDS DOWNLOADED : ', V_LINES .
    *&      Form  f4_help
          text
    -->  p1        text
    <--  p2        text
    form f4_help .
      IF P_UNIX = 'X'.
    F4 help for UNIX
        CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
          EXPORTING
            DYNPFIELD_FILENAME = 'P_FILE'
            DYNAME             = SY-CPROG
            DYNUMB             = SY-DYNNR
            FILETYPE           = 'P'
            LOCATION           = 'A'
            SERVER             = ''.
        IF SY-SUBRC <> 0.
          MESSAGE E000 WITH TEXT-E01 P_FILE.
        ENDIF.
      ELSEIF P_PC = 'X'.
    F4 help for PC
      clear p_file.
        CALL FUNCTION 'WS_FILENAME_GET'
          EXPORTING
            DEF_PATH         = P_FILE
            MASK             = ',..'
            MODE             = '0 '
            TITLE            = 'Choose File'
          IMPORTING
            FILENAME         = P_FILE
          EXCEPTIONS
            INV_WINSYS       = 1
            NO_BATCH         = 2
            SELECTION_CANCEL = 3
            SELECTION_ERROR  = 4
            OTHERS           = 5.
      ENDIF.
    endform.                    " f4_help
    *&      Form  OUTPUT_CORPEDIA_VENDOR_FILE
          text
    -->  p1        text
    <--  p2        text
    form OUTPUT_CORPEDIA_VENDOR_FILE .
      IF P_PC = 'X'.
      data: v_pcfile type string.
      v_pcfile = p_file.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                      = v_pcfile
          FILETYPE                      = 'ASC'
          WRITE_FIELD_SEPARATOR           = 'X'
        TABLES
          DATA_TAB                      = it_pa0002.
    sort it_pa0002 by pernr.
    delete adjacent duplicates from  it_pa0002.
    else.
      data: outrec(200) type c .
      OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE encoding DEFAULT.
      loop at it_pa0002.
        outrec+0(8) = it_pa0002-pernr.
        outrec+18(8) = it_pa0002-begda.
        outrec+36(8) = it_pa0002-endda.
        outrec+54(40) = it_pa0002-vorna.
        outrec+104(40) = it_pa0002-nachn.
        transfer outrec to p_file.
        clear outrec.
      endloop.
      CLOSE DATASET OUTREC.
        IF SY-SUBRC = 0.
          CLEAR W_MSG.
         CONCATENATE 'Corpedia Vendor Demographic File successfully written to:'
                     P_FILE
                     INTO W_MSG SEPARATED BY SPACE.
          ULINE.  SKIP.
          WRITE : W_MSG.
        ENDIF.
      ENDIF.
    endform.                    " OUTPUT_CORPEDIA_VENDOR_FILE
    regards,
    venkat.

  • File Adapter - FTP/ NFS:Transport protocol

    Dear All,
    We have a requirement to pick the file form the Sever which is inside the company network also
    Client is not ready to install the FTP / any other protocol and they simply want us to pick the file from the specified folder,
    let me know the way forward how can achieve this?
    Regards,
    Manikandan Shanmugam

    Hello,
    You need to write the Shell Script or Java based web service code in the Server where the file is there.........the Shell script will pick the file from the server and place it in PI server( Script need to be scheduled background so that it will check for the file, if file exist then picks the file).........u need to take take help from Unix admin guy for writing the code.
    this is not standard as we can't monitor the script, but we can go for it as both the systems are in same network so there will not be any issues. Once the file is placed in your PI system normal process need to send file from ur PI system to target system.
    as your requirement is tricky there is no other option.

Maybe you are looking for

  • Itunes will no longer sync my music to my brand new iPad.

    Itunes will no longer sync to my brand new iPad.  Synched with old one just fine.  Goes through process and finishes but still no music and no error.  Tried selecting specific artists or songs and same. Have lastest software on both. Running Windows

  • DB adapter - Trim spaces in column

    Hi, We are facing an issue while using DB adapter when retrieving data from a column (VARCHAR2). Our column contains data like 'XXXX<spaces>XXX<spaces>'. Whenever we retrieve this column using Db adapter (both custom sql and Select option) and we are

  • SAP LSO system to XI Integration

    Hi Experts, Currently i am working on SAP LSO system integration with External system(Skill soft) using PI. Has anyone successfully used standard LSO XI services to integrate with external Learning vendors?Could you please give me the steps or let me

  • Cannot get LR4 to read xmp files from a Nikon D4, Reads the D3S xmp files fine.

    I am doing some editing work for a magazine. The lead editor had issues with adobe camera raw viewing some of my edits. The xmp files are there but for some reason they are not loading. We narrowed it down to just the Nikon D4 files. I just had her d

  • PLEASE HELP! Quicktime won't show image

    Sometimes when trying to watch a quicktime video, it appears as if its a audio file so it doesn;t show an image at all, I was wondering if anyone knew about a component or whether there is a program to convert these files, i have tried Divx Doctor an