« Back to all recent discussions

Zyxel VMG1312-B10D log error displayed

phantomjinxphantomjinx Posts: 1  Junior Member
edited December 2017 in Discussions
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
Tagged:

Comments

  • NeAlNeAl Posts: 30  Junior Member
    Are you using an adblock?
    Could you try disabling/whitelisting the adblock for the modem ip address?
  • AAAALAAAAL Posts: 125  Warrior 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


  • gulatisneha56gulatisneha56 Posts: 2  Junior Member
    Excellent topic. Thank you.
Sign In or Register to comment.