Welcome to the new Linux Foundation Forum!

eFax and a locked document error

kd5ywakd5ywa Posts: 28

Ok I succeded at installing the efax, but now I am having a problem with it... the efax....

And I seem to have this problem with other programs, such as my user doen't have access, such as admin powers...

my new error message in efax says...

"can't open pre-lock file /var/lock/TMP..02286: Permission denied"

it is like I don't have access to my own documents!

Comments

  • Goineasy9Goineasy9 Posts: 1,116
    Temporary files are being created by the program, they should be removed automatically when the program is finished using them. I'm not familiar with the software, but, if something like, if the fax fails to go through, and the program doesn't go back and remove the file, it could be left in a locked state. Only the people at efax themselves can tell you if this is what is actually happening.

    If you want to remove these temporary files you can go into a terminal, log in as root:
    su <enter>
    <enter password> <enter>
    migrate to /var/lock/ by typing:
    cd /var/lock/ <enter>
    Do a dir to see whats there:
    dir <enter>
    Then remove the file with:
    rm TMP*
    If there is more than one TMP file, the asterisk will remove them all.

    My /var/lock/ folder has no TMP files in it, just 4 folders, so you should be safe deleting all the TMP files.

    I would assume that the program should give you the option of saving whatever files you want to fax, so they're not just stored temporarily. This way, in case a fax bombs, you have a copy to try again. Like I said, I'm not familiar with the software, so, I'm just assuming, and it makes sense that they would offer that option.

    I'm surprised that efax doesn't have a forum or a FAQ to look up things like this. How do you create the fax? Is it in a format that can be converted to their efx format? Did the error happen after a previous fax didn't complete properly? Did you exit the program before a fax was completed? Did everything work ok and the error popped up the next time you wanted to use it?
    If removing the TMP file doesn't help. or, the error comes up again after you cleared the TMP file(s) maybe you can explain in detail what was going on before the error came up. The error alone doesn't give us much to go on.
  • saqman2060saqman2060 Posts: 777
    Well, what I can tell you, I "lock" state means you have a process running and you are trying to run the same process when the previous one is still active. Whatever is running, stop it, and try again.
  • kd5ywakd5ywa Posts: 28
    I have contacted the eFax people but I have already recieved a generic responce.... were are the developers!!!!

    Anyways,

    the full error message says:

    "efax-0.9a: 22:37:08 Error: can't open pre-lock file / var/lock/TMP..16356: Permission denied
    efax-0.9a: 22:37:08 failed page /home/username/Documents/Hello self.pdf.001
    efax-09.a: 22:37:08 finished - unrecoverable error"

    Thought more would help... I check... I can't see anything else open that would need to be shut down. All I have open right now is my remote computer access program...(which is nothing) and then the efax program..... ????
  • rifusrifus Posts: 1
    In case of Internet fax service, you could also access and preview/manage your documents in a web interface. But if you prefer a third party application for that, I would recommend you the Popcompanion, a desktop application for unified messaging, runs perfectly with no problems.
  • That maybe a permanent lock. Save your work if you can, shutdown the program and restart the machine. Once booted, try again.
Sign In or Register to comment.