LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-03-2012, 05:52 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
How to mount other server


I would like to use samba to mount a Redhat server , the below is the command I used.

mount -t cifs //192.168.0.1:/mount_point /tmp/ora

but pops the below error

Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

can advise which side not support cifs , how to fix it ?

thanks.
 
Old 09-03-2012, 06:07 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
It looks like you have a colon after the IP address. Try without it.

mount -t cifs //192.168.0.1/mount_point /tmp/ora
 
Old 09-03-2012, 10:54 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by ust View Post
I would like to use samba to mount a Redhat server , the below is the command I used.

mount -t cifs //192.168.0.1:/mount_point /tmp/ora

but pops the below error

Password:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

can advise which side not support cifs , how to fix it ?
thanks.
Can you advise why you don't follow up in your threads, or read the replies you've been given??
https://www.linuxquestions.org/quest...rd-4175424941/

If you're typing the command into a Linux system, then the message is obviously coming from the Linux system. You don't have CIFS support loaded, so load it. You don't say what version of Red Hat you're using, but if it's Red Hat enterprise, you can call Red Hat support, since you're paying for it, right? And you've got access to the Red Hat network so you'll easily be able to load CIFS support.
 
Old 09-03-2012, 10:21 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by TB0ne View Post
Can you advise why you don't follow up in your threads, or read the replies you've been given??
https://www.linuxquestions.org/quest...rd-4175424941/

If you're typing the command into a Linux system, then the message is obviously coming from the Linux system. You don't have CIFS support loaded, so load it. You don't say what version of Red Hat you're using, but if it's Red Hat enterprise, you can call Red Hat support, since you're paying for it, right? And you've got access to the Red Hat network so you'll easily be able to load CIFS support.
thx reply ,

why I do not follow the thread is because two questions is not related , I don't want to mix it up.

I do not pay for redhat support ,

except download from redhat network , can I install any package to make the system CIFS support ?
 
Old 09-04-2012, 01:44 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
If you can download from RH, then you are paying for it, inc support; its an all-in deal.
I suppose if you've got the 30-day free trial that would be different, but that would expire anyway..
Code:
yum install cifs-utils
 
Old 09-04-2012, 09:18 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by ust View Post
thx reply ,
why I do not follow the thread is because two questions is not related , I don't want to mix it up.
Spell out your words. And the question was, why don't you ever follow up in your threads, or say what you've tried, what the results were, or even say "thanks"??
Quote:
I do not pay for redhat support, except download from redhat network , can I install any package to make the system CIFS support ?
No, which is why you should either PAY for Red Hat support, or use CentOS or Scientific Linux instead. Have you looked on your installation DVD for any CIFS packages?
 
Old 09-05-2012, 04:45 AM   #7
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by chrism01 View Post
If you can download from RH, then you are paying for it, inc support; its an all-in deal.
I suppose if you've got the 30-day free trial that would be different, but that would expire anyway..
Code:
yum install cifs-utils
when I install the cifs-utils , it pops the error below , I tried install keyutils package , it asks other pre-installed package ....

rpm -Uvh cifs-utils-5.6-2.fc19.i686.rpm
error: Failed dependencies:
keyutils is needed by cifs-utils-5.6-2.fc19.i686
libc.so.6(GLIBC_2.8) is needed by cifs-utils-5.6-2.fc19.i686
libcap-ng.so.0 is needed by cifs-utils-5.6-2.fc19.i686
libkeyutils.so.1 is needed by cifs-utils-5.6-2.fc19.i686
libkeyutils.so.1(KEYUTILS_0.3) is needed by cifs-utils-5.6-2.fc19.i686
libtalloc.so.2 is needed by cifs-utils-5.6-2.fc19.i686
libtalloc.so.2(TALLOC_2.0.2) is needed by cifs-utils-5.6-2.fc19.i686
libwbclient.so.0 is needed by cifs-utils-5.6-2.fc19.i686
rpmlib(FileDigests) <= 4.6.0-1 is needed by cifs-utils-5.6-2.fc19.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by cifs-utils-5.6-2.fc1


Therefore , I would like to ask if I want to setup samba server , should I download the source file of cifs , then no need to install the pre-install package ? or except mount -t cifs , is there other way I can mount remote serve ?

Thanks.
 
Old 09-05-2012, 04:52 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
yum != rpm !!

The whole point of the yum (!) tool is to automatically handle dependencies; you should almost never use the rpm cmd to install a pkg.
 
Old 09-05-2012, 04:11 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by ust View Post
when I install the cifs-utils , it pops the error below , I tried install keyutils package , it asks other pre-installed package ....

rpm -Uvh cifs-utils-5.6-2.fc19.i686.rpm

Therefore , I would like to ask if I want to setup samba server , should I download the source file of cifs , then no need to install the pre-install package ? or except mount -t cifs , is there other way I can mount remote serve ?
Thanks.
You won't be able to compile it without the source packages/files for ALL the dependencies listed. Again, if you read the replies you've been given, if you're not PAYING for Red Hat then DON'T USE IT. If you had followed this advice some time ago, you could just type in "yum install cifs-utils", press ENTER, and you'd be done.

You have two choices: Pay for Red hat support and use yum (as was told to you), or load each package manually from whatever source you can find them, and hope for the best.
 
Old 09-13-2012, 08:52 PM   #10
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
thx replies,

I think I can not install cifs to the server , as it needs many pre-installed packages .

I would like to ask is there any way around that I can mount the remote server , except use cifs or nfs , how can I mount remote server ?

thx
 
Old 09-13-2012, 09:31 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by ust View Post
thx replies,
I think I can not install cifs to the server , as it needs many pre-installed packages .
I would like to ask is there any way around that I can mount the remote server , except use cifs or nfs , how can I mount remote server ?
thx
Again, since you've missed it several times: SPELL OUT YOUR WORDS. It's "thanks", not "thx", "please", not "pls"....

And again, you can install the packages (probably) from your DVD, using yum. But AGAIN, if you're not going to PAY for Red Hat enterprise, you SHOULD NOT BE USING IT. All you'll succeed in doing is creating an unstable server, since you WILL NOT get patches/upgrades/bugfixes/security updates, and will NOT get access to online packages. Which is why CentOS and Scientific have been suggested to you, but you don't seem to take this advice.

Unless you use a network file system (cifs, nfs, etc.), you're left with sshfs, which MAY (or may NOT), work for what you want. It's not a good substitute, and you probably will have to install packages for it as well.
 
Old 09-13-2012, 10:23 PM   #12
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Thanks reply ,

My current problem is can not install cifs via rpm or yum .

sorry to repeat my question , I know that except use rpm to install package , some package have source code version to download , we can compile the source code rather than use rpm to install , so I just would like to ask is there such source code to download ? or may be I am wrong ?

thanks
 
Old 09-14-2012, 03:17 AM   #13
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
Hi,have you try to change ¨cifs¨ to ¨smbfs¨?
 
Old 09-14-2012, 10:45 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
Quote:
Originally Posted by ust View Post
Thanks reply ,
My current problem is can not install cifs via rpm or yum .

sorry to repeat my question , I know that except use rpm to install package , some package have source code version to download , we can compile the source code rather than use rpm to install , so I just would like to ask is there such source code to download ? or may be I am wrong ?
thanks
Yes, but again, you seem to be ignoring/not understand the replies. Yes, you CAN install all that from source, but AGAIN, you will have to install all the DEPENDENCIES from source too. Go right ahead and do so if you want...doesn't get much more clear than that.

And AGAIN, if you're not going to PAY for Red Hat enterprise, then DON'T USE IT. If you took this advice (which you were given quite some time ago), you wouldn't be having these problems now. And again, even if you manage to get things going, you'll be unpatched, have no updates, and have security/bug issues to deal with.
 
Old 09-17-2012, 04:06 AM   #15
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by vp0619520 View Post
Hi,have you try to change ¨cifs¨ to ¨smbfs¨?
I tried smbfs , but not work .
 
  


Reply


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
mount: mount to NFS server "server ip" failed: timed out (retrying) dorlack Linux - Newbie 4 06-20-2012 04:33 PM
Creating a mount point on one server to mount directory from another server jbottiger Linux - Networking 1 01-27-2011 04:10 PM
Server A(mount)-->Server B(mount)-->Server C,,fesiable? pls help. jerryliu Linux - Enterprise 4 01-10-2010 05:36 AM
mount: mount to NFS server '192.168.15.2' failed: System Error: No route to host. mohammedahmed86 Linux - Networking 4 11-05-2009 10:48 AM
Set up rsync to mirror mount on Windows Server to mount point on 2nd internal drive MoMule Linux - Server 4 04-13-2007 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:48 PM.

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