Shakespeer icon indicating copy to clipboard operation
Shakespeer copied to clipboard

Cannot connect to backend server

Open rufuscoder opened this issue 11 years ago • 3 comments

Original author: [email protected] (March 14, 2009 23:20:56)

Hi,

I have deleted all processes which could be of shakespeer (as suggested in earlier issues) and restarted my box. However it is still not running.

TIA

Original issue: http://code.google.com/p/shakespeer/issues/detail?id=119

rufuscoder avatar Jun 08 '13 21:06 rufuscoder

From [email protected] on March 15, 2009 13:58:52 What version are you running? Could you provide an extract form your log file?

rufuscoder avatar Jun 08 '13 21:06 rufuscoder

From [email protected] on March 15, 2009 20:30:22 Hi,

Unfortunately I deleted my previous version of the application (newest version). However I redownloaded it and now it seems to work more or less ok. Although the app still doesn't manage to remove all files queued upon my request....

rufuscoder avatar Jun 08 '13 21:06 rufuscoder

Here are the logs:

$ /Applications/ShakesPeer.app/Contents/MacOS/ShakesPeer -d debug
2014-12-08 20:49:38.969 ShakesPeer[1896:17311] got init completion level 25
2014-12-08 20:49:38.969 ShakesPeer[1896:17311] got init completion level 50
2014-12-08 20:49:59.038 ShakesPeer[1896:17311] Failed to execute sphubd

$ cat /Volumes/Users/frido/Library/Logs/sphubd.log
opened logfile '/Volumes/Users/frido/Library/Logs/sphubd.log'
Mon  8 20:57:51 ***** [1978] (main:495) sphubd already running as pid 1402, aborting startup *****

$ ps -fe | grep 1402
  501  1402     1   0  8:16od ??         0:09.72 /System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent
  501  2079  1925   0  9:17od ttys002    0:00.00 grep 1402

$ ls -al /Volumes/Users/frido/Library/Application\ Support/ShakesPeer/
total 696
drwxr-xr-x  10 frido  staff     340  8 pro 21:08 .
drwx------+ 64 frido  staff    2176 20 lis 00:40 ..
-rw-r--r--@  1 frido  staff    6148  8 pro 21:00 .DS_Store
-rw-r--r--   1 frido  staff       0  8 pro 21:08 queue2.db
-rw-r--r--   1 frido  staff       0  8 pro 21:08 slots2.db
srwxr-xr-x   1 frido  staff       0  8 pro 21:08 sphashd
-rw-r--r--   1 frido  staff       5  8 pro 21:08 sphashd.pid
srwxr-xr-x   1 frido  staff       0  8 pro 21:08 sphubd
-rw-r--r--   1 frido  staff       5  8 pro 21:08 sphubd.pid
-rw-r--r--   1 frido  staff  339202  8 pro 21:13 tth2.db

$ cat /Volumes/Users/frido/Library/Application\ Support/ShakesPeer/sphubd.pid 
1402

Unfortunately removing pid file did not help. I don't recall if I verified that pidfile was really removed. However removing pid and file of the same name fixed this issue.

$ rm /Volumes/Users/frido/Library/Application\ Support/ShakesPeer/sphubd*
$ rm /Volumes/Users/frido/Library/Application\ Support/ShakesPeer/sphashd*

fboranek avatar Dec 08 '14 20:12 fboranek