After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334676 - Unable to connect to Exchange account
Unable to connect to Exchange account
Status: RESOLVED DUPLICATE of bug 335561
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.5.x
Other All
: Normal normal
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks:
 
 
Reported: 2006-03-15 18:35 UTC by Trevin Beattie
Modified: 2006-06-19 13:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Trevin Beattie 2006-03-15 18:35:53 UTC
Please describe the problem:
I've just recently installed evolution 2.5.92 in order to solve bug #'s 326894 &
320070.  Now that my personal calendar is working, I want to connect to my
calendar on the Exchange server.

First of all, the help documentation needs to be updated with better
instructions on adding an Exchange account.  It still references "Evolution
Exchange 2.4", and under "Creating a New Exchange Account" is simply says
"Create the account following the procedure in Starting Evolution for the First
Time", without going into any details.  (Under that topic, it says "see Remote
Configuration Options", but that link is broken.)  Under "Changing an Existing
Account to Work with Exchange", it mentions entering the OWA url and clicking on
Authenticate, but those fields do not exist.

The only field in the account setup under Receiving Email is Username, which I
set to my "DOMAIN\username".

When I activate the account, I immediately get an error popup which states:

    Error while Scanning folders in "Exchange server ".

    Could not connect to Evolution Exchange backend process: No such file or
directory


Steps to reproduce:
1. Add a new account.
2. For the account server type, choose "Microsoft Exchange".  Enter your NT
domain \ username under "Username".
3. Enable the account.


Actual results:
Error while Scanning folders in "Exchange server ".

Could not connect to Evolution Exchange backend process: No such file or directory


Expected results:
It should have read my folders from the Exchange server.


Does this happen every time?
yes


Other information:
evolution 2.5.92
evolution-data-server 1.5.92
evolution-exchange 2.5.92
evolution-webcal 2.4.1
Comment 1 André Klapper 2006-03-20 01:36:28 UTC
Please check that evolution-exchange-storage process is running by "ps ax | grep evolution".
Start evolution and evolution-exchange-storage from console and see if
any log messages are printed.

Thanks in advance.
Comment 2 Sushma Rai 2006-03-20 06:42:38 UTC
Exchange operations plugin is not enabeld for you.
Please enable it (see Edit->Plugins menu) and try to create
an account.

Once it is enabled you will see user name and owa url
fields. Please enters the name and URL as you enter
for OWA and proceed.

Please re-open the bug if you still face any issue.
Comment 3 Trevin Beattie 2006-03-20 15:59:43 UTC
evolution-exchange-storage was already running:

[tbeattie@ernie ~]$ ps ax | grep evolution
18892 ?        S      0:07 /usr/libexec/evolution/2.6/evolution-alarm-notify --o
af-activate-iid=OAFIID:GNOME_Evolution_Calendar_AlarmNotify_Factory:2.6 --oaf-io
r-fd=57
18922 ?        S      0:01 /usr/libexec/evolution-data-server-1.6 --oaf-activate
-iid=OAFIID:GNOME_Evolution_DataServer_CalFactory:1.2 --oaf-ior-fd=53
 1766 ?        S      0:03 evolution
 1768 ?        S      0:00 /usr/libexec/evolution/2.6/evolution-exchange-storage
 --oaf-activate-iid=OAFIID:GNOME_Evolution_Exchange_Component_Factory:2.6 --oaf-
ior-fd=51
 1806 pts/1    S      0:00 grep evolution


I enabled Exchange Operations in the plugin manager, exited evolution, and restarted.  But when I looked at my Exchange account settings, there was no change -- the username field was there, but nothing for the OWA URL.  And I got the same error trying to enable the account.

I shut down evolution again and started evolution-exchange-storage and evolution manually from the command line.  I double-checked the plugin manager, but found that Exchange Operations was disabled again.  This time I enabled Exchange Operations but did not exit.  On editing my Exchange account, the OWA URL field is now there.  So I entered the URL for webmail.  This time when I enabled the account, I get the same error ("Could not connect to Evolution Exchange backend process: No such file or directory"), but it also asks me for my password.  After entering my password, I get the error "Could not authenticate to server. (Password incorrect?)".

I disabled the account again and tried to exit evolution to check the console output.  It hung -- all widgets became disabled (grayed out), and it no longer responded to any input (though it still repainted the window on expose events).

At this point, the output from evolution-exchange-storage looks like:

[tbeattie@ernie ~]$ /usr/libexec/evolution/2.6/evolution-exchange-storage
Evolution Exchange Storage up and running

** (evolution-exchange-storage:1941): WARNING **: Unexpected kerberos error -1765328230

** (evolution-exchange-storage:1941): WARNING **: Unexpected kerberos error -1765328230


and the output from evolution itself is a little longer:

[tbeattie@ernie ~]$ evolution
CalDAV Eplugin starting up ...

(evolution:1943): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.6/components/libevolution-calendar.so: undefined symbol: gnome_font_size'

(evolution:1943): camel-WARNING **: camel_exception_get_id called with NULL parameter.

** (evolution:1943): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

** (evolution:1943): WARNING **: Failed to connect to the D-BUS daemon: Unable to determine the address of the message bus

BBDB spinning up...

(evolution:1943): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'

** (evolution:1943): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image
I/O warning : failed to load external entity "/home/tbeattie/.gnome2/yelp-bookmarks.xbel"
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: br
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara
Unmatched element: formalpara

** (evolution:1943): WARNING **: Unexpected kerberos error -1765328230

** (evolution:1943): WARNING **: Unexpected kerberos error -1765328230

(evolution:1943): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'

** (evolution:1943): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

(evolution:1943): evolution-mail-CRITICAL **: em_folder_tree_model_remove_uri: assertion `uri != NULL' failed

** (evolution:1943): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry2.png,
borders don't fit within the image


So I had to kill evolution.  On starting it up again, I re-checked the plugin manager.  Exchange Operations had once again been disabled.

What's next?
Comment 4 Youri Matthys 2006-05-03 04:32:27 UTC
Has this been resolved yet? I get the same symptoms in exchange-2.6.
Comment 5 Sushma Rai 2006-05-03 05:50:45 UTC
Trevin Beattie,
Since the calendar plugin (libevolution-calendar.so) is not loaded,
exchange connector is also not getting loaded.
Please file a bug on Evolution -> Calendar about this problem.

Till is resolved, you need to manually load the exchange plugin
every time you restart evolution.
 
Once you enable the plugin, provide the user name and URL as
you provide in Outlook Web Access.
If it works for you in OWA and authentication fails in Evolution,
Please  set E2K_DEBUG=4 and run Evolution from that console
(See http://gnome.org/projects/evolution/bugs.shtml for more details),
and paste the debug traces here. 
Also specify how does your user name and URL look like. 
Comment 6 Trevin Beattie 2006-05-03 18:53:50 UTC
I don't seem to get any additional information using E2K_DEBUG=4:

CalDAV Eplugin starting up ...

(evolution:13537): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.6/components/libevolution-calendar.so: undefined symbol: gnome_font_size'

(evolution:13537): camel-WARNING **: camel_exception_get_id called with NULL parameter.

** (evolution:13537): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

** (evolution:13537): WARNING **: Failed to connect to the D-BUS daemon: Unable to determine the address of the message bus

BBDB spinning up...

(evolution:13537): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'

** (evolution:13537): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

** (evolution:13537): WARNING **: Unexpected kerberos error -1765328230

** (evolution:13537): WARNING **: Unexpected kerberos error -1765328230

(evolution:13537): evolution-mail-CRITICAL **: em_folder_tree_model_remove_uri: assertion `uri != NULL' failed

** (evolution:13537): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry2.png,
borders don't fit within the image


I still get the popup error, "Could not connect to Evolution Exchange backend process: No such file or directory".

My user name looks like: DOMAIN\username
and the OWA URL is like: https://webmail2.boingo.com/Exchange/

I have no problem logging in from a web browser.
Comment 7 André Klapper 2006-05-03 19:58:45 UTC
hi trevin, no, you didn't set E2K_DEBUG=4. :-)

start evo by running "E2K_DEBUG=4 evolution".
kindly check http://gnome.org/projects/evolution/bugs.shtml for more details. thanks. :-)
Comment 8 Trevin Beattie 2006-05-03 20:09:04 UTC
Yes, I did set E2K_DEBUG=4.  Here's a complete transcript:

Script started on Wed May  3 13:05:18 2006
]0;tbeattie@ernie:~[tbeattie@ernie ~]$ ps ax | grep ov  evolu

21268 ?        S      0:03 /usr/libexec/evolution/2.6/evolution-alarm-notify --oaf-activate-iid=OAFIID:GNOME_Evolution_Calendar_AlarmNotify_Factory:2.6 --oaf-ior-fd=51

13885 pts/1    S      0:00 script evolution-transcript.txt

13886 pts/1    S      0:00 script evolution-transcript.txt

13904 pts/4    S      0:00 grep evolu

]0;tbeattie@ernie:~[tbeattie@ernie ~]$ export E2K_DEBUG=4

]0;tbeattie@ernie:~[tbeattie@ernie ~]$ evolution

CalDAV Eplugin starting up ...



(evolution:13905): e-utils-WARNING **: can't load plugin '/usr/lib/evolution/2.6/components/libevolution-calendar.so: undefined symbol: gnome_font_size'

evolution-shell-Message: Killing old version of evolution-data-server...



(evolution:13905): camel-WARNING **: camel_exception_get_id called with NULL parameter.



** (evolution:13905): WARNING **: Invalid borders specified for theme pixmap:

        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,

borders don't fit within the image



** (evolution:13905): WARNING **: Failed to connect to the D-BUS daemon: Unable to determine the address of the message bus



BBDB spinning up...



(evolution:13905): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'



** (evolution:13905): WARNING **: Invalid borders specified for theme pixmap:

        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,

borders don't fit within the image



** (evolution:13905): WARNING **: Unexpected kerberos error -1765328230



** (evolution:13905): WARNING **: Unexpected kerberos error -1765328230



(evolution:13905): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'



** (evolution:13905): WARNING **: Invalid borders specified for theme pixmap:

        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,

borders don't fit within the image



(evolution:13905): evolution-mail-CRITICAL **: em_folder_tree_model_remove_uri: assertion `uri != NULL' failed



** (evolution:13905): WARNING **: Invalid borders specified for theme pixmap:

        /home/tbeattie/.themes/AquaX/gtk-2.0/entry2.png,

borders don't fit within the image

]0;tbeattie@ernie:~[tbeattie@ernie ~]$ exit


Script done on Wed May  3 13:06:24 2006
Comment 9 Samuel Audet 2006-05-10 03:57:58 UTC
I have the same problem here with my brand spanking new Fedora Core 5 with all the updates du jour (as of today) and Evolution + connector 2.6.1 ... although I don't get any obvious errors about what's going wrong. Connector used to work fine for me with Evo 2.4.2. This is the log I get with E2K_DEBUG=4 on startup with auto-password. If you need additional details or tests to be done, please let me know. 

[saudet@vaio ~]$ export E2K_DEBUG=4
[saudet@vaio ~]$ evolution
CalDAV Eplugin starting up ...
GET /exchange/samuel.audet@mail.mcgill.ca/ HTTP/1.1
E2k-Debug: 0x8663c00 @ 1147233043
Host: exchange.mcgill.ca
Accept-Language: en-US, en
User-Agent: Evolution/1.6.1

401 Unauthorized
E2k-Debug: 0x8663c00 @ 1147233043
Date: Wed, 10 May 2006 03:50:48 GMT
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
WWW-Authenticate: Basic realm="exchange.mcgill.ca"
Content-Length: 83
Content-Type: text/html

GET /exchange/samuel.audet@mail.mcgill.ca/ HTTP/1.1
E2k-Debug: 0x8663c00 @ 1147233043 [restarted]
Host: exchange.mcgill.ca
Accept-Language: en-US, en
User-Agent: Evolution/1.6.1

401 Unauthorized
E2k-Debug: 0x8663c00 @ 1147233046
Date: Wed, 10 May 2006 03:50:50 GMT
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
WWW-Authenticate: Basic realm="exchange.mcgill.ca"
Content-Length: 83
Content-Type: text/html


** (evolution-2.6:3420): WARNING **: Unexpected kerberos error -1765328230

** (evolution-2.6:3420): WARNING **: Unexpected kerberos error -1765328230
evolution-shell-Message: Killing old version of evolution-data-server...



I don't get any more messages from connector from this on, unless it tries to authenticate again such as modifying settings or whatever... I just get the 'Error while Scanning folders in "Exchange server exchange.mcgill.ca". Could not connect to Evolution Exchange backend process: No such file or directory' dialog when expanding the mail account.

evolution-connector-storage does *NOT* crash and the "Authenticate" button in the setup dialog does *not* complain, although I get a "cannot authenticate error" just when I try to open the setup dialog a second time.
Comment 10 Sushma Rai 2006-05-10 06:36:08 UTC
Samuel Audet, don't give user name as "username@domain", instead
try "doamin\username" or just "user"
You can try "domain@username" in 2.7.x (development version).
Comment 11 Sushma Rai 2006-05-10 06:41:53 UTC
Trevin Beattie , in comment #8, did you try enabling the exchange plugin
and trying to authenticate? I don't see any exchange traces there.
Also, have you filed a bug on loadinng libevolution-calendar.so?
Comment 12 Samuel Audet 2006-05-10 16:08:34 UTC
Simply inverting my username@domain to domain\username makes the authentification fail. When I press "Authenticate" and type in my password, it simply says "Could not authenticate with server." The @ form at least works for the "Authenticate" button, but doesn't seem to work much after that... everything worked as is with connector 2.4.2, so something broke between 2.4.2 and 2.6.1
Comment 13 Samuel Audet 2006-05-10 23:49:33 UTC
I forget just using my using my user name doesn't work either... it tells me I should try DOMAIN\user format..

I have a theory though. Let me know if I'm right. I think my actual username is my e-mail address samuel.audet at mail.mcgill.ca (damn, I hope the spam bots don't pick up that e-mail address up there..). Does connector 2.6.1 treat the "@" any differently than 2.4.2? Like, did 2.4.2 simply pass it on as the whole username, whereas 2.6.1 tries to do some further processing when it sees a "@" and it fails because of this??
Comment 14 Sushma Rai 2006-05-11 05:18:27 UTC
Samuel Audet, 
Your problem is same as bug #335561.
Fix has been committed and 2.6.2 (or unstable 2.7.x) will work as before.

Comment 15 Samuel Audet 2006-05-12 03:28:08 UTC
Oh yes, looks exactly like my problem... I wonder why my search didn't bring up this bug. thanks
Comment 16 Trevin Beattie 2006-05-17 01:49:03 UTC
I wanted to upgrade to the latest evolution release before doing further troubleshooting on this.  Along the way I managed to discover the source of the libevolution-calendar.so error, so that's been fixed, and now the "Exchange Operations" plugin stays loaded between sessions.

I now have installed:
gtkhtml-3.10.1
evolution-data-server-1.6.1
evolution-exchange-2.6.1
evolution-2.6.1

The steps I took were thus:

1. Started a transcript
2. Set E2K_DEBUG=4
3. Started evolution
4. Opened the plugin manager and enabled Exchange Operations
5. Opened the account page in Preferences and enabled my Exchange account
6. Got the error message ("Could not connect to Evolution Exchange backend process: No such file or directory").  Dismissed it.
7. Disabled the Exchange account
8. Exited out of evolution

The console output now looks like this:

Script started on Tue May 16 18:37:25 2006
]0;tbeattie@ernie:~[tbeattie@ernie ~]$ export E2K_DEBUG=4
]0;tbeattie@ernie:~[tbeattie@ernie ~]$ evolution
CalDAV Eplugin starting up ...
evolution-shell-Message: Killing old version of evolution-data-server...

(evolution:12125): camel-WARNING **: camel_exception_get_id called with NULL parameter.

** (evolution:12125): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

** (evolution:12125): WARNING **: Failed to connect to the D-BUS daemon: Unable to determine the address of the message bus

BBDB spinning up...

(evolution:12125): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'

** (evolution:12125): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry1.png,
borders don't fit within the image

** (evolution:12125): WARNING **: Unexpected kerberos error -1765328230

** (evolution:12125): WARNING **: Unexpected kerberos error -1765328230

** (evolution:12125): WARNING **: Invalid borders specified for theme pixmap:
        /home/tbeattie/.themes/AquaX/gtk-2.0/entry2.png,
borders don't fit within the image
]0;tbeattie@ernie:~[tbeattie@ernie ~]$ exit

Script done on Tue May 16 18:38:47 2006
Comment 17 Sushma Rai 2006-06-19 13:02:05 UTC
As in comment #14, please try evolution 2.6.2, this problem should
be fixed there. Please re-open the bug if you still see the issue there.

*** This bug has been marked as a duplicate of 335561 ***