Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Not log in on centos5

Not log in on centos5

Scheduled Pinned Locked Moved Support
14 Posts 4 Posters 126 Views
  • 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.
  • D
    D
    diatonic
    wrote on last edited by
    #4

    Might want to make sure that the original fop isn't running on TCP 4445. Stop the fop2 service and recheck your netstat. If you want to run both fop and fop2 change op_server.pl for fop to run on 4444 (See the FAQ).

    .:diatonic:.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #5
      1. fop2_server running and listening on port 4445

      *[b]# netstat -an | grep 4445 **
      tcp 0 0 0.0.0.0:4445 0.0.0.0: LISTEN

      regardss

      Try with:

      netstat -lnp
      

      To verify that fop2 is the one listening on port 4445 (and not fop1)

      Best regards,

      1 Reply Last reply
      0
      • R
        R
        rickygm
        wrote on last edited by
        #6

        Hi, I stop the fop2 the port 4445 this closed , I forget to comment that I use pure asterisk, I don't use any asterisk gui o other version de fop

        only fop2

        some idea where the error can be?, I install the fop2 from the gz

        service fop2 stop
        Shutting dows Flash Operator Panel 2: [ OK ]

        netstat -an | grep 4445

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #7

          Start fop2_server from the command line:

          cd /usr/local/fop2
          ./fop2_server -X 15
          

          Leave it running there, look for potential errors or something...

          From the browser machine, telnet to port 4445 at the fop2 server...

          telnet xxx.xxx.xxx.xx 4445
          

          Does it connect? If not, check your firewall. If it connects ok, open the browser and navigate to the fop2 page.

          Be ABSOLUTELY sure you have the flash player installed and working on that browser. If everything else fails, try with another browser, firefox, chrome, IE, safari, etc..

          1 Reply Last reply
          0
          • R
            R
            rickygm
            wrote on last edited by
            #8

            ok look

            ./fop2_server -X 15
            Flash Operator Panel 2 - No valid license found. Demo Mode

            Can't listen to port 4445

            telnet 192.168.10.3 4445
            Trying 192.168.10.3...
            Connected to vxserver (192.168.10.3).
            Escape character is '^]'.

            its ok connection

            the screen of the fop2 load well, the problem is that when I put the extension to log in he never enters

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #9

              Ok.. wait a minute

              Can't listen to port 4445

              That's not good... after that fop2_server will exit. Not sure what you did to get this, but it means you have another process binding to port 4445.

              Did you try the netstat -lnp ??

              Are you sure you are not running another instance or software binding to port 4445? After starting fop2_server with -X 15 you should see lots of events from AMI and from your flash clients.

              1 Reply Last reply
              0
              • R
                R
                rickygm
                wrote on last edited by
                #10

                when I run the command netstat -lnp and I stop the fop2, I don't see the port in listens for another program

                tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2640/hpiod
                tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2813/dovecot
                tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2813/dovecot
                tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 2570/slapd
                tcp 0 0 0.0.0.0:646 0.0.0.0:* LISTEN 2160/rpc.statd
                tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2784/mysqld
                tcp 0 0 0.0.0.0:5038 0.0.0.0:* LISTEN 2972/asterisk
                tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2813/dovecot
                tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2813/dovecot
                tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2120/portmap
                tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN 2972/asterisk
                tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2677/cupsd
                tcp 0 0 0.0.0.0:1720 0.0.0.0:* LISTEN 2972/asterisk
                tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2879/master
                tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 2645/python
                tcp 0 0 :::7777 :::* LISTEN 3301/java
                tcp 0 0 :::993 :::* LISTEN 2813/dovecot
                tcp 0 0 :::9090 :::* LISTEN 3301/java
                tcp 0 0 :::9091 :::* LISTEN 3301/java
                tcp 0 0 :::995 :::* LISTEN 2813/dovecot
                tcp 0 0 :::389 :::* LISTEN 2570/slapd
                tcp 0 0 :::5222 :::* LISTEN 3301/java
                tcp 0 0 :::5223 :::* LISTEN 3301/java
                tcp 0 0 :::5229 :::* LISTEN 3301/java
                tcp 0 0 :::110 :::* LISTEN 2813/dovecot
                tcp 0 0 :::1935 :::* LISTEN 2928/java
                tcp 0 0 :::9999 :::* LISTEN 2928/java
                tcp 0 0 :::4559 :::* LISTEN 3166/hfaxd
                tcp 0 0 :::143 :::* LISTEN 2813/dovecot
                tcp 0 0 :::80 :::* LISTEN 2916/httpd
                tcp 0 0 :::50865 :::* LISTEN 2928/java
                tcp 0 0 :::7443 :::* LISTEN 3301/java
                tcp 0 0 :::5269 :::* LISTEN 3301/java
                tcp 0 0 :::22 :::* LISTEN 2663/sshd
                tcp 0 0 :::5080 :::* LISTEN 2928/java
                tcp 0 0 :::443 :::* LISTEN 2916/httpd
                tcp 0 0 :::7070 :::* LISTEN 3301/java
                udp 0 0 0.0.0.0:640 0.0.0.0:* 2160/rpc.statd
                udp 0 0 0.0.0.0:45699 0.0.0.0:* 3366/iaxmodem
                udp 0 0 0.0.0.0:643 0.0.0.0:* 2160/rpc.statd
                udp 0 0 0.0.0.0:49951 0.0.0.0:* 3229/avahi-daemon:
                udp 0 0 0.0.0.0:2727 0.0.0.0:* 2972/asterisk
                udp 0 0 0.0.0.0:4520 0.0.0.0:* 2972/asterisk
                udp 0 0 0.0.0.0:5060 0.0.0.0:* 2972/asterisk
                udp 0 0 0.0.0.0:4569 0.0.0.0:* 2972/asterisk
                udp 0 0 0.0.0.0:5353 0.0.0.0:* 3229/avahi-daemon:
                udp 0 0 0.0.0.0:111 0.0.0.0:* 2120/portmap
                udp 0 0 0.0.0.0:631 0.0.0.0:* 2677/cupsd

                I stop the and I run the fop2 with the command. /fop2_server -X 15

                127.0.0.1 <- NewMessages: 1
                127.0.0.1 <- OldMessages: 0
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: MailboxStatus
                127.0.0.1 -> Mailbox: 102@default

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Mailbox Status
                127.0.0.1 <- Mailbox: 102@default
                127.0.0.1 <- Waiting: 0
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: MailboxCount
                127.0.0.1 -> Mailbox: 102@default

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Mailbox Message Count
                127.0.0.1 <- Mailbox: 102@default
                127.0.0.1 <- NewMessages: 0
                127.0.0.1 <- OldMessages: 0
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: MailboxStatus
                127.0.0.1 -> Mailbox: 101@default

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Mailbox Status
                127.0.0.1 <- Mailbox: 101@default
                127.0.0.1 <- Waiting: 0
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: MailboxCount
                127.0.0.1 -> Mailbox: 101@default

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Mailbox Message Count
                127.0.0.1 <- Mailbox: 101@default
                127.0.0.1 <- NewMessages: 0
                127.0.0.1 <- OldMessages: 0
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: Status

                127.0.0.1 -> Action: QueueStatus

                127.0.0.1 -> Action: SipPeers

                127.0.0.1 -> Action: Agents

                127.0.0.1 -> Action: Command
                127.0.0.1 -> Command: meetme list 9000 concise
                127.0.0.1 -> ActionID: meetme_9000

                127.0.0.1 -> Action: Command
                127.0.0.1 -> Command: database show fop2state
                127.0.0.1 -> ActionID: fop2state

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Channel status will follow
                127.0.0.1 <- Server: 0

                Response: Success
                Message: Channel status will follow
                Server: 0

                127.0.0.1 <- Event: StatusComplete
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Queue status will follow
                127.0.0.1 <- Server: 0

                Response: Success
                Message: Queue status will follow
                Server: 0

                127.0.0.1 <- Event: QueueStatusComplete
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Peer status list will follow
                127.0.0.1 <- Server: 0

                Response: Success
                Message: Peer status list will follow
                Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 108
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: -none-
                127.0.0.1 <- IPport: 0
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: UNKNOWN
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 106
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: -none-
                127.0.0.1 <- IPport: 0
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: UNKNOWN
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 105
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: 192.168.10.15
                127.0.0.1 <- IPport: 5060
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: OK (14 ms)
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 104
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: -none-
                127.0.0.1 <- IPport: 0
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: UNKNOWN
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 103
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: 192.168.10.30
                127.0.0.1 <- IPport: 5061
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: OK (7 ms)
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 102
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: 192.168.10.10
                127.0.0.1 <- IPport: 5062
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: OK (30 ms)
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerEntry
                127.0.0.1 <- Channeltype: SIP
                127.0.0.1 <- ObjectName: 101
                127.0.0.1 <- ChanObjectType: peer
                127.0.0.1 <- IPaddress: 192.168.10.10
                127.0.0.1 <- IPport: 5060
                127.0.0.1 <- Dynamic: yes
                127.0.0.1 <- Natsupport: no
                127.0.0.1 <- VideoSupport: yes
                127.0.0.1 <- ACL: no
                127.0.0.1 <- Status: OK (29 ms)
                127.0.0.1 <- RealtimeDevice: no
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Event: PeerlistComplete
                127.0.0.1 <- ListItems: 7
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Response: Success
                127.0.0.1 <- Message: Agents will follow
                127.0.0.1 <- Server: 0

                Response: Success
                Message: Agents will follow
                Server: 0

                127.0.0.1 <- Event: AgentsComplete
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Response: Follows
                127.0.0.1 <- Privilege: Command
                127.0.0.1 <- ActionID: meetme_9000
                127.0.0.1 <- --END COMMAND--
                127.0.0.1 <- Server: 0

                127.0.0.1 <- Response: Follows
                127.0.0.1 <- Privilege: Command
                127.0.0.1 <- ActionID: fop2state
                127.0.0.1 <- --END COMMAND--
                127.0.0.1 <- Server: 0

                127.0.0.1 -> Action: UserEvent
                127.0.0.1 -> UserEvent: MEETME-REFRESH
                127.0.0.1 -> Meetme:

                127.0.0.1 <- Event: UserEvent
                127.0.0.1 <- Privilege: user,all
                127.0.0.1 <- UserEvent: MEETME-REFRESH
                127.0.0.1 <- Action: UserEvent
                127.0.0.1 <- Meetme:
                127.0.0.1 <- Server: 0

                **asterisk cli

                manager show connected
                Username IP Address
                ragm 127.0.0.1
                ragm 127.0.0.1

                **

                1 Reply Last reply
                0
                • N
                  N
                  nicolas
                  wrote on last edited by
                  #11

                  You do not need to verify that you have the manager user connected, because you have problems with your client connections: Those will show as events in the output from fop2_server -X 15 with "=>" and "<=". So, try to telnet FROM your browser machine to the fop2 server and see if you spot the connection. Then try the same with your browser. And be sure you have a proper user defined in fop2.cfg and a proper buttonfile too.

                  Best regards,

                  1 Reply Last reply
                  0
                  • T
                    T
                    tommy_fc
                    wrote on last edited by
                    #12

                    I am having the exact same issue, except on Ubuntu 8.04

                    It works in our testing environment, but not in production. There are two main differences: The test environment runs a free version while the prod is registered. The production environment is also fire-walled.

                    Do I understand you correctly when you say that the browser has to have access to the fop2 service itself. That the event traffic does not go through apache?

                    1 Reply Last reply
                    0
                    • N
                      N
                      nicolas
                      wrote on last edited by
                      #13

                      Yes, you understood correctly. FOP and FOP2 use a flash feature called xmlsockets: it uses a direct connection between the browser (the flash plugin) and the server (fop daemon). It uses port tcp 4445 by default. If your production machine is firewalled, you will need to redirect that port, or connect via VPN.

                      HTML5 specification includes that feature too. So I asume in the future flash won't be needed anymore, but a direct connection to a special purpose server will still be required.

                      Best regards,

                      1 Reply Last reply
                      0
                      • T
                        T
                        tommy_fc
                        wrote on last edited by
                        #14

                        Interesting reading. Thank you very much for the quick, precise and informative post.

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups