Software :: Samba Refuses To Start On Startup - But Will Start Manually

Apr 14, 2009

I just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.

First my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):/etc/rc.d/rc.inet1

The above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.

Now samba will not start. i have the following line in my rc.local: /etc/rc.d/init.d/samba start

This used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.

The message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:

Code:

ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i) after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.

View 8 Replies


ADVERTISEMENT

Ubuntu :: Samba On Startup - Does Not Start The Printer Sharing

Aug 14, 2010

Using 10.04. I use one machine mostly as a printer server: If it goes down for whatever reason I want to restart without having to enter any password. Samba seems to start and allow file shares, but does not start the printer sharing so I must manually enter "sudo restart smbd" to allow the printer sharing. From reading the various threads I guess that the samba "start command" is before the printers are "initialized" and thus are not "setup". So how can I make the samba "startup" last after everything else? I am not enough familiar with all of the commands to understand the thread posting to make it work.

View 2 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

Fedora Servers :: Proftpd Refuses To Start - F8

Nov 3, 2009

Proftpd has been running OK until recently, when I tried to connect using my laptop. All I get is the proftpd-socket file under /var/run/proftpd/ I cant' find any log files with error messages in them. I have checked /var/log/messages - nothing in there either. I have rebooted the machine after re-installing proftpd. Still it wont start Is there any way to find out why proftpd has decided not to start any more?

View 4 Replies View Related

OpenSUSE :: Gparted Refuses Sometimes To Start / Solve This?

Oct 17, 2010

If I try to start gparted, sometimes it works fine, other times, it throws this error:

Code:
Could not initialise connection to hald.
Normally this means the HAL daemon (hald) is not running or not ready
I have tried manually starting hal daemon,but nothing happens.

View 2 Replies View Related

OpenSUSE Network :: Knetworkmanager Refuses To Start?

Sep 8, 2010

All of a sudden the Knetworkmanager icon disappeared from my panel and when I try to start it from a console I get the following output.

ion@linux-4cfs:~> knetworkmanager
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

[code]...

View 8 Replies View Related

Ubuntu :: Opera 10.60 Refuses To Start From KDE Menu

Jul 5, 2010

After upgrading to v10.60, Opera will not run from the KDE menu. A entry appears in the taskbar and then disappears without opening any window. The entry for Opera in KDE menu has this command:

Code:
/usr/bin/opera %u

If I open a terminal and type "opera" or navigate to /usr/bin and click on the opera script there, it starts up just fine. Seems like it should be simple to fix, but I have tried various entries in the KDE menu ("opera", "opera %u", "/usr/bin/opera") and this same behavior occurs with any of them.

View 4 Replies View Related

Ubuntu :: Program Irxevent Start Automatic When The System Start Irxevent On Startup?

May 27, 2010

I install lirc and want to prgram irxevent start automatic when the system start

Code:
System->Preferences->Startup Applications
Add an item,but that not works every time,means sometimes cannot work.

View 2 Replies View Related

OpenSUSE Network :: Machine Refuses To Allow VNC Server 1 To Start

May 24, 2010

I have one machine (out of a couple dozen) that continues to refuse to allow "vncserver :1" to start. It is perfectly happy with :2 - :9 but tells me :1 is already running - yet ps tells me that there is no running
Xvnc instance.
What have I done here and how do I get that session back? I've cleared the /tmp/.X11-unix entries but that did no good. Could I have checked something in Yast that is launching an invisible session?

View 4 Replies View Related

Ubuntu :: OO Write Crashes Today And Now Refuses To Start?

Jul 7, 2010

OO write crashes today and now refuses to start. strace gives:

Code:
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb772e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb772e8d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xdef000, 8192, PROT_READ) = 0

[Code]...

View 5 Replies View Related

Server :: Apache Refuses To Start Using PerlModule And Virtual Host

Nov 12, 2009

I'm trying to install two instances of OCS Inventory on the same machine using virtual hosts in apache. The apache configuration for it is in it's own file and it works fine without any virtual host. If I add it apache refuses to start without giving any error message. I narrowed it down to some lines loading perl modules, and if I comment them away apache will start again. Some of the modules work, but some of the ones specific to OCS Inventory will not work. I can't understand what the difference is between loading it in a virtual host or not, it doesn't make any sense to me!

View 2 Replies View Related

Server :: RAID5 Refuses To Start After Yanking Drive From SCSI Bus

Mar 23, 2010

I am setting up a new server and am in the midst of testing RAID. This is an Ubuntu 9.10 server. RAID1 (/dev/md1) is spread across 12 one-terabyte SCSI disks (/dev/sdi through /dev/sdt). It has four spares configured, each of which are also one-terabyte SCSI drives (/dev/sdu through /dev/sdx). I have been following the instructions on the Linux RAID Wiki ([URL]....

I have already tested the RAID successfully by using mdadm to set a drive faulty. Automatic failover to spare and reconstruction worked like a champ. I am now testing "Force fail by hardware". Specifically, I am following the advice, "Take the system down, unplug the disk, and boot it up again." Well, I did that, and the RAID fails to start. It outright refuses to start. It doesn't seem to notice that a drive is missing. Notably, all the drive letters shift up to fill in the space left by removing a drive. The test I did was to:


[code]....

Is removing a disk from the bus a reasonable test in the first place? Meaning, is this likely to happen in a production environment by other means than a human coming by and yanking out the drive? Meaning, is there a hardware failure that would replicate this event? Because, if so, then I don't know how to recover from it.

View 1 Replies View Related

Debian Multimedia :: Compiz Refuses To Auto Start Properly (with Gnome)

Apr 16, 2011

How to get compiz to auto-start. What seems to be the generally accepted method (from what a few google searches and the debian wiki tell me) of using gconf-editor and changing the window manager from 'gnome-wm' to 'compiz' in desktop > gnome > session > required_components doesn't change anything. The only method I found that did not involve using a terminal and running 'compiz --replace' every time I boot the computer was to add compiz and fusion-icon to the gnome startup apps, but this causes unwanted flickering (it starts metacity and then replaces it with compiz, ie it's simply automating what I would do with the terminal). Autostarting the fusion-icon alone does not start compiz, although it allows me to start it from it's menu if I right click the icon. Note that I sometimes use fluxbox as well, so starting it on boot isn't really an option either.

Perhaps this can be useful :
compiz:
Installed: 0.8.4-4
Candidate: 0.8.4-4
gnome-session:
Installed: 2.30.2-3
Candidate: 2.30.2-3

View 5 Replies View Related

Fedora :: NMB Won't Start At Boot But Does Manually?

Feb 17, 2011

I did a search here & on the web & can't find a "fix" that works. I tried the start order thing & the restart thing & one other I forgot, but nothing works.Funny the RESTART one didn't work as I CAN manually start it OK, unless I didn't put the command in the right spot.I DID notice that there are a few BUGS reported on this but they all go back far enough that I'd think they would be fixed by now.I don't have to manually start this thing every time I want to use it?

View 14 Replies View Related

Ubuntu :: Manually Install How Can I Start It Up Normally

Mar 5, 2010

I just installed eclipse 3.5 manually from the eclipse website and installed it into my /opt directory.

View 2 Replies View Related

Ubuntu :: Manually Start X When Booting?

Jun 21, 2010

When I first installed Lynx it would boot fine but as the first kernel updates came in it began to get really dodgy. Some days a certain kernel would boot up fine whereas the other would boot without X (i have dual boot with XP and so the kernel options come up on GRUB)Just today I updated the NVIDIA drivers and now neither boots fine, I looked around and I found that after logging in running "startx" in the CLI, which is displayed instead, i get my normal desktop back again.

View 2 Replies View Related

Red Hat :: MySQL Cannot Start Except Manually As Root

Aug 16, 2010

I have setup the Red Hat system and installed MySQL through the Add / Remove Program. I have RHEL 5.4.

When MySQL is being started manually it is being started as root. However, when MySQL is being started using the services command it is started as the user MySQL and it doesn't work.

How can I start MySQL service as root? Or is there another way to fix that issue.

Let me know if you need more information (giving details on how to get it would be nice too).

View 13 Replies View Related

Ubuntu Networking :: Privoxy Will Start Manually But Not During Init?

Feb 24, 2010

Long-time linux user, new to Ubuntu (mainly a gentoo user). I need to get tor and privoxy up and running for a less computer-capable user. I installed Tor and Privoxy, configured them (apparently correctly) and they both appear to work just fine when I start them manually from their init scripts:

sudo /etc/init.d/tor start
sudo /etc/init.d/privoxy start

However, I cannot seem to get privoxy to start up properly when the machine boots. Tor starts up and waits patiently, but privoxy is dying or getting killed for some reason I can't understand, and on Ubuntu, have no idea how to diagnose. There's no privoxy process after booting, and the init.d script reports status: not running. I have the startup scripts for both Tor and Privoxy linked to in all the relevant runlevels. I played with the order thinking it might be a dependency thing. Hell, I even put a line in rc.local to try and force it to go. But no matter what I do, I can't seem to get the privoxy service to start for me any way but by manually typing 'sudo /etc/init.d/privoxy start' in a terminal, after logging in.

1. Help me get privoxy to auto-start during init

2. OR Help me figure out how to figure out how to get privoxy to auto-start during init. On Gentoo, all of the init scripts are listed on the screen during init as they run, and you can even run through them interactively by pressing I during startup. I have no idea how to do this on Ubuntu. I modified the kernel line to remove the splash screen, but the information Ubuntu puts on the screen during init is quite haphazard. How do I figure out what's going wrong with the privoxy init script?

View 1 Replies View Related

Ubuntu :: Start System Tray Without Having Manually Minimize

Mar 11, 2011

I have Thunderbird setup with the minimize to tray add on. I have it setup to start on boot but I would like it to start and then minimize to the system tray without me having to manually minimize it. I just can't figure it out. I have mounted a windows share with smbfs and it is in the fstab file but when the computer boots I have to type in terminal

[code]...

then terminal asks me for root password and then another box comes up after that that just says password. In the second password box it doesnt matter what you type in it will still mount. Even leaving it blank mounts. I read in some other threads about editing rc.local and also visudo. Neither one of those fixed it. I also made a script to run the above command and then added it to system>preferences>startup applications. That didn't work either.

View 6 Replies View Related

Ubuntu Installation :: Start With Basic System And Add Manually Each And Every Package

Feb 15, 2011

I've been playing around with various distributions including Arch Linux, openSuse, and Ubuntu with it's derivatives. So far, I feel that Ubuntu flows the best out of them all, offering the best mix of user-friendliness, eye-candy, and performance. HOWEVER, I really like doing things from the ground up and like having complete control over what I am using/spending resources on. OpenSuse was very attractive to me because of it's [URL]... which allows you to start with a basic system and add, manually, each and every package you want so you get exactly what you want. Does Ubuntu offer any system like this? Or, alternately, is there a "barebone" download in which you get basically a command line with networking and can apt-get all of the packages you want?

View 9 Replies View Related

General :: Can't Find ./prog.sh Start - Unable To Kill Manually Using Command

Nov 3, 2010

I'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:

[code]...

When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).

[code]...

the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.

View 2 Replies View Related

Fedora :: Firefox Refuses To Start With A "Malformed File" Dialog

Jan 1, 2011

I've got a strange problem with firefox on Fedora 14 x86_64, at startup it just shows a dialog with a heading Malformed File and the following description:Firefox could not install this item because "" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.(see attachment.)there is only an OK button. Pressing it, nothing happens! firefox doesn't come up! I tried firefox --safe-mode,the same dialog pops up but after pressing ok, the "Firefox Safe Mode" dialog shows. No matter what I select on this dialog, firefox simply never comes up! I even created a new user, to try firefox without any addons, but the results are the same! Reinstalling doesn't help also! It has started since last firefox update (firefox-3.6.13-1.fc14.x86_64)

View 5 Replies View Related

Ubuntu :: MPD Won't Start On Startup?

Apr 21, 2010

I've added mpd to System->Preferences->Startup Applications several times and it always just disappears and of course isn't started. I have used both mpd and /usr/bin/mpd as the command. I have done a log search as follows:

Code:
sudo find /var/log -type f -mtime -5 -exec grep -i -e 'mpd' '{}' +

and nothing significant was found, e.g. an error message indicating that the mpd startup command was removed.

View 9 Replies View Related

Ubuntu :: Getting Conky To Start At Startup?

Apr 6, 2010

As the title implies, I have fluxbox and conky running in Karmic. The problem is getting conky to start at startup. Below is my ~/.fluxbox/startup file. I have searched and tried everything I have found to get it to work. Conky works beautifully when I run it manually. Anyway, here is my startup file:

Code:
#!/bin/sh
xmodmap "/home/doug/.Xmodmap"
unclutter -idle 2 &
conky &
exec fluxbox -log "/home/doug/.fluxbox/log"

Lines added before and after the conky line run perfectly. Unclutter runs, but no conky.

View 3 Replies View Related

Ubuntu :: How Do Make Anything Start On Startup

Sep 4, 2010

How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?

View 3 Replies View Related

Ubuntu :: Terminal Always Start At Startup?

Dec 31, 2010

This is a weird problems.Everytime i log on to my computer/restart my computer, the terminal always autostart.I already checked at startup application.No terminal there.Any suggestion to stop the terminal from autostart with startup?

View 2 Replies View Related

Ubuntu :: Windows Start Vnc On Startup?

Jan 9, 2011

I want to have it with vnc remote, because I want to have it in a place away from monitor and if it shuts down I have to connect it with a monitor and keyboard enter the user password and open vnc. So I want to do as windows start vnc on startup, and I don't know if it's possible enter the user password from remote.

View 4 Replies View Related

Ubuntu :: Getting IBus To Start On Startup

Jun 19, 2011

Im trying to get iBus daemon to start on boot, but cant seem to do it. In the Desktop Session Settings window iBus is not listed in the start up programs and there is no option to start in on boot in the iBus preferences window. How do I tell my computer to start it up when I boot?

View 4 Replies View Related

General :: How To Start Samba

Apr 2, 2010

I have just installed samba from yum but i cant find its starter script /etc/init.d/

How to start samba ?

View 4 Replies View Related

Ubuntu :: Making Autokey Start At Startup?

Aug 7, 2010

I'm having difficulty making Autokey start at startup. I use the startup applications utility but don't know how to use it properly. I guess that I'm supposed to navigate to Autokey's executable but don't know where that is or if it exists because I don't understand the file system.

View 2 Replies View Related







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