Web Hosting Talk







View Full Version : Bizzare file situation


Kakashi
11-26-2004, 12:53 AM
Hiya got a weird situation.

I have a Linux Redhat Enterprise 3.0 Server with Cpanel. Everything is up to date :)

I have files in a public_ftp folder which i allow anon users to download.

Recently I deleted all the files in the public_ftp folder but they still show when i log in anonymously.
If i log in with my user account the directory is empty.
If i use root access using SSH and check the folder its empty.
If I log into CPanel and use its file manager the folder is empty.

Its only when i log in anonymously that the folder shows the files still there. Furthermore i can still download them. I have tried adding files to the public_ftp folder but they refuse to show up.

I really don't understand whats going on :bawling:

I've even checked the ip addresses to make sure i am access the right server. I have also restarted proftpd.

Any help would be welcome.

dollar
11-26-2004, 01:29 AM
Maybe you could give the IP and somebody could log in with anon to see if they show up here?

Kakashi
11-26-2004, 01:20 PM
the address is ftp://sasuke.info/

dollar
11-26-2004, 01:27 PM
Wow, definatley showing over here as well. Can you ssh into the machine and do:

locate 5D_Naruto_107.zip

YUPAPA
11-26-2004, 02:05 PM
Possibly the anonymous ftp is set to a different directory than what you have been seeing in ssh, file manager, etc?? :stickout:

Kakashi
11-26-2004, 02:06 PM
Strange i got another error message:

warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old

I rechecked public_ftp again though and its empty.

YUPAPA
11-26-2004, 02:08 PM
Do locate -u;

dollar
11-26-2004, 02:08 PM
odd that your database is old, thats another problem in an of itself, try:

fine / -name 5D_Naruto_107.zip

Kakashi
11-26-2004, 02:22 PM
i rechecked proftpd.conf , and there was a small mistake. Seems like WHM didn't change something properly. Mystery solved :D

The anon directoty should have been... /home/kakashii/public_ftp/
but instead was /home/kakashi/public_ftp

was missing the 'i'

Thanks for your help :D now got that other old database problem *lol*

dollar
11-26-2004, 02:23 PM
locate -u should fix the old database problem

Kakashi
11-26-2004, 03:09 PM
thanks a bunch :)

dollar
11-26-2004, 03:50 PM
No prob bob...err kakashi.