VAR directory
Cliff Peet
cliff at kingsmeadprint.co.uk
Wed Aug 1 02:56:40 CDT 2007
Thanks for your help !
Lessons learnt here: don't mess with root and back up system files as
well as data. Got the server back up by booting up in single user and
in root ran: find -type d -name var
and there it was in the desktop of root, (./root/desktop/var so a mv
var / put it back and rebooted, and OK. Lucky !!
Thanks again for all your help
Cliff
On 31 Jul 2007, at 18:13, Khare, Rahul (GE Infra, Water, non-ge) wrote:
> /var filesystem contains the list of log files and the lock files.
> Deleting it will cause problems when the sessions are closed and
> also during logging. You need to create the filesystem and simply
> touch the files.
>
> Run "find /var -type f", "find /var -type d", "find /var -type l"
> to determine all the regular files, directories and links on any
> other server. Afterwards try to emulate the same in the current
> server.
>
> Alternatively, you can run:-
>
> locate var| grep "^/var"
>
> To find out all the files and folders, which were present in the /
> var filesystem. But this would be successfull only if the "slocate"
> has not run and the locate database is older.
>
> Hope it helps!!
>
> Rahul.
>
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com
> [mailto:linux-poweredge-bounces at dell.com]On Behalf Of Cliff Peet
> Sent: Tuesday, July 31, 2007 7:50 AM
> To: linux-poweredge at lists.us.dell.com
> Subject: VAR directory
>
>
> Hi
>
> By accident I have deleted the VAR directory. In Centos. We are using
> this server for our file server, is there a way I can get this back?
> Help??
>
> The server is still working, but I can not log in to the graphical
> interface or log back in to the server now. existing connections are
> still up.
>
> Cliff
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list