Temporary failure in name resolution ?

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

Temporary failure in name resolution ?

Postby jayrock » Thu Dec 02, 2010 10:10 am

Hi there,

my Amahi test install runs in a VMWare machine on a W2k3 server. It's on Fedora 12.

I have a problem with my Windows 7 client: As soon as I've run greyhole --fsck files are distributed to the pool I cannot see them anymore in Windows Explorer. I can see the share (folder) but not the files. However everything is there in /var/hda/files/drives/driveX.

It also doesn't help to use the IP address \\192.168.0.xxx to access the shares.

For non-pooled shares everything is ok, I can access the files w/o any problem

I noticed that I get a lot of "Temporary failure in name resolution" errors when running the "read before posting" instructions. Any clue what's going wrong? Sorry for the German logs, I haven't figures out how to change back to English for good.

By the way, same happens when I access the shares via the W2K3 host server.

Any support is welcome!

Thanks,
jayrock

Code: Select all

[root@localhost stuff]# uname -r; rpm -q samba hda-greyhole 2.6.31.5-127.fc12.x86_64 samba-3.4.2-47.fc12.x86_64 hda-greyhole-0.6.28-1.x86_64 [root@localhost stuff]# yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf Geladene Plugins: fastestmirror, presto, refresh-packagekit Loading mirror speeds from cached hostfile Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64 error was 14: PYCURL ERROR 6 - "" * fedora: mirror01.th.ifl.net * updates: mirror01.th.ifl.net http://f12.amahi.org/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "" Versuche anderen Spiegel-Server. Einrichten des Installationsprozess Paket fpaste-0.3.4-1.fc12.noarch ist bereits in der neusten Version installiert. Nichts zu tun Uploading (2.6K)... Error Uploading: [Errno -3] Temporary failure in name resolution Uploading (1.1K)... Error Uploading: [Errno -3] Temporary failure in name resolution [root@localhost stuff]# mount; fdisk -l; df -h; greyhole --stats /dev/mapper/VolGroup-lv_root 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) /dev/sda1 on /boot type ext4 (rw) /dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw) /dev/sdc1 on /var/hda/files/drives/drive2 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) gvfs-fuse-daemon on /home/jayrock/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jayrock) /dev/sr0 on /media/Fedora 12 x86_64 DVD type iso9660 (ro,nosuid,nodev,uhelper=devkit,uid=501,gid=100,iocharset=utf8,mode=0400,dmode=0500) Platte /dev/sda: 21.5 GByte, 21474836480 Byte 128 Köpfe, 32 Sektoren/Spuren, 10240 Zylinder Einheiten = Zylinder von 4096 × 512 = 2097152 Bytes Disk identifier: 0x000ceac6 Gerät boot. Anfang Ende Blöcke Id System /dev/sda1 * 1 101 204800 83 Linux Partition 1 endet nicht an einer Zylindergrenze. /dev/sda2 101 10237 20759993+ 8e Linux LVM Partition 2 endet nicht an einer Zylindergrenze. Platte /dev/sdb: 8589 MByte, 8589934592 Byte 255 Köpfe, 63 Sektoren/Spuren, 1044 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x000e22f8 Gerät boot. Anfang Ende Blöcke Id System /dev/sdb1 1 1044 8385898+ 83 Linux Platte /dev/sdc: 8589 MByte, 8589934592 Byte 255 Köpfe, 63 Sektoren/Spuren, 1044 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x0003620d Gerät boot. Anfang Ende Blöcke Id System /dev/sdc1 1 1044 8385898+ 83 Linux Platte /dev/dm-0: 19.1 GByte, 19142803456 Byte 255 Köpfe, 63 Sektoren/Spuren, 2327 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x00000000 Festplatte /dev/dm-0 enthält keine gültige Partitionstabelle Platte /dev/dm-1: 2113 MByte, 2113929216 Byte 255 Köpfe, 63 Sektoren/Spuren, 257 Zylinder Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes Disk identifier: 0x00000000 Festplatte /dev/dm-1 enthält keine gültige Partitionstabelle Dateisystem Größe Benut Verf Ben% Eingehängt auf /dev/mapper/VolGroup-lv_root 18G 2,9G 14G 18% / tmpfs 501M 420K 501M 1% /dev/shm /dev/sda1 194M 23M 162M 13% /boot /dev/sdb1 7,9G 812M 6,7G 11% /var/hda/files/drives/drive1 /dev/sdc1 7,9G 812M 6,7G 11% /var/hda/files/drives/drive2 /dev/sr0 3,3G 3,3G 0 100% /media/Fedora 12 x86_64 DVD Greyhole Statistics =================== Storage Pool Total - Used = Free + Attic = Possible /var/hda/files/drives/drive1/gh: 8G - 1G = 7G + 0G = 7G /var/hda/files/drives/drive2/gh: 8G - 1G = 7G + 0G = 7G [root@localhost stuff]# mysql -u root -phda -e "select * from disk_pool_partitions" hda_production +----+------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at | +----+------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files/drives/drive1 | 10 | 2010-11-30 16:18:46 | 2010-11-30 16:18:46 | | 2 | /var/hda/files/drives/drive2 | 10 | 2010-11-30 16:18:48 | 2010-11-30 16:18:48 | +----+------------------------------+--------------+---------------------+---------------------+ [root@localhost stuff]# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste Uploading (1.1K)... Error Uploading: [Errno -3] 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 » Thu Dec 02, 2010 11:07 am

1. You seem to have DNS problems on your server... Thus, all fpaste commands failed, and I can't see your config files.
You should fix that...

2. Your samba is out of date. "yum -y update" will bring all packages up to date.

3. To see why you can't see files in your share, look for symbolic links in /var/hda/files/share_name/
There should be directories and symbolic links pointing to the file copies stored in /var/hda/files/drives/*/gh/share_name/
If those symlinks are missing, look for error in /var/log/greyhole.log
"greyhole --debug some_file_name" should give you the appropriate lines from greyhole.log (amongst other things) for GH processing the specified file.
- Guillaume Boudreau

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

Re: Temporary failure in name resolution ?

Postby jayrock » Thu Dec 02, 2010 12:57 pm

1. You seem to have DNS problems on your server... Thus, all fpaste commands failed, and I can't see your config files.
You should fix that...

2. Your samba is out of date. "yum -y update" will bring all packages up to date.

3. To see why you can't see files in your share, look for symbolic links in /var/hda/files/share_name/
There should be directories and symbolic links pointing to the file copies stored in /var/hda/files/drives/*/gh/share_name/
If those symlinks are missing, look for error in /var/log/greyhole.log
"greyhole --debug some_file_name" should give you the appropriate lines from greyhole.log (amongst other things) for GH processing the specified file.
Thanks for the quick reply. Well, yes, I deliberately deactivated the DNS server - after all it's a test setup, so I wanted to use the DNS proxy in my router (standard gateway). This apparantly doesn't work, I cannot access any web page (which I didn't notice before). It's clear that this is not a Greyhole question but more an Amahi matter: Can I not use the DNS proxy in my router?

Once I activated DNS it did indeed work. Another question here: It's stated clearly that one should use Fedora 12 and nothing else, isn't there a risk that those updates break the verified configuration?

Anyway, after all updates and a restart the files still don't show up in Windows Explorer.

The symbolic links were all there from the beginning. I've been running "greyhole --debug Document0.pdf" with the following result. Note the strange message saying there is -3 GB available... the pool drives are 8 GB each and only a few MBs stored on them.

Code: Select all

[root@localhost freigabe2999]# greyhole --debug Document0.pdf Debugging file operations for file named "/Document0.pdf" From DB ======= From logs ========= gzip: /var/log/greyhole.log-*.gz: No such file or directory Dec 2 17:42:23 7 sleep: Nothing to do... Sleeping. Dec 2 17:42:33 7 write: Now working on task ID 26: write freigabe2999/Document0.pdf Dec 2 17:42:33 6 write: File created: freigabe2999/Document0.pdf - 924KB Dec 2 17:42:33 7 write: Loading tombstones for freigabe2999/Document0.pdf... Got 0 tombstones. Dec 2 17:42:34 4 write: Warning! All storage pool directories are over-capacity! Dec 2 17:42:34 7 write: Drives with enough free space, but no available space: /var/hda/files/drives/drive2/gh (-3.32GB avail) - /var/hda/files/drives/drive1/gh (-3.32GB avail) Dec 2 17:42:34 7 write: Saving 2 tombstones for freigabe2999/Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive2/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Copying file to /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf Dec 2 17:42:34 7 write: Creating symlink in share pointing to the above file copy. Dec 2 17:42:34 7 write: Saving 2 tombstones for freigabe2999/Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive2/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Copying file to /var/hda/files/drives/drive2/gh/freigabe2999/Document0.pdf Dec 2 17:42:34 7 write: Saving 2 tombstones for freigabe2999/Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Saving tombstones in /var/hda/files/drives/drive2/gh/.gh_graveyard/freigabe2999//Document0.pdf Dec 2 17:42:34 7 write: Now working on task ID 27: write freigabe2999/Document1.pdf From filesystem =============== Landing Zone: ls: Zugriff auf /Document0.pdf nicht möglich: Datei oder Verzeichnis nicht gefunden Graveyard: File copies:
Finally, here's the log files:

Code: Select all

http://fpaste.org/ECOh/ http://fpaste.org/I2SB/
Thanks a lot for your help,

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 » Thu Dec 02, 2010 1:30 pm

yum -y update will always stay on Fedora 12.
It just installs updates released for F12.

Amahi expect drives bigger than 10GB...
It hard-codes a minimum free space of 10GB per drive it adds to the pool, so in your case, 8GB - 10GB = -2GB, minus the space already used. This is where the -3GB comes from, and also what triggers "Warning! All storage pool directories are over-capacity!"
Anyway, as long as your drives still have space on them, it should continue to work fine.

Try to run a fsck on that particular dir, and look in /var/log/greyhole.log for errors:

Code: Select all

greyhole --fsck --dir "/var/hda/files/freigabe2999"
- Guillaume Boudreau

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

Re: Temporary failure in name resolution ?

Postby jayrock » Thu Dec 02, 2010 1:45 pm

Code: Select all

Dec 2 21:38:08 7 fsck: Now working on task ID 31: fsck /var/hda/files/freigabe2999// Dec 2 21:38:08 6 fsck: Starting fsck for /var/hda/files/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering /var/hda/files/freigabe2999/ Dec 2 21:38:08 7 fsck: Now working on task ID 31: fsck /var/hda/files/freigabe2999// Dec 2 21:38:08 6 fsck: Starting fsck for /var/hda/files/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering /var/hda/files/freigabe2999/ Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document3.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document3.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document3.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document3.pdf... Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document3.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document3.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document4.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document4.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document4.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document4.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document4.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document4.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document1.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document1.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document1.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document1.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document1.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document1.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document2.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document2.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document2.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document2.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document2.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document2.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document0.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document0.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf Dec 2 21:38:08 7 fsck: Found /var/hda/files/drives/drive2/gh/freigabe2999/Document0.pdf Dec 2 21:38:08 7 fsck: Loading tombstones for freigabe2999/Document0.pdf... Got 2 tombstones. Dec 2 21:38:08 7 fsck: Starting graveyards fsck for /freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive1/gh/.gh_graveyard/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive2/gh/.gh_graveyard/freigabe2999/ Got 2 tombstones. Dec 2 21:38:08 7 fsck: Starting graveyards fsck for /freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive1/gh/.gh_graveyard/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive2/gh/.gh_graveyard/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/freigabe2999/ Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/freigabe2999/ Dec 2 21:38:08 7 fsck: Not a directory... Aborting. Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive1/gh/.gh_graveyard_backup/freigabe2999/ Dec 2 21:38:08 7 fsck: Not a directory... Aborting. Dec 2 21:38:08 7 fsck: Entering graveyard /var/hda/files/drives/drive1/gh/.gh_graveyard_backup/freigabe2999/ Dec 2 21:38:08 7 fsck: Not a directory... Aborting. Dec 2 21:38:08 6 fsck: fsck for /var/hda/files/freigabe2999/ completed. Dec 2 21:38:08 7 fsck: Not a directory... Aborting. Dec 2 21:38:08 6 fsck: fsck for /var/hda/files/freigabe2999/ completed. Dec 2 21:38:08 2 fsck: Can't insert in tasks_completed: database is locked Dec 2 21:38:08 7 sleep: Nothing to do... Sleeping. Dec 2 21:38:18 7 sleep: Nothing to do... Sleeping. Dec 2 21:38:28 7 sleep: Nothing to do... Sleeping.
Two interesting parts:

- Dec 2 21:38:08 7 fsck: Not a directory... Aborting.

and:

- Dec 2 21:38:08 2 fsck: Can't insert in tasks_completed: database is locked

What do they actually mean?

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 » Thu Dec 02, 2010 2:15 pm

That log seems to indicate you have two greyhole daemon running...

Code: Select all

ps auxww | grep greyhole.*daemon
Anyway, the fsck seems to indicate that all is fine.
Do you have correct symlinks in your share (/var/hda/files/freigabe2999) now?

"database is locked": caused by having two processes trying to save in the database at the same time.
- Guillaume Boudreau

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

Re: Temporary failure in name resolution ?

Postby jayrock » Thu Dec 02, 2010 10:46 pm

Hi, seems there are indeed two daemons running. No clue why. Just did a clean install a couple of days ago, with no changes but via the Amahi control center.

Symbolic links seem ok as well (have been like this from the beginnning). They still show up on the server, and the real files are there as well. But Windows Explorer shows an empty directory.

Again, shares that are not pooled show all files in Windows Explorer.

Any more ideas?

Code: Select all

[root@localhost freigabe2999]# ls -l insgesamt 0 lrwxrwxrwx 1 root root 58 2. Dez 17:42 Document0.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf lrwxrwxrwx 1 root root 58 2. Dez 17:42 Document1.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document1.pdf lrwxrwxrwx 1 root root 58 2. Dez 17:42 Document2.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document2.pdf lrwxrwxrwx 1 root root 58 2. Dez 17:42 Document3.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document3.pdf lrwxrwxrwx 1 root root 58 2. Dez 17:42 Document4.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document4.pdf [root@localhost freigabe2999]# ps auxww | grep greyhole.*daemon root 1806 0.0 1.1 231100 11568 ? SN 06:34 0:00 /usr/bin/php /usr/bin/greyhole --daemon root 1900 0.0 1.1 231100 11568 ? SN 06:34 0:00 /usr/bin/php /usr/bin/greyhole --daemon root 2614 0.0 0.0 104820 900 pts/0 S+ 06:38 0:00 grep greyhole.*daemon [root@localhost freigabe2999]# [root@localhost freigabe2999]# cd /var/hda/files/drives/drive1/gh/freigabe2999/ [root@localhost freigabe2999]# ls Document0.pdf Document1.pdf Document2.pdf Document3.pdf Document4.pdf [root@localhost freigabe2999]#

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

Re: Temporary failure in name resolution ?

Postby jayrock » Thu Dec 02, 2010 11:02 pm

I noticed that the owner of the symbolic links is root:root, whereas the real files belong to my_username:users. Could that be the case?

To check I tried to change the ownership of the links with chown my_username:users *, but this doesn't work, the owner is still root.

EDIT: chown works now (forgot the "-R"), so I managed to change the user, but still no files in Windows Explorer.

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 » Sat Dec 04, 2010 6:43 pm

You need to keep only one GH daemon running.
Get the PID of the running GH processes with this:

Code: Select all

ps auxww | grep greyhole.*daemon | grep -v grep | awk '{print $2}'
For each of them, do this:

Code: Select all

kill PID
For example:

Code: Select all

kill 1806
Finally, restart only one instance:

Code: Select all

service greyhole restart
The owner of the symlinks doesn't matter. It's the owner of the copies the links point to that matters.

Logged as your user (the same you use to connect to the share), try to go in that directory in a Terminal, and see if you can list the files (symlinks) in there:

Code: Select all

ls -la /var/hda/files/freigabe2999/ ls -la /var/hda/files/drives/drive1/gh/freigabe2999/
Execute the following commands in a terminal, when logged as the user connecting to the share, then check which files you can see on the share, from a remote computer:

Code: Select all

cd /var/hda/files/freigabe2999/ touch file1 ln -s file1 file2 ln -s /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf file3 ln -s /etc/group file4
Repeat the same test on the Stuff share:

Code: Select all

cd /var/hda/files/stuff/ touch file5 ln -s file5 file6 ln -s /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf file7 ln -s /etc/group file8
- Guillaume Boudreau

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

Re: Temporary failure in name resolution ?

Postby jayrock » Sat Dec 04, 2010 10:51 pm

Thanks for the reply. Here are my observations:

- The daemon stuff is ok now, fixed that already myself.

- Now, when I look at the files in /var/hda/files/drives/drive1/gh/freigabe2999/ as the user, I get "Keine Berechtigung" - "no access", however if I'm ls -l them as root, it indicates the user is the owner (Remember that I manually changed the owner of the symbolic links for the pdf documents):

Code: Select all

[jayrock@localhost ~]$ ls -la /var/hda/files/freigabe2999/ insgesamt 8 drwxrwxr-x 2 jayrock users 4096 5. Dez 06:26 . drwxr-xr-x. 6 Jayrock users 4096 2. Dez 17:46 .. lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document0.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document1.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document1.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document2.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document2.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document3.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document3.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document4.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document4.pdf lrwxrwxrwx 1 root root 57 3. Dez 07:07 DSC00002.jpg -> /var/hda/files/drives/drive1/gh/freigabe2999/DSC00002.jpg -rw-r--r-- 1 jayrock users 0 5. Dez 06:26 file1 lrwxrwxrwx 1 jayrock users 5 5. Dez 06:26 file2 -> file1 lrwxrwxrwx 1 jayrock users 58 5. Dez 06:26 file3 -> /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf lrwxrwxrwx 1 jayrock users 10 5. Dez 06:26 file4 -> /etc/group [jayrock@localhost ~]$ ls -la /var/hda/files/drives/drive1/gh/freigabe2999/ ls: Zugriff auf /var/hda/files/drives/drive1/gh/freigabe2999/ nicht mglich: Keine Berechtigung [jayrock@localhost ~]$ [jayrock@localhost ~]$ [jayrock@localhost ~]$ su Passwort: [root@localhost jayrock]# ls -la /var/hda/files/freigabe2999/ insgesamt 8 drwxrwxr-x 2 jayrock users 4096 5. Dez 06:26 . drwxr-xr-x. 6 Jayrock users 4096 2. Dez 17:46 .. lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document0.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document1.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document1.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document2.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document2.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document3.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document3.pdf lrwxrwxrwx 1 jayrock users 58 2. Dez 17:42 Document4.pdf -> /var/hda/files/drives/drive1/gh/freigabe2999/Document4.pdf lrwxrwxrwx 1 root root 57 3. Dez 07:07 DSC00002.jpg -> /var/hda/files/drives/drive1/gh/freigabe2999/DSC00002.jpg -rw-r--r-- 1 jayrock users 0 5. Dez 06:26 file1 lrwxrwxrwx 1 jayrock users 5 5. Dez 06:26 file2 -> file1 lrwxrwxrwx 1 jayrock users 58 5. Dez 06:26 file3 -> /var/hda/files/drives/drive1/gh/freigabe2999/Document0.pdf lrwxrwxrwx 1 jayrock users 10 5. Dez 06:26 file4 -> /etc/group [root@localhost jayrock]# ls -la /var/hda/files/drives/drive1/gh/freigabe2999/ insgesamt 3160 drwxr-xr-x 2 jayrock users 4096 3. Dez 07:07 . drwxr-xr-x 6 root root 4096 2. Dez 17:42 .. -rwxrw-r-- 1 jayrock users 946461 2. Dez 17:42 Document0.pdf -rwxrw-r-- 1 jayrock users 718443 2. Dez 17:42 Document1.pdf -rwxrw-r-- 1 jayrock users 649317 2. Dez 17:42 Document2.pdf -rwxrw-r-- 1 jayrock users 182360 2. Dez 17:42 Document3.pdf -rwxrw-r-- 1 jayrock users 348106 2. Dez 17:42 Document4.pdf -rwxrw-r-- 1 jayrock users 370217 3. Dez 07:07 DSC00002.jpg [root@localhost jayrock]# [root@localhost jayrock]# [root@localhost jayrock]#
I also ran the set of ln commands. In the terminal, as user, I can see files1-4 and files5-8 (you actually see 1-4 above). However, in Windows Explorer I don't see file3 and file7 - ie. the symbolic links to /var/hda/files/drives/drive1/gh/ ......

Any ideas what's going wrong?

One more remark, my Windows user name is "Jayrock", starting with a capital letter. I used the same as username in Linux (and it shows like this on the login screen), but the output above is obviously using the lower writing except "..". Probably s.th. mixed up with the user names?

Cheers,

jayrock

EDIT: Changed the ownership of the files in /var/hda/files/drives/drive1/gh/freigabe2999/ to "Jayrock", but no improvement.

Who is online

Users browsing this forum: No registered users and 3 guests