Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IMspector log problem

    Scheduled Pinned Locked Moved pfSense Packages
    10 Posts 2 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      neggard
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • R
        rsw686
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • N
          neggard
          last edited by

          How does I start it in debug mode?

          1 Reply Last reply Reply Quote 0
          • N
            neggard
            last edited by

            I edit the startup script and still no logs.

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

            1 Reply Last reply Reply Quote 0
            • R
              rsw686
              last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • N
                neggard
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • R
                  rsw686
                  last edited by

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

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

                  1 Reply Last reply Reply Quote 0
                  • N
                    neggard
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rsw686
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • N
                        neggard
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.