aMule Forum
English => aMule Help => Topic started by: michelinok on November 23, 2010, 09:58:56 PM
-
Hi there!
I've got a nas, so i've moved all the temp and incoming folders to the nas,then mapped using mount cifs...
I've added a new user to the linux machine running amuled with the same credentials of the nas.
Then i've logged to the linux machine using the new credentials,modified the amuled.conf and run amuled, but I got these errors:
.......
Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/017.part.met.bak' (error 1: Operation not permitted)
.......
.......
and so on... what can i do?
-
Login as root and chown -R your amule folder to the user running amuled.
-
Login as root and chown -R your amule folder to the user running amuled.
Same problem...this what i've done:
1) created the new user called "admin" with the same password as the nas
2) logged with root and chown -R admin /root/.aMule
3) logged out
4) logged in with admin
but it seems to still use the "admin" amuled.conf instead of the root amuled.conf's config dir.
i've tryed copying the configured amuled.conf to the admin's amule.conf,but the problem is the same
Any idea?
-
Why would you have two config dirs so it can use the wrong one?
-
Why would you have two config dirs so it can use the wrong one?
I was running amuled as root, then (when switched to the nas) I've created a new user called "admin",when i run amuled withing "amule",it creates the amule.conf inside /home/admin/.aMule and it uses it.
-
I still don't get your problem.
So it's using the config in /home/admin/.aMule . Fine. Set the temp folder in it to /hddext/filesharing/amule/Temp and chown /hddext/filesharing/amule/Temp to admin as I told you.
-
I still don't get your problem.
So it's using the config in /home/admin/.aMule . Fine. Set the temp folder in it to /hddext/filesharing/amule/Temp and chown /hddext/filesharing/amule/Temp to admin as I told you.
LOL! ;D I was chown'ing the amule config folder,not the temp folder ::) ::)
I'll try ASAP!!!
Many thanks, i hope not to disturb you anymore (i hope...)
-
Should i do the chown for the temp only or for the incoming too?
-
chown -R root /hddext/filesharing/amule/Temp
.....
chown: changing ownership of `/hddext/filesharing/amule/Temp/711.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/722.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/723.part.met.ahl': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/723.part.met.txtsrc': No such file or directory
chown: changing ownership of `/hddext/filesharing/amule/Temp/727.part.met.ahl': No such file or directory
.....
and after launching amuled i got this looooong entryes in the log:
..............
2010-11-24 23:52:40: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:52:46: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:52:49: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:52:52: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:52:56: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:52:59: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:02: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:05: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:09: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:11: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:15: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:19: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:22: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:23: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/005.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:24: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/005.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:26: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:29: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:32: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:36: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:38: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:42: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:45: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:48: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:51: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:53:54: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:53:57: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:54:01: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)
2010-11-24 23:55:01: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.backup' (error 2: No such file or directory)
2010-11-24 23:55:04: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/001.part.met.bak' (error 2: No such file or directory)....
.............
and so on....
-
First of all, what is the file system on the NAS?
-
NTFS
-
First of all:
michelinok wrote me a personal message that he can't post messages here anymore. Could someone with admin privileges check that please?
@michelinok (hope you can reply):
What command do you use to mount the NAS?
Please post the first two lines of "ls -la /hddext/filesharing/amule/Temp" executed in a console/terminal below.
Also please post the output of "id" executed in a console/terminal.
-
First of all:
michelinok wrote me a personal message that he can't post messages here anymore. Could someone with admin privileges check that please?
@michelinok (hope you can reply):
What command do you use to mount the NAS?
Please post the first two lines of "ls -la /hddext/filesharing/amule/Temp" executed in a console/terminal below.
Also please post the output of "id" executed in a console/terminal.
1) It seems i can post now 8)
2) mount -t cifs //192.168.2.200/public /hddext -o username=myuser,password=mypass,domain=workgroup
3)
total 56794824
drwxrwxrwx 2 99 98 0 Nov 26 2010 .
drwxrwxrwx 4 99 98 0 Nov 24 00:27 ..
-rwxrwxrwx 1 99 98 4695233057 Nov 26 21:18 001.part
-rwxrwxrwx 1 99 98 11093 Nov 26 2010 001.part.met
4)
intersect:~# "id"
uid=0(root) gid=0(root) groups=0(root)
Any idea? It seems to download ok,but the log is quite full....(downloading more than 100 files...)
-
Add ",silent" to the mount options, without the quotes, and remount.
-
I'll try asap
-
Maybe you should tell mount some tweaks like which user or group wants to use the share.
",gid=100,uid=1000,iocharset=utf8,nouser_xattr,noacl,serverino"
appended to the mount options does the trick for a samba running on an UTF-8-only machine. For sure you should set the id's to the right value for your user.
-
Maybe you should tell mount some tweaks like which user or group wants to use the share.
",gid=100,uid=1000,iocharset=utf8,nouser_xattr,noacl,serverino"
appended to the mount options does the trick for a samba running on an UTF-8-only machine. For sure you should set the id's to the right value for your user.
I'm not a linux expert so...how should i mount the samba share? (yes,the nas is running linux,so it's a samba share!,but i have no access to the linux console of the nas...).
I've tryed addind "silent",but it's a not recognized parameter....
I've tryed this:
mount -t cifs //192.168.2.200/public /hddext -o username=myuser,password=mypass,domain=workgroup,gid=100,uid=1000,iocharset=utf8,nouser_xattr,noacl,serverino
but i still get the errors:
2010-11-27 18:34:19: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/111.part.met.bak' (error 2: No such file or directory)
2010-11-27 18:34:19: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/111.part.met.backup' (error 2: No such file or directory)
2010-11-27 18:34:19: Error: Impossible to set permissions for the file '/hddext/filesharing/amule/Temp/111.part.met.bak' (error 2: No such file or directory)
I'm going crazy...the log is always full...
-
I'm going crazy...the log is always full...
As a temporary workaround you can replace the logfile with a symbolic link to /dev/null.
cd .aMule
ln -s /dev/null logfile
-
I'm going crazy...the log is always full...
As a temporary workaround you can replace the logfile with a symbolic link to /dev/null.
cd .aMule
ln -s /dev/null logfile
Until i'll not find a "correct way" to avoid this problem, this is a good workaround. Thanks.
-
Given taht the id's are right for your env, just the fact that your nas runs linux doesn't imply that it's UTF-8. If the fs doesn't support it, it's not used. And the params affect communications with the sambe, and enable or disable some internal handlers in your sambe-server. Somehow you have to get access to your servers config to get it running as expected. Maybe just an fs change is needed. Why should you run ntfs on a linux machine? The Win-Clients see their fs trough samba, so they don't care.
-
unfortunatly i cannot access the nas linux console :P
so...i'll keep the log redirected to /dev/null,it's the only thing i can do atm.
Thank you a alot!
-
So... have you tried mounting with ",silent" yet?
-
So... have you tried mounting with ",silent" yet?
yes,tryed, but it's not recognized as a valid parameter :'(
-
What does "mount" executed in a terminal tell you?
Perhaps you can try the mount command with a different syntax. I used to run into permission problems with NFS mounts in the past.
This proved to be the easiest and cleanest way to mount a network share:
mount 192.168.2.200:/public /hddext
-
What does "mount" executed in a terminal tell you?
Perhaps you can try the mount command with a different syntax. I used to run into permission problems with NFS mounts in the past.
This proved to be the easiest and cleanest way to mount a network share:
mount 192.168.2.200:/public /hddext
mount 192.168.2.200:/public /hddext
mount.nfs: mount to NFS server '192.168.2.200' failed: System Error: Connection refused
-
What does "mount" executed in a terminal tell you?
Please execute "mount" without any parameter too.
-
What does "mount" executed in a terminal tell you?
Please execute "mount" without any parameter too.
intersect:~# mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
intersect:~# mount 192.168.2.200:/PUBLIC /hddext
mount.nfs: mount to NFS server '192.168.2.200' failed: System Error: Connection refused
-
His NAS should mount the NTFS share with ",silent" to make the chmod calls fail silently and report OK, but he has no access to the NAS command line, so I'm not sure if there's anything he can do if that is the problem.
It could be the CIFS needs to be mounted with the correct UID/GID for the mount user in the NAS, but unless he can find out which one that is, not sure how he would try it - let alone if it would fix it.
-
His NAS should mount the NTFS share with ",silent" to make the chmod calls fail silently and report OK, but he has no access to the NAS command line, so I'm not sure if there's anything he can do if that is the problem.
It could be the CIFS needs to be mounted with the correct UID/GID for the mount user in the NAS, but unless he can find out which one that is, not sure how he would try it - let alone if it would fix it.
Which are the required infos? If i'll find a way to get an ssh access, what should i check? (commands?)
-
Ok!
I've got an ssh access to the nas! Not a lot of commands...
What should i check for the logged user? (someone told something about user id or something similar...but i'm not a linux expert...)
Many thanks.
-
I've got an ssh root access (not "root" but another user with the "power" of doing a lot of things...)
What should i do now?
Please help :'(