Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: larieu on September 03, 2009, 09:03:20 AM
-
I have 2 servers
one now with 7.4 last update
and the other one for several tests 8.0 last update
I don't remember to install something special on the first one to have this commands
When I copied some automated tasks (shell scripts in cron jobs) created for the first one to verify on the second one to see if everything works smooth in that new one I received the error that this commands are not available
this is a new policy?
it is related to the new CentOS?
it will be available?
I must use standard mount/umount?
-
I have 2 servers
one now with 7.4 last update
and the other one for several tests 8.0 last update
I don't remember to install something special on the first one to have this commands
When I copied some automated tasks (shell scripts in cron jobs) created for the first one to verify on the second one to see if everything works smooth in that new one I received the error that this commands are not available
this is a new policy?
it is related to the new CentOS?
it will be available?
I must use standard mount/umount?
What errors? We do not have a crystal ball. If you need help try to be as clear as possible and show the errors verbatim instead of paraphrasing and vaguely describing them. TIA.
Aprrt from that errors with SME Server 8 core should be reported in the bugtracker.
-
Sorry if I was not to clear
this two commands are wannished
if you write
smb <TAB> <TAB> don't apear on list
if you write by yourself the error is
-bash: smbumount: command not found
-
It is part of the Samba set and since SME Server 8 is based on CentOS 5 which in turn is based on RHEL 5 the following applies:
In Red Hat Enterprise Linux 5 smbmount command has been replaced by mount.cifs
Source: http://en.wikipedia.org/wiki/Smbmount
So you will have to rewrite your scripts.
-
Cactus, could you also create an alias for the commands in question so that you would not have to rewrite the scripts for SME 8?
-
Cactus, could you also create an alias for the commands in question so that you would not have to rewrite the scripts for SME 8?
Perhaps, I am unaware of the exact format of the parameters. It might well be that an alias could do, but then again if that is the case replacing the command in the script wouldn't be to much work either and really fixes it as the old commands will (most likely) not return in the future.
-
thanks cactus
the correct approach seems to rewrite that scripts
because in the future all RedHat, CentOS, Fedora will have the same behaviour
once solved with the new commands will work on any of that distributions
the replacing command for smb(u)mount is
mount -t cifs
-
Being accurate, smbmount is not replaced by mount.cifs
In SME 8 smbfs support is no more available, because it is seen as obsolete.
So use remaining cifs support, already available with sme 7.