Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] I got Error on Raspberrypi #41

Open
alpgul opened this issue Jan 28, 2019 · 6 comments
Open

[ERROR] I got Error on Raspberrypi #41

alpgul opened this issue Jan 28, 2019 · 6 comments

Comments

@alpgul
Copy link

alpgul commented Jan 28, 2019

@gkso @xulang726 @CvvT @seclab-ucr
sometimes the program is working stably. sometimes does not work.it was running stably in the first installation. over time, it don't working stably.
Intangd.log:
1548674973.864738 [INFO] Current version: 7
1548674973.865288 [INFO] Starting redis server.
1548674975.086556 [INFO] Building sync connection with redis server.
1548674975.087812 [INFO] Sync connection built successfully.
1548674975.087795 [INFO] Connecting to TCP DNS server.
1548674975.088669 [INFO] Loading historical results from redis.
1548674975.164749 [INFO] Connected to TCP DNS server.
1548674975.238943 [INFO] Loading TTL from redis.
1548674975.383371 [INFO] Async connection built successfully.
1548674991.181617 [ERROR] Send keep alive packet failed. errno: 32
1548674991.181898 [INFO] Connecting to TCP DNS server.
1548674991.971873 [INFO] Connected to TCP DNS server.
1548675061.402607 [INFO] Saving TTL to redis
1548675061.782472 [ERROR] error during nfq_destroy_queue()
1548675061.782690 [INFO] Killing redis server (pid 10594).
1548675061.782802 [INFO] Daemon exited.

@xulang726
Copy link
Contributor

redis version maybe too low

@alpgul
Copy link
Author

alpgul commented Jan 29, 2019

redis version maybe too low

When I disable the "cleanup () method" in main.c, the program is partially working fine(sometimes the site get freezing at loading). What is the redis version of running stably?

@xulang726
Copy link
Contributor

at Pi
root@raspberrypi:/# redis-server -v
Redis server version 2.4.14 (00000000:0)
root@raspberrypi:/INTANG# Daemon has started.
The logs can be found in /var/log/intangd.log

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 164

but at Fedora25 redis-sever version 4.0.2, it is ok.

@alpgul
Copy link
Author

alpgul commented Jan 30, 2019

at Pi
root@raspberrypi:/# redis-server -v
Redis server version 2.4.14 (00000000:0)
root@raspberrypi:/INTANG# Daemon has started.
The logs can be found in /var/log/intangd.log

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 164

but at Fedora25 redis-sever version 4.0.2, it is ok.

I installed redis-server version 4.0.2 but the problem has not changed?

1548866728.337535 [INFO] Current version: 7
1548866728.338071 [INFO] Starting redis server.
1548866728.367702 [DEBUG] Adding iptables rules.
1548866729.553358 [DEBUG] unbinding existing nf_queue handler for AF_INET (if any)
1548866729.553616 [DEBUG] binding nfnetlink_queue as nf_queue handler for AF_INET
1548866729.553707 [DEBUG] binding this socket to queue 1
1548866729.553800 [DEBUG] setting copy_packet mode
1548866729.553893 [DEBUG] Init DNS client.
1548866729.554017 [DEBUG] Init ev watchers.
1548866729.554237 [DEBUG] Loading TTL from file.
1548866729.554813 [INFO] Building sync connection with redis server.
1548866729.555966 [INFO] Sync connection built successfully.
1548866729.556147 [DEBUG] Using public DNS resolver #3: 216.146.36.36
1548866729.568645 [INFO] Connecting to TCP DNS server.
1548866729.569251 [INFO] Loading historical results from redis.
1548866729.588735 [DEBUG] 63 records loaded.
1548866729.588873 [INFO] Loading TTL from redis.
1548866729.609948 [DEBUG] 75 records loaded.
1548866729.610173 [INFO] Async connection built successfully.
1548866729.748124 [INFO] Connected to TCP DNS server.
.
.
.
1548866752.386271 [DEBUG] TCP flags: PSH,ACK,
1548866752.386337 [DEBUG] Got a ClientHello message.
1548866752.457257 [DEBUG] rv = -1. errno: 105. No buffer space available
1548866752.457395 [DEBUG] Running out of the loop.
1548866752.457455 [INFO] Saving TTL to redis
1548866752.476069 [DEBUG] 75 records saved.
1548866752.665365 [DEBUG] unbinding from queue 1
1548866752.665685 [ERROR] error during nfq_destroy_queue()
1548866752.665961 [INFO] Killing redis server (pid 22957).
1548866752.666060 [INFO] Daemon exited.

@xulang726
Copy link
Contributor

on my Fedora 25 vm ,intang.log:
[root@localhost ~]# tail -f /var/log/intangd.log
1548915106.344018 [INFO] Loading TTL from redis.
1548915106.346773 [INFO] Async connection built successfully.
1548915106.529150 [INFO] Connected to TCP DNS server.
1548915114.455325 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_59024_280331473_20480_10
1548915122.567266 [ERROR] Send keep alive packet failed. errno: 32
1548915122.568051 [INFO] Connecting to TCP DNS server.
1548915122.797384 [INFO] Connected to TCP DNS server.
1548915138.854335 [ERROR] Send keep alive packet failed. errno: 32
1548915138.854930 [INFO] Connecting to TCP DNS server.
1548915138.995207 [INFO] Connected to TCP DNS server.
1548915196.814777 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_29382_1635170768_20480_17
1548915200.714954 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_55517_1150344003_20480_25
1548915204.515157 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_9877_501004381_20480_10
1548915204.516494 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_10389_501004381_20480_10
some web is ok, others is blocked by certs , no this error "[DEBUG] rv = -1. errno: 105. No buffer space available" , google it ?

@xulang726
Copy link
Contributor

whole log:
[root@localhost ~]# more /var/log/intangd.log
1548915106.276863 [INFO] Current version: 7
1548915106.277370 [INFO] Starting redis server.
1548915106.340267 [INFO] Building sync connection with redis server.
1548915106.340575 [INFO] Sync connection built successfully.
1548915106.340727 [INFO] Loading historical results from redis.
1548915106.340988 [INFO] Connecting to TCP DNS server.
1548915106.344018 [INFO] Loading TTL from redis.
1548915106.346773 [INFO] Async connection built successfully.
1548915106.529150 [INFO] Connected to TCP DNS server.
1548915114.455325 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_59024_280331473_20480_10
1548915122.567266 [ERROR] Send keep alive packet failed. errno: 32
1548915122.568051 [INFO] Connecting to TCP DNS server.
1548915122.797384 [INFO] Connected to TCP DNS server.
1548915138.854335 [ERROR] Send keep alive packet failed. errno: 32
1548915138.854930 [INFO] Connecting to TCP DNS server.
1548915138.995207 [INFO] Connected to TCP DNS server.
1548915196.814777 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_29382_1635170768_20480_17
1548915200.714954 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_55517_1150344003_20480_25
1548915204.515157 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_9877_501004381_20480_10
1548915204.516494 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_10389_501004381_20480_10
1548915204.517369 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_9365_501004381_20480_16
1548915204.519526 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_8853_501004381_20480_17
1548915205.815634 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_13973_501004381_20480_6
1548915205.816628 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_14485_501004381_20480_5
1548915206.185465 [INFO] [EVAL] STRATEGY FAILED 1. HTTP NO RESPONSE. 251789322_15509_501004381_20480_6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants