Categories: Hostripples Featured

`/var/empty/sshd/etc’: No Such file or directory

Hello All,

You might get the “cp: cannot create regular file `/var/empty/sshd/etc’: No Such file or directory” while starting the ssh service some time, to solve it you just need to create the directory with same path using below commands :

root@mylocalhost [~]# /etc/init.d/sshd start

cp: cannot create regular file `/var/empty/sshd/etc’: No such file or directory

This error is due to the missing folder /var/empty/sshd/etc.

To sort this you can use the following steps:

root@mylocalhost [~]# mkdir -p /var/empty/sshd/etc

root@mylocalhost [~]# chmod 755 /var/empty/sshd/etc

root@mylocalhost [~]# chown root.root /var/empty/sshd/etc

Now try restarting SSH.

root@mylocalhost [~]# /etc/init.d/sshd start

Starting sshd:                                             [  OK  ]

root@mylocalhost [~]#

Regards,

 


HR-ADMIN

Recent Posts

????? ?????? – ??????? BONUS 100% + 250 ?????????? ????????

????? ?????? - ??????? BONUS 100% + 250 ?????????? ???????? ?? ?????? ?????????? ???????????? ??????? ????? ????????? ?????? ? ????????????…

1 day ago

RocketPlay Bonus: What to Know for Australian Players

RocketPlay Bonus: Practical Guide for Australian Players What Is the RocketPlay Bonus and Who Can Claim It? The RocketPlay bonus…

1 day ago

RocketPlay PayID in Australia: Deposit, Withdraw & Bonus Guide

What is RocketPlay and Why PayID Matters?Getting Started: Registration and Verification StepsFunding Your Account: Using PayID and Other Deposit MethodsClaiming…

1 day ago

Why You Should Move Your Website to Cloud Hosting?

Introduction to Cloud Hosting In today's digital world, website performance can make or break an online business. Whether you run…

5 days ago

What is a Call to Action in Marketing? Definition + Examples

In the world of digital marketing, getting attention is only half the battle. The real goal is to convince people…

2 weeks ago