CURL – curl: (9) Server denied you to change to the given directory
Error 1: CURL – curl: (9) Server denied you to change to the given directoryError 2: ftp error 550 server denied you to change to the given directory
Possibly when you are trying to ftp to one of the server and changing the directory thereafter you would get the above given error1.
Or
If you are trying to access the repos on a Linux machine you will get the Error2.
I had faced the both the situation, Configuring YUM on one of the client.
My Configuration : vsftp, RHEL 6.6
Solution:
You need to check the default landing directory in your vsftpd.conf file and mention the repo path in the /etc/yum.repos.d/<repo File Name> minus the landing directory. That would solve these 2 issues.my vsftp default directory is /var/ftp
my repos directory is /var/ftp/pub/yum/rhel6
[root@test ~]# cat /etc/yum.repos.d/local.repo
[rhel6]
name=rhel6
baseurl=ftp://ip of the server/pub/yum/rhel6
gpgcheck=0
enabled=1
[root@test ~]#
[root@test ~]# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel6 | 3.6 kB 00:00
repo id repo name status
rhel6 rhel6 3,785
repolist: 3,785
Interesting Articles on Kubernetes:
Kubernetes : Kubernetes Node Management, Maintenance, Delete
How to add a New Worker Node to a existing kubernetes Cluster
MinIO Client Installation and Quickstart
PLEG is not healthy: Kubernetes Worker Node is in "NotReady" state
Backup MySQL databases in Kubernetes
How to Run Automated Tasks in Kubernetes with a cronjob
How to Completely remove Kubernetes
No comments