Zyxel VMG1312-B10D log error displayed

phantomjinx
phantomjinx Posts: 1  Freshman Member
edited December 2017 in Smart Home Product
Have just bought the Zyxel VMG1312-810D (firmware: V5.13(AAXA.5)C0).

When I click on System Monitor > Log an alert dialog is displayed with the message:
"Fail do action"
Clicking this away, no logs are displayed.

Looking at the filesystem using ssh ..
/var/log
srw-rw-rw-    1 root     0                0 Dec 17 06:07 log
-rwxr--r--    1 root     0             8387 Dec 18 11:46 security.log
-rwxr--r--    1 root     0            18520 Dec 18 13:09 syslog.log
-rwxr--r--    1 root     0            34257 Dec 18 12:25 syslog.log.1
So defintely logs there. Also, configured remote syslog (selected Remote and File) and see logs now being sent across to my server. Looking at the javascript source code, the dialog display occurs in /web/pages/system_monitor/log.js at L116:
112  fnFailure: function(trans, response, args){
113    if(response.status == 504)
114      location.href = "/"; //redirect to 192.168.1.1
115    else
116      openAlertPanel("error", "Error", "Fail do Log action");
117      closeLoadingPanel();
118      q.end();
119    }
120  };
121  if(typeof cat != "undefined" && cat != 0) o.url += "&category="+cat;
122    httpReqSendAndRecv(o);

where:
* o.url = "/cgi-bin/Log?action=GET_LOG&oid=RDM_OID_LOG_CLASSIFY&sessionkey=833526475"
* response.status = 0
* trans = 39
Again, looking on the filesystem:
  • Cannot find any *.cgi files;
  • Cannot find a script file of any kind named Log;
  • Cannot find a cgi-bin directory which is normally used for executing cgi scripts.
So, is it possible that the cgi-bin directory has been left out of the firmware? My ISP, who I bought it from, confirm this as an issue in the last couple of firmware builds.

Thanks

phantomjinx

#CPE_December

Comments

  • NeAl
    NeAl Posts: 77  Ally Member
    First Anniversary
    Are you using an adblock?
    Could you try disabling/whitelisting the adblock for the modem ip address?
  • AAAAL
    AAAAL Posts: 125  Ally Member
    Hi phantomjinx,

    May I know had you enable the sys log on GUI: Maintenance -> log setting -> Syslog Logging -> enable
    Then you can find the logs display on System Monitor -> Log


  • gulatisneha56
    gulatisneha56 Posts: 2  Freshman Member
    Excellent topic. Thank you.

Consumer Product Help Center