What's new

Closed Site monitoring

Status
Not open for further replies.
ok na paps
1564987836045.png
 

Attachments

restrict mo din ip na pwede maka-access sa openvpn interface.
accept mo lang traffic na galing sa 165.22.106.77

tingnan mo sa
/var/log/apache2/error.log
kung ano dahilan nung error 500 boss.
tail -100 /var/log/apache2/error.log
ito yung error paps
 

Attachments

Ano version ng OpenVPN server mo? Try nyo muna mag-update ng latest stable release.
 
Last edited:
installed mo na lahat dependencies boss?
Code:
apt-get update -y
apt-get -y install git apache2 libapache2-mod-wsgi python-geoip2 python-ipaddr python-humanize python-bottle python-semantic-version geoip-database-extra geoipupdate
restart mo apache2 after.
systemctl restart apache2
 
Last edited:
Log says:

Code:
user@debian10:~$ grep -m4 '^WARNING' Downloads/error.txt
WARNING: Config file does not exist or is unreadable: ./openvpn-monitor.conf
WARNING: Config file does not exist or is unreadable: /etc/openvpn-monitor.conf
WARNING: No compatible geoip1 or geoip2 data/libraries found.
WARNING: socket error: [Errno 111] Connection refused

Ano output ng:
Code:
ls -l /etc/openvpn-monitor.conf
apache2ctl -S

As per log error, install ka ng geoip db:
Code:
user@debian10:~$ apt-cache search geoip | grep '^geoip'
geoip-bin - IP lookup command line tools that use the GeoIP library
geoip-database - IP lookup command line tools that use the GeoIP library (country database)
geoip-database-extra - IP lookup command line tools that use the GeoIP library (ASN/city database)
geoipupdate - MaxMind GeoIP/GeoIP2 database updates

apt-get install geoip-database
 
Log says:

Code:
user@debian10:~$ grep -m4 '^WARNING' Downloads/error.txt
WARNING: Config file does not exist or is unreadable: ./openvpn-monitor.conf
WARNING: Config file does not exist or is unreadable: /etc/openvpn-monitor.conf
WARNING: No compatible geoip1 or geoip2 data/libraries found.
WARNING: socket error: [Errno 111] Connection refused

Ano output ng:
Code:
ls -l /etc/openvpn-monitor.conf
apache2ctl -S

As per log error, install ka ng geoip db:
Code:
user@debian10:~$ apt-cache search geoip | grep '^geoip'
geoip-bin - IP lookup command line tools that use the GeoIP library
geoip-database - IP lookup command line tools that use the GeoIP library (country database)
geoip-database-extra - IP lookup command line tools that use the GeoIP library (ASN/city database)
geoipupdate - MaxMind GeoIP/GeoIP2 database updates

apt-get install geoip-database
sorry may kulang pala sa pagkakaqoute ko sa line iedit ko po ulitin nyo na lang
 
Status
Not open for further replies.

Similar threads

Back
Top