LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2012, 12:36 AM   #1
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Rep: Reputation: Disabled
anonymous ftp asking for username and password though there are none..


We have anonymous ftp so that people could download useful software's but then all of a sudden it's asking for username and password when it click on that click(link for ftp is present in the website)..

I feel it's coz of the ownership and permission as the owner is root but then I'm not bale to change the owner nor the permissions of the file though i log in as root...it says read-only file..cannot change permission..

Can anyone tell me what could have gone wrong?
 
Old 11-19-2012, 01:24 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Try
username: anonymous
password: anything_you_want
 
Old 11-19-2012, 01:48 AM   #3
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well the question is about that..it's that m not able to change the ownership and permissions at all and username and password wasn't there b4... in logs it shows:

Code:
Nov 19 09:25:38 ftp kernel: hda: status error: status=0x7f { DriveReady DeviceFault SeekComplete DataRequest CorrectedError Index Error }
Nov 19 09:25:38 ftp kernel: hda: status error: status=0x7f { DriveReady DeviceFault SeekComplete DataRequest CorrectedError Index Error }
is it hardware error?
 
Old 11-19-2012, 02:01 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Looks like HW, check df cmd and mount cmd to see if eg its still mounted and r/w enabled.
You may also want to do a disk check http://linux.die.net/man/8/smartctl
 
Old 11-19-2012, 02:16 AM   #5
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
well chrism01 can u please tell me how should be doing that?
 
Old 11-19-2012, 02:33 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Not sure which bit you're asking about but on my system
Code:
df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb2             72570160   8946204  59937556  13% /
tmpfs                  3900740       328   3900412   1% /dev/shm
/dev/sdb1               516040     82052    407776  17% /boot
/dev/sda6            103216884  10292000  87681676  11% /var/lib/libvirt/images

mount

/dev/sdb2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sdb1 on /boot type ext4 (rw)
/dev/sda6 on /var/lib/libvirt/images type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
As you can see df shows what partitions/disks are available and space. mount shows filesystem types and mount status eg (rw) for read/write.

I've never used smartctl, but I'm sure you can find examples through google.
 
Old 11-19-2012, 02:37 AM   #7
SarahGurung
Member
 
Registered: Jul 2011
Posts: 322

Original Poster
Rep: Reputation: Disabled
Restarting the server worked...

I don't know what was wrong....thanks everyone..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP server that accepts any username and password Gethyn Linux - Server 2 03-11-2009 03:16 PM
How to reset ftp username and password on fedora core teamsar Linux - Server 2 08-19-2008 10:11 PM
Mount ftp with nfs using username and password? Nuvious Linux - Networking 1 05-17-2006 10:44 AM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
username and password for proxy (ftp install) dutty Mandriva 0 05-19-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration