Help Traccar Server DigitalOcean

gioramies7 years ago

Hi.

I have installed traccar in a DigitalOcean droplet, but not being able to use it. Can you help me please. Thank you.

I nmap the port 8082 from my PC and this is what I get:

nmap -p 8082 138.68.XXX.151
Starting Nmap 6.40 ( http://nmap.org ) at 2017-05-20 16:43 COT
Nmap scan report for 138.68.XXX.151
Host is up (0.16s latency).
PORT     STATE SERVICE
8082/tcp open  blackice-alerts
Nmap done: 1 IP address (1 host up) scanned in 0.50 seconds

But whet try to use it in the web browser http://138.68.XXX.151:8082/ it says

Please log into your droplet via SSH to configure your LAMP installation.

And this is in my server

root@lamp-2gb-sfo2-01:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22                         LIMIT IN    Anywhere                  
443                        ALLOW IN    Anywhere                  
80                         ALLOW IN    Anywhere                  
8082/tcp                   ALLOW IN    Anywhere                  
8082/udp                   ALLOW IN    Anywhere                  
8082                       ALLOW IN    Anywhere                  
22 (v6)                    LIMIT IN    Anywhere (v6)             
443 (v6)                   ALLOW IN    Anywhere (v6)             
80 (v6)                    ALLOW IN    Anywhere (v6)             
8082/tcp (v6)              ALLOW IN    Anywhere (v6)             
8082/udp (v6)              ALLOW IN    Anywhere (v6)             
8082 (v6)                  ALLOW IN    Anywhere (v6)   




nano /etc/apache2/ports.conf 

Listen 80

Listen 8082

Listen 138.68.XXX.151:8082

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Anton Tananaev7 years ago

I don't understand how Apache is related to Traccar.

gioramies7 years ago

Hi. I just posted all the information, in case it is needed.

I have the ports already open, but cannot use traccar.

Anton Tananaev7 years ago

Obviously it can't use it because you have Apache running on that port.

gioramies7 years ago

Thank you very much. It fixed the issue.
I haven't seen what your are using for geofences, ¿but have you considered http://www.geotools.org/?
I have used it to calculate the distance from a point to a polyline (route).

Anton Tananaev7 years ago

I'm not sure why we need to consider it if we already have everything implemented.