Kind of Desperate - CIFS service not starting on new build

Status
Not open for further replies.

Deepak Agarwal

Explorer
Joined
Dec 6, 2013
Messages
61
Hi E veryone


I just built my new PC and installed FreeNAS 9.2.1 64 bit. Added the HDD's from the old PC and also uploaded the config file from the previous build.

It boots up ok from the USB and I can connect to the web interface - this time around it did ask me to log in as root with a password - all good so far!

The problem is that I am not able to see any of the volumes/shares on my Windows PC's on my home network. I can see all the data from within the system (from the shell) or even when connected using SSH but cannot see anything on Windows Explorer.

The CIFS service cannot be started. How do I start the CIFS service? Is there some other information that I can provide that will assist anyone to assist me?


Best regards


Deepak
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Well, 9.2.1 shouldn't be used.. they've had 2 bugfix releases because of serious problems with CIFS. I strongly recommend you try 9.2.1.2 first.
 

Deepak Agarwal

Explorer
Joined
Dec 6, 2013
Messages
61
That was what I got from the 'Download' page a few weeks ago. I will try it with the new release and hopefully it should be ok!

Thanks for that!


Best regards


Deepak
 

Deepak Agarwal

Explorer
Joined
Dec 6, 2013
Messages
61
That seems to work ok!

One other thing! How do I get this working :-

I have created a password authenticated (for some reason my public key authentication doesn't seem to work) PuTTy session that works and I am able to log in by either typing the following command at the dos prompt or having that in a batch file :-

putty -ssh anyone@192.168.1.10 -pw mypassword

What I want to do is to use the -m option which requires a local script file that contains the command to be run on the linux/freeBSD terminal like so :-

putty -ssh anyone@192.168.1.10 -pw mypassword -m "D:\FreeNAS_Server_Shutdown_Files\ShutdownFreeNASCmdFile.txt"

The file "ShutdownFreeNASCmdFile.txt" contains this command
sudo shutdown -p now

But that didn't work!


I also tried it with this command in the file
./.ssh/shutdownfreenas.txt - running this command under "anyone" or root login (from shell) gave permission denied error even the sudoers file in /conf/base/etc/local/sudoers has these lines :-

anyone ALL=(ALL) NOPASSWD: ALL
%wheel ALL=(ALL) NOPASSWD: ALL

Where the shutdownfreenas.txt file contains the "sudo shutdown -p now" command


Any suggestions?


Best regards


Deepak
 
Status
Not open for further replies.
Top