aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: Terrible problem after changing folders....  (Read 9962 times)

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1554
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Terrible problem after changing folders....
« Reply #15 on: November 27, 2010, 10:30:43 AM »

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.
Logged
Homefucking is killing prostitution

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #16 on: November 27, 2010, 06:34:24 PM »

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...
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Terrible problem after changing folders....
« Reply #17 on: November 28, 2010, 11:10:55 AM »

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.
Code: [Select]
cd .aMule
ln -s /dev/null logfile
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #18 on: November 28, 2010, 03:41:40 PM »

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.
Code: [Select]
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.
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1554
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Terrible problem after changing folders....
« Reply #19 on: November 28, 2010, 05:03:18 PM »

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.
Logged
Homefucking is killing prostitution

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #20 on: November 28, 2010, 08:38:55 PM »

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!
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Terrible problem after changing folders....
« Reply #21 on: November 29, 2010, 11:13:00 AM »

So... have you tried mounting with ",silent" yet?
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #22 on: November 29, 2010, 08:45:49 PM »

So... have you tried mounting with ",silent" yet?
yes,tryed, but it's not recognized as a valid parameter  :'(
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Terrible problem after changing folders....
« Reply #23 on: November 30, 2010, 01:03:01 PM »

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:
Code: [Select]
mount 192.168.2.200:/public /hddext
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #24 on: November 30, 2010, 07:57:02 PM »

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:
Code: [Select]
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
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Terrible problem after changing folders....
« Reply #25 on: December 01, 2010, 12:19:18 PM »

What does "mount" executed in a terminal tell you?
Please execute "mount" without any parameter too.
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #26 on: December 01, 2010, 01:41:03 PM »

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
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Terrible problem after changing folders....
« Reply #27 on: December 01, 2010, 03:36:54 PM »

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.

Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #28 on: December 02, 2010, 01:55:24 PM »

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?)
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: Terrible problem after changing folders....
« Reply #29 on: December 07, 2010, 02:08:01 PM »

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.
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------
Pages: 1 [2] 3