# Found some issues

**URL:** <https://dietpi.com/forum/t/found-some-issues/554>\
**Category:** Troubleshooting\
**Created:** [14 September 2016 08:44 UTC](https://dietpi.com/forum/t/found-some-issues/554 "2016-09-14T08:44:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimi3](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@dimi3](https://dietpi.com/forum/u/dimi3)\
**Post date:** [14 September 2016 08:44 UTC](https://dietpi.com/forum/t/found-some-issues/554/1 "2016-09-14T08:44:07Z")

</div>

Hi…

I’m playing new Odroid C2 install and different options regarding logging…if full log is enabled this error is constantly present in syslog;

rsyslogd-2007: action ‘action 17’ suspended, next retry is Wed Sep 14 10:17:31 2016 [try [http://www.rsyslog.com/e/2007](http://www.rsyslog.com/e/2007) ]

solution to fix it, and decrease disk writes is to disable following lines in /etc/rsyslog.conf (maybe someone finds this useful)

```nohighlight
# daemon.*;mail.*;\
# news.err;\
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole

```

General question if RAMLOG is enabled, is there a possiblity to include also syslog in it, currently its only visible in full log option. Could rsyslog be enabled by default and /var/log mounted as tmpfs, and writtent to disk on reboot ?

I also noticed Samba logging has some permission problems on /var/log/samba/cores

syslog shows;

_Sep 14 10:21:22 Odroid-C2 nmbd[476]: Starting NetBIOS name server: nmbdinvalid permissions on directory ‘/var/log/samba/cores’: has 0775 should be 0700  
Sep 14 10:21:22 Odroid-C2 nmbd[476]: Failed to create /var/log/samba/cores for user 0 with mode 0700  
Sep 14 10:21:22 Odroid-C2 nmbd[476]: Unable to setup corepath for nmbd: Success_

and samba log;  
_Copyright Andrew Tridgell and the Samba Team 1992-2014  
[2016/09/14 10:21:23.189746, 0] …/lib/util/become\_daemon.c:124(daemon\_ready)  
STATUS=daemon ‘smbd’ finished starting up and ready to serve connections  
Unable to connect to CUPS server localhost:631 - Bad file descriptor  
failed to retrieve printer list: NT\_STATUS\_UNSUCCESSFUL  
Unable to connect to CUPS server localhost:631 - Bad file descriptor  
failed to retrieve printer list: NT\_STATUS\_UNSUCCESSFUL  
[2016/09/14 10:22:42.795436, 0] …/lib/util/pidfile.c:153(pidfile\_unlink)  
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory  
[2016/09/14 10:22:44, 0] …/lib/util/util.c:285(directory\_create\_or\_exist\_strict)  
invalid permissions on directory ‘/var/log/samba/cores’: has 0775 should be 0700  
[2016/09/14 10:22:44, 0] …/source3/lib/dumpcore.c:59(get\_default\_corepath)  
Failed to create /var/log/samba/cores for user 0 with mode 0700  
[2016/09/14 10:22:44, 0] …/source3/lib/dumpcore.c:250(dump\_core\_setup)  
Unable to setup corepath for smbd: Success  
[2016/09/14 10:22:44, 0] …/source3/smbd/server.c:1241(main)  
smbd version 4.2.10-Debian started.  
Copyright Andrew Tridgell and the Samba Team 1992-2014  
[2016/09/14 10:22:44.559634, 0] …/lib/util/become\_daemon.c:124(daemon\_ready)  
STATUS=daemon ‘smbd’ finished starting up and ready to serve connections  
Unable to connect to CUPS server localhost:631 - Bad file descriptor  
failed to retrieve printer list: NT\_STATUS\_UNSUCCESSFUL_

regards,

---

<div class="post-metadata">

**Author:** ![k-plan](https://dietpi.com/forum/user_avatar/dietpi.com/k-plan/32/12_2.png) [@k-plan](https://dietpi.com/forum/u/k-plan)\
**Post date:** [14 September 2016 12:35 UTC](https://dietpi.com/forum/t/found-some-issues/554/2 "2016-09-14T12:35:45Z")

</div>

> [@dimi3](#):
>
> .if full log is enabled this error is constantly present in syslog;
> 
> rsyslogd-2007: action ‘action 17’ suspended, next retry is Wed Sep 14 10:17:31 2016 [try [You searched for error 2007 - rsyslog](http://www.rsyslog.com/e/2007) ]
> 
> solution to fix it, and decrease disk writes is to disable following lines in /etc/rsyslog.conf (maybe someone finds this useful)

[https://github.com/Fourdee/DietPi/issues/313#issuecomment-219564276](https://github.com/Fourdee/DietPi/issues/313#issuecomment-219564276)

[https://github.com/Fourdee/DietPi/issues/311#issuecomment-230571616](https://github.com/Fourdee/DietPi/issues/311#issuecomment-230571616)

> <https://github.com/RPi-Distro/repo/issues/28#issuecomment-216640318>
>
> My syslog contains loads of these intermittently:
> 
> \`\`\`
> Apr 12 04:30:18 raspberry…pi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:31:48 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:37:37 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:39:07 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:43:15 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:44:45 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:48:56 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:50:26 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:53:42 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:55:12 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:55:54 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 04:57:24 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 04:58:54 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:00:24 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:06:17 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:07:47 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:11:04 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:12:34 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:18:31 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:20:06 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:21:36 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:25:54 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:27:24 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:28:48 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:30:18 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:36:44 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:38:14 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:41:28 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:42:58 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:48:51 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:50:21 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 05:55:54 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 05:57:24 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:05:18 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:06:48 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:11:17 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:12:47 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:18:31 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:25:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:26:31 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:34:05 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:35:35 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:43:34 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:45:04 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:48:26 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:49:56 2016 \[try http://www.rsyslog.com/e/2007 \]
> Apr 12 06:50:05 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Apr 12 06:51:35 2016 \[try http://www.rsyslog.com/e/2007 \]
> \`\`\`
> 
> Seems to affect many, has been mentioned in the forums:
> https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=134971
> 
> It was reported in Debian:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742113
> 
> but they said it was an rsyslog issue, and reported here:
> 
> https://github.com/rsyslog/rsyslog/issues/35
> 
> and there are some comments on there suggesting it's just the default config writing to xconsole:
> 
> \> It's a configuration issue with the distro then, nothing wrong with rsyslog. Commented out the offending lines with much success. Thanks!
> 
> I don't really know which of these is correct, but I thought it'd be worth posting here in case it's something you can fix. I'm trying to reduce the amount of crap being written to my logs so that a) I can keep an eye on them (I'm a Linux noob, so trying to understand what's going on/wrong) and b) seems like lots of needless writing on an SD card could reduce its life.
