Question about a weird file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Erica
    Senior Member
    • Dec 2009
    • 118
    • 4.1.x

    [Forum] Question about a weird file

    Hi ok i noticed it about a month ago a file in my ftp /public_html/forums, called zdberr2546844291bb683409e741c6bfea6d8a.dat now i don't remember ever adding that in there or having it in there so i deleted it and it comes back not sure is this normal or not but would like to know if anyone gets this in there and seems to change dates everyday the file zdberr2546844291bb683409e741c6bfea6d8a.dat so can someone tell me what this file might be and am i getting harmed thanks.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    #2
    Don't know. It isn't part of vBulletin. Could ask your hosting company or the authors of any addons.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Erica
      Senior Member
      • Dec 2009
      • 118
      • 4.1.x

      #3
      Originally posted by Wayne Luke
      Don't know. It isn't part of vBulletin. Could ask your hosting company or the authors of any addons.
      Ok did that made a Ticket and here's what they emailed me back.

      Code:
      Hello, 
         I cannot tell you exactly what the file does.  However a search  externally produced this It is from a class_core.php file which is part  of vbulletin. 
      ./forums/includes/class_core.php:                $tempfile = $tempdir."zdberr$unique.dat"; 
      
          if (!$vbulletin->options['disableerroremail']) 
                  { 
                      if (!$vbulletin->options['safeupload']) 
                      { 
                          $tempdir = ini_get('upload_tmp_dir'); 
                      } 
                      else 
                      { 
                          $tempdir = $vbulletin->options['tmppath'] . '/'; 
                      } 
      
                      $unique = md5(COOKIE_SALT); 
                      $tempfile = $tempdir."zdberr$unique.dat"; 
      
      
      Best regards, 
      BretA 
      
      Linux Systems Administrator 
      HostGator.com  LLC 
      [URL]http://support.hostgator.com[/URL]
      So any ideas on this if it's normal or what should i do.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74132

        #4
        Hmm.. First that I have heard of the file. Appears to be code to try and prevent email flooding of database errors. I'd fix the errors in listed in the file.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Erica
          Senior Member
          • Dec 2009
          • 118
          • 4.1.x

          #5
          Originally posted by Wayne Luke
          Hmm.. First that I have heard of the file. Appears to be code to try and prevent email flooding of database errors. I'd fix the errors in listed in the file.
          Ok you lost me there fix what and if this is not normal what do i need to do i'm a bit lost here.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74132

            #6
            The file should contain the log of various database errors. They were written to the file because you received an email with a database error within the previous minute. If you're database is working properly you will never see this file. So if you open the file and fix the errors listed within it, you won't see it anymore.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Erica
              Senior Member
              • Dec 2009
              • 118
              • 4.1.x

              #7
              Originally posted by Wayne Luke
              The file should contain the log of various database errors. They were written to the file because you received an email with a database error within the previous minute. If you're database is working properly you will never see this file. So if you open the file and fix the errors listed within it, you won't see it anymore.
              Ok well not sure how to open a file dat cause notepad doesnt read it any suggestion?

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74132

                #8
                Any modern text editor should be able to read it. I suggest trying Notepad++ it is available free on the internet. You can probably change the extension to .txt to have Notepad read it.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                • Erica
                  Senior Member
                  • Dec 2009
                  • 118
                  • 4.1.x

                  #9
                  Originally posted by Wayne Luke
                  Any modern text editor should be able to read it. I suggest trying Notepad++ it is available free on the internet. You can probably change the extension to .txt to have Notepad read it.
                  all it shows is this 13207251452006 unless i did something wrong but thats only thing in there.

                  Comment

                  • Wayne Luke
                    vBulletin Technical Support Lead
                    • Aug 2000
                    • 74132

                    #10
                    Then delete it.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment

                    • Erica
                      Senior Member
                      • Dec 2009
                      • 118
                      • 4.1.x

                      #11
                      Originally posted by Wayne Luke
                      Then delete it.
                      lol thats the thing it's weird i delete it and in a few hours another new one comes back.

                      Comment

                      • Wayne Luke
                        vBulletin Technical Support Lead
                        • Aug 2000
                        • 74132

                        #12
                        Are you getting database error emails? Is the technical contact email in your config.php a valid email address?
                        Translations provided by Google.

                        Wayne Luke
                        The Rabid Badger - a vBulletin Cloud demonstration site.
                        vBulletin 5 API

                        Comment

                        • Erica
                          Senior Member
                          • Dec 2009
                          • 118
                          • 4.1.x

                          #13
                          Originally posted by Wayne Luke
                          Are you getting database error emails? Is the technical contact email in your config.php a valid email address?
                          no database errors and does have the right email in config.php

                          Comment

                          • bflop
                            New Member
                            • Sep 2006
                            • 5
                            • 3.8.x

                            #14
                            I too have this file in my forum root directory. Noticed it for the first time yesterday when I upgraded to 4.1.8. I deleted it before I upgraded as it didn't appear normal and I was concerned it was a security breach related to the previous two patches for 4.1.7. Look this morning and there it is again. Opening the .dat file in a text editor only shows a few digits and nothing else. I've deleted it again.

                            I have purposely restarted Apache and MySQL a few times this morning and I did receive the e-mails from vBulletin about the database being down... so that's working as it should, but I would like to know what that .dat file is and why it keeps getting recreated after I delete it. Thanks.
                            Bernie
                            Disco Music.com - http://www.discomusic.com/
                            DiscoMusic.com is a multi award winning resource since 1996 and a thriving interactive community for Disco, R & B, Soul, House, Garage and Dance music record collectors / DJs or '70s / '80s nostalgia buffs.

                            Comment

                            • Trevor Matthews
                              Senior Member
                              • Oct 2010
                              • 537
                              • 4.1.x

                              #15
                              I found a similar file after running a suspect files search.
                              I just deleted it and will keep an eye on it.......
                              Regards
                              Trevor

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...