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


ADVERTISEMENT

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 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 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 :: 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 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

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

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

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 :: 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

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

Ubuntu Networking :: Sudo /etc/init.d/networking Restart For Karmic?

Oct 2, 2010

It didn't work. I plugged the cable back in, and it didn't auto-connect, and still says no connection is available after doing the CLI command.

View 2 Replies View Related

Ubuntu Installation :: System Automatically Tried To Restart But On The Restart Got The 'terminal' View

Apr 30, 2011

I have just finished the upgrade of the latest version and I'm at the point of my system restating.

My system automatically tried to restart but on the restart I got the 'terminal' view. It stopped when asking for my username (it never normally asks for this before the grub menu) and then password. I didn't get any further than that.

I now have on my screen (still in the terminal view before the grub menu)

"name@name-desktop:...$ "

I'm on my phone now so I don't actually have the symbol for before the dollar sign but your know what it is. The raised S on a 90 degree angle.

View 6 Replies View Related

Ubuntu Networking :: Networking Disabled After Restart?

May 27, 2010

Last night I was using my sony vaio vgn-nr38m online with no problems. I boot up this afternoon and it now says networking is disabled.

View 1 Replies View Related

Ubuntu :: How To Restart Network Adapter (not Service) Without Restart?

Mar 13, 2010

I have a suspend problem in my laptop. Sometimes, when resuming from suspend, the network adapter is down (that is, the network does not work and the light of the network adapter is off). Restarting the network service doesn't work, because I think that the system forgot about the hardware, and probably the driver should be reloaded.Does anyone knows how to do that?(ps. /etc/init.d/networking restart does not work, because the hardware driver is not being recognized anymore).

View 5 Replies View Related

Ubuntu Networking :: How To Restart X11vnc

Sep 13, 2010

How can I restart x11vnc service?

View 2 Replies View Related

General :: Restart Dhcp From /etc/init.d/dhcpd Restart

Feb 27, 2010

i have installed dhcp,there i declared the subnet and network,i used command include "/etc/dhcpd.conf.jutu1"; to start and other files, but it show me this error when i want to restart the DHCP, if you need more information contact me, i have configured this file too jutu1, but it don't let me to restart dhcp from /etc/init.d/dhcpd restart, this show me this message

[Code]..

View 3 Replies View Related

Ubuntu Networking :: Nfs-common Restart Does Not Work?

Feb 28, 2010

I am trying setup nfs mount points on my system. when i try to restart nfs-common servic, I get following error. client :~ sudo /etc/init.d/nfs-common restart bash: /etc/init.d/nfs-common: No such file or directory

apt-get install nfs-common gives this message :
apt-get install nfs-common
Reading package lists... Done
Building dependency tree
Reading state information...

nfs-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.what am i doing wrong? I'm running Linux client 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux (karmic)

View 2 Replies View Related

Networking :: Ubuntu 10.04 Bind9 Cannot Restart/start

Oct 3, 2010

Here's my current setup:Ubuntu 10.04

When I go to run it via this command:

I get the following error message:

Quote:

This is my /etc/bind/named.conf.options file:

Code:

I've looked at various solutions already:
[url]
[url]
[url]
[url]
[url]
[url]

View 2 Replies View Related

Ubuntu Networking :: Cleanly Restart Wicd So It Reconnects?

Jan 28, 2010

I seem to be having "disconnects" from my wireless network where I stay connected but am unable to ping any hosts, including my router.

I would like to make a simple cron script that checks for this and reconnects.

Is there a clean way to tell wicd to reconnect?

How about sudo /etc/init.d/wicd restart?

I am on Ubuntu 8.04 amd64

misha@misha-d630:~$ dpkg -l | grep wicd
ii wicd 1.6.2.2-1 wired and wireless network manager
misha@misha-d630:~$

View 1 Replies View Related

Ubuntu Networking :: Stop & Restart Wireless Services

Apr 1, 2010

Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?

View 3 Replies View Related

Ubuntu Networking :: No Ethernet Connection After Restart From Hibernation

May 7, 2010

Following upgrading my 09.04 partition to 09.10 then 10.04, all was working fine until I tried hibernate out for the first time - big mistake! If I can get to a position where i can log on to the system, I find that my ethernet network connection is disabled and I cannot get it to restart. My 09.10 system still works ok. I am tempted to do a clean install of 10.04, even though I'll have to spend some time reloading the extra's and re-configuring.

View 1 Replies View Related

Ubuntu Networking :: Connection Lost After Router Restart

Aug 11, 2010

My ISP pushes software updates occasionally to my router. This also forces the router to restart. When the router restarts, my ubuntu box loses its network connection and does not automatically restore it after the router comes back online.How can I configure ubuntu to restore the connection once it is available again? It happens on my windows workstation...I am using ubuntu on a box with no screen / keyboard / mouse it serves as a fileserver and I remote desktop in. Obviously if the box drops the connection it is a major annoyance. I am using version 9.10

View 1 Replies View Related

Ubuntu Networking :: Ethernet Stops Working On Restart?

Aug 13, 2010

I upgraded to the newest version of Ubuntu a few months ago, and ever since then, the ethernet connection to my router stops working when I restart the machine. It eventually comes back, but after varying amounts of time. Sometimes 20 minutes, sometimes 2 days.

Restarting the computer and cycled reboots of the router don't seem to have any beneficial effect, at least that I can detect.

The light for the slot on the router does not light up like it normally would, so it's almost like the OS doesn't even recognize the network card.

Ubuntu 10.4,64-bit. Dell XPS 410.

View 9 Replies View Related

Ubuntu Networking :: Create Sub Interfaces But Being Removed After Restart?

Sep 18, 2010

When I create eth0:1 sub interface after restart it is not there anymore. how to properly set a new interface with ip address and make it permanent

View 1 Replies View Related

Ubuntu Networking :: Static IP Defaults To Last Dhcp Until Restart?

Oct 17, 2010

I set up my interfaces file just fine on one of my computers and everything works. On my desktop its a no go. This is what I've done. I set my interfaces file to look like this

Code:

# The loopback network interface
auto lo
iface lo inet loopback

[code]....

Then I uninstalled network manager (sudo apt-get remove network-manager-gnome). Now I can restart my computer, but I do NOT get a static IP of 112, instead I get the last working dhcp given address (.104). It connects and I get internet using .104.

BUT, if I run

Code:

sudo /etc/init.d/networking restart

then it DOES work. It changes to my address .112 and the internet works. But when I get that I get an error SIOCDELRT: No such process found (or something similar to that). But after it sits, it still finished with [OK] and my internet works. Clearly something is amiss though. Because it doesn't go to the static IP imediately. I even tried setting up a rcS.d link to a file with that networking restart command, but still no go. It starts with the .101 IP.

View 9 Replies View Related







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