CF 8 uninstall script deletes server files

We desperately need any help or guidance anyone can offer!
We are using Linux Red Hat Enterprise 4 w/ cPanel and ColdFusion 8 Enterprise (version 8.01).  Plain vanilla install of Linux, no modifications. CF8 multiserver with Apache web server install runs clean, though the auto start script "coldfusion8multi" would not run (missing shell parameter as described here:  http://ianwinter.co.uk/2008/07/21/cf8-jrun-init-script-error/ ).  System and CF runs fine after install.
Then when you run the CF8 uninstall script, it says it runs fine and completes but it deletes everything in the /bin directory.  You can't even run something as simple as ls for find.  This has happened twice.  No option but to format the drives and reinstall EVERYTHING from scratch again.
This thread also mentions this problem:
http://www.houseoffusion.com/groups/cf-linux/thread.cfm/threadid:1089
I also would very much appreciate any help, thoughts, suggestions or direction.
I also highly recommend everyone backup their system before you ever run "uninstall" from CF8 in case you get this full system uninstall "feature" also.

We desperately need any help or guidance anyone can offer!
We are using Linux Red Hat Enterprise 4 w/ cPanel and ColdFusion 8 Enterprise (version 8.01).  Plain vanilla install of Linux, no modifications. CF8 multiserver with Apache web server install runs clean, though the auto start script "coldfusion8multi" would not run (missing shell parameter as described here:  http://ianwinter.co.uk/2008/07/21/cf8-jrun-init-script-error/ ).  System and CF runs fine after install.
Then when you run the CF8 uninstall script, it says it runs fine and completes but it deletes everything in the /bin directory.  You can't even run something as simple as ls for find.  This has happened twice.  No option but to format the drives and reinstall EVERYTHING from scratch again.
This thread also mentions this problem:
http://www.houseoffusion.com/groups/cf-linux/thread.cfm/threadid:1089
I also would very much appreciate any help, thoughts, suggestions or direction.
I also highly recommend everyone backup their system before you ever run "uninstall" from CF8 in case you get this full system uninstall "feature" also.

Similar Messages

  • Web sites isn't loading in my browser, uninstalled completely deleted all files form program files and new installation already done , issue isnt fixed

    when i try to load online chat sites these are not loading in my browser. tried on different sites but none of them loaded. www.migchat.com , i have already done the complete un install and a fresh instalation but prblm is still same.

    It loads O.K. for me. Have you tried a different browser?
    This may not be of immediate help but your PriceMeterLiveUpdate Update shown in your System Details is not well regarded. Do you have any use for it?
    Suggest you Google for information and advice.

  • Installed java and deleted the files---NOT ABLE TO INSTALL java AGAIN

    1) I installed jre,jdk1.6 and then without uninstalling i deleted the files.
    2) I now want to install java for creating web application.
    But I am not able to install. While installing I get a "file corrupted" message and the installation aborts.
    What can I do to install java again?

    With the info provided the best advice I can give is reformat your drive and start fresh.
    If that doesn't sound palatable, then you could maybe tell us at least what OS you are running and if you really want help the exact version of the OS.
    Then you can tell us what you have already tried. Like running the uninstaller now, installing to a defernt directory, etc.
    Also have you tried redownloading the JDK? Maybe the file really is corrupted.
    And while file is it saying is corrupted.
    Like everything else here, you need help, we don't need to help you, and we can't read minds. So if you are willing to put forth a tiny bit more effort to provide as much info as possible, you are more likely to get a meaningful response with a solution.
    JSG

  • How to delete zip file in sftp server

    Hi Gurus,
    I am having one .zip file with data files inside on the sftp server. Can you please how to delete the .zip files in the sftp server. I am able to delete normal files by using 'rm' on sftp.
    And one more request my sftp is prompting for the password everytime, then i need to enter the password manually. Can any one suggest how to write in shell script to accept that.
    Thanks in advance.
    Regards
    Nagendra

    You might want to look into user equivalence and configure a certificate for ssh so it does not prompt for a password.
    It will also allow you to use sftp without a prompt for a password.
    On the server side:
    Edit /etc/ssh/sshd_config and remove the # from the following:
    RSAAuthentication yes
    PubkeyAuthentication yes
    AuthorizedKeysFile .ssh/authorized_keys
    Then restart the ssh server:
    /etc/init.d/sshd restart
    Login as the user for whom this is for:
    su - <username>
    mkdir .ssh
    chmod 700 .ssh
    On the client side:
    Run the following command:
    ssh-keygen -t rsa (omit password)
    Then use the following to copy the public key from the client to the
    corresponding login .ssh directory on the server side;
    scp .ssh/id_rsa.pub username@remote_host:.ssh/authorized_keys

  • Script to archive File Server Data

    Hi All,
      I'm looking for a script to remove the file server data by keeping last 2 years?
    As

    Hi As,
    In addition, To delete old files based on the datetime via Powershell, please refer to the script below, which will delete files created older than 2 years in the folder:
    $years=2
    $limit = (Get-Date).Addyears(-$years)
    $path = "e:\file"
    # Delete files older than the $limit.
    Get-ChildItem -Path $path -Recurse -Force | Where-Object { !$_.PSIsContainer -and $_.CreationTime -lt $limit } | Remove-Item -Force -whatif
    The -whatif parameter will list the files which will be deleted by running the the cmdlet remove-item but do not execute the deletion.
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Trying to delete a file with Powershell script ran by a service but issues with uac

    I'm having issues with a script that will delete a file on the C-Drive of a server. the script looks like this:
    param(
    [Parameter(Mandatory=$true)][string]$hostname
    $StrFileName = "C:\Program Files\NSClient++\nsclient.log"
    $LogLocal="c:\Nagios\naf_delete_nscp_log_file.log"
    $Date = Get-Date -Format "yyyy-MM-dd hh:mm:ss"
    "$date : NSClient logfile deletion requested on $hostname" | Out-File -filepath $LogLocal -Append
    If (Test-Path "$strFileName"){
    Remove-Item $strFileName -Force
    $Date = Get-Date -Format "yyyy-MM-dd hh:mm:ss"
    "$date : NSClient logfile deleted on $hostname" | Out-File -filepath $LogLocal -Append
    The script is initiated from a Nagios quick action which will use nrpe to pass the host as parameter and make the nscp service, which runs as local system, run it. It works perfectly on servers that have no uac enabled, but I can't get it to work on servers
    with uac. I've tried numerous options, but none seem to work. Any tips or advice to get this working with Powershell v2 code on servers with uac enabled is highly appreciated.
    Thanks.
    Willem

    Hi Willem,
    one thing to note: I don't see why your script itself has a hostname parameter.
    One way around UAC has always been the Windows Task Scheduler. If you register a task as System run and triggered by an event, you can simply call the event locally (which doesn't require admin permissions) and it will perform the task.
    I don't know how your Nagios construct works and the script by itself doesn't make much sense. If you want advice on how to do this without resorting to tasks, I'd need to know more about the system you are using.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • System exception while deleting the file from app server in background job

    Hi All,
    I have a issue while the deleting the file from application server.
    I am using the statement DELETE DATASET in my program to delete the file from app server.
    I am able to delete the file from the app server when i run the program from app server.
    When i run the same report from background job i am getting the message called System exception.
    Is there any secuirity which i need to get the issue.
    Thank You,
    Taragini

    Hi All,
    I get all the authorization sto delete the file from application serever.
    Thing is i am able to run the program sucessfully in foreground but not in the background .
    It i snot giving any short dump also just JOB is cancelled with the exception 'Job cancelled after system exception ERROR_MESSAGE'.
    Can anybody please give me suggestion
    Thanks,
    Taragini

  • Help needed - OS Command foe deleting a file from Appplication server.

    Hi,
    I have requirement, where in i need to delete a file from the application server. It has to be done automatically. I thought of using OS Command for achieving the same. Can anyone help me in achieving it. The OS of my application server system is UNIX.
    Thanks in advance!!
    P.S: Points will be rewarded.

    Hello Sudeep,
    If you define the command for each operating system using transactions SM69 (You can test it with SM49) and then call it using SXPG_COMMAND_EXECUTE which contains a parameter defining the operating system (SY-OPSYS)
    then it does not matter which operating system is running, the function module always calls the correct version of the command.
    So, for example you could define a command 'OS_COMMAND'
    which deleted a file. This would have one version for Dos
    which said 'del', and a second version for unix which said 'rm'.
    The correct command would be specified by the call to SXPG_COMMAND_EXECUTE because the operating system parameter differentiates between the two commands.
    [USING PROCESS CHAINS IN SAP BW|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a7cd90-0201-0010-49a1-d730a56895f4]
    SXPG_COMMAND_LIST_GET – Reads a list of external OS commands
    Thanks
    Chandran

  • How to delete a file from Appliction Server.

    Hi Gurus,
    I want to delete a file from application server .
    can any one tell me the FM/BAPI.
    Plz Reply me ASAP.
    Thanks in Advance.

    BAPI_DOCUMENT_DELETE ?
    GUI_DELETE_FILE ?
    maybe just go to SE37, enter DELETE, and click on the document icon to find from repository system.
    Regards,
    Vincent

  • How to delete a file from application server?

    Hi gurus,
    i want delete a file from application server . can any one tell me the BAPI/Fm .
    thanks in advance

    See the replies of the thread;
    How to delete  File from the Application Server,ABAP
    But i can smell something fishy in both  The specified item was not found. and The specified item was not found. style of posting questions. Also both of you have similar questions in your profile....
    Hmmm, Mods have to take care of the Rest...
    Regards
    Karthik D

  • File from application server -Read and process and delete the file .

    Hi All,
             I writing a ZEE program which will read the file from application server(file will be in text delimat format) and moving the data to internal table and uploadind data base.The part which iam facing problem is -
    > I hve read the file from application server like below ,
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
    Spliting part i having problem .i need to seperate each field which is seperate from tab delimite and pass it into respective fields of internal table .
    Second if another file come to the appicaltion server , wether my first file will be there ? or should i need to delete the first file after redaing how should i proceed further ?.
    Regards
    SRIRAM...
    THANKS In ADVANCE

    HI,
    1.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    DO.
    CLEAR: wa_string, wa_uploadtxt.
    READ DATASET ld_file INTO wa_string.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    SPLIT wa_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_uploadtxt-name1
    wa_uploadtxt-name2
    wa_uploadtxt-age.
    APPEND  wa_uploadtxt TO itab.
    ENDDO.
    CLOSE DATASET ld_file.
    ENDIF.
    2. If the another file get's generated in the application server with same file name then the data in old file get's over written with the new data. You are not required to delete the file.

  • In adf,how to delete a file generated on server,when the webpage is closed

    Hi,
    I have an application consisting of 2 pages. in the 1st page i will give some input details and when i click on submit, some java code is getting executed in the back. That java code generates a csv file in the server location. after succesful execution of java code, i was redirected to 2nd page. In 2nd page, i am giving option to download and when the user clicked on download button and after the file is downloaded -- in the backend i am deleting the file from the server. Till this point everything is fine. But if the user didnt click on the Download button and instead if he closes the browser, the csv file gets remained on the server itself. This is the issue i am facing .. I am not able to get an idea in ADF Framework, how to delete a file when the browser is closed. Please help me out in this.
    Thanks in advance !!!

    ADF has nothing to do with tracking browser close buttons. What you can do is call a JS function and call the method which deletes the file from within the JS function. ADF has a component for calling java code from JS call.

  • How to delete the files from server through OAF page

    Hi All,
    I have a requirement in which i am creating files on server through my CO code.
    Now once the page is rendered, i want to delete the files from the server.
    Just wondering how can we achieve this.
    Kindly advice!
    Thanks,
    Sachin

    Hi Sachin
    all the methods in the processRequest() are called during loading of the page.
    all the methods in the processFormRequest() are called during any action events on the page.
    So Use the method in processFormRequest() : write a method in
    that on which action you want to delete the file.
    regards
    sridhar

  • Problem with FM SXPG_COMMAND_EXECUTE in deleting a file on server.

    Hi All,
    My Task is to delete a file with version number 6 and rename all other files, so that my new file will be version 0.
    Am using the FM SXPG_COMMAND_EXECUTE to delete/rename a file on server.
    Though, this is working fine in debugging mode I can see the file getting deleted in regular run, which is followed by renaming some files, it is NOT working in regular run.
    Somehow the deletion and renaming are not happening correctly in regular run, but does happen successfully while in debugging.
    Am I missing anything or any refresh or delay needed?
    Here is my code for DELETE :
    CONCATENATE P_PATH '\' P_TABNAME '_6.dat' INTO LF_FILE.
      CONDENSE LF_FILE NO-GAPS.
    *// Check if this file exists
      OPEN DATASET LF_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC EQ 0.
    *// Delete this file
        DELETE = LF_FILE.
        CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
          EXPORTING
            ADDITIONAL_PARAMETERS      = DELETE
            COMMANDNAME                = 'ZDELETE'
            OPERATINGSYSTEM            = OPSYS
            STDERR                     = 'X'
            STDOUT                     = 'X'
            TARGETSYSTEM               = EHOST
            TERMINATIONWAIT            = TERMWAIT
            TRACE                      = ' '
          IMPORTING
            STATUS                     = RETCODE
          TABLES
            EXEC_PROTOCOL              = PROT
          EXCEPTIONS
            COMMAND_NOT_FOUND          = 01
            NO_PERMISSION              = 02
            PARAMETERS_TOO_LONG        = 03
            PARAMETER_EXPECTED         = 04
            PROGRAM_START_ERROR        = 05
            PROGRAM_TERMINATION_ERROR  = 06
            SECURITY_RISK              = 07
            TOO_MANY_PARAMETERS        = 08
            WRONG_CHECK_CALL_INTERFACE = 09
            X_ERROR                    = 10
            OTHERS                     = 11.
    ENDIF.
    Regards
    Raj
    Edited by: Rajasekhar Dinavahi on Apr 14, 2010 11:45 AM

    Hi All,
    Problem resolved.
    We need ensure all files which are opened [by OPEN DATASET], are CLOSED before trying any operation like DELETE or RENAME on the files.
    Regards
    Raj

  • 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

Maybe you are looking for

  • Steps to create the standby with Hot Backup........?????

    Hi All I am planning to create the Physical standby with Hot backup .... Can anyboby give me the link/steps which explains how to do this? Thanks Gagan

  • Exception occurred - help me please

    Hi, I am compiling some applets from Eclipse, I arrived to my last applet and I tested it in another PC with a MSVM ver 1.1.4 after sign it with my security certificate. These applets work with Sun VM but when I open just my last applet with the vers

  • How to backup Apps on a Mac?

    I need to send in my Storm 9530 for repair, if not replacement. I can back up data, but the apps I downloaded from various sites are not backed up. How do I back this up? I can't find any info on how to do this on a Mac... 

  • Computing 2 cummulated key figures

    Hi All, We receive a requirement to develop a report that would able to compute 2 cummulated key figures in BW. I was informed this was not able to be done in the normal BeX query formula as the cummulative values are computed during query execution.

  • App problem on desktop.

    I have downloaded an app from my iphone (3GS) to my desktop with the latest version of iTunes and OSX version 10.7. When I try to open this app in the desktop nothing happens, it just sits there. Is there a way to get this app to play? M