You are not logged in.
I have now completed my home server with arch linux, and get everything working like i wanted. :-)
Now i have found some messages within the error log i couldn't find a solution for. It looks like nothing important to me, they sound more like informations than actual errors, but maybe there is some configuration wrong and can be fixed to avoid these messages.
The first one
SP5100 TCO timer: mmio address 0xb8fe00 already in use
occurs during udev on each boot. (I'm running kernel 3.2.8-1-ARCH)
dhcpcd[553]: eth0: sendmsg: Cannot assign requested address
I configure the network via DHCP, and the router decides the ip according to a mac-address/ip-address-look-up-table. I think dhcpcd tries to decide the ip-address in the first place, and fails until the router sends the correct one.
/usr/sbin/crond[613]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
This is obviously because I don't have sendmail installed. Can I configure cron to use Syslog instead of sendmail? So it doesn't checks for sendmail everytime it is started.
Thanks!
Last edited by silentsnake (2012-03-02 03:02:02)
Offline
/usr/sbin/crond[613]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
This is obviously because I don't have sendmail installed. Can I configure cron to use Syslog instead of sendmail? So it doesn't checks for sendmail everytime it is started.
You should be able to solve this by adding "-S" to the "ARGS" line in /etc/conf.d/crond
Burninate!
Offline
The first one
SP5100 TCO timer: mmio address 0xb8fe00 already in use
occurs during udev on each boot. (I'm running kernel 3.2.8-1-ARCH)
I get this error on every boot but decided not to worry about it. I have no stability issues, er, make that my computer has no stability issues.
According to this thread https://bbs.archlinux.org/viewtopic.php?id=125482 you can blacklist the offending module.
Last edited by sonoran (2012-03-02 10:10:18)
Offline
Thanks! Adding "-s" solved the crond error message. :-)
And if SP5100 doesn't make any troubles I will stay with it for now. Maybe it get fixed sometimes.
Offline
silentsnake wrote:/usr/sbin/crond[613]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
This is obviously because I don't have sendmail installed. Can I configure cron to use Syslog instead of sendmail? So it doesn't checks for sendmail everytime it is started.
You should be able to solve this by adding "-S" to the "ARGS" line in /etc/conf.d/crond
Unfortunately for me that didn't solve the problem. Is there any other way handle the problem?
Offline
You could try this.
Offline
Gcool wrote:silentsnake wrote:/usr/sbin/crond[613]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
This is obviously because I don't have sendmail installed. Can I configure cron to use Syslog instead of sendmail? So it doesn't checks for sendmail everytime it is started.
You should be able to solve this by adding "-S" to the "ARGS" line in /etc/conf.d/crond
Unfortunately for me that didn't solve the problem. Is there any other way handle the problem?
Hello,
also for me this doesn't solve the problem. I tried also to modify /etc/rc.d/crond from
[[ -z "$PID" ]] && /usr/sbin/crond $CRONDARGS &>/dev/null \
to
[[ -z "$PID" ]] && /usr/sbin/crond -s &>/dev/null \
but nothing, the problem persists.
Can someone help me (I also tried to use google)?
Thank you.
Riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
The TCO thing I think is the watchdog. On my system, there are two modules that try to load themselves for that device, there is an iTCO-something, and then there was mei both competing for the same spot. I ended up blacklisting mei, and all is well. Some people noted that they noticed power regressions when they did this, but I have not noticed any sugh things.
Offline
Did adding "-s" make no difference? I just tried this and restarted crond. Here's a comparison:
before:
Aug 14 00:01:03 localhost /USR/SBIN/CROND[22645]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
after:
Aug 14 00:23:03 localhost /usr/sbin/crond[23865]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
I'm not sure why it is still complaining about the lack of file/directory but it has changed from "EXEC FAILED" to "INFO" and is apparently promising to use the log rather than sendmail...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Did adding "-s" make no difference? I just tried this and restarted crond. Here's a comparison:
before:
Aug 14 00:01:03 localhost /USR/SBIN/CROND[22645]: (CRON) EXEC FAILED (/usr/sbin/sendmail): No such file or directory
after:
Aug 14 00:23:03 localhost /usr/sbin/crond[23865]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
I'm not sure why it is still complaining about the lack of file/directory but it has changed from "EXEC FAILED" to "INFO" and is apparently promising to use the log rather than sendmail...
My log is the second one, but it has never changed, with or not the -s option. I know that with the -s this error, even if it is an info one, will completely desappear: is it true?
Thank you.
Riccardo
Last edited by riccardo (2012-08-14 05:02:03)
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
Well, it didn't disappear for me but the second one is not reporting an error - "INFO" is, I assume, for "INFORMATION". There's no failure or error reported - except, rather oddly, for the continuing complaint about the lack of file/directory.
But without "-s", I get the "EXEC FAILED" i.e. a real error as it tries and fails to execute sendmail.
I don't know that this is how it is supposed to work. I'm just reported what happened on my machine.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Well, it didn't disappear for me but the second one is not reporting an error - "INFO" is, I assume, for "INFORMATION". There's no failure or error reported - except, rather oddly, for the continuing complaint about the lack of file/directory.
But without "-s", I get the "EXEC FAILED" i.e. a real error as it tries and fails to execute sendmail.
I don't know that this is how it is supposed to work. I'm just reported what happened on my machine.
You are right, this seems to be only an INFO, but this log appears in file errors.log under /var/log. Some users after the -s modification, has no more errors like this in errors.log.
I don't know how to solve.
Thank you.
Riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
Firstly are you setting -s or -S? The second one is the one you want as -s has a different meaning.
-s sets the directory of system crontabs, and if you are using it and not pointing to a valid directory, it could give a no such file or directory error. I don't think that's it though.
Secondly, in /etc/conf.d/crond you can see that the log level is set to info. If you set this to a higher level, say warning, then the INFO messages should stop appearing (note, I haven't tried this).
Last edited by skanky (2012-08-15 10:34:38)
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
That's not what the manual page for crond says. It doesn't mention -S at all but it says -s sends stuff to syslog rather than using sendmail.
Are you saying the manual page is buggy or are we talking about different things?!
Plus that wouldn't explain why the EXEC FAILED error disappears if you add "-s". I should just get an *additional* error in this case, shouldn't I?
Last edited by cfr (2012-08-15 22:43:25)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Firstly are you setting -s or -S? The second one is the one you want as -s has a different meaning.
-s sets the directory of system crontabs, and if you are using it and not pointing to a valid directory, it could give a no such file or directory error. I don't think that's it though.Secondly, in /etc/conf.d/crond you can see that the log level is set to info. If you set this to a higher level, say warning, then the INFO messages should stop appearing (note, I haven't tried this).
With -s or -S the situatione is the same.
In /etc/conf.d/crond I don't have any log level.
Thank you.
Riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
Try changing it to:
CROND_ARGS="-S -l warning"
The valid log levels are in the man page.
Note as I don't use cron, this is untested at my end.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
I do use cron and "-S" is *not* in the man page. The man page gives the option as "-s" and that gets rid of the EXEC FAILED option in my case.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Try changing it to:
CROND_ARGS="-S -l warning"
The valid log levels are in the man page.
Note as I don't use cron, this is untested at my end.
Is this the only way to change the log lever on arch? Any config file?
Thank you.
Riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
Er... I thought we were talking about a config file. What do you mean?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Er... I thought we were talking about a config file. What do you mean?
If there is somewhere a config file to modify to change the log level on /var/log.
Thank you.
Riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
/etc/syslog-ng.conf?
apropos syslog
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
/etc/syslog-ng.conf?
apropos syslog
yes
does this file "decide" all level log of the system?
thank you
riccardo
Arch Linux x86_64 | GNOME | Genuine Intel® CPU U7300 @ 1.30GHz × 2 | 3,7 GiB | Corsair Force 3 SSD 120 GiB
Offline
I do use cron and "-S" is *not* in the man page. The man page gives the option as "-s" and that gets rid of the EXEC FAILED option in my case.
Interesting as both -s and -S are in my crond man page:
-s dir directory of system crontabs (defaults to /etc/cron.d)
-S log events to syslog, using syslog facility LOG_CRON and identity `crond' (this is the default behavior).
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
@skanky,
Is it possible that we are using different implementations? That is, I'm using cronie but dcron also provides crond.
From man crond:
SYNOPSIS
crond [-n | -p | -s | -c | -m<mailcommand>]
crond -x [ext,sch,proc,pars,load,misc,test,bit]
and:
OPTIONS
-m This option allows you to specify a shell command to use for sending Cron mail output instead of using
sendmail(8) This command must accept a fully formatted mail message (with headers) on standard input and
send it as a mail message to the recipients specified in the mail headers. Specifying the string off (i.e.
crond -m off) will disable the sending of mail.
-n Tells the daemon to run in the foreground. This can be useful when starting it out of init.
-p Allows Cron to accept any user set crontables.
-c This option enables clustering support, as described below.
-s This option will direct Cron to send the job output to the system log using syslog(3). This is useful if
your system does not have sendmail(8), installed or if mail is disabled.
-x This option allows you to set debug flags.
Last edited by cfr (2012-08-21 22:05:26)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
cfr wrote:/etc/syslog-ng.conf?
apropos syslog
yes
does this file "decide" all level log of the system?
apropos syslog
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline