IMspector log problem



  • I'm using pfsense 1.2 RC4 and have some problem with IMspector.
    IMspector dont log anything.
    Nothing in Secure Shell and nothing in var/IMspector

    Have search abit for this but dont find anything. I really need this to work.

    What could I try?



  • Start imspector in debug mode with -d and see if the clients are connecting and it is receiving the messages.

    /usr/local/sbin/imspector -c /usr/local/etc/imspector/imspector.conf -d



  • How does I start it in debug mode?



  • I edit the startup script and still no logs.

    Where should I look for info if the IMspector is loading and working?



  • I gave you the command to run it in debug mode. When you do this it will show all the output on the console. You should see clients connecting and the message they send on the console.

    What client program are you using?



  • OK now I understand.

    Well I try Putty but when I write
    /usr/local/sbin/imspector -c /usr/local/etc/imspector/imspector.conf -d

    I got this message:
    imspector: Error: IMSpector is already running

    So how do I stop it before?
    Sorry but I am really bad at this.



  • Either via the pfSense webgui status -> services. Or via the console

    /usr/local/etc/rc.d/imspector.sh stop



  • imspector: MSN: Command: MSG
    imspector: MSN: header: MIME-Version value: 1.0
    imspector: MSN: header: Content-Type value: text/plain; charset=UTF-8
    imspector: MSN: header: X-MMS-IM-Format value: FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0
    imspector: Connect socket, connect() failed to /tmp/.imspectorlog
    imspector: Error: Unable to communicate with logging process
    imspector: MSN: Got 49 bytes of header
    imspector: MSN: Command: MSG
    imspector: MSN: header: MIME-Version value: 1.0
    imspector: MSN: header: Content-Type value: text/x-msmsgscontrol
    imspector: MSN: header: TypingUser value: realname@hotmail.com
    imspector: MSN: Got 50 bytes of header
    imspector: MSN: Command: MSG
    imspector: MSN: header: MIME-Version value: 1.0
    imspector: MSN: header: Content-Type value: text/plain; charset=UTF-8
    imspector: MSN: header: X-MMS-IM-Format value: FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0
    imspector: Connect socket, connect() failed to /tmp/.imspectorlog
    imspector: Error: Unable to communicate with logging process

    Using MSN live Version 2008 Build 8.5.1302.1018
    I got this error.



  • Stop imspector and remove the /tmp/.imspectorlog file if it exists. Check the permission on /tmp. Should work with 755, but I would try 777 just to see. Use chmod to change them and ls -la to view them.



  • Found a logfile and delete it, it was empty.

    chmod is 0777 so it should be ok.

    But still
    imspector: Connect socket, connect() failed to /tmp/.imspectorlog
    imspector: Error: Unable to communicate with logging process


Locked