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. No Login

No Login

Scheduled Pinned Locked Moved Support
16 Posts 3 Posters 328 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.
  • N
    N
    nicolas
    wrote on last edited by
    #7

    The --test option in the fop2_server will not show you if the daemon is running, it will only test the manager connection. If you have also FOP1 installed and working, it will be using port 4445 by default, and the fop2_server will not be able to stay running because the port is already being in use.

    netstat -lnp | grep 444

    Look at the output from the above command, if you see port 4445 in use by fop2_serve , then fop2 IS running and you are ok. If in the other hand you see PERL as the process, the port is taken by fop1. If that is the case, change fop1 port to 4446 by editing /var/www/html/panel/op_server.cfg and modifying the listen_port directive, then restart fop1. After that start fop2 and check with netstat as above that both ports are being used by the two daemons.

    If fop2_server is running, listening on port 4445, and you still cannot connect, try from another browser/machine. I have seen some cases where supposedly they do not have firewalls or flash blockers, and the flash player is correctly installed, but it fails to connect, while on a different machine it works ok. As I have never experienced the problem myself I do know know why a few users experienced that issue, but it is FOR SURE, a problem with a flash blocker, the flash player, or a firewall (either internal machine firewall, network level firewall, etc).

    Best regards,

    1 Reply Last reply
    0
    • F
      F
      Freedomforall
      wrote on last edited by
      #8

      root@pbx:~ $ netstat -lnp | grep 444
      tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 3287/fop2_server

      still nothing

      1 Reply Last reply
      0
      • F
        F
        Freedomforall
        wrote on last edited by
        #9

        This is what you see in httpd log,
        you can see the login window come up...
        you post your login and the login comes up again...

        Originating IP removed server IP altered... for security reasons...

          • [25/Jul/2010:10:16:22 +0100] "GET /fop2/fop2-variablesGENERAL.txt HTTP/1.1" 404 306 "http://..139.*/fop2/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3;$
          • [25/Jul/2010:10:16:22 +0100] "POST /fop2/setvar.php HTTP/1.1" 200 1 "http://..139.*/fop2/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWeb$
          • [25/Jul/2010:10:16:37 +0100] "GET /fop2/fop2-variablesGENERAL.txt HTTP/1.1" 404 306 "http://..139.*/fop2/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3;$
          • [25/Jul/2010:10:16:37 +0100] "POST /fop2/setvar.php HTTP/1.1" 200 1 "http://..139.*/fop2/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWeb$
        1 Reply Last reply
        0
        • F
          F
          Freedomforall
          wrote on last edited by
          #10

          I have reinstalled from scratch, same issue...
          Actually the login window keeps coming back, I have laoded the FOP2 freepbx module and changed the passcode there...
          still no login, I think this must be very simple now...

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

            If you try to login and it ask you again, then the daemon is working, but your are passing incorrect credentials. The way to know what users and secrets are valid is to run this script from the linux command line:

            /usr/local/fop2/autoconfig-users-freepbx.sh

            That will list all the user lines, with their extension number and password. The autoconfig script might fail if you have funky lines in voicemail.conf, so look for errors when you run it. If there are no errors, just login with a user and secret as displayed when you run the above script.

            Best regards,

            1 Reply Last reply
            0
            • F
              F
              Freedomforall
              wrote on last edited by
              #12

              Yes it lists users and their Voicemail passwords but no this does not work....

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

                Did you modify the fop2.cfg file beyond the manager user and password? Do you have the last line "#exec autoconfig-users-freepbx.sh" in place?

                If you are prompted for user and password, and after entering something you are prompted again, then the daemon is running and there are no firewall or flash issues, but the credentials are wrong. Wrong because you typed them wrong, or because the user configuration is not correct in fop2.cfg. The easiest way is to leave the automatic configuration for FreePBX.

                1 Reply Last reply
                0
                • F
                  F
                  Freedomforall
                  wrote on last edited by
                  #14

                  I did leave that last line in place, I un commented it and re commented it but no difference, also if I now do an amportal restart all the phones are kicked off, but asterisk still runs...
                  If I restrat all the phones came back on...
                  Something is broken ....

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

                    Asterisk sometimes gets stuck, and the only way to stop it is to kill it. It has nothing to do with fop anyways.. and it has nothing to do with your problems login into fop2. I am currently on vacation, live help will be back online next week, you can try to catch me then and I will help you fix your problem, as the forum is not fast. FOP2 is straightforward, if everything is setup as default it works. When you start to fiddle with config files you might get issues. For example, if you changed the listen_port in fop2, you will probably have to delete a file in /var/www/html/fop2 by hand, or flush your browser cache. It will be better to troubleshoot via chat or remotely. Best regards,

                    1 Reply Last reply
                    0
                    • F
                      F
                      Freedomforall
                      wrote on last edited by
                      #16

                      It just started working...

                      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