No logs are written to /var/log
I have a problem, that no logs are written to /var/log.
-rw-r----- 1 syslog adm 6.4M May 21 2014 syslog
-rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log
-rw-r----- 1 syslog adm 494K May 21 2014 auth.log
But date and time is configured properly
Tue Apr 28 19:38:56 CEST 2015
It seems that I made a dist-upgrade 21 May of 2014. And since then I have no logs written. My system is Ubuntu 14.04 (no GUI). It has been running for 132 days without reboot.
Other log files like MySQL or nginx are up to date. Only system logs don't work.
I hope you can help me.
log syslog
add a comment |
I have a problem, that no logs are written to /var/log.
-rw-r----- 1 syslog adm 6.4M May 21 2014 syslog
-rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log
-rw-r----- 1 syslog adm 494K May 21 2014 auth.log
But date and time is configured properly
Tue Apr 28 19:38:56 CEST 2015
It seems that I made a dist-upgrade 21 May of 2014. And since then I have no logs written. My system is Ubuntu 14.04 (no GUI). It has been running for 132 days without reboot.
Other log files like MySQL or nginx are up to date. Only system logs don't work.
I hope you can help me.
log syslog
add a comment |
I have a problem, that no logs are written to /var/log.
-rw-r----- 1 syslog adm 6.4M May 21 2014 syslog
-rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log
-rw-r----- 1 syslog adm 494K May 21 2014 auth.log
But date and time is configured properly
Tue Apr 28 19:38:56 CEST 2015
It seems that I made a dist-upgrade 21 May of 2014. And since then I have no logs written. My system is Ubuntu 14.04 (no GUI). It has been running for 132 days without reboot.
Other log files like MySQL or nginx are up to date. Only system logs don't work.
I hope you can help me.
log syslog
I have a problem, that no logs are written to /var/log.
-rw-r----- 1 syslog adm 6.4M May 21 2014 syslog
-rw-r----- 1 syslog adm 5.7M May 21 2014 daemon.log
-rw-r----- 1 syslog adm 494K May 21 2014 auth.log
But date and time is configured properly
Tue Apr 28 19:38:56 CEST 2015
It seems that I made a dist-upgrade 21 May of 2014. And since then I have no logs written. My system is Ubuntu 14.04 (no GUI). It has been running for 132 days without reboot.
Other log files like MySQL or nginx are up to date. Only system logs don't work.
I hope you can help me.
log syslog
log syslog
asked Apr 28 '15 at 17:41
stilstil
201127
201127
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Ok, I found solution somewhere else:
sudo apt-get install --reinstall rsyslog
It seems rsyslog was removed itself at some point.
add a comment |
have you restarted the systemlogs deamon?
sudo service rsyslog restart
this should work. This problem came for me also, i restarted this deamon, now its working fine.
add a comment |
Could try this in case something's mis-configured with rsyslog
, at least before trying a full reinstall:
sudo dpkg-reconfigure rsyslog
add a comment |
I fixed it by uninstalling rsyslog sudo apt-get purge rsyslog
and then reinstalling it sudo apt-get install rsyslog
. In my case the permissions and ownership of the files were all correct but the syslog file was empty and all the logs were going into uncategorized.log
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f615457%2fno-logs-are-written-to-var-log%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ok, I found solution somewhere else:
sudo apt-get install --reinstall rsyslog
It seems rsyslog was removed itself at some point.
add a comment |
Ok, I found solution somewhere else:
sudo apt-get install --reinstall rsyslog
It seems rsyslog was removed itself at some point.
add a comment |
Ok, I found solution somewhere else:
sudo apt-get install --reinstall rsyslog
It seems rsyslog was removed itself at some point.
Ok, I found solution somewhere else:
sudo apt-get install --reinstall rsyslog
It seems rsyslog was removed itself at some point.
edited Jan 11 at 17:16
answered Apr 28 '15 at 18:04
stilstil
201127
201127
add a comment |
add a comment |
have you restarted the systemlogs deamon?
sudo service rsyslog restart
this should work. This problem came for me also, i restarted this deamon, now its working fine.
add a comment |
have you restarted the systemlogs deamon?
sudo service rsyslog restart
this should work. This problem came for me also, i restarted this deamon, now its working fine.
add a comment |
have you restarted the systemlogs deamon?
sudo service rsyslog restart
this should work. This problem came for me also, i restarted this deamon, now its working fine.
have you restarted the systemlogs deamon?
sudo service rsyslog restart
this should work. This problem came for me also, i restarted this deamon, now its working fine.
answered Aug 29 '17 at 9:44
amit pandyaamit pandya
1213
1213
add a comment |
add a comment |
Could try this in case something's mis-configured with rsyslog
, at least before trying a full reinstall:
sudo dpkg-reconfigure rsyslog
add a comment |
Could try this in case something's mis-configured with rsyslog
, at least before trying a full reinstall:
sudo dpkg-reconfigure rsyslog
add a comment |
Could try this in case something's mis-configured with rsyslog
, at least before trying a full reinstall:
sudo dpkg-reconfigure rsyslog
Could try this in case something's mis-configured with rsyslog
, at least before trying a full reinstall:
sudo dpkg-reconfigure rsyslog
answered Oct 22 '17 at 11:36
Xen2050Xen2050
6,73712143
6,73712143
add a comment |
add a comment |
I fixed it by uninstalling rsyslog sudo apt-get purge rsyslog
and then reinstalling it sudo apt-get install rsyslog
. In my case the permissions and ownership of the files were all correct but the syslog file was empty and all the logs were going into uncategorized.log
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
add a comment |
I fixed it by uninstalling rsyslog sudo apt-get purge rsyslog
and then reinstalling it sudo apt-get install rsyslog
. In my case the permissions and ownership of the files were all correct but the syslog file was empty and all the logs were going into uncategorized.log
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
add a comment |
I fixed it by uninstalling rsyslog sudo apt-get purge rsyslog
and then reinstalling it sudo apt-get install rsyslog
. In my case the permissions and ownership of the files were all correct but the syslog file was empty and all the logs were going into uncategorized.log
I fixed it by uninstalling rsyslog sudo apt-get purge rsyslog
and then reinstalling it sudo apt-get install rsyslog
. In my case the permissions and ownership of the files were all correct but the syslog file was empty and all the logs were going into uncategorized.log
answered Jan 11 at 17:14
AsimAsim
1
1
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
add a comment |
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
1
1
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
Please note that the accepted answer at https://askubuntu.com/a/615473/283721 performs the same function
– Charles Green
Jan 11 at 17:35
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f615457%2fno-logs-are-written-to-var-log%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown