Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-13-2014, 04:27 PM   #1
LQ Newbie
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
Davfs2 not terminating davfs2 pid when connection times out

I'm running the following configuration:

CentOS release 5.9

I'm testing davfs2 by connecting from a Centos server to dav_box_com. It works fine as long as the server dav_box_com
is accessible on the internet.

Note: I'm omitting some dots and website names in order to be able to post to this site.

I asked my self what will happen if dav_box_com is not responding or if it's responding but the remote share doesn't

I went ahead and mapped dav_box_com on my /etc/hosts file to a non accessible ip address and this is what happened:

1. When I try mounting using the following command line:

mount -t davfs dav_box_com/dav /mnt/

2. The server creates the following process:

[Centos]# ps -ef | grep mount
davfs2 17925 1 0 15:16 pts/0 00:00:00 /sbin/mount.davfs dav_box_com/dav /mnt/box_com -o rw

3. This process stays there indefinitely creating the following messages:

[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
/sbin/mount.davfs: server temporarily unreachable;
mounting anyway

4. After 3 times trying the "df -h" will hang.

5. The davfs2 process stays hung:

[Centos]# ps -ef | grep mount
davfs2 17925 1 0 15:16 pts/0 00:00:00 /sbin/mount.davfs dav_box_com/dav /mnt/ -o rw

I checked all the davfs2 config options and nothing is letting me change this behavior.

How can I try to mount dav_box_com/dav in a way that if it doesn't mount properly because is not finding the server or
the share, it will completely terminate any davfs2 process ??

Thanks in advanced.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
udev rule for davfs2 (ubuntu, debian,..) flux242 Linux - General 8 04-19-2012 12:45 PM
How to get a certificate for davfs2 storckm Linux - Networking 0 08-19-2011 12:41 AM
Setting davfs2 with the Ubuntu 9.10 amirsd Linux - Software 1 01-20-2010 09:00 AM
davfs2 and neon woes Paulsuk Linux - Software 1 12-26-2007 03:00 AM
Setting up davfs2 with the Ubuntu package xjlittle LinuxAnswers Discussion 0 03-23-2007 03:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration