Blog

  • Restart VPN Connection on Mikrotik

    At times due to load balancing,a vpn connection stops working and crm systems,radius servers or remote access may stop working.Here is a script to disable vpn and re enable

    Navigate to scheduler,

    Click add new scheduler.

    Paste the following code on Event

    Set time to run every 1 minute

    Expected on mikrotik

  • KVM Acceleration cannot be Used.

    KVM acceleration cannot be used (/dev/kvm doesn’t exist). It is possible to turn off KVM support in the gns3_server.conf by adding enable_kvm = false to the [Qemu] section.

    This error occurs while i was using mikrotik on GNS3 for the first time.

    How i solved it

    Add the following snippet at the end of the file

    Restart the mikrotik on gns3

  • The ‘gns3-gui==2.2.23’ distribution was not found

    I experienced this error in Ubuntu Hirsute Hippo (21.04)The complete error when i run gns3 on terminal

    File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 777, in resolveraise DistributionNotFound(req, requirers)pkg_resources.DistributionNotFound: The ‘gns3-gui==2.2.23’ distribution was not found and is required by the application

    To resolve this error

    Update your Ubuntu

    Re-Install GNS 3

    
    
    
    
    
  • Deploy a nodejs application on Rocky linux

    Install nodejs with NVM

    Install pm2

  • SyntaxError: Illegal continue statement: no surrounding iteration statement

    OCCURS WHEN

    SOLUTION

  • How To Install AWS CLI for Digital ocean spaces.

  • influxdb  bind: address already in use

    influxdb bind: address already in use

    2023-03-12T19:20:32.758863Z info InfluxDB starting {“log_id”: “0gXp7MyW000”, “version”: “1.6.7~rc0”, “branch”: “unknown”, “commit”: “unknown”}
    2023-03-12T19:20:32.758897Z info Go runtime {“log_id”: “0gXp7MyW000”, “version”: “go1.15.4”, “maxprocs”: 4}
    run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use

    Event:

    This occurs after typing influxdb to launch the influxdb terminal

    Solution

    Type influx instead to launch terminal

  • Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    gpg: can’t open ‘–’: No such file or directory
    (23) Failed writing body

    This error occurs after pasting a command to install influxdb

    Solution

    The error occurs because of the dash at the end of the command and is interpreted as a unicode character rather than the ascii hypen

  • error: remote origin already exists.

    To resolve this issue delete the remote origin

  • error: failed to push some refs to ‘github.com:….

    This error means no changes in the local repository,therefore

en_USEnglish