Browsed by
Tag: debian

sysstat: No such file or directory

sysstat: No such file or directory

Problem When you run sysstat you might get the error Cannot open /var/log/sysstat/sa20: No such file or directory This is because sar logging is not enabled on the server yet. Solution Enable logging by running the following command dpkg-reconfigure sysstat Select <Yes> and press return. Manual Method If this does not work change the config file manually edit the file vi /etc/default/sysstat alter the line ENABLED from false to true ENABLED=”false” ENABLED=”true” Restart sysstat /etc/init.d/sysstat restart Wait 10 minutes and…

Read More Read More

dovecot error: mail_extra_groups

dovecot error: mail_extra_groups

Problem I found the following error when restarting dovecot on some servers Restarting IMAP/POP3 mail server: dovecotWarning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead as the error suggests you need to use another variable in the dovecot.conf other than mail_extra_groups as it is now deprecated. Resolution Simply edit dovecot.conf vi /etc/dovecot/dovecot.conf replace mail_extra_groups mail_extra_groups = mail with mail_access_groups mail_access_groups = mail restart dovecot /etc/init.d/dovecot restart service dovecot restart Now the error…

Read More Read More

apt-get error: “GPG error: The following signatures couldn’t be verified because the public key is not available”

apt-get error: “GPG error: The following signatures couldn’t be verified because the public key is not available”

When using apt-get update you might get an error similar to the following. resolve GPG error: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA To fix this you will need to download and add a key. You will need to get the key by running the following command. apt-key adv –keyserver pgp.mit.edu –recv-key AED4B06F473041FA Next add the key to apt-key. gpg –armor –export AED4B06F473041FA | apt-key add – Now when running apt-get update the error…

Read More Read More

Debian: Lenny Archive Repository

Debian: Lenny Archive Repository

If you are are still running Debian 5 ‘Lenny’ and require access to the apt repository you may of noticed it no longer works. This is because Debian terminated support for this version of there operating system as you can see from the below new post in February. However you can still access the ‘lenny’ repository by changing the repository in sources.lst Security Support for Debian 5.0 terminated http://www.debian.org/News/2012/20120209 vi /etc/apt.sources.lst remove the old repository including security.debian.org and add deb…

Read More Read More