Unable to open a file in Application server

This path exist in the Application server.
        DR1/interfaces/Esker
ORDHIST - This is the File name in whihc i need to save the data.
I had specified the whole path as DR1/interfaces/Esker/ORDHIST
I am trying to upload the data from the Internal table to the above specified file ORDHIST.
It is not opening the File on the application server, it says that it 'could not open file'.
Any suggestions will be apprecaited to open the file and transfer the data from
Final Internal table to --> Application server
Below is my code....If found any mistakes then plz correct me...
*&      Form  UPLOAD_APPLSERVER
*       text
*  -->  p1        text
*  <--  p2        text
FORM UPLOAD_APPLSERVER .
DATA : GV_OUTPUT(275) TYPE C.
DATA : P_FILE TYPE STRING.
P_FILE = 'DR1/interfaces/Esker/ORDHIST'.
OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC <> 0.
    MESSAGE : I002(ZMSSG) WITH 'Could not open file'.
    STOP.
ENDIF.
LOOP AT T_FINAL1 INTO WA_FINAL1.
CONCATENATE  WA_FINAL1-VBUND
              WA_FINAL1-BSTNK
              WA_FINAL1-KUNNR
              WA_FINAL1-AUDAT
              INTO GV_OUTPUT
              SEPARATED BY ','.
TRANSFER GV_OUTPUT TO P_FILE.
IF SY-SUBRC <> 0 .
     MESSAGE : I003(ZMSSG) WITH 'Trasnfer is failed'.
     STOP.
ENDIF.
ENDLOOP.
CLOSE DATASET P_FILE.
ENDFORM.                    " UPLOAD_APPLSERVER
Thanks & Regards,
Krishna

Hello Kittu,
What was the Sy-Subrc value after executing the Open Dataset statement?
If it is 8, then the problem could be with
1) The path name not mentioned properly (or)
2) User Id might not be having access to the file mentioned in the path
Also, if you are using the App Server as UNIX then the filenames should be of case sensitive.
Check the path first and note it down as per the actual case
Hope this is helpful
Thanks,
Babu Kilari
Edited by: Babu Kilari on Apr 6, 2009 6:18 AM

Similar Messages

  • Unable to create a file in Application Server using OPEN DATASET stattement.

    I am unable to create a file in Application Server using the following statement.
    OPEN DATASET filename FOR OUTPUT
    IN TEXT MODE ENCODING DEFAULT
    MESSAGE msg.
    The message I'm getting is "Permission Denied". I have checked authorisation using SU53 which says "The last authorization check was successful". Please help.

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

  • Could not open the file in application server

    Hi All,
    I have a Zreport which will write files on application server. When I tried to download it is showing me "Could not open the file". And when checked again with /nal11 the files does not exist. When I ran the Zreport again the file exist in application server but unable to download. And when checked again the file doesnot  exist. Why it is getting archived? Please help me.
    Thanks,
    Venkata

    Hi Sagar,
    Below is my file path : /dv2/tmp/instl/salesdata.txt
    When I checked in the below path the file exists.
    /dv2/tmp/archive/salesdata.txt
    Solved the issue.
    Thanks,
    Venkata

  • Unable to delete a file on application server

    Hello Experts,
    I have gone through  couple of post and sample nothing worked that's the reason Iam posting a query here.
    Please help me with your valuable suggestions.
    I am reading a file from the application server running a BDC program to update my ztable all works fine.
    now i wanted to move this file to another folder thats too working perfectly but now when i try deleting the older one it is not getting deleted.
    I have closed the dataset and checked the authorization that is not a concern but still it is not getting deleted.
    I have pasted the code below.
    For READ and CLOSE dataset it returns subrc as 0 but after delete it returns 4.
    data : mess type string.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT message mess.
    IF SY-SUBRC = 0.
    DO.
        READ DATASET ld_file INTO wa_string.
        if sy-subrc eq 0.
            append wa_string to it_string.
            clear wa_string.
        else.
            exit.
        endif.
      enddo.
      close dataset ld_file.
      delete dataset ld_file.
    else.
    WRITE 'Unable to open source file to move the content'.
    endif.
    Regards,
    Ranjith N

    Hello Mr Ghode,
    Thaking you for your response on my query.
    as you said to handle exception this is what i have done.
    kindly verify the same would be of great help.
    still iam unable to delete the file.  
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
        DO.
          READ DATASET ld_file INTO wa_string.        "LV_LINE is variable to hold line contents being read
          if sy-subrc eq 0.
            append wa_string to it_string.
            clear wa_string.
          else.
            exit.
          endif.
      enddo.
      close dataset ld_file.
      if sy-subrc eq 0.
      try.
        delete dataset ld_file.
        catch CX_dynamic_check into t_ref.
        err_txt = t_ref->get_longtext( ).
    endtry.
    endif.
    endif.
    Regards,
    Ranjith N

  • Open documents/files from Application Server in forms 6i

    Hello All,
    Our requirement is to open files that are in Application server( We do not want to upload them into database).
    Is there a way to open this files from forms 6i.
    I am wondering how the "View Output" or View log button works on the concurrent program submission form. Its the doing the same thing i.e pulling the file from Application server and showing up.
    Please let me know if anyone has any ideas on how to get this done.
    Thanks
    Sunil

    I assume you are using Forms 6i in web mode here. Then it is just a URL to the file if you properly map to a directory where you store the files:
    web.show_document('http://...../myfile.pdf');
    But it also looks like you are using Oracle Apps, so might want to ask it in the e-Business Suite.

  • Unable to open leopard files on windows server

    Hi,
    We had a mac which was on Leopard and saved files to the server
    The file system we use is a Windows 2008 File Server, this has worked fine with leopard for years
    However I understand that Leopard splits the files into resource forks - and that Lion has dropped support for these files.
    That particular mac is now on Lion as we upgraded and encountering LOTS of issues
    I unable to open or edit lots of the files as i believe chunks of the files are missing.
    E.g an .eps file showed as 740KB on leopard - Viewing from a windows PC it was 730kb for the .eps and 10kb for the ._ resource fork.
    Now that we are on the LION upgrade, we only see the .eps file and it is only 730kb. Information missing is things such as preview (quark), Font data, type of file, version number
    Is there anyways to fix this? we have hundreds! of images, files etc created with leopard and now upgraded to lion they all have become useless!
    Rejoining the resource forks and files together so that they are usable on lion
    Thanks

    You also may want to post this in the Lion forum, someone there may have some insight.

  • How to Open a file in Application Server

    Hi All,
    I am having a recquirement that I had to read the data from an Application Server file, I want to know whether any function modules are there to open a file that is in the Application server.
    Thankx In advance,
    Sri.

    Hi,
    If you are on windows, the solution is to create a shared directory anf give access rights to your sapservice <SID> user.
    It's not really logical to put files on app servers because one app server can stopped without stopping the system.
    So we decided to put all our shared directories on the Central Instance server.
    Regards,
    Olivier

  • Opening a file in Application Server

    Hi Friends,
    I have a file 'abc' in application server, and i don't know the extension of it . while trying to open it using OPEN DATASET   statement, it fails because of no extension.
    I have tried using 'abc.*'  in the open dataset   statement but it doesnt work....so is there any function module or is there any other way to open and read it.........

    >
    Shylaja t wrote:
    > I have a file 'abc' in application server, and i don't know the extension of it . while trying to open it using OPEN DATASET   statement, it fails because of no extension.
    Its totally wrong to say OPEN DATASET statement failed because of no extension of the file! Actually, the ABAP run-time does not care whether the file has an extension or not. In most cases, the app server (file system) datasets/files are stored without any extension.
    Here's how to approach your issue:
    1. Read the Keyword Documentation of OPEN DATASET
    2. Check the Sy-Subrc after OPEN DATASET statement and if its unequal to 0;
            a. Check the file name/path you are passing is correct
            b. Check you are using OPEN DATASET for READ
            c. Depending you are in a Unicode/Non-Unicode system, check the file is not already open
            d. Make sure the file you are trying to open physically exists in the app server!
    Once you are able to OPEN the file then use READ DATASET command to read it.
    Hope this helps.
    Cheers,
    Sougata.

  • Unable to open excel file through application created by application builder

    Hello,
    I've created an application for my program using application builder, but the built application  is not able to open the required excel file as it was being opened in original program.
    Please help.

    Please post your code. We cannot do anything to help you if you do not. There are too many things that could be wrong for us to try and guess what you are doing. Also please tell us which version of LV you are using and which version of the toolkit. This is important because there have been a lot of changes to the toolkits here in the last couple of years.
    Joe.
    "NOTHING IS EVER EASY"

  • How to download file from application server

    Hi Experts,
                  I developed report and execute in background mode. for this i used Open dataset transfer and close dataset . i got the requried output . But in this case user want downloaded file on presentation server so can anyone tell me How to download file from application server?
    i know it is possible through Tcode CG3Y. but i want code in program.

    This code will download a file to your Client package by package, so it will also work for huge files.
    *& Report  ZBI_DOWNLOAD_APPSERVER_FILE
    REPORT  zbi_download_appserver_file.
    PARAMETERS: lv_as_fn TYPE sapb-sappfad
    DEFAULT '/usr/sap/WBP/DVEBMGS00/work/ZBSPL_R01.CSV'.
    PARAMETERS: lv_cl_fn TYPE string
    DEFAULT 'C:\Users\atsvioli\Desktop\Budget Backups\ZBSPL_R01.CSV'.
    START-OF-SELECTION.
      CONSTANTS blocksize TYPE i VALUE 524287.
      CONSTANTS packagesize TYPE i VALUE 8.
      TYPES ty_datablock(blocksize) TYPE x.
      DATA lv_fil TYPE epsf-epsfilnam.
      DATA lv_dir TYPE epsf-epsdirnam.
      DATA ls_data TYPE ty_datablock.
      DATA lt_data TYPE STANDARD TABLE OF ty_datablock.
      DATA lv_block_len TYPE i.
      DATA lv_package_len TYPE i.
      DATA lv_subrc TYPE sy-subrc.
      DATA lv_msgv1 LIKE sy-msgv1.
      DATA lv_processed_so_far TYPE p.
      DATA lv_append TYPE c.
      DATA lv_status TYPE string.
      DATA lv_filesize TYPE p.
      DATA lv_percent TYPE i.
      "Determine size
      SPLIT lv_as_fn AT '/' INTO lv_dir lv_fil.
      CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
        EXPORTING
          file_name      = lv_fil
          dir_name       = lv_dir
        IMPORTING
          file_size_long = lv_filesize.
      "Open the file on application server
      OPEN DATASET lv_as_fn FOR INPUT IN BINARY MODE MESSAGE lv_msgv1.
      IF sy-subrc <> 0.
        MESSAGE e048(cms) WITH lv_as_fn lv_msgv1 RAISING file_read_error.
        EXIT.
      ENDIF.
      lv_processed_so_far = 0.
      DO.
        REFRESH lt_data.
        lv_package_len = 0.
        DO packagesize TIMES.
          CLEAR ls_data.
          CLEAR lv_block_len.
          READ DATASET lv_as_fn INTO ls_data MAXIMUM LENGTH blocksize LENGTH lv_block_len.
          lv_subrc = sy-subrc.
          IF lv_block_len > 0.
            lv_package_len = lv_package_len + lv_block_len.
            APPEND ls_data TO lt_data.
          ENDIF.
          "End of file
          IF lv_subrc <> 0.
            EXIT.
          ENDIF.
        ENDDO.
        IF lv_package_len > 0.
          "Put file to client
          IF lv_processed_so_far = 0.
            lv_append = ' '.
          ELSE.
            lv_append = 'X'.
          ENDIF.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize         = lv_package_len
              filename             = lv_cl_fn
              filetype             = 'BIN'
              append               = lv_append
              show_transfer_status = abap_false
            TABLES
              data_tab             = lt_data.
          lv_processed_so_far = lv_processed_so_far + lv_package_len.
          "Status display
          lv_percent = lv_processed_so_far * 100 / lv_filesize.
          lv_status = |{ lv_percent }% - { lv_processed_so_far } bytes downloaded of { lv_filesize }|.
          CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
            EXPORTING          "percentage = lv_percent - will make it fash
              text = lv_status.
        ENDIF.
        "End of file
        IF lv_subrc <> 0.
          EXIT.
        ENDIF.
      ENDDO.
      "Close the file on application server
      CLOSE DATASET lv_as_fn.

  • I want to put header while stroing file in application server

    Hi Guru,
       Can anybody tell how to put header while stroing file in application server.
    in the below pgm data is coming i want to put heading .if we see in al11 transaction the header should come .plese give on eg in the code itself.its urgent
    eg:
    material number
    100
    200
    declarations...................................................
    tables: bkpf.                          " Accounting Document Header
    *"Selection screen elements............................................
    parameters:
      p_burks like bkpf-bukrs.             " Company Code
    select-options:
      s_gjahr for bkpf-gjahr.              " Fiscal year
    Type declaration of the structure to hold Accounting Document Header*
    data:
      begin of fs_bkpf,
        bukrs type bkpf-bukrs,             " Company Code
        belnr type bkpf-belnr,             " Accounting Document Number
        gjahr type bkpf-gjahr,             " Fiscal year
        blart type bkpf-blart,             "        Document type
        bldat type bkpf-bldat,             " Document date in document
      end of fs_bkpf.
    Internal table to hold Accounting Document Header                   *
    data:
      t_bkpf like standard table
               of fs_bkpf.
    Type declaration of the structure to hold file data                 *
    data:
      begin of fs_table,
        str type string,
      end of fs_table.
    Internal table to hold file data                                    *
    data:
      t_table like standard table
                of fs_table.
    field-symbols: <fs>.
    *" Data declarations...................................................
    Work variables                                                      *
    data:
      w_char(50)      type c,
      w_file_name(50) type c value 'YH645_050103'.
    select bukrs                           " Company Code
           belnr                           " Accounting Document Number
           gjahr                           " Fiscal year
           blart                           "        Document type
           bldat                           " Document date in document
      from bkpf
      into table t_bkpf
    where bukrs eq p_burks
       and gjahr in s_gjahr.
    if sy-subrc eq 0.
      loop at t_bkpf into fs_bkpf.
        do.
          assign component sy-index of structure fs_bkpf to <fs>.
          if sy-subrc ne 0.
            exit.
          else.
            move <fs> to w_char.
            if sy-index eq 1.
              fs_table-str = <fs>.
            else.
              concatenate fs_table-str ',' w_char into fs_table-str.
            endif.                         " IF SY-INDEX...
          endif.                           " IF SY-SUBRC...
        enddo.                             " DO...
        append fs_table to t_table.
      endloop.                             " LOOP AT T_KNA1...
    endif.                                 " IF SY-SUBRC...
    open dataset w_file_name for output in text mode encoding default.
    loop at t_table into fs_table.
      transfer fs_table-str to w_file_name.
    endloop.                               " LOOP AT T_TABLE...

    Hi,
    may i know what kind of heading you want to display?
    like date, filename, time etc
    then modify the below code:
    *&      Form  send_statistic
         Create the status Report on application Server
       --->  pv_rlines  - Total No of Records in Internal table          *
       --->  pv_slines  - Total No of Successful records                 *
       --->  pv_elines  - Total No of Errornous  records                 *
       --->  pv_path    - File Path  where the file to be created        *
       --->  pv_flag    - Flag to check for A/c group                    *
    FORM sub_send_statistic USING  pv_rlines  TYPE int4
                                   pv_slines  TYPE int4
                                   pv_elines  TYPE int4
                                   pv_path    TYPE salfile-longname
                                   pv_name    TYPE rlgrap-filename
                                   pv_flag    TYPE char1.
      CLEAR : i_tab,
              wa_tab.
    Convert date to MM/DD/YYYY format
      PERFORM date_convert.
    Convert Time to HH:MM:SS format
      CONCATENATE sy-uzeit+0(2)
                  c_colon
                  sy-uzeit+2(2)
                  c_colon
                  sy-uzeit+4(2)
             INTO v_time1.
    Build the Output File name
      IF   p_sold  = c_x
      AND  pv_flag = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z001
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF   p_sold = c_x
      IF p_cons = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z008
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ELSEIF p_sold = c_x
      AND    pv_flag <> c_x.
        CONCATENATE c_objid
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF p_cons = c_x
    Build the Complete Output File Path
      CONCATENATE pv_path
                  c_slash
                  v_file
             INTO v_outfile.
    Populate the data required for output into an internal table and
    then transfer the table contents to file on application server
    DATA UPLOAD STATISTICS
      wa_tab-rec = text-001.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    TITLE
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        sy-title = text-t17.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t16.
      ENDIF.  " IF  p_sold = c_x
      IF  p_cons  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t19.
      ENDIF.  " IF  p_cons = c_x
      wa_tab-rec+0(7)   = text-002.
      wa_tab-rec+7(60)  = sy-title.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Date & Time
      wa_tab-rec+0(5)   = text-012.
      CONDENSE v_date NO-GAPS.
      wa_tab-rec+6(10)  = v_date.
      wa_tab-rec+60(10) = text-003.
      wa_tab-rec+70(15) = v_time1.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Folder Name
      wa_tab-rec+0(18)  = text-005.
      wa_tab-rec+19(72) = pv_path.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    File Name
      wa_tab-rec+0(18)  = text-006.
    ---Begin of addition -Shivakumar - 09-05-2007--
      wa_tab-rec+19(72) = pv_name.
    ---Begin of addition -Shivakumar - 09-05-2007--
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Records Read
      CLEAR v_count.
      v_data   = pv_rlines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-007.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
    Successfull Records
      CLEAR v_count.
      v_data   = pv_slines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-008.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
            v_data.
    Error Records
      CLEAR v_count.
      v_data   = pv_elines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-009.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
      v_mesg = text-t04.
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        MOVE i_tab  TO i_file.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        MOVE i_tab  TO i_file1.
      ENDIF.  " IF  p_sold = c_x
      IF NOT i_tab IS INITIAL.
    Open the file on Application server to write the report
        OPEN DATASET v_outfile
                 FOR OUTPUT IN TEXT MODE
            ENCODING DEFAULT MESSAGE v_mesg.
        IF sy-subrc <> 0.
          MESSAGE e000(zconversions) WITH v_mesg.
        ELSE.  " IF sy-subrc <> 0
    Transfer details to the file on application server
          CLEAR wa_tab.
          LOOP AT  i_tab INTO wa_tab.
            TRANSFER wa_tab-rec TO v_outfile.
            CLEAR wa_tab.
          ENDLOOP.  " LOOP AT  i_tab INTO wa_tab
    Close the file
          CLOSE DATASET v_outfile.
        ENDIF.  " IF sy-subrc <> 0
      ENDIF.  " IF NOT i_tab IS INITIAL
    ENDFORM.                    " Create_Report

  • Unable to Open File In Application Server

    Hi All,
    I have generated csv file in application Server with the help of Open HUb Destination.In Open Hub 2 files will we generated(1 is structure of the file(s_ztest),2 is data file(ztest)).When i click on the structure of the file then it is opening,but when im tryin to open data file(i,e(ztest)its giving an message like UNABLE TO OPEN THE FILE.
    Please let me know how it can be opened.
    Thanks In Advance,
    Bobby

    Hi All,
    File is Opening,it was an error in filed mapping....

  • Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory

    Dear Experts,
    Please note that I am facing a chllenge while confiuguring the VNCServer on the local test Server. The Local Test Sver OS Version is Redhat Enterprise Linux Server 
    Release 5.5 32-bit. Please review the following error message and advise me on how to fix the vncserver issue.
    [root@test .vnc]#  cat xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    gnome-session &
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    [root@test .vnc]#  cat /etc/sysconfig/vncservers
    # The VNCSERVERS variable is a list of display:user pairs.
    # Uncomment the lines below to start a VNC server on display :2
    # as my 'myusername' (adjust this to your own).  You will also
    # need to set a VNC password; run 'man vncpasswd' to see how
    # to do that.
    # DO NOT RUN THIS SERVICE if your local area network is
    # untrusted!  For a secure way of using VNC, see
    # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
    # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
    # Use "-nohttpd" to prevent web-based VNC clients connecting.
    # Use "-localhost" to prevent remote VNC clients connecting except when
    # doing so through a secure tunnel.  See the "-via" option in the
    # `man vncviewer' manual page.
    # VNCSERVERS="2:myusername"
    # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
    VNCSERVERS="1:oracle"
    [root@test .vnc]# ls
    passwd test.oracle.co.zm:1.pid  test.oracle.co.zm:3.log  test.oracle.co.zm:5.pid  test.oracle.co.zm:6.pid
    test.oracle.co.zm:1.log test.oracle.co.zm:2.log  test.oracle.co.zm:5.log  test.oracle.co.zm:6.log  xstartup
    [root@test .vnc]# more test.oracle.co.zm:1.log
    Xvnc Free Edition 4.1.2
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 70101000, The X.Org Foundation
    Tue Mar 11 11:18:37 2014
    vncext:      VNC extension running!
    vncext:      Listening for VNC connections on port 5901
    vncext:      Listening for HTTP connections on port 5801
    vncext:      created VNC server for screen 0
    Could not init font path element unix/:7100, removing from list!
    localuser:root being added to access control list
    No profile for user 'root' found
    SESSION_MANAGER=local/test.oracle.co.zm:/tmp/.ICE-unix/13603
    Window manager warning: Log level 32: could not find XKB extension.
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (nm-applet:13697): WARNING **: No connections defined
    Initializing nautilus-open-terminal extension
    Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-impress.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-calc.desktop for panel launcher: No such file or directory
    [root@test .vnc]#
    Regards
    Mohammed Abdul Muqeet

    Hi,
    Try these 3 solutions
    1. Did you start vncserver services as:
    service vncserver start
    2.Check that port 5901 has not been blocked by a firewall:
    # nc -vz localhost 5901
    You should get a connection and a termination. If you get an error, fix the firewall.
    3. service iptables stop
    Hope This Helps
    Regards,
    -DK

  • Problem opening file in application server received by FTP.

    Hi,
    I am using FTP_COPY to receive file in application server.
    I am receiving file from FTP but I am unable to open them because the mode was set as 640 as in attributes.
    Could you please help me in how to receive in readable format...
    Any suggestions to use FTP commands?
    Thanks in advance.

    If you do not have authorizations to open the file its easy: there is nothing you can do except contact the ftp admin.

  • InfoSpoke fails with message "Could not open file on application server"

    BW Experts,
    I created an InfoSpoke that is configured to extract to a flat file. The name of the file is specified using a logical filename. During extraction, the infospoke reports the error message "Could not open file on application server" adnd  marks the extraction process as red(failed). I have tried to run the InfoSpoke in background mode and in dialog mode and the same error appears. After i run in dialog mode, i checked SU53 for authorization errors and did not find any. I also tried changing the Logical filename setup in transaction FILE to a more "friendly" directory in which i'm sure i have authorizations (e.g. my UNIX home directory) and im still getting errors.
    Can you please share your thoughts on this? Any help will greatly appreciated. I also promise to award points.

    Hi Nagesh,
    Thanks for helping out.
    If i configure the InfoSpoke to download to a file using "File Name" option and also check the "Application server" checkbox, the extract works correctly (extraction to the defualt SAP path and filename=infospoke name). If i configure the InfoSpoke to download to the local workstation, the InfoSpoke also works correctly. It's only when i configure it to download to the application server and use the "Logical filename" option, that i encounter a failed extract.
    Here are the messages is the Open Hub Monitor:
    (red icon) Request No.147515
    0 Data Records
    Runtime 1 sec.
    (red icon)Run No. 1
    0 Data Records
    Runtime 1 sec.
    Messages for Run
    Extraction is running RSBO 305
    Could not open file on application server RSBO 214
    Request 147515 was terminated before extraction RSBO 326
    Request 1475151: Error occured RSBO 322
    If i clink on the error message, no messages nor clues are displayed. Note, this is a new InfoSpoke that is currently in the dev system.
    Please help.

Maybe you are looking for

  • ITunes 10.3.1.55 not recognising iPhone 3gs/iPad 2

    Hi I hope someone can help! I updated to latest iTunes when I purchased iPad 2 and for three days all was fine.  I'm running a 64 bit laptop on Windows 7.  Yesterday the pc ran a windows update and installed some security changes, not sure if this wi

  • How to get PXI 5152 working in LabVIEW 7.0

    Hi,..I recently purchased a PXI 5152 digitiser. The driver CD had NI Scope 3.4 which, when installed worked fine. But it also installed NI DAQ MX 8.5 (min. requirement) and removed my older version of DAQMx.. This new version DAQMx 8.5 does not suppo

  • Issue with processing time of JDBC receiver adapter

    Hi all, We are using PI 7.1 EHP1. We have an issue with JDBC receiver adapter taking too much time to process messages. We are using XML SQL format message protocol with INSERT_UPDATE as the document format. Each message can contain multiple records,

  • Lion OS and Epson printers not printing photos through Aperture or CS4

    Hi everyone, I have done a search on the above topic but nothing obvious is coming up as a solution (ie...sorry if it has been done before) It's driving me mad. I have 2 epson printers, R300 and Stylus 1400.  They were both performing perfectly well

  • Wuthholding Tax Calculation

    If taxes are deducted at sources for 1099 vendors, then do we need to ask the client for tax percentages or is it entered when paying the taxes. When asked the client we were told that the percentage keeps changing and depends on what the 1099 vendor