File does not exist: fop2-variablesGeneral.txt

  1. 13 years ago

    Doing a general sweep through logs on my server I found we have been getting the following error in /var/log/apache2/error.log for every workstation every day going back to when the system was built:

    [Fri Nov 25 08:33:03 2011] [error] [client ipaddress] File does not exist: /var/www/fpbx/fop2/fop2-variablesGeneral.txt, referer: http://pbx/advanced/fop2

    We aren't experiencing any problems I could trace to these, but unexplained errors bug me :-)

    There is no file on my system anywhere with this name. Is it an optional configuration file, or perhaps a typo in the code somewhere? I also can't find it greping files in fop2 directories.

  2. admin

    25 Nov 2011 Administrator

    The error is normal, it will not affect your system. That file will be created if you set the web_dir on fop2.cfg, but it is only necessary to do that if you also want to change the default listening port for the service. If you use the default port, that file is not needed and the websockets/xmlsockets connection will work normally.

  3. I don't need to change from the default, but I would like to get rid of the errors. Would a touch to create an empty file cause a problem? Or would parsing an empty file just cause more problems?

  4. admin

    26 Nov 2011 Administrator

    It will probably cause more problems if you create an empty file... you can uncomment web_dir in /usr/local/fop2/fop2.cfg and set it to your correct web dir, where the fop2 web app is installed ( /var/www/html/fop2 on redhat/centos ).

or Sign Up to reply!