Thanks for reporting this. Seems like some maintenance was going on once you performed this task that’s why there is some expected error you are seeing. I have marked your task as pending manually so you can perform it again.
Hello All,
I also think the same , I had copied on all the servers in /etc/motd but on one of the servers it is showing as not copied , please check if any change at the backend which could have caused issue
In your case the error seems valid i.e Banner has not been set up on app server 1. Don’t worry about the failed task you might be assigned the same in near future. Please proceed with the next tasks
Hey man ,
I’m not arriving to copy file on db server . can you help me out ? the scp command does’nt work for db server , but works for all applications servers .
Hi,
i am getting the error ssh: connect to host jump_host port 22: Connection refused when trying the below command on the jump host.
scp thor@jump_host:/root/nautilus_banner [email protected]:/etc/motd
hello
if you are in thor@jump_host and copy it to tony server so you dont have to write thor@jump_host with command simply write scp /root/nautilus_banner [email protected]:/etc/motd
on destination server, do we need to copy files to /etc/motd?
where is this information mentioned. I blindly copied the commands shared in this post.
just trying to understand the requirement. let me know if you have any suggestions on the same. thank you
steve user on app server 2 does not has permissions to directly modify /etc/motd file. So you need to copy the banner first to some location where steve user has permissions and then you can modify motd file using sudo.
Yes it applies to all servers. A Linux user only has full permissions within its home and /tmp by default, so you could easily copy banner to some of these locations and then could update other config using sudo.
@Inderpreet
As per this task: I copied /root/nautilus_banner to tmp directory on app1,2,3 and db1 servers.
Next, should I move this file from /tmp to /etc/motd?
Swaroop
Thanks for modifying this task with correct banner location. Can you now make this task pending for me and clear my failed task result ? Thanks in advance !
Hi @Inderpreet, Can you please enable the banner question in my tasks and mark it for pending . As I have earlier raised an issue , that it was marked incorrectly for some reason though the banners was made correct. You have let know that you will be releasing the task again. Can you please do it again.
Thanks.