Courier-imap ERROR: authdaemond is not running

I recently upgraded the system and rebooted my server. On squirrelmail, I get a 
Error connecting to IMAP server: localhost.
111 : Connection refused
I get:
[root ~]: /etc/rc.d/courier-imap start
ERROR: authdaemond is not running
authdaemod seems to be running which makes everything spooky.
This is what I have installed an running at the moment.
DAEMONS=(syslog-ng network netfs crond sshd ntpd httpd spamd mysqld postfix rpcbind fam authdaemond courier-imap)
I know I am not giving a lot of info, please request, I'll post everything. Any hints, clues, anything will be greatly appreciated
w7zn7k

I've resolved the issue. It's in the /etc/rc.d/courier-imap script.
You need to change this line
if [ ! -f /var/run/daemons/authdaemond ]; then
with this line
if [ ! -f /var/run/authdaemond.pid ]; then
The full modified script:
#!/bin/bash
CI_DAEMONS=
[ -f /etc/conf.d/courier-imap ] && . /etc/conf.d/courier-imap
[ -z $AUTO_AUTHDAEMON_LAG ] && AUTO_AUTHDAEMON_LAG=2
[ -z $AUTO_AUTHDAEMON ] && AUTO_AUTHDAEMON="false"
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
[ -d /var/run/courier ] || mkdir -p /var/run/courier
chown courier:courier /var/run/courier
if [ "$AUTO_AUTHDAEMON" == "true" ]; then
/etc/rc.d/authdaemond start
sleep ${AUTO_AUTHDAEMON_LAG}
fi
if [ ! -f /var/run/authdaemond.pid ]; then
echo "ERROR: authdaemond is not running"
stat_fail
exit 1
fi
for daemon in $CI_DAEMONS; do
stat_busy "Starting Courier ${daemon}"
/usr/lib/courier-imap/${daemon}.rc start
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon $daemon
stat_done
fi
done
stop)
for daemon in $CI_DAEMONS; do
stat_busy "Stopping Courier ${daemon}"
/usr/lib/courier-imap/$daemon.rc stop > /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon $daemon
stat_done
fi
done
if [ "$AUTO_AUTHDAEMON" == "true" ]; then
/etc/rc.d/authdaemond stop
fi
restart)
$0 stop
sleep 1
$0 start
echo "usage: $0 {start|stop|restart}"
esac
exit 0
~
~

Similar Messages

  • Finder got an error. Application not running (-600)

    I have a LaunchAgent that calls a shell script, at login.  The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container.    The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
    It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x.  But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
    "Finder got an error.  Application not running (-600)"
    If I log the user in and run the following at the command line:
    launchctl unload name.of.plist 
    It will unload the launchagent.
    If I type this at the commane line:
    launchctl load name.of.plist
    It works perfectly.  No errors.
    I can manually run the shell script it calls and that works fine.
    I can also manually double click the apps and those run fine. 
    I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
    Has anyone seen this error message before and what I can try to do to fix it?
    Thank you in advanced.

    This sounds like a typical race condition, and it's impossible to solve without seeing the script.
    The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
    So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data.

  • ITunes will not open (no error message and not running Norton 2005)

    I have recently upgraded to iTunes 7 and I now cannot get it to open after clicking on the icon. The iTunes.exe process comes up in the task manager briefly then disappears. There is NO accompanying error message and I am NOT running Norton Antivirus 2005. I have already tried reinstalling the standalone version of quicktime and I have used msconfig so that I essentially have only the necessary iTunes/quicktime processes running (no antivirus/antispyware/anti-popup software is running in the background). I have Windows 2000 and I have never had a problem with iTunes until now. Somebody please help me out here.

    wapierce,
    It looks like we have covered all the bases here. Unfortunatly it looks like The computer cannot run iTunes or the OS has an issue that may require a reeinstall.
    Lets verify the Hardware and OS one more time. Click Start> right click My Computer> Properties(you can also open My Computer then click view system information on the left side of the window.) What does the processor and Memory say here? Also what is it saying aout Windows.
    Make sure there are no upadtes available for the computer.
    When you installed iTunes did you make any registry changes? It sounds like the next step would be doing a restore or re-install of Windows on the computer.
    Jason

  • ContentAgent not found error OR qmasterd not running error in Compressor

    Hi guys,
    I have problems with Compressor 3.0.1 (related to qmaster i guess). i red many articles around about "qmasterd not running" or, "ContentAgent not found" error message on Compressor.
    I tried to run it from apple qmaster in the preferences system but the same problem. i tried to launch qmasterd in command line ... no success. I erased anything with the name qmaster or compressor (preferences, Applications support, Receips, repaired authorisations, etc...) and made a brand new install from the original DVD).
    Before doing that, compressor wasn't even lauching successfully. After this re-install, it is running but i get these errors from one or the other side. I can say that i erased all related files with attention but still do not understand what to do!
    on my anotyher mac (intel based 2x3GHz dual core) everything is running fine.
    Do someones know what can cause this ? what should i do ? i prefer a solution without beeing obliged to reinstall the whole config!!! oh no!
    Thank you for your help, even a small one
    Best Regards
    Sam

    I told myself: let's do it once again and this time ERASE ALL
    In my last try, i had forgot to erase compressor.framework folder with all its contents.
    Now, it is working just perfect, even the cluster between both computers
    Best.R.
    Sam

  • XML Parsing error - iTunes will not run config.xml missing

    I have a new error code that I cannot find an answer to on any forum. Here is the error message:
    XML Parsing error
    XML Parsing error inside file 'C:\Documents and Settings\lmorrison\Application Data\iTunesControl\config.xml
    Error: First Tag not found
    At line 0, column 0.
    First Tag should be 'itc'.
    This error message pops up when attempting to run iTunes. The only way I've been able to get it to run is to take the library.xml file, rename it as config.xml and paste it into the iTunesControl folder. That's good for one run only. Then I have to copy and paste it again every time I want to run iTunes.
    My issue is... I have no config.xml file. It's gone missing. No idea why. I have uninstalled iTunes and reinstalled. Same error. I wiped every single spec of iTunes off my computer down to removing all instances in the computer registry. Same error. I have installed and uninstalled versions of iTunes back to iTunes 6. Same error. I have wiped and installed from iTunes installation disc. Same error. Help! The only thing I can think of is to locate someone with a working iTunes and copy their config.xml file to my computer. Apple was no help at all and merely suggested installing the latest version of iTunes... yeah... thanx.
    Any ideas are appreciated.

    I don't even have this iTunesControl folder!
    C:\Documents and Settings\ username \Application Data\ iTunesControl
    Did you ever install this itunesControl program? Maybe that's why you have that folder and I don't. I just googled on iTunesControl.
    http://itunescontrol.com/
    edit - the only thing Apple installs is here:
    C:\Documents and Settings\ username \Application Data\Apple Computer
    Message was edited by: Katrina S.

  • Startup error message - Could not run this script because of a disk error.

    I uninstalled Dates-to-iCal-Launcher and couldn't find any info about how to uninstall it online (just dragged the icon from Applications to the Trash). Now every time I start my iBook, I get an error message from Dates-to-iCal Launcher (there is an icon that looks like a scroll on the left):
    Could not run this script because of a disk error.
    -43
    How do I get rid of this error message? It happens every time I turn on the computer. Thank you!

    thanks for the update.
    there is no risk when changing settings in any OS user interface like System Preferences etc.
    there could be some risk in manually deleting files from Library folders, which is done sometimes to uninstall applications.
    keep in mind to regularly back up important files.

  • Youtube was not running the video. It is showing error. Video not running.

    You Tube not running it is showing an error restart your browser message displaying

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If you live in India then you can look at these pages:
    World Cup 2014: 219 websites blocked in India, after Sony complaint - MediaNama:
    * http://www.medianama.com/2014/07/223-world-cup-2014-472-websites-including-google-docs-blocked-in-india-following-sony-complaint/
    * http://www.nextbigwhat.com/delhi-high-court-orders-block-google-docs-several-websites-297/
    * http://delhihighcourt.nic.in/dhcqrydisp_o.asp?pn=119642&yr=2014

  • Cannot download McAfee. Error message: Javascripts not running. BUT it is enabled...

    Not sure why this is an issue. Have run PC clean up, made sure to run everything by book. Download goes through to very last and then says Javascripts not enabled/working. I have already double checked settings. Javascripts IS selected to run, so where do you think my issue is?

    Solved the problem.

  • I have installed 64 bit itunes but everytime i connect my phone it comes up with an error saying its not running the corrcect one and to install 64 bit which i already have done HELP PLEASE

    i have installed itunes 64 bit but when i connect my phone it brings an error up saying install the correct version 64 bit which i have already installed HELP PLEASE

    Hello Jody
    Try removing iTunes and its related software in the order that the first article states. Then once that is done then download iTunes or reinstall from the installer that you have already downloaded.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/ht1923
    iTunes 11.2.2 for Windows (64-bit)
    http://support.apple.com/kb/DL1615
    Regards,
    -Norm G.

  • Task does not run with transaction currency

    Dear All,
    When i am executing IU AR/AP elimination, I am getting error " Task does not run with transaction currency ("per TC" option reset) "
    Message no. UCF5104
    Diagnosis
    The present task is configured so that no values are analyzed in transaction currency. However, the option "per transaction currency" is selected in the method definition. This only makes sense if you also want to analyze the values in transaction currency.
    System response
    The task is being executed without the option "per transaction currency".
    Please advise me how to resolve the issue.
    Regards,
    Malani

    Dear Dan,
    I would like to know what will be the effect  if we remove o-Per Currency option in Method.
    I would like to know, in the document also in properties tab - in Key figures - Check box - Transaction Currency. If i select the warning message not coming. So kindly let me know what exactly check box -Transaction currency is used in Document type and whether it is interlinked with Method.
    Thanks
    Malani

  • Could not run the script. This command requires an active document.

    Hi,
    I'm receiving a confusing glitch running a batch process in
    FW MX 2004.
    I want to resize images in one folder and export them to
    another. I step through the batch wizard and on commencement of the
    batch receive an error:
    quote:
    Could not run the script. This command requires an active
    document.
    FW is telling me it can't run the commands on empty
    documents, yet the batch is running on all images selected using
    Add All during the batch wizard. Confusing. Similar batches have
    worked fine in recent days.
    Any ideas?
    Thx

    tkatcher wrote:
    > Thank you. Some of them had brackets and percentage
    marks.
    You are welcome.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • AUDIO SERVICE IS NOT RUNNING

    Hi there
      I need help with my PC....I muted the sound yesterday and now I want to unmute it the message that says the audio is not running pops up. Ive tried everything but nothing works, What should I do
    Please help

    You have muted sound and now unable to unmute error says services not running 
    There is an issue you have stopped services of windows audio from task manager.
    There is simple way to get audio back just open control panel and search for troubleshoot and select hardware and sound troubleshooter then choose playback sound.(This process take 2-3 minutes and you have to connected to internet if any major problem in driver it will repair from internet for you )
    If this will not work you have to downlaod and install latest audio drivers for your system from hp download center.

  • ADI - Excel is not running, or is not available.

    Hi friends,
    I am trying to upload the journal entries through ADI. When I try to do this I get the following error
    "Excel is not running, or is not available. You cannot upload at this time.".
    We are on 11.5.9 and the excel we are using is 2003. This was working absolutely fine earlier. Can some one let me know what the issue could be. Please note the Macro>Security> Options> Publisher Options. This is checked too.
    Thanks

    Hi;
    "Excel is not running, or is not available. You cannot upload at this time.".
    We are on 11.5.9 and the excel we are using is 2003. This was working absolutely fine earlier. Can some one let me know what the issue could be. Please note the Macro>Security> Options> Publisher Options. This is checked too.It was working before? So what have you been changed on your system? patch etc?
    Please check below which could be helpful for your issue:
    Journal Upload Errors With Excel Is Not Running, Or Is Not Available, You Cannot Upload At This Time [ID 243893.1]
    Hope it helps
    Regard
    Helios

  • SAPOSCOLL is not running

    Hi Experts
    In my system SAPOSCOLL is not running, when i try to enter st06 system throwing error "saposcoll is not running (shared memory available).
    we are using os400, ecc6 & DB2.
    Thanks in Advance
    Venkat

    Hi
    The operating system collector SAPOSCOL is a stand-alone program that runs in the operating system background. It runs independently of SAP instances exactly once per monitored host. SAPOSCOL collects data about operating system resources, including:
    ·        Usage of virtual and physical memory
    ·        CPU utilization
    ·        Utilization of physical disks and file systems
    ·        Resource usage of running processes
    SAPOSCOL makes the data available using a segment of the shared memory for various applications and all SAP instances on a host. A CCMS agent or a dialog work process reads the data from the shared memory. You can display the data in various monitoring architecture monitors or in the operating system monitor (transactions OS07 and ST06). If the operating system data is read and sent by CCMS agents, you can display operating system data for any hosts in a central system.
    Please check if the saposcol is running properly at OS level or not. The reason for this is saposcol should start before the sap application server, since it creates a shared memory segment where it store the information which is collected by it.
    When the SAP application server starts up , it looks for the shared memory segment which was created earlier,if the memory segment is present SAP app server attaches to that segment and ST06 works fine.If saposcol was not running when SAP app server started. The shared memory segment isn't present and hence ST06 and other transactions relying in SAPOSCOL doesn't work even after  you startup saposcol later.
    Oerating system monitor and file system monitoring is part of it.
    Hope it helps.
    Edited by: Esha Rajpal on Sep 3, 2008 7:07 PM

  • Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Why all of a sudden am I having difficulty sending Gmail emails? I get a send error. When I run diagnostics there is a SMTP and IMAP account for Gmail and I am not sure how to fix this.

    Hi jodilynnf,
    When using Connection Doctor to see what is could be causing the issue, look for the red dots to let you know what is wrong. Then all you have to do is correct that information. You can double click on the section that is giving you issue and it will take you there. Most issues could be just password being entered incorrectly. Take a look at the article below to walk you through troubleshooting issues with Mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/en-us/TS3276
     Take it easy,
    -Norm G.

Maybe you are looking for