Mysteriously Missing Main.asc

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Mysteriously Missing Main.asc

    Have any of you ever heard of a main.asc file being "mysteriously" deleted from
    an application's directory?

    I'm working on a client project that was being developed on an in-house Fedora
    Core 5 server where I'd installed FMS. I uploaded the client's video streams
    and coded main.asc's for two separate applications. One of them, the larger of
    the two, had some very important code in there that took me several all
    nighter's to get right.

    Long story short, the project got put on hold for a while and now I'm taking
    another look at it, and moving it to a server live on the internet. In doing
    so, I'm seeing that the main.asc file I wrote for one of the projects is just
    plain GONE, like it never existed. The other application is fine, untouched,
    but the more important of the two has another strange twist: a directory called
    "http" that I never created. Inside it are some streams (placed in their own
    subdirectories) from the application's "streams" directory that I never moved
    in there. And of course like I said, the main.asc file is just plain gone.

    Looking at /var/log/messages doesn't give me any information (looks like the
    logs just rotated a day or two ago). Does anyone have any ideas how I can find
    out:

    a) how the hell this was deleted,
    b) if there's a backup somewhere on the system (already tried updatedb/locate
    main.asc, no help)
    c) how to prevent it from happening again

    Thanks in advance for any assistance you can provide.

    Josh Hughey Guest

  2. Similar Questions and Discussions

    1. Missing main Contribute Window
      My main Contribute window has moved itself off to the bottom right corner of my screen. Expose can bring it to the front but it disappears off the...
    2. #20709 [Com]: Session variable getting mysteriously set
      ID: 20709 Comment by: dpegasusm at gmail dot com Reported By: DChri36990 at aol dot com Status: No Feedback...
    3. CFChart mysteriously stopped working
      Good morning. I have a few pages on an Intranet site that utilize the cfchart tag. They were all working fine, as of last week, but this morning,...
    4. Mysteriously deleted contents of an entire layer
      So this has happened to me twice now. I have a large (6x5 11x17 pages) file with 4 layers in it. I was resizing a text box, and mysteriously the...
    5. Apps mysteriously not appearing in Dock
      I noticed this once a couple weeks ago when I started Fink Commander and then couldn't find it in the Dock. Having no idea what caused it, I...
  3. #2

    Default Re: Mysteriously Missing Main.asc

    I'm wondering if you've got some security holes there. Did you look at any of
    the streams? Are they something that would have been published by an authorized
    user, or does it appear that someone has been adding their own streams and
    leeching your bandwidth/connections?

    The missing main.asc is what makes me suspicious. FMS wouldn't remove its own
    files like that, and since other files are where they should be, it sort of
    rules out the file missing as a result of a system restore. Removing the
    main.asc would make the application wide open to abuse, so if someone wanted to
    leech effectively, removing the main.asc would be helpful to them.

    What do your server logs (not the FMS logs, the network level logs) tell you?
    Do you see anything odd? If someone broke into the server and deleted your
    main.asc, it wouldn't show up in the FMS logs.

    JayCharles Guest

  4. #3

    Default Re: Mysteriously Missing Main.asc

    Hi Jay, thanks for replying.

    As for a security break-in, I don't think that happened as this particular
    server from which it's missing is firewalled from the outside world denying ALL
    connections on ALL ports from anything except the local intranet. I'm with you
    in thinking FMS wouldn't delete its own file, so I'm wondering if some process
    on the system somehow did this (it's a Fedora Core 5 box). Only problem is,
    the only logfile I know to check has already rotated it appears. I dug around
    a few of the FMS logs and didn't see anything out of the ordinary there either.

    Again, thanks for the reply. Any other ideas or thoughts?

    Josh Hughey Guest

  5. #4

    Default Re: Mysteriously Missing Main.asc

    Well.. the presence of that http dir makes me wonder a bit. FMS creates that
    directory when the application makes an http request (like loadVars or
    remoting). FMs might also do that when the application makes a netconnection to
    another server, but I'm not 100% sure on that. Does you app use any loadvars or
    remoting calls that would have cause FMS to create that directory? You
    mentioned that there were some flv files in there... what's in them?
    Audio/video, or just data?

    JayCharles Guest

  6. #5

    Default Re: Mysteriously Missing Main.asc

    Yes actually, my application makes calls to a web service that I coded in PHP.
    It's been tested and seems to work fine without error (it's actually very
    simple, not much code). There isn't anything inside each directory under the
    http directory, just a bunch of empty directories that are the names of streams
    I accessed to check the validity of the webservice through FMS.

    So we know FMS created those directories. That's one thing I was worried
    about, and now we know. Does that shed any light on how main.asc was deleted,
    though?

    Thanks again.

    Josh Hughey Guest

  7. #6

    Default Re: Mysteriously Missing Main.asc

    It's good to know the http dir and it's children are there for legitimate
    reasons.

    Short of human error, and attack on the server, or the server having been
    restored from a previous backup, I can't come up with any ideas on the missing
    main.asc file.

    JayCharles Guest

  8. #7

    Default Re: Mysteriously Missing Main.asc

    Thanks for your input Jay. The only conclusion I can reach is that it must
    have been human error. I went through ~/.bash_history and did a search for
    anything pertaining to main.asc, and found that instead of "cp" I used "mv" to
    MOVE the file to another location. Unfortunately that location was cleaned out
    a bit over a month ago, so the only copy of the file was deleted.

    My primary concern was that FMS somehow did it, but now that we've ruled that
    out, and now that I know how/why the http directory was created, I'm "OK" now.

    Again, thanks for your help. I feel like an idiot but hey, ya know...gotta
    lower my pride somehow ;-)

    Josh Hughey Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139