Temporary failure in name resolution ?

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Temporary failure in name resolution ?

Postby gboudreau » Sun Dec 05, 2010 3:12 am

So your problem comes from the fact that your jayrock user can't access the drive1 folders...
Is it formatted as ext3 or ext4?

Code: Select all

ls -la /var/hda/files/drives/drive1 grep drive1 /etc/fstab mount | grep drive1
- Guillaume Boudreau

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Temporary failure in name resolution ?

Postby jayrock » Sun Dec 05, 2010 3:34 am

ext4....

Code: Select all

[jayrock@localhost ~]$ ls -la /var/hda/files/drives/drive1 ls: ffnen von Verzeichnis /var/hda/files/drives/drive1 nicht mglich: Keine Berechtigung [jayrock@localhost ~]$ grep drive1 /etc/fstab UUID=63f6237c-31e8-44ff-94c2-76378992552c /var/hda/files/drives/drive1 ext4 defaults 1 2 [jayrock@localhost ~]$ mount | grep drive1 /dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw) [jayrock@localhost ~]$ [jayrock@localhost ~]$ su Passwort: [root@localhost jayrock]# ls -la /var/hda/files/drives/drive1 insgesamt 28 drwx------ 4 Jayrock Jayrock 4096 28. Nov 14:34 . drwxr-xr-x 4 root root 4096 30. Nov 17:15 .. drwxr-xr-x 6 root root 4096 2. Dez 17:42 gh drwx------ 2 root root 16384 28. Nov 14:27 lost+found [root@localhost jayrock]# grep drive1 /etc/fstab UUID=63f6237c-31e8-44ff-94c2-76378992552c /var/hda/files/drives/drive1 ext4 defaults 1 2 [root@localhost jayrock]# mount | grep drive1 /dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw) [root@localhost jayrock]# [root@localhost jayrock]#

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Temporary failure in name resolution ?

Postby gboudreau » Sun Dec 05, 2010 3:39 am

Here's your problem... The root folder of drive1 is owned by Jayrock, not jayrock, and not readable by anyone else.
Fix this with:

Code: Select all

chown root:root /var/hda/files/drives/drive1 chmod 755 /var/hda/files/drives/drive1
- Guillaume Boudreau

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Temporary failure in name resolution ?

Postby jayrock » Sun Dec 05, 2010 3:48 am

Voila, that's it! Thanks a lot!

Only remaining thing is.... how could this happen? IIRC when I set up the user I typed "Jayrock". If I now look at the user page in //hda, I see user name "jayrock", full name "Jayrock". If this is breaking things, then maybe there should be a warning somewhere.

Cheers

jayrock

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Temporary failure in name resolution ?

Postby gboudreau » Sun Dec 05, 2010 4:17 am

Shortname jayrock and Full name Jayrock is fine.
You're problem seems to be that you also have another user on your system which shortname is Jayrock!

Code: Select all

grep -i jayrock /etc/passwd
If you'd like to remove the Jayrock one:

Code: Select all

userdel Jayrock
- Guillaume Boudreau

User avatar
jayrock
Posts: 223
Joined: Thu Dec 02, 2010 12:55 am

Re: Temporary failure in name resolution ?

Postby jayrock » Sun Dec 05, 2010 4:33 am

Right, I had both users. I'm kind of sure that I didn't create the one with only lower letters. Anyway I deleted the one with capital now. When I move the system into production I will make sure to use only lower letters, so to avoid problems.

Thanks for all your support,

jayrock

Who is online

Users browsing this forum: No registered users and 63 guests