Bug 78065 - unable to start cookie handler service
Summary: unable to start cookie handler service
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kcookiejar (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 15:02 UTC by Ralf Hildebrandt
Modified: 2005-03-22 15:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hildebrandt 2004-03-20 15:02:32 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Every now and then konqueror doesn't seem to send/accept cookies anymore.
When I then go to "Settings"/"Configure Konqueror" -> Cookies
I get a pop up telling me:

unable to start cookie handler service

This happens sporadically, but way too often -- I cannot "force" it, though.

How can I restart the "cookie handler service"?
If I knew how, I could strace or gdb it to find out why it dies (since I expect it to die again...)
Comment 1 Dawit Alemayehu 2004-03-23 13:47:10 UTC
Hello,

This is an installation issue. You might have an older instance of the kcookiejar in your path. Please make sure that is not the case. The cookiejar service is supposed to be started on demand whenever it is needed. To see if it is currently running check the control center under "KDE Components->Service Manager". To attempt manual restart, issue the following from the command line:

dcop kded kcookiejar 

If the cookiejar service is not running, i.e. you get an error message, then there is something wrong, most likely with your installation...
Comment 2 Ralf Hildebrandt 2004-03-23 13:51:35 UTC
Older instance? Nope:

# locate kcookiejar | xargs ls -l
-rwxrwxrwx    1 root     root          856 Oct 16  2001 /root/.kde/share/apps/kcookiejar/cookies
-rwxr-xr-x    1 root     root         3296 Mar  5 05:46 /usr/bin/kcookiejar
-rw-r--r--    1 root     root         1052 Mar  5 05:36 /usr/lib/kde3/kcookiejar.la
-rw-r--r--    1 root     root         3608 Mar  5 05:46 /usr/lib/kde3/kcookiejar.so
-rw-r--r--    1 root     root         1137 Mar  5 05:36 /usr/lib/kde3/kded_kcookiejar.la
-rw-r--r--    1 root     root       141108 Mar  5 05:46 /usr/lib/kde3/kded_kcookiejar.so
-rw-r--r--    1 root     root        10128 Mar  5 05:46 /usr/lib/libkdeinit_kcookiejar.so
-rw-r--r--    1 root     root         2089 Mar  5 05:40 /usr/share/man/man1/kcookiejar.1.gz
-rw-r--r--    1 root     root         5703 Mar  5 05:32 /usr/share/services/kded/kcookiejar.desktop

I'll try a restart once I encounter this bug again.
Comment 3 Dawit Alemayehu 2004-04-22 05:25:54 UTC
Well, I did not catch your response back. Your installation is missing one important file:

/usr/lib/libkdeinit_kcookiejar.la

Without the .la file there is no way the linker would know how to load the kdeinit module. Please report that to your distro packagers if the file is missing from the package...
Comment 4 Ralf Hildebrandt 2004-04-22 08:13:10 UTC
I haven't encountered the bug again, so I assume all is well, even without 
/usr/lib/libkdeinit_kcookiejar.la 
Nevertheless I wrote a Debian bugreport.
Comment 5 Ralf Hildebrandt 2004-04-28 07:26:34 UTC
Now the strange thing. It works as another user on that box. Logged in as my wife I get another cookie problem:

$ ps auxwww|grep jar
constan  28667  0.0  0.3  2308  712 pts/306  S+   07:25   0:00 grep jar
$ dcop kded kcookiejar
object 'kcookiejar' in application 'kded' not accessible
Comment 6 Dawit Alemayehu 2004-06-09 02:23:31 UTC
This is an installation related issue. As a troubleshooting suggestion you might want to rename your $KDEHOME directory, usually ~/.kde, to something else and see if that fixes the problem....
Comment 7 Brad Smith 2004-08-25 05:42:30 UTC
I have the same problem. Using OpenBSD 3.6 with KDE 3.2.3.

$ locate kcookiejar | xargs ls -la 
-r-xr-xr-x  1 root  bin    3964 Aug 17 08:34 /usr/local/bin/kcookiejar
-rwxr-xr-x  1 root  bin    1147 Aug 17 08:34 /usr/local/lib/kde3/kcookiejar.la
-rwxr-xr-x  1 root  bin    4952 Aug 17 08:34 /usr/local/lib/kde3/kcookiejar.so
-rwxr-xr-x  1 root  bin    1211 Aug 17 08:34 /usr/local/lib/kde3/kded_kcookiejar.la
-rwxr-xr-x  1 root  bin  178493 Aug 17 08:34 /usr/local/lib/kde3/kded_kcookiejar.so
-rwxr-xr-x  1 root  bin    1156 Aug 17 08:34 /usr/local/lib/libkdeinit_kcookiejar.la
-rwxr-xr-x  1 root  bin   14882 Aug 17 08:34 /usr/local/lib/libkdeinit_kcookiejar.so
-r--r--r--  1 root  bin    5778 Aug 17 08:34 /usr/local/share/services/kded/kcookiejar.desktop

Our packages do contain libkdeinit_kcookiejar.la.

$ dcop kded kcookiejar
object 'kcookiejar' in application 'kded' not accessible

and I did try deleting ~/.kde and that made no difference.
Comment 8 Waldo Bastian 2004-09-16 14:43:53 UTC
What does "dcop kded kded loadModule kcookiejar" say?
Comment 9 bazzoon 2004-10-25 18:41:10 UTC
I have the same problem. konqueror cannot contact "cookie handler service". And also from the control center Every time I try to open "KDE componenets-> Service Manager", I get " Unable to contact KDED.  KDED is not running in my system.

$ls -l /usr/lib64/libkdeinit_kcookiejar.la
-rwxr-xr-x  1 root root 1109 Oct 24 11:41 /usr/lib64/libkdeinit_kcookiejar.la

$ dcop kded kcookiejar
object 'kcookiejar' in application 'kded' not accessible

I deleted my .kde directory. Also created a new user and logged in. Same problem.

Fedora 2 x86_64.
kde 3.3.1 rebuilt from src.rpm fedora files using rpmbuild --rebuild --target x86_64
Comment 10 bazzoon 2004-10-26 13:58:17 UTC
Oh by the waym running kded from consule give this error message if this helps.

$ kded
ICE default IO error handler doing an exit(), pid = 9340, errno = 9
Comment 11 Ralf Hildebrandt 2005-03-22 15:25:49 UTC
I cannot reproduce this nor have I encountered the bug ever after.