Failed to open dir: Bad file descriptor

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Failed to open dir: Bad file descriptor

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #146687
    Marc
    Participant

    I am seeing this warning on my backup log. Is this an issue? I am using a shared hosting account on GoDaddy. Here is more of the detail:

    0000.006 (0) Opened log file at time: Tue, 08 Mar 2016 09:01:26 +0000 on https://www.xxx.com
    0000.008 (0) UpdraftPlus WordPress backup plugin (https://updraftplus.com): 2.11.29.22 WP: 4.4.2 PHP: 5.3.6 (Windows NT P3NW8SHG247 6.0 build 6002 (Windows Server 2008 Enterprise Edition Service Pack 2) i586) MySQL: 5.5.43 Server: Microsoft-IIS/7.0 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 11.6M | 12.8M) multisite: N mcrypt: Y LANG: ZipArchive::addFile: Y
    0000.011 (0) Free space on disk containing Updraft’s temporary directory: 172045.8 Mb
    0000.018 (0) Tasks: Backup files: 1 (schedule: manual) Backup DB: 1 (schedule: manual)
    0000.045 (0) Requesting semaphore lock (fd) (apparently not via scheduler)
    0000.049 (0) Semaphore (fd) was stuck, set lock time to 2016-03-08 09:01:26
    0000.052 (0) Semaphore (fd) reset to 1
    0000.055 (0) Set semaphore last lock (fd) time to 2016-03-08 09:01:26
    0000.056 (0) Semaphore lock (fd) complete
    0000.064 (0) Backup run: resumption=0, nonce=5a3f065076c0, begun at=1457427686 (0s ago), job type=backup, label=xxx
    0000.067 (0) Scheduling a resumption (1) after 300 seconds (1457427986) in case this run gets aborted
    0000.113 (0) Checking if we have a zip executable available
    0000.118 (0) Creation of backups of directories: beginning
    0000.137 (0) Beginning creation of dump of plugins (split every: 400 Mb)
    0000.143 (0) PHP event: code E_WARNING: opendir(D:\Hosting\2318831\html/,D:\Hosting\2318831\html/) [function.opendir]: Access is denied. (code: 5) (line 472, D:\Hosting\2318831\html\wp-content\plugins\updraftplus\class-updraftplus.php)
    0000.145 (0) PHP event: code E_WARNING: opendir(D:\Hosting\2318831\html/) [function.opendir]: failed to open dir: Bad file descriptor (line 472, D:\Hosting\2318831\html\wp-content\plugins\updraftplus\class-updraftplus.php)

    #146698
    udadmin
    Keymaster

    Hi,

    The message is saying that there was no permission for UpdraftPlus to read the contents of the directory D:\Hosting\2318831\html, which is the root directory of your WP install. It’s not a problem – that part of the code is just scanning for temporary zip files left behind by one of the possible zip engines that your web server might have installed (but, the least likely one to be used). You can just ignore it.

    David

    #146701
    Marc
    Participant

    Btw, I found this. https://bugs.php.net/bug.php?id=43817

    Its apparently a PHP bug on Windows machines.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Failed to open dir: Bad file descriptor’ is closed to new replies.