Yes, that worked, but now I can't sshd to it anymore.
looking in the auth.log file, it sais " Bind to port 22 on failed
address already in use.
so I edit the file /etc/ssh/sshd_config to ListenAddress ( the
server's address ) then restart.
in auth.log, it says " Server Listening on port 22

but it still doesn't work.  what else do I need to do?

----- Original Message -----
From: "Mike Meyer" <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 12:04 PM
Subject: Re: Deleted VAR

> > Help, I accidently deleted everything in the /var dir. ( fat fingered ).
> > Is there a way to retrive it? or do i have to reinstall.
> > I'm now getting alot of error message since it's also a mail server.
> > not anymore.
> The stuff in /var tends to be dynamically created - mailboxes, log
> files, installed package information, and other such things. You can't
> reinstall that. This is probably the single most important directory
> to back up.
> If you don't have backups, all you can do is recreate the directory
> structure and some log files. You can recreate the directory tree with:
> /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var"
> Check /etc/newsyslog.conf for a list of files in /var/log to touch,
> what user:group should own them, and what mode they should
> be. Rebooting would probably be advised as well, just to make sure all
> the daemons are logging to their files and not to an inode that no
> longer has a link on disk.
> <mike
> --
> Mike Meyer <[EMAIL PROTECTED]>
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to