Clamd "can't open file or directory"

I've just installed Mountain Lion Server on a Mac Mini, mainly for use as an email server. Everything is set up and, in the main, working ok except that if I enable anti-virus checking the mail server closes itself. (The other filtering options work fine BTW.) A look in the logs reveals a message
clamd Can't open file or directory
There's no clue that I can see which file or directory can't be opened.
Can anyone tell me where I can look for diagnostic info?
Thanks.

gambo74, Welcome to the discussion area!
It sounds like the drive directory is corrupted.
Boot from the DVD that came with your iMac. Open Disk Utility and repair the hard drive.

Similar Messages

  • Can't open file "/private/Network/Servers...

    Sometimes in an Active Directory environment....
    We open file error
    Can't open file "/private/Network/Servers/xxx-fs01.mycompany.edu/HomeXXX$/Students/YOG15/UserNa me/DOCUMENTS/filename.key"
    This happens when using the recent file/items from within Safari.
    The workaround seems to be to logout then login again. Or some seem to think that you should re-login with the UserName being case sensitive.
    I have a hard time duplicating this problem but is does in fact occur and I have a ScreenShot.
    iMac 1.83 Core Duo 1GB RAM   Mac OS X (10.4.7)   Safari 3.0.1

    Sometimes in an Active Directory environment....
    We open file error
    Can't open file "/private/Network/Servers/xxx-fs01.mycompany.edu/HomeXXX$/Students/YOG15/UserNa me/DOCUMENTS/filename.key"
    This happens when using the recent file/items from within Keynote
    The workaround seems to be to logout then login again. Or some seem to think that you should re-login with the UserName being case sensitive.
    I have a hard time duplicating this problem but is does in fact occur and I have a ScreenShot.
    I will try and see it it happens in Pages recent items list.

  • Can't open file after Keynote crashed

    I was working on a large Keynote file (about 130 Mb), when Keynote (4.0.1) quite unexpectedly. It happened a few times before, and I thought it was because of the instability of the new Leopard system. This time, however, I could not open the file after the crash. An error message was displayed: "Can't open file" followed by the path and the file name.
    Does this happen to anyone else? Can anyone help? I hate to lose the work and go back to an early version.

    Keynote and Leopard, especially in their newest iterations, are remarkably stable. That said, no file, program, or OS is totally immune from corruption. Whenever a program, or worse, your Mac, even starts to behave strangely, your first step ought to be to attend to it with a good fixit utility. Repairing permissions is usually fruitless, since it's highly unlikely there's a permissions problem. You already own *Disk Utility*, so you should try to repair the disk with that. Unfortunately, DU's disk repair is pretty wimpy, often unable to repair a problem, or erroneously reporting no problem when one obviously exists.
    So, if you own a Mac, you owe it to yourself to buy at least one (but better, two) industrial-strength utility. There are really only three to choose from:
    1. DiskWarrior is an absolute must. It's unbeatable in rebuilding the directory, and the directory is usually what's corrupted. It can now fix files, too, which is also helpful.
    2. *TechTool Pro* is an excellent suite of fixits - directory, files, defrag, and some hardware tests. It also has a wonder feature, the eDrive. This is a small (10GB) bootable partition on your boot drive which has, among other things, TTP on it. If your main boot partition has a problem, you can boot from here and usually fix things. AFAIC, it's an absolute must on a laptop which you take on trips, far from your collection of fixit disks. You can also put DW on this partition, so you have everything you need right at your fingertips.
    3. *Drive Genius* is a relative new-comer, also a good suite of fixits, and, I believe, does backups, too.
    I have 1 and 2, and that has saved me from catastrophe more than once. 1 and 3 would probably be good, too. (You ought to have more than one of these serious apps because one can sometimes fix something another can't - different proprietary algorithms.)
    One last thing: if you have anything on your computer it'd break your heart to lose (and who doesn't), remember +The First Rule of Computing+: There are two kinds of computer users: those who have already lost all their data at least once, and those who have not yet lost all their data at least once. So: *backup, backup, backup*. I vote for bootable clones, done often (at least daily if you work daily), TimeMachine is pretty good, and there are other options. Pick one, and do it religiously.

  • Can't open file syntax.vim

    I have vim installed from extra (x86_64). When I start vim I get the following error:
    $ vim
    Error detected while processing /etc/vimrc:
    line 41:
    E484: Can't open file /usr/share/vim/vimcurrent/syntax/syntax.vim
    Error detected while processing /home/nsmoot/.vimrc:
    line 63:
    E484: Can't open file /usr/share/vim/vimcurrent/syntax/syntax.vim
    Press ENTER or type command to continue
    There is not a "current" directory on my system...
    # find / -name "syntax.vim" -print
    /usr/share/vim/syntax/syntax.vim

    I had this problem, but the culprit was mercurial for me.
    If you're getting the vim72 error check what's in that directory.
    The only file in there for me was..
    # ls /usr/share/vim/vim72/syntax/
    HGAnnotate.vim
    # pacman -Qo /usr/share/vim/vim72/syntax/HGAnnotate.vim
    /usr/share/vim/vim72/syntax/HGAnnotate.vim is owned by mercurial 1.3-1
    I tested it first by moving vim72 to vim72.bak and the problem went away, after that I uninstalled mercurial (I never use it)
    Here's the loading order according to the vim documentation:
    You don't normally set $VIMRUNTIME yourself, but let Vim figure it out. This
    is the order used to find the value of $VIMRUNTIME:
    1. If the environment variable $VIMRUNTIME is set, it is used. You can use
    this when the runtime files are in an unusual location.
    2. If "$VIM/vim{version}" exists, it is used. {version} is the version
    number of Vim, without any '-' or '.'. For example: "$VIM/vim54". This is
    the normal value for $VIMRUNTIME.
    3. If "$VIM/runtime" exists, it is used.
    4. The value of $VIM is used. This is for backwards compatibility with older
    versions.
    5. When the 'helpfile' option is set and doesn't contain a '$', its value is
    used, with "doc/help.txt" removed from the end.
    source: http://www.vim.org/htmldoc/starting.html#$VIMRUNTIME
    It was loading #2 for me, removing vim72 directory means it loads #4. (skips #3 since I don't have a /usr/share/vim/runtime dir)

  • Keynote can't open file because it is damaged

    I've created several presentations in Keynote 09 that worked fine initially but suddenly won't open anylonger. When I click on the file, I get the following error message:
    "Keynote can't open file because [filename] is damaged"
    I was able to open two of the 3 affected presentations by opening them through File =>Open recent, then resaving them as a Keynote 08 file.
    This lead me to think that maybe double-clicking the file to open it doesn't work and opening it through File =>Open does. Indeed, one of my Keynote 09 files that didn't open on double-click and generated the error message opened just fine when opening it though the application file menu.
    I tried this on the other 09 files but that trick doesn't work anylonger. It seems to be totally random. The same file will open at times (through File -> open), but not at others. I'm at a loss here.
    I was able to resave all 3 files to Keynote 08 and am able to open all of them now, but the problem I'm sure will persist with new presentations I create in 09. Any suggestions?
    Maybe a directory problem? Anybody run into the same problem yet?
    I have a feeling I'll br throwing 09 out the window and going back to the old version of Keynote.

    I have had similar issues with KY '09. After working on a file over a few days, a message pops up saying it can not be saved. It created a backup copy that was saved so no work was lost. However, the original file is gone and only the backup remains. I can save it as a different name and go back to work but get the same issue.
    This is a 10 slide keynote with mostly text and a couple images. *** did they do in this version. I too will probably revert as I work at a school that just purchased a site license for iWork '09 and iLife '09.
    I am still testing the export of a recorded keynote to QT as my first export did not include the audio which was a problem in KY'08 and QT version 7.6 I believe.

  • Fatal error : can not open file 'msvcrt.lib'

    Hello dudes !
    I am using windows and jdk1.6. I want to develop one application using JNI. As steps for JNI, i have created Helloworld java class and compiled it, then created header file using jnh. After that i have created HelloWorld.c file.
    To build dll file, i am executing the below command
    "cl -Ic:\java\include -Ic:\java\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll".
    Command giving the output as follows:
    HelloWorld.c
    Microsoft (R) Incremental Linker Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.
    /dll
    /implib:HelloWorld.lib
    /out:HelloWorld.dll
    HelloWorld.obj
    LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
    Can anybody say why it is giving this problem.
    Also i tried giving the msvcrt.lib path as the value for -MD option,
    cl -Ic:\java\include -Ic:\java\include\win32 -MD"c:\Microsoft Visual Studio 8\VC\lib" -LD HelloWorld.c -FeHelloWorld.dll
    Then it is giving "can not open file LIBCMT.lib" .
    Note : ...\VC\lib and ....\VC\include are added in the path.
    Can anybody tell the solution for this ?
    Thanks in advance!!

    Hi,
    I was with the same problem. You have set the your VCC environment.
    Path, Include and Lib.
    In your directory VCC (2003 toolkit), you have a .bat file (vcvars32.bat)
    Run the bat, or copy and past this command in your command prompt.
    In my compilation, I run the code, wihtout -MD and -LF. In your, just:
    cl -Ic:\java\include -Ic:\java\include\win32 HelloWorld.c -FeHelloWorld.dll
    thanks,
    Fabio Pinheiro
    Brasil.

  • Vi error on nfs mount; E212: Can't open file for writing

    Hi all,
    I've setup a umask of 0 for testing on both NFS client (Centos 5.2) and NFS server (OSX 10.5.5 server).
    I can create files as one user and edit/save out as another user w/o issue when directly logged into the server via ARD.
    However, when I attempt the same from an NFS mount on a client machine, even as root I get the following error using vi;
    "file" E212: Can't open file for writing
    Looking at the system.log file on the server, I see;
    kernel[0]: add_fsevent: no name hard-link! dropping the event. (event 2 vp == 0xa5db510 (-UNKNOWN-FILE)).
    This baffles me. My umask is 0 meaning files I create and attempt to edit as other users are 777, but I cannot save out edits unless I do a wq! in vi. At that point, the owner of the file changes to whomever did the vi.
    This isn't just a vi issue as it happens using any editor, but I like to use vi.
    Any help is greatly appreciated. Hey, beer is on me!

    Hi all,
    Thanks for the replies
    I've narrowed it down to a Centos client issue.
    Everything works fine using other Linux based OS's as clients.
    Since we have such a huge investment in Centos, I must figure out a workaround. Apple support wasn't much help as usual however they were very nice.
    There usual response is "its unsupported".
    If Apple really wants to play in the enterprise of business space, they really need to change there philosophy. I mean telling me that I shouldn't mount home directories via NFS is completely rediculus.
    What am I supposed to use then, Samba of AFP? No, I don't think so. No offense to Microsoft but why would I use a Windows based file sharing protocol to mount network shares in a Nix env???

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • Iweb installed on a new computer but i have this error message: Can't open file "~/Library/Application Support/iWeb/Domain.sites2."

    I have just installed ilife on my  new computer from my disk. I have several backups of my webpage from my  old computer. Everything would be great if I could just run the program. When I click the icon for iWeb I get the following message:  Can’t open file “~/Library/Application Support/iWeb/Domain.sites2.”
    Somebody please help! I desperately need to update my website.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    You can download an already compiled version with this link: iWeb Switch Domain.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Error message: "Can't open file"

    Using Keynote 3.0.x I try to open a keynote file created a year ago and when I try to open the "Opening" dialog comes up, you see the progress bar, and then, I get the error message, "Can’t open file" followed by the file name. Any recourse?
    PowerMac G5   Mac OS X (10.4.7)   FInal Cut Pro 5.1

    I later discovered the file was damaged. Went back to a backup copy and things were fine. Good think we have backups.

  • Error message: "Can't open file "[File path, file name].key"

    If I attempt to open any Keynote files, I now get this error message.
    "Can't open file "[File path: file name].key"
    To clarify, the text in the square brackets above would be the file path and then the file name.
    The file then will appear on the screen, but is unresponsive to any clicks or menu commands.
    The files will open successfully on other Macs, so they aren't corrupt.
    Also - I've just checked, and opening Keynote and trying to create a new presentation leads to the same problem: All screen menus / buttons are dead - all I can do is drag the window around the screen.
    I've tried to reinstall Keynote, but this hasn't resolved the problem.
    Is there some corrupt preference file (or similar) that I need to get rid of? Is there an easy way to do a complete uninstall of Keynote so I can try another install? Or is this a symptom of something else?
    All ideas gratefully appreciated!
    Message was edited by: Brendan Donlon

    All the issues I describe in my questions around this time re: Keynote were actually symptoms of a soon-to-die laptop. The Hard Disc was corrupting, and Keynote was the first application to be affected.

  • Can't open files in iCloud

    Just recently, I haven't been able to open files stored in iCloud using either Pages or Numbers. When I try with either application, I get an error message saying, e.g.,  "The file “Wines.pages” couldn’t be opened." What can I do to fix that?

    Possibly you have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs.
    Peter

  • Can't open files from iCloud Drive on Mac

    Hi,
    Can't open file from iCloud Drive on my MacBook Air (OS X 10.10.1).
    I created new file (in Numbers for example). Then Numbers->File->Open->iCloud Drive->my_file.numbers and it says "Can't open file my_file.numbers".
    I can preview the file by pressing Space, but openning from application and double-click on it doesn't work.
    Files that were created earlear also not opened.
    Does anybody know how to solve this problem? thanks.

    Using smtp.mail.me.com - also tried smtp.me.com
    SSL yes
    port 587
    SMTP Authentification Yes
    Security SLS/TLS - also tried STARTTLS
    User full **@me.com email address - also tried user name without @me.com
    I have spoken to apple support this afternoon and we tried the variations shown above.
    Support told me to wait for a day and try again!
    After the iCloud authentication problem last night I changed all my passwords I wonder if there is an SMTP problem at me.com perhaps not reading the updated passwords?
    I'll try and use the old passwords later.

  • Pages can´t open files saved in iCloud

    I can´t open any file save to iCloud
    I tried a workaraound:
    I couldn´t open a file save to iCloud from my iPad.
    I opened it from icloud.com and downloaded it to my iMac.
    Opened the downloaded file, and everything semed ok.
    I then closed the dokument and opened the file on my ipad again. Made som editing before I closed the dokument.
    Then I tried to open it again in Pages on my iMac, but couldent open it.
    Translated: Couldn´t open the file ".... ..."
    I also tried to open a file saved to icloud (without opening it on other machines and devises). Pages couldn´t open those files either...
    Can sombody help me?

    Possibly you have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs.
    Peter

  • Can't open file "~/Library/Application Support/iWeb/Domain.sites"

    I was working on iWeb today, doing the usual adding pictures, and gave a few pages some color, and a few pictures here and there.
    I restart my computer, because as usual, I almost have no memory left. When the computer is running again, I opened iWeb, and I get this odd message:
    Can't open file "~/Library/Application Support/iWeb/Domain.sites"
    Why is this here? I didn't do anything weird to trigger such message. The site was working perfectly fine! I tried taking the domain file to the desktop, then opening it once iWeb launches from there, and same message appears. I put it back to its place, and tried putting the iWeb plist on the desktop, and same deal!
    Everything is back in its place, I haven't changed or triggered anything to deserve this. I ran Onyx, full optimization update. I restarted computer, and conducted a full disk permission repairs. Only 1 error found out of another app.
    My computer is healthy, my programs are running fine. What is going on? Does anyone know how I can fix this?

    Hi
    Whaow 3.1GB. I'm sure iWeb has problems with that. I have the same problem with my iWeb. I have about 100 BLOG pages with a lot of pictures. Although iWeb scales the pictures when publishing (good!) it does not scale them when they are stored in the domains file/dir (bad!) So if you have an 8MP camera, this adds up after a while.
    You can open the comains file and try to figure out what causes the trouble. (Right click/CTRL click, open content) sort on size to see if you have some extremely large stuff in there (Movies???) Take them out and try to make them smaller.
    Good luck!!
    Walter

Maybe you are looking for