Ubuntu :: Not Automatically Starting Smbd (upstart Event)
Jan 9, 2011
I have posted this somewhere here before and solved it but can't seem to find it. Just waisted 50 minutes googling and checking man pages for upstart. By the way; are man pages written by someone using their tows to type and getting beaten by a stick for every character they type? It seems missing a lot of info. Anyway, I know smbd is started with /etc/init/smbd.conf and there is a line like:
Code: start on local-filesystems Now it needs to be started on? (manually) I can't seem to find any useful information but did seem to find the upstart man pages a hundred times or so (same info same missing parts). I would love to get involved writing documentation for these things if only I know what I was doing.
View 3 Replies
ADVERTISEMENT
Nov 11, 2010
From what I've read, it appears that the respawn stanza in /etc/init/mysql.conf would give me the restart option if the daemon crashes, but I want to make sure other safety features of mysqld_safe are present as well.My /etc/init/mysql.conf is the original. I've tried changing the exec stanza from /usr/sbin/mysqld to /usr/sbin/mysqld_safe but the job fails when I sudo service mysql start.mysql.conf
Code:
# MySQL Service
description "MySQL Server"
[code]....
View 1 Replies
View Related
May 24, 2010
I'd like to reconfigure vsftpd so that it does not start on boot (and I can enable/disable it using service vsftpd start/stop).
Though I've seen posts in the forums that stated that upstart jobs can be disabled by moving the /etc/init/job.conf file, other sites commented that the original file will be recreated on updates.
The other two suggestions were to alter the upstart script such that either the process starts on never:
Code:
start on (never
and filesystem
and net-device-up IFACE!=lo)
stop on runlevel [!2345]
[Code]....
View 2 Replies
View Related
Feb 11, 2010
Can I set the Firefox cache to clear automatically after some event (exiting Firefox or logging out of the system,either would be acceptable)?
View 3 Replies
View Related
Dec 12, 2010
played around with Plymouth Manager yesterday, and today, my system would not start. I got some help from #ubuntu, and to my surprise, startx ran without problems. sudo service gdm start also worked perfectly. However, when I boot up my computer, I am always taken to the recovery screen. How can I stop this from happening, get my boot screen back, and make everything work as it should?I'm on Ubuntu 10.10 32-bit with an nVidia GeForce 8800 GT and version current on the nVidia restricted drivers.
View 9 Replies
View Related
Apr 28, 2010
everytime i open a terminal window, all i see is:
$ _
and i have to type bash everytime to get it running. i found a bandaid fix by having it type bash at the "custom command" profile preference... but i still consider the problem to be unsolved, because i still have to manually type 'bash' whenever i log remotely (putty). it seems like something happened, and now bash is not loaded by the terminal by default like it should.
PS: i already tried 'cp /etc/skel/.bashrc ~./bashrc', and it didn't seem to do anything.
I am using Ubuntu 9.10, fairly fresh install. Had one hard reset since I installed it, which could be when the problem started. Also, I was messing a bit with profiles, switching their ID's and adding/deleting them (not sure if that would be the problem).
View 2 Replies
View Related
Feb 4, 2010
My question is, how do I stop Skype from automatically starting up in Ubuntu 9.10 (Kernel 2.6.31-17-generic).
Skype is not in "System" "Startup Applications". If placed there two sessions Start.
View 2 Replies
View Related
Mar 30, 2010
I just installed VNCServer on my Ubuntu box. I've tested the connection on my Windows box and connect fine.If I were to restart Ubuntu, would the VNCServer start automatically? If not, how would I do this?
View 1 Replies
View Related
Aug 24, 2010
I'm moving a homebrew arcade cabinet I have in my sitting room over from Gentoo to Ubuntu. Gentoo's served me well for a couple of years, but it refuses to recognise a touchscreen I recently installed on the cab, so I thought I'd give Ubuntu a try.
There is very little space on the SATA DOM inside the board in the cab, so I try and put as little OS on there as possible. To that end, I installed the minimal iso, and then apt-got X. I manually configured xorg.conf to make both monitors attached to the cab work, and I can enter X fine from the command line.
But what I need to do is have X start on powerup and automatically run my game. In Gentoo this is as simple as putting "xinit [GAME]" into /etc/init.d/local.start (the equivalent of rc.local). No login required, the prompt didn't even come up until I'd exited the game.
However, if I try and do this in Ubuntu, X can't find any devices, even though rc.local is at position 99. I've tried putting the lines in rc.local as well as manually update-rc.d-ing my own files, but no luck. X refuses to start until after the login.
So what seem to need is some way of automatically logging in as root on the command line, starting X, then running my game.
View 3 Replies
View Related
May 8, 2010
I have a couple apps that I cannot figure out how to prevent them from starting automatically upon logging in. They are NOT listed in my Startup Applications under preferences. For example, pidgin. Pidgin automatically starts at each login even though it is not in the startup apps nor can I find an option in pidgin itself. Tomboy is another. I always get an error that tomboy cannot be added to my panel when I restart. The error in the tomboy panel log is that tomboy is already running. Does ubuntu have a hidden "start up" folder like Windows does in the start menu? Where can I clear this file/folder?
View 3 Replies
View Related
Jun 2, 2010
I want to mount partitions automatically after starting computer...currently i hav to click on the partitions and mount them.
View 9 Replies
View Related
Jul 15, 2010
Anyone know how to stop the pureftpd starting up automatically? I've tried the usual in /etc/init.d/pureftpd but it still starts and I need to log in and close it in the admin UI or in terminal.
View 2 Replies
View Related
Jul 10, 2011
A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.
View 1 Replies
View Related
Jul 18, 2011
Running Ubuntu Server, installed xubuntu-desktop, but I don't want it to start up every time. How can I stop X from starting automatically?
View 7 Replies
View Related
Mar 8, 2010
i run opensuse 11.2 with kdebase4-4.3.5-0.1.1.x86_64 on a hp elitebook 8530w. when i start opensuse and the sound is initially turned off, it will be turned on while starting. if i turn it of manually (by pushing the appropriate button) it will be turned on again. I assume that there is a script like .bashrc for bash scripts which tells the system to turn on the sound. Does anyone knows whether there is such a script and if yes, where can i find it and edit it?
View 5 Replies
View Related
Jan 9, 2010
I recently upgraded to zenwalk 6.2 and xscreensaver now starts automatically so i have to input my password whenever i shut and reopen my laptop lid. how can i stop it from auto-starting.
View 3 Replies
View Related
Nov 30, 2015
I am using Debian 8 with systemd. I noticed that eth0 it is not starting automatically.
During boot process, I see this message: a start job is running for LSB: Raise network interface
View 5 Replies
View Related
Jul 27, 2010
Running openSuse 11.2-64 on a DualCore / 2Gb machine.I have 3 nfs shares described in my /etc/fstabAll three were mounted at boot time when I was connecting to the network through the wired interface (eth0).I need to use the wireless interface, and even if that interface is up and running well (I use ifup), the nfs client doesn't start... if just after boot I do a mount -a or simply a nfs start, everything comes up and runs well.This machine will not be used by myself, and the users cannot just jump into a command line and type nfs start or even mount -a (they would need su privileges...)I have disabled the eth0, killed the eth0 config (with yast) edited /etc/sysconfig/nfs and setted the NFS_START_SERVICE to yes to force the gssd and idmapd to always start even if there was no nfs entry in fstab, but nothing changed.
View 7 Replies
View Related
May 23, 2011
kde knetworkmanager is not starting on startup.i am starting this manually every time on login to connect to network..how to make it start automatically?
View 9 Replies
View Related
Jun 23, 2011
I am loading the file in Fortran. File looks something like this (shown below) I am interested in Velocity values and not Pressure values. Is there a way to code in Fortran which finds the staring LINE of Velocity values and ending LINE of values or I have to manually find the lines? IN this case it should return Starting line : 9 Ending line: 11
PHP Code:
[code]....
View 2 Replies
View Related
Nov 21, 2010
I have a new install of Ubuntu 10.04.1 LTS server. But I get errormessages trying to start samba.
caesar@klem:/etc/samba$ restart smbd
restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
I have tride to remove an install samba. And deleted smb.conf. And startet with the original.
smb.conf:
workgroup = Easyways
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
[Code]....
View 2 Replies
View Related
Jan 14, 2011
The time the server smbd and nmbd functioned normally but when I restart the service he returned smbd nmbd not normal but when I try to start it the following error occurs:
Code:
service nmbd start
start: Job failed to start
service nmbd status
nmbd stop/waiting
[Code]....
View 4 Replies
View Related
Feb 9, 2010
samba quit working after win7 I'm new-ish to linux(not using ubuntu tho, but servers)i don't know what PID is.. i just installed a new ubuntu server of an old computer, for file sharing in workgroup with samba, and a little apache server running webmin is also running, giving me an error when restarting samba all worked very well untill i used win7 to access the \server this blog post have a fix for vista7? connecting to samba, but wont fix my problem after i connected to the share with win7 nothing seems to work
Quote:
# service samba status
* nmbd is running
* could not access PID file for smbd
and this:
# service samba start
* starting samba deamons [fail]
restart wont work, neither do reboot the server. I am clueless some of my research is pointing me to /var/run/ and there is no smbd.pid there, not in any folder (nmbd.pid exist) i found something
# service samba reload
* Reloading /etc/samba/smb.conf smbd only
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
[ OK ]
i dont have any smbd.pid in the samba dir, should i create a new one.. and where do i get the PID -id that should be inside?
View 4 Replies
View Related
Aug 1, 2011
I'm having a problem with Samba. In log.smbd Im getting this message periodically:
View 8 Replies
View Related
Jun 15, 2011
I have just installed Debian 6.0.1 base install, for the use of a file server. I installed samba using apt-get and am using: smbd version 3.5.6
Here is my smb.conf file. Very basic, which by the way, seems OK according to the output of testparm.
Code:
[global]
log level = 3
workgroup = INERT
wins support = yes
[test]
[Code]....
I don't understand why smbd is not reportedly binding to IPv4 ports.
View 1 Replies
View Related
Mar 24, 2010
After running Bastille to harden my server, Samba stopped working. It had asked me if I would like to disable Samba during the configuration and I selected 'no' so it should not have done this.
When I tried:
Code:
sudo /etc/init.d/samba restart
Nothing happened. I found in the script, if it does not detect smbd and nmbd running, it just exits -- no error message, just simply does nothing.
I found that /usr/sbin/smbd and /usr/sbin/nmbd both had all permissions removed. I set them back to 755 and restarted samba normally.
View 1 Replies
View Related
Apr 7, 2011
I set up 11.4 in my laptopnd, after updating and downloading the proper firmwareeverytihing runs great. I already configured the wireless network via the standard NetworkManager but the connection never starts automatically. When I boot up it reports all the wireless connections available and also let me connect to hidden networks (mine is not broadcasting so I have to use this option). I had to reconfigure my network options the first time I selected Hidden Networks but it connects fine. Please note I had already selected the "Automatic connection" optionSo the only question is how I configure my equipment so it connects automatically to the already configured network
View 3 Replies
View Related
Feb 3, 2010
Here's the background info -- I recently installed Ubuntu server 8.04 on TWO machines that are exactly identical.On one machine, all seems perfect.On the other, when I execute "/etc/init.d/samba status" it always shows that smbd is NOT running.But it would seem that it IS running, since I can access the shares I've set up without difficulty either from smbclient on the server or from the windows boxes on the network.ps ax lists smbd as a process as well.The log tells me nothing -- it just reports that samba started. No errors. Not much of anything in there. And if I execute smbstatus, that works just like you'd expect.since the two machines are identical (and I mean exactly the same), and only one is doing this.
I guess I should be happy since they both work (seemingly perfectly).But it still bothers me that I'm getting the message that smbd isn't running on one of them. I tried uninstalling samba and reinstalling it on the machine giving me the erroneous (?) status message. But that changed nothing.Right now there's no data on the machine, and it's not in production, so just doing a bare metal reinstall of the OS is an option. But I'd like to understand what's happening.
View 5 Replies
View Related
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
Jun 6, 2011
I installed samba em my opensusse and i have fallows error: Unable to setup corepath for smbd: Permission denied
View 1 Replies
View Related