Networking :: Samba Needs Restart On Reboot?

Jan 20, 2011

running Ubuntu 10.10, generally with no probs. After the upgrade to 10.10, and several updates, I still have a problem. Namely when ever I re-boot, which now more often than I'd like, due to a machine failure. It starts, but accross the network can't "see" tux, pop to root term, and

Quote:

root@tux:~# stop smbd
smbd stop/waiting
root@tux:~# start smbd
smbd start/running, process 3682

and that fixes it. Whats wrong with the startup script?

View 2 Replies


ADVERTISEMENT

Debian Configuration :: File Share Unavailable From A Reboot Until Restart Samba

Jul 3, 2011

I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.

View 2 Replies View Related

Networking :: Wireless Network Times Out - Will Not Restart Without Reboot

Nov 1, 2010

I had been manually starting my wireless network with "sudo iwconfig wlan0 essid "my wireless router id". The network would start and work flawlessly for weeks at a time. I can't ask my wife to find the essid in the terminal and then start wireless manually when I'm not here. She hates and fears the terminal. So I downloaded gnome network manager for a point and click interface on gnome panel.The network would start fine but shut down after anywhere from one to six hours. It would then refuse to restart manually or otherwise. I completely uninstalled network manager and tried wicd instead. The same basic problem is happening. The network will restart if I reboot the computer. My system:

Desktop computer acting as proxy server for the internet. Internet connection is by a dial up modem. This computer uses a wireless pci card connected to a dedicated hub. This is for file sharing via nfs. The OS is ubuntu 9.10. My wife's computer sharing the internet using a proxy to my computer. File sharing via nfs and a wireless card. Also running ubuntu 9.10. This same basic system worked flawlessly under Ubuntu Hardy.My desktop was updated recently with new hardware which created the need to move to Ubuntu Karmic. Some hardware was too new for hardy to deal with.

View 6 Replies View Related

Ubuntu Networking :: Keep Having To Restart Samba?

Oct 25, 2010

a few times a day I have to run sudo service smbd restart on my primary server to get samba working again.y working i mean being able to see the server in the workgroup and being able to type smb://phoenix/ and have a result. please help me troubleshoot this.env: server: 10.10 x64, clients: 10.10 32 & 64, 10.04, winxp all affected the same waylast time it occurred within 2 hours after a reboot. here's the config. I've been commenting out lines that I wasn't sure of in an attempt to troubleshoot this.

Code:
1 [global]
2 ; General server settings

[code]....

View 2 Replies View Related

Fedora Networking :: Samba Server Name Disappears After Restart?

Sep 10, 2009

I have a problem with samba machine disappearing after I restart smb or the server where samba is running. Lets say I name my samba server ABC and set it up via system-config-samba utils. I follow basic steps and fill out everything according to most guides that are available for fedora. After that everything works great, I can connect to samba server ABC form any machine through smb://ABC (mac) or \ABC (win), however as soon as I restart smb services or my server (subsequently restarting the smb service ...) I no longer can connect to it via samba server name ABC, I can only do smb://SambaServerIP or \SambaServerIP (have to put numerical internal ip to connect)

My smb.conf:
# cat /etc/samba/smb.conf
[global]

[code]....

View 1 Replies View Related

Ubuntu Networking :: 9.10 - Sudo Server Samba Restart

Feb 21, 2010

My Ubuntu 9.10 works well with the network through samba, but only if I first run -
sudo service samba restart
Then all is fine. I don't understand this. How can I avoid having to do this? Or alternatively where can I best put this command so that it will be run on boot-up.

View 2 Replies View Related

Fedora Networking :: Samba NMB - Dead After A Reboot

Feb 8, 2009

I've got a problem with samba and the nmb service. My system boots in Gnome

Ive set up Samba and it works ok, untill I reboot, then I have to go into services and restart Nmb service. the services bit says its dead after a reboot, its running on run levels 2345 I had a few hicups setting it up took me a couple of days to figure out the fire wall and SElinus were blocking things, so I ticked all the samba things - and it works a whole lot better.

I have to admit its a whole lot more polished than last time I tried linux - Red Hat 5. I like the Yum installer it takes a lot of guess work out for us novices, one thing I would like is to be able to edit and open things as root in Gnome or just log into it as root so that you can set things up, but I'll save that question for another day.

View 5 Replies View Related

Ubuntu Networking :: Samba Share Requires Unmount/Remount After Restart

Aug 4, 2011

I recently built a computer for a friend that is only going to be used to run a network share.

The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.

If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.

I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.

View 2 Replies View Related

Ubuntu Networking :: Reboot: Samba Running But Unresponsive?

Apr 24, 2011

running a server semi-headless (desktop installed, but usually I connect via ssh/freenx) on my network.after rebooting the box, the samba service will not respond to clients, until I login over nx, and restart samba with 'sudo service smbd restart'. I have it rigged via startup applications, so the command runs on first login, but I would really prefer it come online on boot even if I'm not there to logon. I wrote a quick script to enumerate the status of the network services. here is the output right after a reboot. I ran the script from ssh, before starting a desktop session with nx.

Code:
Checking status of network services
Named Status:

[code]....

View 5 Replies View Related

Ubuntu :: Restart Alsa After Every Reboot?

Feb 14, 2010

As the title suggests, I have to restart alsa everytime I restart the computer. Obviously that's pretty annoying.

So once restart I normally do:

Code:
sudo alsa force-restart

It will then give me a few warnings (see screenshot 2) and then unload and reload all the drivers and everything works fine.

View 2 Replies View Related

Ubuntu :: Restart / Reboot Without Need To Login

Mar 5, 2011

I have a weird problem. When I restart/reboot, the computer restarts (I see the BIOS, Grub, etc., sequences) and goes right back into my desktop session - no login required. This is not the behavior I want.How can I make it reboot to the login screen?I'm running Ubuntu 10.10 Maverick

View 2 Replies View Related

Fedora :: Keyboard Layout Restart After Reboot -12?

Nov 22, 2009

I have a little problem when I restart my computer, the keyboard layout restart and get back to the default USA keyboard. Even if I delete it it's still back after the reboot. Maybe there a file that I can edit to get my default Canada setting to stay.Also, another problem that have been discussed thousand time before, I tried to add a drive to fstab without success, here what my fstab look like:Quote:

#
# /etc/fstab
# Created by anaconda on Sat Nov 21 13:02:07 2009

[code]...

View 2 Replies View Related

Debian Hardware :: Reboot / Restart Instead Of Shutdown (wheezy)

Oct 16, 2012

Come across with a situation where all methods of shutdown result in a restart/reboot? I've tried commands:

- shutdown
- halt
- poweroff

.. with various parameters, nothing works. The laptop seems to power off, but after a sec it restarts/reboots. I've Googled high and low, but there's very little on this topic. Maybe it is specific to the current kernel in Wheezy? I'm not suspecting a harware failure, since this was not happening with Windows installed.

This happens on me with Wheezy on a HP Elitebook 8530w.

View 14 Replies View Related

Ubuntu :: Hanging Desktop Sometimes - Requires A SYSREQ Reboot To Restart It

May 11, 2011

Any time i try to start my computer from a cold state (off for 1+ hours), the first time i start it, it hangs and requires a SYSREQ reboot to restart it. When it hangs, all the window decorations disappear and the background vanishes. The main menu opens, but click on things does nothing. clicking shutdown only brings up the normal shutdown window with the text replaced with squares.

Thought it was my hdd (i/o errors and for some reason the HDD remounts r/o at this point), but e2fsck shows no issue.

Thought it may be an IRQ conflict, so i enabled MSI on all my PCI Devices.

Thought it was the 'green' aspect of my WD Drive, so i set the spindown time to 5 hours using hdparm config file. startup messages printed to screen confirm it is working.

Also, due to the numerous hard resets, the system is detecting a 'previous i/o error to the superblock'. Should recovering the SB from a backup be beneficial?

View 1 Replies View Related

OpenSUSE Install :: Login As Root In Terminal To Restart/Reboot The System?

Jan 28, 2010

I added a whole slew of apps to my favorites and lost the 'Shutdown' option...every time I try to shutdown in the Terminal I am told I must be logged in as Root to do so...I can't figure out how to do this I'm a newbie to Linux but a CNE 5 -haven't used it 10 years- an MCP and A+ certified I've searched local help and SuSe's site and I can't find anythingI've only spent a couple of hrs on this and have had SuSe 11.2 installed since last Sunday

View 9 Replies View Related

Security :: Audit.rules Does Not Retain Certain Settings After Reboot Or Service Restart?

Jan 11, 2011

I'm using RHEL 5 with the Enhanced Security. Using the suggest NISPOM Red Hat documented settings (located on the system; copy - paste) I have managed to audit failed file open accesses however, this setting only retained if I enter it at the command line (/sbin/auditctl -a ). If I reboot the system or restart the service all my -a (not -w) located in the /etc/audit/audit.rules are not retained.

View 6 Replies View Related

OpenSUSE Hardware :: Nvidia Twin View Config Not Staying After X Restart/reboot?

Jan 16, 2010

When I set up Twin View in the nVidia config tool (as either a regular user or as root), it only lasts until I log out and log back in (i.e. restart x) or until I restart the machine. In either case once I get to the log in splash screen again, it is only operating on one monitor, and when I log in I have to reconfigure in order to get Twin View back. How can I get the configuration to stay?

More info below:

I just installed opensuse 11.2 on an AMD 64 bit 3800. It has an nVidia GeForce 7600 GS card. I installed the nVidia driver no problem and can access the nVidia config app as a regular user or as root. Both access via KDE run level 5. That is, in a GUI desktop environment. I set up Twin View fine (it is kind of clunky process, but it does recognize my monitor resolutions fine) and click apply and I get the twin view I want. I clicked on save x config but all it does is bring up a file save dialog with a 'browse' button. Isn't this supposed to automatically know where the X config file is and update it? If it isn't, what file am I supposed to look for to save over? I looked in /etc/X11 and only found the following files:

./rstart/config
./xdm/xdm-config
./xdm/SuSEconfig.xdm
./fs/config
./proxymngr/pmconfig

View 2 Replies View Related

CentOS 5 Hardware :: 20 TB Software Raid 5 Build - Locked Up And Array Would Not Restart After Reboot

Mar 25, 2010

I have a 10x2tb disk array that i'm trying to build into a single software raid 5 i have tried this 2 times now the first it made it to 58.7% and the machine locked up and the array would not restart after a reboot. On my 2nd try all was looking good until about 50% i noticed that the speed dropped in 1/2 and that ksoftirqd/2 is taking up a lot of cpu (about 90%) the md0_resync and md0_raid5 are also taking 60-90% when the build started they took 7%. when i do a dmesg i see a lot of the message compute_blocknr: map not correct.

For a little info on the physical setup this is running on an Atom 510 with 2GB of mem the drives are connected to an addonics 4-Port RAID 5 / JBOD SATA II PCI Controller using the sil3124 chipset. I'm using 2 addonics 5X1 SATA Port Multiplier connected to the controller to get the 10 drives attached. All drive show up and don't seem to have any issues. I'm running a fully updated as of 3/20/10 version of centos 5.4

I will let this continue to run over night but i expect it to be locked up by morning if it follows what the last attempt did.

View 9 Replies View Related

Ubuntu Servers :: 10.10 - Samba Restart (File Not There)

Oct 13, 2010

I recently installed Server 10.10 64-bit. After installation, I set up my config file (/etc/samba/smb.conf), and tried to restart Samba:
Code:
/etc/init.d/samba restart
There was nothing to restart though - the file /etc/init.d/samba wasn't there!
Purged the package and re-installed. Tried reformatting and adding Samba as a pre-installed package. Trying to find the server guide for 10.10, but no dice. Did something change for Samba in 10.10?

View 1 Replies View Related

Ubuntu :: Xubuntu Can't Restart Samba File?

May 31, 2011

xubuntu and tried to set up my old pc, the problem is that when i modify my samba file and want to restart using /etc/init.d/samba restart the file wasnt there

View 3 Replies View Related

Debian Configuration :: Jessie - Service Samba Restart

Oct 20, 2014

I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.

Output of "systemctl status samba.service":

Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
   Loaded: loaded (/etc/init.d/samba)
   Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
  Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)

Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).

[Code] ....

Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.

View 2 Replies View Related

Software :: Can't Start / Stop / Restart Samba Via Command Line

Oct 12, 2010

I have a GUI for Samba already as it most likely installed, the problem is I don't have a shared folder in admin menu. I have told samba what folder to share and what user to have access to it. As well I have looked at the config file to make sure what was in the gui printed into the config file. However I cannot start, stop, restart samba via command line. I will try config package and hopefully that drops down everything,

[code]...

sudo service smbd restart unrecognized service, nmbd same thing. Now it is installed, but has no script file or the script file is not in the init.d folder like it should be still trying to figure I have come to the conclusion that the daemons are not installed and am trying to figure out what those script files look like or a way to import them off a ftp, however no luck with google so far. But the scripts files don't exist on my box. how do you install samba daemons when it says samba is already installed.

View 7 Replies View Related

OpenSUSE Network :: Samba Does Not Work After Reboot

Jun 26, 2011

I am trying to have accessible computer by its network name (same as hostname) by ping and Samba client from other computers and one directory shared on my laptop. I simple, trivial wish I hope. Nothing extravagant. Something what every Windows user has out-of-the box, just to select a shared directory. However I struggle hard to do the same with linux. Sharing directory with samba is relatively easy, the issues I have is with my laptop network name. It is not recognized/propagated to the local network.

I cannot rely on static data in /etc/hosts. This is a laptop not a server, I move it between different networks. To achieve propagation of my network name (hostname) dynamically, so everyone in the local network can at least ping me, I was advised to use winbind (winbindd), that is to rely on MS NetBios technology There is no native linux technology to achieve this? shame! what about plain/dynamic DNS? why it is not my network name not propagated to my local DNS server/wifi/rooter?

To do that I was advised to do:
- run winbind service (winbindd daemon)
- run samba service (umm, not sure if this is necessary for network name propagation, but I also want to share data so lets keep it as an essential).
- add "wins" to /etc/nsswitch.conf to "hosts" section

Well, it seems to work on my other two computers with Ubuntu and Mandriva well. But not on Suse. Well, not completely, not permanently. It magically start working when I call "Yast -> Samba Configuration". No change here (everything is already set: Domain Name, Not a DC, Netbios Hostname, Wins server support=yes, use Wins for Hostname Resolution) just hit OK. It runs SOMETHING in the background (some scripts) for a few seconds. And then abrakadabra, everything is fine, my network name is recognized, everyone can use my samba exposed directory, smb4k sees me in the Network Neighborhood.

BUT when I restart, I am "back in square one". Pinging my name does not work, smb4k does not see me, or cannot find me even by IP! Samba sharing works by using direct IP. Not all clients support connecting by IP notably not smb4k. To use Samba properly you have to sort out network name visibility fist. I would like to make "Yast -> Samba Configuration" achievements somewhat more PERMANENT.

What exactly runs when I hit OK? No new server/daemon was started. I checked PS, nothing with newer PID appeared. And samba and winbind are started on boot, they were running indeed. No change in configuration was made. I checked all changes made in /etc - but none found! Where is winbind configuration? smb.conf? Do I need to run wins server/client, another daemon?

View 5 Replies View Related

OpenSUSE Network :: Samba Cause Xp Machine To Reboot During Login?

May 18, 2010

It took me a while..But I finally got samba to be a pdc. I was able to join a test xp machine to the new domain samba made. That part worked well. In my Swat I added a samba new user and password. restarted samba etc.. Then tried to log in from the xp with the new user name as the password. As I hit enter im waiting for it to log in..the XP machine reboots. It seems to do that ever time I try. Im sure theres something not qit right in samba.conf or is it something else.

View 9 Replies View Related

Ubuntu Servers :: Samba Shares Folders But Not Printers Until Restart The Smbd Service?

Jul 18, 2010

Just like the title states, as soon as my server comes up, I see the samba share that I made and can browse it just fine.

I don't see the printer share nor can I print to the shared printer until I execute service smbd restart from an ssh login. Then I see the printer and then I can network print.

Before restarting smbd, I do check to see if it's already running and it is (two instances are running in fact). When I restart smbd, there are still two smbd services running but they have higher PID numbers (and I can then print).

I'm running 10.04. how to make it all start up happily the first time without any intervention from me?

View 2 Replies View Related

Networking :: When Logon On Samba Domain The Windows XP Does Not Load Profiles From Samba?

Jan 3, 2011

I have update my linux server from mandriva 9 to mandriva 2010

I was working using samba 2.2.8 and now I have samba 3.5.3.I have transfer all passwd and smbpasswd to new linux.I have convert smbpasswd to tdbsam

when i am using win xp to logon on samba domain the windows XP does not load profiles from samba. I think that the problem is NTUSER.DAT storing in /home/user/profile

The same profile is working using samba 2.2.8 but not working in samba 3.5.3..

View 1 Replies View Related

Fedora Networking :: Unknown Samba Password - Use Samba For File Sharing Like On A Windows Home Network

Jul 17, 2010

I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.

My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.

View 2 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Ubuntu Networking :: Error Appearsubu@ubu-AOD255E:~$ Sudo /etc/init.d/networking Restart?

May 21, 2011

trying to bond two 3G modems but I cant Im really new in this matther so I really This is the error that appears

ubu@ubu-AOD255E:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface ppp0=ppp0.

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved