docker Unix syslog delivery errorChained Syslog forwardingSyslog forwarding loses original hostnamesyslog -...
Can hydraulic brake levers get hot when brakes overheat?
What does it mean to make a bootable LiveUSB?
Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?
Employee lack of ownership
Can elves maintain concentration in a trance?
Make a transparent 448*448 image
It's a yearly task, alright
Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab
Bash replace string at multiple places in a file from command line
Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements
Brexit - No Deal Rejection
How to make healing in an exploration game interesting
Russian cases: A few examples, I'm really confused
Ban on all campaign finance?
Am I not good enough for you?
How do anti-virus programs start at Windows boot?
Did CPM support custom hardware using device drivers?
What is IP squat space
Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?
2D counterpart of std::array in C++17
How to write cleanly even if my character uses expletive language?
Be in awe of my brilliance!
When do we add an hyphen (-) to a complex adjective word?
Welcoming 2019 Pi day: How to draw the letter π?
docker Unix syslog delivery error
Chained Syslog forwardingSyslog forwarding loses original hostnamesyslog - log line classificationsintercept, evaluate, change syslog messagesHow can you filter mail.info from syslog?File monitoring using syslogWhat is the difference between syslog, rsyslog and syslog-ng?Syslog logging to syslog.1 not syslogStrange error message in syslogFilter docker messages from syslog
I faced at syslog related error when executing the program with the docker.
docker run -d -e SERVER_ADDR=127.0.0.1 --name go-agent1 go-agent:1.0
Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error
DOCKERFILE
FROM centos:latest
RUN mkdir -p /cloud/config
WORKDIR /cloud
COPY go_agent go_agent (==>go_agent is go lang program)
COPY config/agent.conf config/agent.conf
COPY cloud-settings cloud-settings
CMD ["sh","-c","/cloud/cloud-settings ; /cloud/go_agent"]
#CMD ["/cloud/go_agent"] ==> Running go_agent alone will work.
When I run go_agent alone, it works fine.
but after cloud-settings shell, go_agent cause syslog delivery error.
cloud-settings
#!/bin/bash
# chkconfig: 234 90 90
sed -i '3i "agent_server_ip":"'${SERVER_ADDR}'",' config/agent.conf
I want to know how to fix syslog error.
docker syslog rsyslog
New contributor
add a comment |
I faced at syslog related error when executing the program with the docker.
docker run -d -e SERVER_ADDR=127.0.0.1 --name go-agent1 go-agent:1.0
Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error
DOCKERFILE
FROM centos:latest
RUN mkdir -p /cloud/config
WORKDIR /cloud
COPY go_agent go_agent (==>go_agent is go lang program)
COPY config/agent.conf config/agent.conf
COPY cloud-settings cloud-settings
CMD ["sh","-c","/cloud/cloud-settings ; /cloud/go_agent"]
#CMD ["/cloud/go_agent"] ==> Running go_agent alone will work.
When I run go_agent alone, it works fine.
but after cloud-settings shell, go_agent cause syslog delivery error.
cloud-settings
#!/bin/bash
# chkconfig: 234 90 90
sed -i '3i "agent_server_ip":"'${SERVER_ADDR}'",' config/agent.conf
I want to know how to fix syslog error.
docker syslog rsyslog
New contributor
add a comment |
I faced at syslog related error when executing the program with the docker.
docker run -d -e SERVER_ADDR=127.0.0.1 --name go-agent1 go-agent:1.0
Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error
DOCKERFILE
FROM centos:latest
RUN mkdir -p /cloud/config
WORKDIR /cloud
COPY go_agent go_agent (==>go_agent is go lang program)
COPY config/agent.conf config/agent.conf
COPY cloud-settings cloud-settings
CMD ["sh","-c","/cloud/cloud-settings ; /cloud/go_agent"]
#CMD ["/cloud/go_agent"] ==> Running go_agent alone will work.
When I run go_agent alone, it works fine.
but after cloud-settings shell, go_agent cause syslog delivery error.
cloud-settings
#!/bin/bash
# chkconfig: 234 90 90
sed -i '3i "agent_server_ip":"'${SERVER_ADDR}'",' config/agent.conf
I want to know how to fix syslog error.
docker syslog rsyslog
New contributor
I faced at syslog related error when executing the program with the docker.
docker run -d -e SERVER_ADDR=127.0.0.1 --name go-agent1 go-agent:1.0
Docker logs: 2019/03/15 01:59:08 Unix syslog delivery error
DOCKERFILE
FROM centos:latest
RUN mkdir -p /cloud/config
WORKDIR /cloud
COPY go_agent go_agent (==>go_agent is go lang program)
COPY config/agent.conf config/agent.conf
COPY cloud-settings cloud-settings
CMD ["sh","-c","/cloud/cloud-settings ; /cloud/go_agent"]
#CMD ["/cloud/go_agent"] ==> Running go_agent alone will work.
When I run go_agent alone, it works fine.
but after cloud-settings shell, go_agent cause syslog delivery error.
cloud-settings
#!/bin/bash
# chkconfig: 234 90 90
sed -i '3i "agent_server_ip":"'${SERVER_ADDR}'",' config/agent.conf
I want to know how to fix syslog error.
docker syslog rsyslog
docker syslog rsyslog
New contributor
New contributor
New contributor
asked 2 mins ago
염경훈염경훈
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
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
});
}
});
염경훈 is a new contributor. Be nice, and check out our Code of Conduct.
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%2fserverfault.com%2fquestions%2f958370%2fdocker-unix-syslog-delivery-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
염경훈 is a new contributor. Be nice, and check out our Code of Conduct.
염경훈 is a new contributor. Be nice, and check out our Code of Conduct.
염경훈 is a new contributor. Be nice, and check out our Code of Conduct.
염경훈 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f958370%2fdocker-unix-syslog-delivery-error%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