The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

are cpanel logs are incomplete?

Discussion in 'General Discussion' started by mohd_007, Mar 6, 2012.

  1. mohd_007

    mohd_007 Well-Known Member

    Joined:
    Sep 22, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Today I had an issue where client was saying how his files got deleted, I checked FTP logs and FTP wasn't accessed. I then saw cpanel access logs and found that file manager was accessed.

    --
    xx.xx.xx.xx - user [03/05/2012:17:00:51 -0000] "GET /cpsess4898857957/frontend/x3/filemanager/img/icons/moveB_grey.gif HTTP/1.1" 200 0 "http://domain.com:2082/cpsess4898857957/frontend/x3/filemanager/index.html?dir=public_html/addondomain.com" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
    --

    but there were no entries of files being deleted, then I my self created a test file and deleted it through file-manager and it was still the same the cpanel access logs only reported this.

    --
    xx.xx.xx.xx - user [03/06/2012:05:07:10 -0000] "GET /cpsess5047758577/json-api/cpanel?cpanel_jsonapi_module=Fileman&cpanel_jsonapi_func=listfiles&cpanel_jsonapi_apiversion=2&needmime=1&dir=%2fhome%2fuserpublic_h
    tml%2faddondomain&showdotfiles=1&cache_fix=13310678926 HTTP/1.1" 200 0 "http://domain.com:2082/cpsess5047758577/frontend/x3/filemanager/index.html?dirselect=ftproot&domainselect=domain.com&dir=%2Fhome%2Fuser%2Fpublic_ftp&showhidden=1&saveoption=1" "Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0"
    --

    It was showing something was being saved, but cpanel is logs not showing proper information. Can you please let me know how to determine if the file was deleted using filemanager. Are cpanel logs are incomplete?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I believe they are, in regard to the File Manager.

    This topic has come up multiple times on this forum but, I do not believe anyone has actually started a Feature Request on it.
     
  3. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    Regards.

    Really I need this function !!!

    I need used the function listfiles.

    I try list a folder with this:

    :2087/json-api/cpanel?user=nameuser&cpanel_jsonapi_apiversion=1&cpanel_jsonapi_module=Filename&cpanel_jsonapi_func=listfiles&chooser=0&dir=/home/nameuser";

    But forever result s this:

    Code:
    {"apiversion":"1","type":"event","module":"Filename","func":"listfiles","source":"module","data":{"result":""},"event":{"result":0,"reason":"Filename::listfiles() failed: Undefined subroutine &Cpanel::Filename::Filename_listfiles called at (eval 4) line 1.\n"}}
    Please any help?
     
Loading...

Share This Page