{"id":3700,"date":"2017-04-03T14:46:49","date_gmt":"2017-04-03T09:16:49","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=3700"},"modified":"2018-10-29T16:43:40","modified_gmt":"2018-10-29T11:13:40","slug":"mount-error-115-shares","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/mount-error-115-shares\/","title":{"rendered":"Mount error 115 on some shares"},"content":{"rendered":"<h2 id=\"problem\"><span style=\"color: #993300;\"><label class=\"label label-warning\">PROBLEM:<\/label><\/span><\/h2>\n<p>Mount error 115 on some shares? (<a href=\"https:\/\/www.wikitechy.com\/tutorials\/linux\/maximum-number-of-threads-per-process-in-linux\" target=\"_blank\" rel=\"noopener\">LINUX<\/a>)<\/p>\n<h3 id=\"solution-1\"><span style=\"color: #008080;\"><label class=\"label label-info\">SOLUTION 1:<\/label><\/span><\/h3>\n<ul>\n<li>Running\u00a0<strong>debian wheezy<\/strong> on a virtual machine and trying to mount some shares from the win8.1 host.<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">\/\/192.168.0.10\/dir1 \/home\/user\/dir1 cifs credentials=\/root\/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0<br\/>\/\/192.160.0.10\/dir2 \/home\/user\/dir2 cifs credentials=\/root\/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0<br\/>\/\/192.160.0.10\/dir3 \/home\/user\/dir3 cifs credentials=\/root\/.secret.pwd,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,iocharset=utf8,sec=ntlm 0 0<\/code><\/pre> <\/div>\n<ul>\n<li>The first share gets mounted correctly, but not the other two.<\/li>\n<li>This is the output we get when <strong>sudo-ing a mount -a:<\/strong><\/li>\n<\/ul>\n<h4 id=\"code\"><span style=\"color: #3366ff;\"><b>Code:<\/b><\/span><\/h4>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">mount error(115): Operation now in progress<br\/>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)<br\/>mount error(115): Operation now in progress<br\/>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)<\/code><\/pre> <\/div>\n[ad type=&#8221;banner&#8221;]\n<p>and this is what <strong>\/var\/log\/syslog<\/strong> shows:<\/p>\n<h4 id=\"code-2\"><span style=\"color: #3366ff;\"><b>Code:<\/b><\/span><\/h4>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">Mar 24 12:56:12 hostname kernel: [ 1887.029043] CIFS VFS: Error connecting to socket. Aborting operation<br\/>Mar 24 12:56:12 hostname kernel: [ 1887.030013] CIFS VFS: cifs_mount failed w\/return code = -115<br\/>Mar 24 12:56:22 hostname kernel: [ 1897.052130] CIFS VFS: Error connecting to socket. Aborting operation<br\/>Mar 24 12:56:22 hostname kernel: [ 1897.053885] CIFS VFS: cifs_mount failed w\/return code = -115<\/code><\/pre> <\/div>\n<ul>\n<li>The same happens at <strong>boot time.<\/strong><\/li>\n<\/ul>\n<p>Now, we run manually :<\/p>\n<h4 id=\"code-3\"><span style=\"color: #3366ff;\"><b>Code:<\/b><\/span><\/h4>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">sudo mount \/\/192.168.0.10\/dir2 \/home\/user\/dir2 -t cifs -o credentials=\/root\/.secret.pwd,uid=1000,gid=1000<\/code><\/pre> <\/div>\n<h3 id=\"solution-2\"><span style=\"color: #008080;\"><label class=\"label label-info\">SOLUTION 2:<\/label><\/span><\/h3>\n<h4 id=\"mount-error115-operation-now-in-progress-cifs-vfs-cifs_mount-failed-w-return-code-115\"><span style=\"color: #ff6600;\"><b>mount error(115): Operation now in progress &#8230; CIFS VFS: <\/b><b>cifs_mount<\/b><b> failed w\/return code = -115<\/b><\/span><\/h4>\n<ul>\n<li>Trying to mount a<strong> CIFS path<\/strong> in <a href=\"https:\/\/www.wikitechy.com\/tutorials\/apache\/ubuntu-simple-hello-world-example-in-apache\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a> and getting:<\/li>\n<li><strong>mount error(115)<\/strong>: Operation now in progress<\/li>\n<li>Try to look this <strong>\/var\/log\/syslog<\/strong>:<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">Feb  9 14:08:29 ldap kernel: [143452.140157] CIFS VFS: Error connecting to socket. Aborting operation<br\/>Feb  9 14:08:29 ldap kernel: [143452.140492] CIFS VFS: cifs_mount failed w\/return code = -115<\/code><\/pre> <\/div>\n[ad type=&#8221;banner&#8221;]\n<ul>\n<li>Socket error, we know what this is right? <strong>IP or port<\/strong>. Ping for <strong>domain\/IP or Telnet to test port<\/strong>:<\/li>\n<\/ul>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">bash code<\/span> <\/div> <pre class=\"language-bash code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-bash code-embed-code\">ping IP<br\/>telnet IP 445<\/code><\/pre> <\/div>\n<ul>\n<li><a href=\"https:\/\/www.wikitechy.com\/technology\/how-to-hack-telnet\/\" target=\"_blank\" rel=\"noopener\">Telnet<\/a> was timing out, port closed for IP in firewall.<\/li>\n<\/ul>\n<h3 id=\"solution-3\"><span style=\"color: #008080;\"><label class=\"label label-info\">SOLUTION 3:<\/label><\/span><\/h3>\n<h4 id=\"lem-mount-error115-operation-now-in-progress\"><span style=\"color: #993300;\"><b>LEM mount error(115): Operation now in progress<\/b><\/span><\/h4>\n<h4 id=\"overview\"><span style=\"color: #0000ff;\"><b>Overview<\/b><\/span><\/h4>\n<ul>\n<li>This article describes an error during the LEM upgrade process where you are asked to specify a network share location containing upgrade files.<\/li>\n<li>After entering the network share as<strong> \\\\hostname\\sharename<\/strong> and the username and password, <strong>LEM<\/strong> throws this error and will fail the upgrade process:<\/li>\n<\/ul>\n<p><strong>Mount error(115):<\/strong> Operation now in progress<\/p>\n<h4 id=\"cause\"><span style=\"color: #333300;\"><b>Cause <\/b><\/span><\/h4>\n<ul>\n<li>A network name resolution failing on the smb client in LEM.<\/li>\n<\/ul>\n<h4 id=\"resolution\"><span style=\"color: #ff6600;\"><b>Resolution<\/b><\/span><\/h4>\n<ul>\n<li>Check <strong>ICMP<\/strong> connectivity (ping) between the <a href=\"https:\/\/www.wikitechy.com\/tutorials\/apache\/ip-based-virtual-host-in-apache\" target=\"_blank\" rel=\"noopener\">hosts<\/a>.<\/li>\n<li>Attempt to mount a share on the <strong>same subnet as LEM.<\/strong><\/li>\n<li>Attempt to use the <a href=\"https:\/\/www.wikitechy.com\/tutorials\/linux\/how-to-get-the-ip-address-of-the-machine-in-linux\" target=\"_blank\" rel=\"noopener\">IP address<\/a> and a simple share name when mounting the share.<\/li>\n<\/ul>\n<p><strong>e.g.<\/strong> \\\\10.1.1.1\\lem\\ rather than \\\\some_host_some_place_on_the_network\\this_share.name_desktop_special_unique_and_long<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mount error 115 on some shares &#8211; the LEM upgrade process where you are ask to specify a network share location containing<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699],"tags":[7132,7127,7143,7140,7128,7123,7126,7135,7148,7131,7147,7130,7136,7149,7151,7138,7124,7150,7137,7134,7139,7125,7122,7145,7133,7129,7146,7144,7152,7141,7142,7153],"class_list":["post-3700","post","type-post","status-publish","format-standard","hentry","category-linux","tag-192-168-l-128-password","tag-centos-mount-error-115-operation-now-in-progress","tag-cifs-error-115","tag-cifs-mount-error-115","tag-cifs-mount-port","tag-cifs-vfs-error-connecting-to-socket-aborting-operation-115","tag-errno-115-operation-now-in-progress","tag-how-to-access-shared-folder-in-ubuntu","tag-how-to-access-windows-shared-folder-from-linux","tag-how-to-share-folder-in-windows-7","tag-linux-15-10","tag-linux-error-115-operation-now-in-progress","tag-linux-error-codes","tag-map-network-drive-linux","tag-mount-a-network-drive-in-linux","tag-mount-error-115","tag-mount-error115-operation-now-in-progress-azure","tag-mount-network-drive-in-linux","tag-mount-windows-share-in-linux","tag-network-sharing-windows-7","tag-operation-now","tag-raspberry-pi-mount-error115-operation-now-in-progress","tag-searches-related-to-mount-error115-operation-now-in-progress-linux","tag-share-desktop-windows-7","tag-share-folder-in-windows-7","tag-tns-12537-tns-12560-tns-00507-linux-error-115","tag-ubuntu-file-sharing","tag-ubuntu-fstab","tag-ubuntu-map-network-drive-gui","tag-ubuntu-nas-error-115","tag-wd-my-cloud-linux","tag-windows-7-shared-folder"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/3700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=3700"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/3700\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=3700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=3700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=3700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}