Announcement

Collapse
No announcement yet.

Lots of admin.mvc files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lots of admin.mvc files

    I'm looking in a store via FTP (the directory above the root) and I'm seeing (so far) 125 numerated copies of the admin.mvc admin.mvc.1 - admin.mvc.125 - forgive me, but what the hell???
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    I've not seen this occur, and our CTO said failed updates would not cause this; I can only hazard a guess that perhaps someone is maintaining files on that site using some type of content management software / FTP software that is accidentally being told to upload to mm5 and instead of overwriting, it creates a new copy, or something along those lines. If the site is hosted here we could look at the dates and logs to see when the files were created and perhaps find the how/why they were created.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      I've only seen that with stores who don't host with us and normally they have a lot of other "backup" files all over the place. 125 numerated copies is a bit on the extreme side but I've certainly seen script files renamed in order to preserve them before uploading new files or restoring from backup.

      Jim McCormick
      Miva Merchant Support
      866-284-9812

      https://www.miva.com

      Comment


        #4
        Originally posted by Jim McCormick View Post
        I've only seen that with stores who don't host with us and normally they have a lot of other "backup" files all over the place. 125 numerated copies is a bit on the extreme side but I've certainly seen script files renamed in order to preserve them before uploading new files or restoring from backup.
        Since the site is hosted with Miva would you like me to open a support ticket so you can look at it? They appear to be re-iterating every hour at 8 minutes and 1 (or 2) seconds after the hour.
        Last edited by lesliekirk; 08-03-16, 11:20 AM.
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment


          #5
          Originally posted by lesliekirk View Post

          Since the site is hosted with Miva would you like me to open a support ticket so you can look at it? They appear to be re-iterating every hour at 8 minutes and 1 (or 2) seconds after the hour.
          Yes please. Throw a link to this thread in the email body when you create the ticket.
          Jim McCormick
          Miva Merchant Support
          866-284-9812

          https://www.miva.com

          Comment


            #6
            Based on that description, they probably have set up a cron job that is making admin.mvc requests using 'wget' as the software for making a request, and not supplying the relevant arguments to not save the output of the request. By default, wget saves output to a file named after the file name requested in the URL. I'm betting it adds a number if the same request keeps getting made.

            Telling wget to operate in quiet mode and not store output is accomplished by adding a -qO- arguemnt to it (hyphen q uppercase O, hyphen); e.g. wget -qO- http://www.domain.com/mm5/admin.mvc
            David Hubbard
            CIO
            Miva
            [email protected]
            http://www.miva.com

            Comment


              #7
              Originally posted by Jim McCormick View Post

              Yes please. Throw a link to this thread in the email body when you create the ticket.
              I opened a ticket but forgot to include this thread. I've been doing battle with my own site/server with email issues.
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #8
                Originally posted by ILoveHostasaurus View Post
                Based on that description, they probably have set up a cron job that is making admin.mvc requests using 'wget' as the software for making a request, and not supplying the relevant arguments to not save the output of the request. By default, wget saves output to a file named after the file name requested in the URL. I'm betting it adds a number if the same request keeps getting made.

                Telling wget to operate in quiet mode and not store output is accomplished by adding a -qO- arguemnt to it (hyphen q uppercase O, hyphen); e.g. wget -qO- http://www.domain.com/mm5/admin.mvc
                I am not aware of any sort of cron job that may have been set up.

                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment

                Working...
                X