Fedora :: Samba Does Not Show Running Hosting Of Shares In The Services Gui On 11
Nov 13, 2009
I am baffled by fedora's feeble attempts to work with Samba. I have ran various versions of Fedora for the last few years, and sporadically, the Samba gui and samba itself have had such problems. My current problem in Fedora 11 (64bit) is that samba doesn't seem to be running correctly. It is allowing the hosting of shares, but it does not show that it is running in the services gui. It shows enabled, but when I attempt to change it by starting or stopping, nothing happens. The samba gui also shows that it launches but then never actually starts. I saw very similar problems with Fedora 9.
As the subjects states, I cannot see my windows 7 shares from any of my *nix computers. I tend to over complicate things and I may do so here, but I want to try and be as thorough as possible in explaining the situation. I'll state w/ the basic layout of my lan code...
I have a little bit of a problem, I run openSUSE as a server on a Dell PowerEdge T610. I use it for sharing files in a local network and as a web server accessible through the public IP (configured through router DMZ). Also, I use Teamviewer for remote control in order to avoid some compatibility and network problems. Generally the computer runs flawless but from time to time, as about once in two weeks, all network related services except the Apache server which runs just fine, and is still accesible, crash. The Samba share can't be accessed anymore, the Teamviewer is also dead and the only way to put everything back in order is a restart. The thing is I don't know if an error occurs since the server hasn't got a monitor installed, and more than that I do most of my work remotely (as in miles and miles away from the location) and it takes me quite some time to actually get there and see what's happening.
So, any ideas what might be happening? I belive that there might be some information in some of the logs, but as I am not an expert in Unix like operating systems I don't exactly know where to start from.
I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.
1. Managing SAMBA shares and giving user specific access for the shares. 2. Scheduling backup of some mount points with rsycn to store data in remote hard disk 3. User and group administration, with sudo access. 4. Creating and Managing Xen Virtual machines and giving access to other project teams. 5. Automating some tasks with Shell Scripting. 6. Managing FTP server for user uploads.
I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?
I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.
The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.
From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.
I just installed a F12 server at home, replacing a FC9 server that ran samba to share media files. I had no problems connecting to samba on FC9 (the version escapes me, sorry) however Win7 seems to be fighting the F12 samba (v3.4.7) trying to do the same thing. I create a directory share, it shows up in windows explorer, but when I try and open it win7 tells me I dont have rights to it.
I created a printer share via samba, and successfully connected to it from win7 and use it as my default printer, and that works OK. I know win7 uses smb2 as its samba protocol, and that might be some of the problem (or all of it), but I'm not sure. I also have googled and saw that people have had had issues with samba as their domain controller while trying to join win7 into the domain, however I do not use win7 as a pdc at all. The solution for this seems to be registry hacks, but I am not sure they apply to me as I haven't seen anyone correlate it. Tailing the logs, this is what I see when I try and explore the file share from win7:
Code: [2010/04/26 13:09:56, 1] smbd/notify_inotify.c:421(inotify_watch) inotify_add_watch returned Permission denied
Now I have edited smb.conf manually in the past but to try anything I've even played with webmin to see all the options I might be missing, still my conf is fairly simple:
I see the movies share in win7, but it doesn't let me in. I tried disabling requiring 128bit encryption for NTLM as one suggestion but that didn't work. Also changing local security policies to send LM & NTLM responses, and that didn't work.
After latest samba updates from updates-testing (F11) I can't copy any file from the network via samba: when copy process reaches almost end of the file, error message appears 'Invalid argument'. Such error happens with any read attempt on a network file - the last ~5% of a file can not be read.
I am in the process of migrating my small workplace to a basic spin i've created of f14. Everything is suave but some file browser windows eg: file upload in gmail, hotmail etc, does not show my samba shortcuts i've created nor even the option to browse the network in the "places" section. It shows other locally created shortcuts but no samba ones. Just to test it, even creating an ftp:// shoftcut yeilds no dice. I had a quick search through the forums and I couldn't find anything. I have a feeling this has an easy solution that my inferior brain cannot comprehend! Loving F14 on my macbook pro and so are my employees in my office! Feels much less bloated than Ubuntu IMHO.
I am having a problem accessing my samba shares from my notebook that has a fresh install of Fedora 15. I know that the server with the samba shares is working since I can access them from the windose box. I have just moved from using Ubuntu to Fedora and have definitely found my home. How would I tell if samba is running (or any service for that matter) on my notebook? I Installed samba-client
Code: yum install samba-client
Though I still cannot access the shares. All it shows is windows network.
I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:
Code: # Samba config file created using SWAT # from UNKNOWN # Date: 2009/05/19 21:47:31
[global] workgroup = AIVILANET server string = Bighat Samba Server interfaces = eth0 null passwords = Yes smb passwd file = /etc/samba/smbpasswd passdb backend = tdbsam username map = /etc/samba/smbusers syslog only = Yes announce version = 5.0 name resolve order = hosts wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = CUPS wins support = Yes
[HP-LaserJet-1200] comment = HP LaserJet 1200 path = /var/spool/samba read only = No printable = Yes printer name = HP-LaserJet-1200 oplocks = No share modes = No
[printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No
[home] path = /home/savona/ username = savona valid users = @Users admin users = savona write list = savona force user = savona force group = savona read only = No hosts allow = 10.0.0.2
I have a hard drive which I put in an enclosure so that I can attach it by USB to my laptop, like a giant flash drive. In other words, its an external Hard Drive now. When I first plug it in it is detected and mounts like you would expect, but after a few minutes it unmounts. It's like the drive spins down and unmounts or something.
So, I want to remount it over my network rather than having to walk over to the computer and unplug the Hard Drive and then plug it back in. I would even be happy if I could just remote desktop onto that machine and remount the device somehow.
Here's the problem:
When the Hard Drive is mounted, and I run the "mount" command in terminal it shows up as:
/dev/sdc1 on /media/"NAME OF HARD DRIVE"
but when it unmounts itself and I run lsusb in terminal it only shows up as:
Bus 002 Device 053: ID 13fd:1840 Initio Corporation
I don't know how to get it to mount based on that name. So, I am asking: given that it shows up with that name, how can I remount the device from the command line...
The ultimate goal being to get it to reappear in my SAMBA shares.
Last time I installed the ATI graphics driver on my PC, it was'nt working fine so I uninstalled that driver. I restarted the PC after uninstalling the driver but then, when PC boots and start running the services the screen just hangs and I don't get into the desktop.
I tried to run the xfs service using service xfs restart and also gdm service using service gdm restart, but in both the cases it shows that Unrecognized Service. So, I think it means that the package for xfs and gdm service is not available in my PC. Is that so?
I tried to get into the desktop by running startx but it gave the following error :-
Fatal Server Error: no screen found
consult the fedora project support at [URL] for help.
check the log file at "/var/log/Xorg.0.log" for additional information.
xinit: connection refused (errno 111): unable to connect to X server xinit: no such process (errno 3): server error.
It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.
Everything works fine in doing this, however every time a user logs into the Windows Citrix Session the roaming profile created on the linux samba share creates their Windows Profile with a 755 perms. I understand that the default umask is (globally on my RHEL host is 022 ??) but in my smb.conf file the definition that is defined for the directory is set to a create mask of 0700. What is going on?
I have a problem accessing SMB shares in ubuntu 9.10. It worked fine before until I created a symbolic link and deleted it. Now the SMB share shows as empty or says "it has no been mounted" when I use "connect to server" to access it. oddly enough I can enter folder names and the contents do show but when I try to delete something there I get There was an error deleting "No such file or directory"
I believe that I need to disable the host check, I'm checking a public FTP service and ping is disabled on that FTP host. This is resulting in Nagios reporting the host as down, but the service shows as OK.
installed skype, shows in apps-internet-skype , but hwen i want to start it, it doesn't do anything. does not show in sysmonitor as running, or at all uninstalled and re-installed, still no luck anyone who got it working.
I recently installed CentOS 5.3. There I select desktop package (Gnome and KDE) didn't select server in CentOS 5.3 installation gui. I want to connect to the windows active directory domain in our company. To do this I want to run the samba service. But it is not listed in the services. (#service --status-all) but I cant see the samba config file smb.conf why I cant run this other services smbd, nmbd is also not listed. But winbind is listed and I started it.
I have been trying to get my Samba 3.x NAS to connect to my Windows XP laptop. I can see the server though I cannot open it and see the shares. I have run various tests on the network and Samba (ping, smbclient) though still cannot find why I can't connect.
I can access the NAS via webmin, so I am thinking I need the security or the services settings on the XP machine. Is there a list somewhere of the Windows XP services and security settings required to share files?
From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.
If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.
I've been using ubuntu earlier and when connecting to a samba shared folder it appeared in /home/user/.gvfs folder. I can browse the samba share, it's ok, but I prefer Midnight Commander than Nautilus when copying files. So, where does it reside in Debian?
I have had server running for over a year and have run into my first major issue. I am no longer able to browse to the server by hostname or IP and view all available Samba shares. I receive a windows popup informing me I do not have permissions However I am still able to browse to the shares themselves \hostnameshare.I am currently assuming this is an issue with the config of the samba share module/