While I proceed "make make-deb", there are some error prompted, and cannot create the package. Can you help ?
dpkg-buildpackage: source changed by aprsc maintainer <aprsc@ham>
dpkg-buildpackage: host architecture armhf
dpkg-source --before-build src
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 4) lsb-release (>= 3)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [make-deb] Error 3
--
You received this message because you are subscribed to the Google Groups "aprsc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprsc+un...@googlegroups.com.
To post to this group, send email to ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/aprsc/-/bXS-TzhKWTYJ.
For more options, visit https://groups.google.com/groups/opt_out.
I still cannot access the status page by ipaddress:14501 .
I apt-get to install the libevent-dev, and I found the path of libevent.a is: "/usr/lib/arm-linux-gnueabihf/libevent.a"
so I modified the path of libevent.a to above path on the following 3 files, which under src sub-folder and contain default libevent.a path:
\src\rpm\aprsc.spec.in
\src\rpm\aprsc.spec
\src\debian\rules
After install the deb package, I serach again on the libevent.a, and found one more location which under aprsc folder:
/opt/aprsc/usr/lib/arm-linux-gnueabihf/libevent.a
I re-tried the procedure on a new flash image of Raspbian wheezy, manually download the libevent2 & from its web, and found it installation path is "/home/pi/libevent-2.0.21-stable/.libs/libevent.a".
Then modifed the paths of the 3 files to /home/pi/libevent-2.0.21-stable/.libs/libevent.a , but still no help. The path of the libevent.a under aprsc/usr/lib
is same as above one, so it may means the "/home/pi/libevent-2.0.21-stable/.libs/libevent.a " is no use.
I refer the log of HTTP , and cannot found any abnormal.
pi@raspberrypi /opt/aprsc/logs $ sudo grep HTTP aprsc.log
2013/04/04 15:49:20.353157 aprsc[2380:b5cfb470] INFO: HTTP thread starting...
2013/04/04 15:49:20.354050 aprsc[2380:b5cfb470] INFO: Binding HTTP upload socket 0.0.0.0:8080
2013/04/04 15:49:20.355154 aprsc[2380:b5cfb470] INFO: Binding HTTP status socket 0.0.0.0:14501
2013/04/04 15:49:20.355709 aprsc[2380:b5cfb470] INFO: HTTP thread ready.
2013/04/04 15:57:34.127350 aprsc[2486:b5d6e470] INFO: HTTP thread starting...
2013/04/04 15:57:34.128301 aprsc[2486:b5d6e470] INFO: Binding HTTP upload socket 192.168.2.108:8080
2013/04/04 15:57:34.129443 aprsc[2486:b5d6e470] INFO: Binding HTTP status socket 192.168.2.108:14501
2013/04/04 15:57:34.130014 aprsc[2486:b5d6e470] INFO: HTTP thread ready.
2013/04/04 15:57:58.346609 aprsc[2593:b5cf3470] INFO: HTTP thread starting...
2013/04/04 15:57:58.347481 aprsc[2593:b5cf3470] INFO: Binding HTTP upload socket 192.168.2.108:8080
2013/04/04 15:57:58.348666 aprsc[2593:b5cf3470] INFO: Binding HTTP status socket 192.168.2.108:14501
2013/04/04 15:57:58.349241 aprsc[2593:b5cf3470] INFO: HTTP thread ready.
2013/04/04 15:59:10.961546 aprsc[1994:b5d0f470] INFO: HTTP thread starting...
2013/04/04 15:59:10.962429 aprsc[1994:b5d0f470] INFO: Binding HTTP upload socket 192.168.2.108:8080
2013/04/04 15:59:10.963558 aprsc[1994:b5d0f470] INFO: Binding HTTP status socket 192.168.2.108:14501
2013/04/04 15:59:10.964149 aprsc[1994:b5d0f470] INFO: HTTP thread ready.
2013/04/04 16:18:45.508295 aprsc[2318:b5d92470] INFO: HTTP thread starting...
2013/04/04 16:18:45.509152 aprsc[2318:b5d92470] INFO: Binding HTTP upload socket 192.168.2.108:8080
2013/04/04 16:18:45.510341 aprsc[2318:b5d92470] INFO: Binding HTTP status socket 192.168.2.108:14501
2013/04/04 16:18:45.510930 aprsc[2318:b5d92470] INFO: HTTP thread ready.
2013/04/04 16:22:02.191584 aprsc[2008:b5d02470] INFO: HTTP thread starting...
2013/04/04 16:22:02.192475 aprsc[2008:b5d02470] INFO: Binding HTTP upload socket 0.0.0.0:8080
2013/04/04 16:22:02.193634 aprsc[2008:b5d02470] INFO: Binding HTTP status socket 0.0.0.0:14501
2013/04/04 16:22:02.194185 aprsc[2008:b5d02470] INFO: HTTP thread ready.
Any hits or additionl package request for the service ? Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "aprsc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprsc+unsubscribe@googlegroups.com.
Yes, I tried the RPI browse http://127.0.0.1:14501 & http://192.168.2.108:14501 on the X windows's browser,but fail. It prompt:
" the page 'http://127.0.0.1:14501 ' couldnot be loaded, Cannot connect to destination 127.0.0.1 ."
That's why I think does it also request some web server package for the web status page, such as apache or Nginx .
Aprsc doesn't need any other web engine... It's built in.
Can you removed all files at /opt/aprsc and then reinstall fresh one?
please copied over the "make install" output..
Maybe Hessu or anybody else have some idea on that output data..
Thanks...
Bonar
de 9W2CEH
http://aprs.myaprs.my:14501/
--
You received this message because you are subscribed to the Google Groups "aprsc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprsc+un...@googlegroups.com.
To post to this group, send email to ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/aprsc/-/Bur6PSgblBIJ.
1/
pi@raspberrypi ~ $ curl -v http://127.0.0.1:14501/
* About to connect() to 127.0.0.1 port 14501 (#0)
* Trying 127.0.0.1...
* Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
==========================================
2/
pi@raspberrypi ~ $ ps ax|grep aprsc
2290 pts/0 S+ 0:00 grep --color=auto aprsc
==========================================
3/ There are no firewall policy setup on the raspberry pi
pi@raspberrypi ~ $ sudo iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
==========================================
4/ For the telnet, I found that there are no telnet bundled on Raspbian Wheezy, so I install it by myself.
pi@raspberrypi ~ $ telnet 127.0.0.1:14580
telnet: could not resolve 127.0.0.1:14580/telnet: Name or service not known
Million thanks your help, I would like to know which Raspbian Wheezy version using ? I am using the latest release "2013-02-09-wheezy-raspbian". What I worry is the bundled package may alter to cause it not work.
--
You received this message because you are subscribed to the Google Groups "aprsc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aprsc+un...@googlegroups.com.
To post to this group, send email to ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/aprsc/-/t9KVHHx_6poJ.
pi@raspberrypi ~ $ sudo tail -20 /opt/aprsc/logs/aprsc.log
2013/04/08 08:41:00.934393 aprsc[2033:b5dc0470] INFO: Binding listening TCP socket: [::]:10152
2013/04/08 08:41:00.962004 aprsc[2033:b5dc0470] CRIT: socket(): Address family not supported by protocol
2013/04/08 08:41:00.962296 aprsc[2033:b5dc0470] CRIT: Failed to listen on any ports.
It seems the system listen to IPv6 only, not IPv4 that I using.
I really appreciate your help and release the wheezy (raspbian) package, I will try it soon.
Br
Francis
I follow your instruction on your next post to add the IPv6 module on the Raspberry Pi, and it work finally, thanks.