Profile Details

Toggle Sidebar
Loading cover... Drag cover to reposition
Recent updates
  • Kumandan, do you have the app "Custom Firewall" installed ?
    Look if you have entered somewhere some iptables.

  • Kumandan Forever wrote:

    Wher is the log file ?

    i can't see in /var/log/

    Difficult to say, but try messages.log and system.log

  • Kumandan Forever wrote:

    Hi

    Before sory for bad english :/

    Version ClearOS Busines release 7.3.0 (Final)
    Kernel Version 3.10.0-514.2.2.v7.x86_64

    Application filter stopping any time, i am starting manually, but stopped next day.

    Any idea ?


    What are seeing in your log files ?

  • I need same but not only in Static leases,
    for example ; Exception IP, Banned IP, Under the application filter white list ...

    Everywhere ...


    Like this :)

  • Patrick de Brabander
    Patrick de Brabander likes the reply for the discussion, Re: Undefined error in system log

    Filed a bug tracker here...look OK? If so, we'll get an update out shortly.

    B

  • Ben,

    I see now only the following in the log

    Mar 20 20:02:02 pdebrabander proxy2db: Processed 2277 proxy log lines - 602 records added.

    The other errors are dissapeared :-)

    I've changed line 402 and 442 to :

    $file = new File(self::FILE_CONFIG, TRUE);

  • Ben Chambers wrote:

    There's two references of:



    You sure you didn't get the wrong one (both should have the superuser "TRUE" flag, actually).

    B

    I've change only line 402. The other is line 452

    Now also change line 452 to :
    $file = new File(self::FILE_CONFIG, TRUE);


    Line 452 did not have "TRUE" flag

  • Ben,

    No luck

    Mar 20 19:21:20 pdebrabander engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (224): Command execution failed.
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (434): execute
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (228): get_size
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (407): get_contents_as_array
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (166): _load_config
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/Shell.php (180): get_server
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (609): execute
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (430): get_link_status
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (543): get_info
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (236): _get_interface_details
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (621): get_interface_details
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (270): _get_most_trusted
    Mar 20 19:21:20 pdebrabander engine: exception: debug backtrace: /usr/sbin/network (80): get_most_trusted_ips
    Mar 20 19:26:20 pdebrabander engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (224): Command execution failed.
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (434): execute
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (228): get_size
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (407): get_contents_as_array
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (166): _load_config
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/Shell.php (180): get_server
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (900): execute
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (436): get_speed
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (543): get_info
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (236): _get_interface_details
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (621): get_interface_details
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (270): _get_most_trusted
    Mar 20 19:26:20 pdebrabander engine: exception: debug backtrace: /usr/sbin/network (80): get_most_trusted_ips
    Mar 20 19:31:20 pdebrabander engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (224): Command execution failed.
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (434): execute
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/File.php (228): get_size
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (407): get_contents_as_array
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Proxy.php (166): _load_config
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/Shell.php (180): get_server
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (609): execute
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface.php (430): get_link_status
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (543): get_info
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (236): _get_interface_details
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (621): get_interface_details
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/clearos/apps/network/libraries/Iface_Manager.php (270): _get_most_trusted
    Mar 20 19:31:20 pdebrabander engine: exception: debug backtrace: /usr/sbin/network (80): get_most_trusted_ips

  • Ben Chambers wrote:

    Thanks...who owns that file, root or 'webconfig'?

    B

    Root

  • Tony Ellis wrote:

    Just a wild guess based on the type of ClearOS apps the php errors are coming from - and your other post re. Intel NICs.

    It would seem you have an unused NIC - is it possible that the errors are coming as a result of the app(s) trying to get the details for the unused NIC?
    Consolidating use to the DUAL NIC and removing the then surplus CT might, just might, stop these errors... another test if you unused NIC is not configured would be to configure it as a LAN interface with a different sub-net to what you are using. It will complain there is no link - but a chance it also might stop the errors...

    Other than that - no idea. I don't haven't the time to trawl through that much php to give a better idea of what is going wong...


    Good guess Tony, But the 2nd NIC is removed form the system.
    Other point: it was there for over 1 year and no messages in the log.