about dashboard

ymlyjq
edited August 2013 in Photon Server
first question:
after installed dashboard service, when start .....
this happend

photonControl error
Starting 'PhotonDashboardService' service failed, exception: system.invalidoperationexception:cannot start service photonDashboardservice on computer'
system.compoentmodel.win32exception:

-- end of inner exception statce trace ---
at system.serviceprocess.serviceController.Start(string[] args)
at system.serviceProcess.serviceController.start()
at photoncontrol.controlform.startserveicebyname(string name)

and when double click bin_tools\dashboard\photondashboard.exe

some errors happend , like that:
system.typeinitializationexception:'p0hoton.dashboard.phontondashboardservice' -->system.io.filenotfoundexception: unload 'system.core,version=3.5.00,culture=neutral,publickeytoken=b77a5c561934e089'
or addition.system cannot find files : 'system.core,version=3.5.00,culture=neutral,publickeytoken=b77a5c561934e089''

at exitgames.logging.logmanager.#e.#A..ctor(string)
at exitgames.logging.logmanager.getcurrentclasslogger() c:\dev\exitgames-lib\src\core\logging\logmanager.cs:line 62
there i dont have this floader or file , ....

system detail:
windows server 2008 R2 enterprise
RAM 16GB
64bit
interl(R) Xeon(r) CPU

second question:

in other pc
i can start dashboard and can open web ui
but , only can get Cpu usage , others is null...why?

http://localhost:8088/Counter/GetImage/ ... 3792700772
only this

i donot konow how to upload pic ..... so only words describe

thanks

Comments

  • Resource interpreted as Image but transferred with MIME type text/plain: "http://localhost:8088/Counter/GetImage/MADAHADIGUA/DefaultImage?counter=SocketServer.Peers&time=1373793070924". jquery.min.js:48
    c.extend.attr jquery.min.js:48
    X jquery.min.js:16
    c.fn.extend.attr jquery.min.js:42
    (anonymous function) localhost:8088/:49
    c.extend.each jquery.min.js:30
    c.fn.c.each jquery.min.js:24
    changePic localhost:8088/:39
    (anonymous function)

    DefaultImage?counter=SocketServer.BytesOutPerSecond&time=1373793211109
    /Counter/GetImage/MADAHADIGUA

    GET

    200 OK

    text/plain

    jquery.min.js:48

    106B
  • and others pic ‘s attribute like that:

    DefaultImage?counter=System.Memory&time=1373793495923
    protocol : HyperText Transfer Protocol
    Type : Memory&time=1373793495923 Image
    address : http://localhost:8088/Counter/GetImage/ ... faultImage?
    size : 0 byte
    resolution : 0 * 0 pixels
  • For question #1, the service can not be started:

    Please do the following:
    - go to /deploy/bin_tools/dashboard/log
    - remove all log files
    - install the Photon Dashboard service
    - Start the Dashboard Service
    - send me the contents of the log file
    - if there is no exception logged, please check the Windows event log if there is additional information why the service could not be started.

    For #2, only CPU image is shown:
    Make sure that Photon's Performance Counters are installed:
    - stop Photon
    - from Photon Control: Performance Counters => Install Counters
    - start Photon
    - Photon Control: Performance Counters => open perfmon => verify that counters of the "Photon: Socket Server" category are installed and contain values (for example, the "Connections Active" counter raises when you connect a client).

    If the counters are installed correctly and the problem is still not fixed, please check:
    /deploy/bin_tools/dashboard/perfdata/YourComputerName => are there any SocketServer.*.rrd files in that folder?

    Out of curiosity, which OS language does that computer use?
  • questions 1:
    no log;
    but system event log .


    - System

    - Provider

    [ Name] Windows Error Reporting

    - EventID 1001

    [ Qualifiers] 0

    Level 4

    Task 0

    Keywords 0x80000000000000

    - TimeCreated

    [ SystemTime] 2013-07-15T14:04:47.000000000Z

    EventRecordID 1702

    Channel Application

    Computer WIN-04ICGRN5E0J

    Security


    - EventData


    0
    CLR20r3
    不可用
    0
    photondashboard.exe
    3.2.10.4248
    511508a8
    PhotonDashboard
    3.2.10.4248
    511508a8
    33
    7
    System.TypeInitialization


    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_photondashboard._bf54e234cac4d732cb4c58ea59a2be85085dfad_05c71f1b

    0
    814b21de-ed57-11e2-98e0-782bcb1702e2
    4
    错误存储段 ,类型 0
    事件名称: CLR20r3
    响应: 不可用
    Cab ID: 0

    问题签名:
    P1: photondashboard.exe
    P2: 3.2.10.4248
    P3: 511508a8
    P4: PhotonDashboard
    P5: 3.2.10.4248
    P6: 511508a8
    P7: 33
    P8: 7
    P9: System.TypeInitialization
    P10:

    附加文件:

    可在此处获取这些文件:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_photondashboard._bf54e234cac4d732cb4c58ea59a2be85085dfad_05c71f1b

    分析符号:
    重新检查解决方案: 0
    报告 Id: 814b21de-ed57-11e2-98e0-782bcb1702e2
    报告状态: 4

    questions 2:
    window language is chinese
    and problems as before
  • /deploy/bin_tools/dashboard/perfdata/YourComputerName => are there any SocketServer.*.rrd files in that folder?

    many rrd files here ...like SocketServer.Peers.rrd

    is this right?
  • Thanks for the helpful additional info.

    There seems to be a problem with Photon Dashboard on machines with Chinese windows language. We've had another customer report about it, too.

    We'll look into it and I hope that we can provide a fix with the next version of Photon Server SDK.

    Sorry that I can not give a better answer or solution right now. :(
  • which windows version is ok ?

    recommend me

    i will use this pc to Erection a photon server for my game
    and use your tool to show me more other info like dashboard

    thanks
  • It is only a guess (from 2 similar bug reports) that it is related to the Windows language - if that is true, it should definitely work with an English Windows version.

    But I can not give a 100% guarantee that it is related to the language, because we've not reproduced & analyzed the problem yet.
  • I was getting the same exception when starting the dashboard. This is an English install of 2008 web server R2, no Chinese. Note the "phonton" in the stack trace, seems to be coming from the class name in your source code. But that's not the issue. I solved this on my server by installing .NET Framework 3.5.1 via Server Manager | Features. Hope this helps.
  • Thanks for the hint, mindlube!

    The exception when the dashboard starts might indeed be caused by the missing .NET 3.5.1. Framework - we'll make sure that it either runs with .NET 4.0 or at least shows a meaningful error message in future.

    I was referring to the second bug where only the "CPU" counter shows up - that might be related to the Windows language.
  • ha.

    changed pc system, and my server changed using .net 3.5 framwork
    using windows server 2008 r2 ,english language.

    and dashboard started.

    but......

    click . dashboard->open then open ie link http://localhost:8088


    show me the webpage cannot be found http 404

    and
    can you give me a full way to config dashboard ,let me use it ,,,, thanks
  • I cannot get anything in dashboard, but rrd files exists
    Does rrd convert to image failed ?
    window language is chinese
    Log:
    2015-07-21 16:35:27,818 [4] INFO Photon.Dashboard.PhontonDashboardService [(null)] - Service is starting
    2015-07-21 16:35:27,849 [4] INFO ExitGames.Counter.Service.Graphs.GraphTemplateFactory [(null)] - Initalizing graph templates from D:\workspace\photonv3.4.30.9719\deploy\bin_Tools\dashboard\GraphTemplates.xml
    2015-07-21 16:35:27,896 [4] INFO Photon.Dashboard.PhontonDashboardService [(null)] - Created web server listening on 127.0.0.1:8088
    2015-07-21 16:35:27,896 [4] INFO Photon.Dashboard.PhontonDashboardService [(null)] - Service started successfully.
    2015-07-21 16:35:32,968 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50340.
    2015-07-21 16:35:32,968 [5] DEBUG ExitGames.Diagnostics.Rrd.RrdCounterDataWriter [(null)] - Processing data from 192.168.243.213 HZ9ZCY8RDQX4GPR
    2015-07-21 16:35:34,528 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50342.
    2015-07-21 16:35:34,528 [5] DEBUG ExitGames.Diagnostics.Rrd.RrdCounterDataWriter [(null)] - Processing data from 192.168.243.213 HZ9ZCY8RDQX4GPR
    2015-07-21 16:35:36,025 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50343.
    2015-07-21 16:35:36,025 [5] DEBUG ExitGames.Diagnostics.Rrd.RrdCounterDataWriter [(null)] - Processing data from 192.168.243.213 HZ9ZCY8RDQX4GPR
    2015-07-21 16:35:36,837 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50344.
    2015-07-21 16:35:36,837 [5] DEBUG ExitGames.Diagnostics.Rrd.RrdCounterDataWriter [(null)] - Processing data from 192.168.243.213 HZ9ZCY8RDQX4GPR
    2015-07-21 16:35:42,955 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50340.
    2015-07-21 16:35:42,956 [5] DEBUG ExitGames.Diagnostics.Rrd.RrdCounterDataWriter [(null)] - Processing data from 192.168.243.213 HZ9ZCY8RDQX4GPR
    2015-07-21 16:35:44,514 [6] DEBUG ExitGames.Diagnostics.Monitoring.CounterSampleReceiver [(null)] - Received data from 192.168.243.213:50342.