Hi Ahmed. If you have really lost your /var directory, I would try to recover from the latest backup.
If your /var directory is mounted in a different partition, it could happen that it is just not mounted now and thus you would be seeing only /var/lock and /var/run. Check if your mounts are ok. If someone really deleted the whole /var directory and you don't have a backup, you've mostly lost all your services data (including, but not limited to samba users and computer registration, LDAP data, apt and dpkg data, logs, email, mysql...). In this case, I would suggest a whole reinstallation from scratch. Good luck and best regards. > Hello folks, > > An intruder accessed my system possibly through "ssh" and deleted the > whole log directory. This morning, clients on a LAN could not access > internet because machines could not get IP addresses. When I accessed > the server, there's internet at the server but cant go beyond. > Restarting the system, could not even start "system logger". I tried > to check the log messages, the log directory could be traced up. cd to > /var, I only found two directories > > lock and run > > How based can I recover this server without doing a fresh installation > and configuration?. This is a server running as a mail server too. > > > Looking forward to hearing from you. > > > Best, > Ahmed > > -- > AhmedPanel Ltd > P.O Box 6081 > Kampala - Uganda > Tel: +256-773-066343 / 702-066343 > Email: [email protected] <mailto:[email protected]> > Web: http://www.ahmedpanel.com > ------------------------------------------------------------------------ > > _______________________________________________ > ebox-user mailing list > [email protected] > http://lists.ebox-platform.com/cgi-bin/mailman/listinfo/ebox-user > -- José Juan Montes Área de Sistemas - Aitire C./ Príncipe Nº 34, Principal, Oficina 3 36201 Vigo, Pontevedra Teléfono: +34 986 163 050 www.aitire.es
_______________________________________________ ebox-user mailing list [email protected] http://lists.ebox-platform.com/cgi-bin/mailman/listinfo/ebox-user
