Search the Community
Showing results for tags 'syslog'.
-
I'm still running in the payload timeout after 1 Minute. So I did some investigation about it. I made the attached payload.txt for testing. I put the command logger "#### Start Test payload #### at the beginning of the payload and logger "#### End Test payload ####" at the end. So I can examine the syslog what happens during ten payload run. After approx. 1:30 min bunny.service is running into a timeout ......... Apr 6 09:56:52 bunny logger: #### Loop Test payload #### Apr 6 09:56:54 bunny logger: #### Loop Test payload #### Apr 6 09:56:56 bunny logger: #### Loop Test payload #### Apr 6 09:56:58 bunny systemd[1]: bunny.service start operation timed out. Terminating. Apr 6 09:56:58 bunny systemd[1]: Failed to start bunny.service. Apr 6 09:56:58 bunny systemd[1]: Unit bunny.service entered failed state. Apr 6 09:56:58 bunny systemd[1]: Starting Multi-User System. Apr 6 09:56:58 bunny systemd[1]: Reached target Multi-User System. Apr 6 09:56:59 bunny systemd[1]: Startup finished in 2.366s (kernel) + 1min 34.343s (userspace) = 1min 36.710s. The result of the command systemctl show bunny.service |grep Timeout is TimeoutStartUSec=1min 30s TimeoutStopUSec=1min 30s JobTimeoutUSec=0 Guess this is the reason for the payload timeout. Can anybody confirm this? I willl do more investigations syslog payload.txt ______________________________________________________________________________________________________________________ OK got it..... I insert the value TimeoutSec=5min under the [Service] section of file /lib/systemd/system/bunny.service Now it works with a timeout of 5 min. (see attached syslog.solved_5min_Timeout) Be carefully, I'm not responsible for any damage of the bunny :-) @Darren Kitchen @Sebkinne If you agree (because its part of Firmware) I can make a payload who will patch this. syslog.solved_5min_Timeout
- 11 replies
-
- bunny.service
- timeout
-
(and 2 more)
Tagged with:
-
Hi! Tried to find something useful, but no luck. I want to send syslog messages to central server. I have openvpn working from command line. So I would need 2 things: 1. Where to configure persistent, that syslog messages will be sent to central syslog server. I need this so ship some logs to logstash server. I didn't find anything useful except syslog. 2. I want so openpvn start with my configuration. Its not started at the moment. It is installed on SD card. Any tips, hints? Thanks. MIlan
-
My pineapple crashes and reboots a lot. I'd like to figure out why. Common sense tells me to begin by sifting through something like a system log that might detail the events that led to each crash. The trouble is, when I look at the log available through the web interface after a crash, the first entry only begins 0:38 seconds after the reboot. No events are listed prior to it: Jan 1 01:00:38 Pineapple kern.info kernel: [ 30.720000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) This makes it difficult to determine what precipitated the uncommanded reboot. How and where do I find log files that would detail events that are occurring prior to the uncommanded reboots? If the answer involves the Log Check infusion or the "custom tail" option, perhaps someone could steer me toward resources that might help in understanding how to use it? I really don't know where to begin.