Skip to main content

Invisible file after server move

Comments

4 comments

  • madmanmachines
    My host says this is a file used by cpanel during migration. The problem is that the file is not actually there or, at least, it cannot be seen. ... But if I look at the directory in a file manager, it isn't there.

    You should check the file is not hidden by having a '.' prepended to the file name. You should also check the permissions/ownerships of the file. I would recommend doing so from SSH. Also note, that you may have disabled viewing hidden files in the cPanel file manager. You may try simply moving the file out of the way to see if it is recreated. This is obviously a file pertaining to the FCGI PHP handler. Did you ensure all server configurations were replicated on new server during the migration? Thanks,
    0
  • panit
    I can view hidden files so that isn't the cause. If I use a file manager or shell to list the files, this file doesn't show up. But if I run a php script to open the directory and list the files, it is listed. If I could move it, I would. But I can't find it. It isn't where the script is saying it is. As for the configuration, the old server has been turned off but as far as I know the settings are the same.
    0
  • panit
    Just in case someone else runs across this, this is what my host finally found: That behaviour was related to a bug in PHP. You had a custom php.ini file which didn't have the session.save_path directive and temporary files were saved in the current directory rather than /tmp which is the default location. Thank you for the suggestions.
    0
  • cPanelMichael
    Hello, I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.