Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

autofs

5 views
Skip to first unread message

Engin Yilmaz

unread,
Oct 20, 2016, 2:10:02 PM10/20/16
to
Merhaba, Debian 8 testing kullanıyorum. autofs ile sunucuya bağlanamıyorum. ssh ve sshfs ile sorunsuz bağlanabiliyorum ancak bi süre işlem yapmayınca bağlantı kopuyor ve xcf, thunar filan kilitleniyor.

/etc/auto.master şu şekilde:
/mnt/server /etc/auto.server --timeout=6000 --ghost

/etc/auto.server şu şekilde:
html    -fstype=cifs,credentials=/home/engin/.server  e-tck.com:/var/www/html

/home/engin/.server dosyası da şu şekilde:
username=root
password=password

/mnt/server/html dosyasına thunar ile tıkladığımda Error opening directory '/mnt/server/html': Böyle bir dosya ya da dizin yok. Hata mesajı alıyorum.


Gokan Atmaca

unread,
Oct 21, 2016, 7:40:03 AM10/21/16
to
Engin bey;

Diğer tarafta linux görünüyor neden Cifs yernien Nfs kullanmıyorsunuz ?
Linux daha performanslı calisacaktır. Yaptığınız ayarlarda doğru. Dmesg
çıktılarınıda hatayla ilgili bilgileri görürsünüz.

Engin Yilmaz

unread,
Oct 21, 2016, 10:50:03 AM10/21/16
to
Ne yaptıysam olmadı teşekkür ederim ama pes ettim. nfs ile nfs'siz hepsini denedim.

21 Ekim 2016 14:35 tarihinde Gokan Atmaca <linux...@gmail.com> yazdı:

Engin Yilmaz

unread,
Oct 21, 2016, 11:30:03 AM10/21/16
to
Sshfs ile bağlantı belli bir süre sonra kopuyor. Sshfs ile bağlanabildiğimi belirtmek istedim. Ancak malesef autofs ile hiç bağlanamıyor.

21 Ekim 2016 18:02 tarihinde Ozgur Karatas <okar...@yandex.com> yazdı:

Merhaba,
 
ben sorunu tam anlamadim sanirim, bir sure sonra baglanti kopuyor demissiniz, kopacak.
Cunku --timeout degeri vermissiniz, onu kaldirin.
 
Diger taraftan ister CIFS ister NFS udev servisini gozden gecirin.
 
udevinfo komutu ile ilgili diskin model'ine bakin.
 
Ozgur
 
21.10.2016, 17:49, "Engin Yilmaz" <eng...@gmail.com>:

Doruk Fisek

unread,
Oct 23, 2016, 4:20:02 AM10/23/16
to
Thu, 20 Oct 2016 21:08:48 +0300, Engin Yilmaz <eng...@gmail.com> :

> Merhaba, Debian 8 testing kullanıyorum. autofs ile sunucuya
> bağlanamıyorum. ssh ve sshfs ile sorunsuz bağlanabiliyorum ancak bi
> süre işlem yapmayınca bağlantı kopuyor ve xcf, thunar filan
> kilitleniyor.

sshfs'in "autoreconnect" parametresi ile deneyebilirsiniz. Bağlantı
koptuğunda tekrar otomatik oluşturması gerekir.

Doruk

--
Özgür Yazılım A.Ş. ~ #
http://www.ozguryazilim.com.tr

Gokan Atmaca

unread,
Oct 24, 2016, 3:50:02 AM10/24/16
to
> Sshfs ile bağlantı belli bir süre sonra kopuyor. Sshfs ile bağlanabildiğimi belirtmek istedim. Ancak malesef autofs ile hiç bağlanamıyor.

Autofs "/var/log/messages" bastığı logları paylaşırmısınız ?

Engin Yilmaz

unread,
Oct 24, 2016, 4:20:03 AM10/24/16
to
root@gunes:/home/engin# /etc/init.d/autofs reload
[....] Reloading autofs configuration (via systemctl): autofs.serviceJob for autofs.service failed because the control process exited with error code. See "systemctl status autofs.service" and "journalctl -xe" for details.


24 Ekim 2016 10:47 tarihinde Gokan Atmaca <linux...@gmail.com> yazdı:

Gokan Atmaca

unread,
Oct 24, 2016, 4:30:02 AM10/24/16
to
> autofs.service failed because the control process exited with error code.
> See "systemctl status autofs.service" and "journalctl -xe" for details.

Konsolda "journalctl -xe" çıksını paylaşırmısınız. Orada en altta hatanın
nedeni yazıyordur.

Engin Yilmaz

unread,
Oct 24, 2016, 5:10:02 AM10/24/16
to
Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:1 'connectivity-change': new request (1 scripts)
Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:1 'connectivity-change': start running ordered scripts...
Eki 24 12:06:28 gunes dhclient[4509]: bound to 192.168.1.152 -- renewal in 37975 seconds.
Eki 24 12:06:28 gunes NetworkManager[427]: <info>  [1477299988.3666] manager: NetworkManager state is now CONNECTED_GLOBAL
Eki 24 12:06:28 gunes NetworkManager[427]: <info>  [1477299988.3670] policy: set 'semik' (wlp12s0) as default for IPv4 routing and DNS
Eki 24 12:06:28 gunes NetworkManager[427]: <info>  [1477299988.3677] device (wlp12s0): Activation: successful, device activated.
Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:2 'up' [wlp12s0]: new request (1 scripts)
Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:2 'up' [wlp12s0]: start running ordered scripts...
~


24 Ekim 2016 11:24 tarihinde Gokan Atmaca <linux...@gmail.com> yazdı:

Gokan Atmaca

unread,
Oct 24, 2016, 7:40:02 AM10/24/16
to
> Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:1 'connectivity-change': new
> request (1 scripts)
> Eki 24 12:06:28 gunes nm-dispatcher[4518]: req:1 'connectivity-chang

Autofs restart edip aynı anda loglara bakın...
0 new messages