PhotonControl starts and stops instantly(Photon stopped message on tray icon)

Options
So I was using the cloud for testing purposes and quickly realized I need to run my own servers.

So I went ahead and downloaded Photon Server SDK, got the free license, placed it on the "Photon Server\deploy\bin_Win64" folder.

When I start PhotonControl.exe it prompts me for admin rights, I give it, then it stops and remains stopped.

I see everywhere people talking about logs, there are no logs, no logs folder or file, also clicking on "Open Logs" from the PhotonControl tray icon options tells me "No logs of the past 2 hours found".

So I don't know whats the issue?

Comments

  • Tobias
    Options
    The PhotonControl has a menu entry to open the logs. There should be some.
    Also check the requirements for running the server. Is a C# runtime installed? If your system 64 bits?

    Which Server SDK version did you download?
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @PhotonUser,

    Did you install Photon as a service from Photon Control once?
    Did you move Photon SDK files after that?

    Do you have .NET 4.6 installed on your system?
  • PhotonUser
    edited June 2021
    Options
    I downloaded the last SDK from the download page
    Windows 10 64bits
    I am running it on my dev machine, so there is probably everything needed installed already.

    So I tried running the "_service.start" file

    It gave me this error in the cmd window.

    Starting Photon service at:
    PathName
    C:\Users\username\Desktop\New folder\deploy\bin_Win64\PhotonSocketServer.exe -service LoadBalancing

    [SC] StartService FAILED 2:

    The system cannot find the file specified.

    Press any key to continue . . .

    But the files are all in the folder that "_service.start" is
  • PhotonUser
    Options
    Wait that is a little strange, its on folder "Photon 5" and not "New Folder", I will uninstall the service and re-download it to place it in a proper folder.
  • PhotonUser
    edited June 2021
    Options
    Ok so now the load balancing service is running and I see logs.

    But it PhotonControl still says "Stopped", firewall rules are set too for "PhotonSocketServer.exe"

    Is it because of Windows 10?

    Currently installed "classic" .NET Versions in the system:
    2.0.50727.4927 Service Pack 2
    3.0.30729.4926 Service Pack 2
    3.5.30729.4926 Service Pack 1
    4.0.0.0
    4.8.04084

    LOGS:

    Photon-LoadBalancing-20210621
    https://pastebin.com/p4Zh2EqR
  • chvetsov
    Options
    Hi, @PhotonUser
    From what I see in your logs service is running. Can you see PhotonSocketServer.exe in taskmanager ?
    best,
    ilya
  • PhotonUser
    edited June 2021
    Options
    WKuf7q1.png
    This one?

    if its hard to see it says:
    Photon
    Photon Socket Server : LoadBalancing
  • chvetsov
    Options
    yes, it is
    so, and you are saying that PhotonControl does not show it?

    best,
    ilya
  • PhotonUser
    edited June 2021
    Options
    PhotonControl says "Photon Stopped" in the tray icon.
    also if i check the load balancing option on the menu it gives me the option to stop and restart the service.

    do you think its because of the OS i am running on and it should be on windows server?