Ubuntu Servers :: Wrote A Start Up Script In /etc/rcS.d/ That Runs:/etc/init.d/squid3?

Jan 19, 2010

I installed squid on my machine, and for a while it was starting up automatically when the computer would turn on, and I would only have to reconfigure on ip-up for the new dns, etc.Now for some reason, I notice that squid isn't even started.To fix this, I wrote a start up script in /etc/rcS.d/ that runs:/etc/init.d/squid3 startAnd I notice it still isn't starting.So I write "/etc/init.d/squid3 start" and put it in my ip-up.d/ script.Everything in the script is being executed, but the squid server.I've tried reinstalling squid... what am I missing? where does the computer start these services?

View 4 Replies


Ubuntu Servers :: How To Start Virtualbox Using Init.d

Dec 16, 2010

recently installed phpVirtualBox and VirtualBox on my 10.04 LTS ubuntu server it's getting annoying having to type

/usr/bin/vboxwebsrv -b --logfile /dev/null >/dev/null
every time i reboot the server

tried for hours to make an init.d script that will run it but failed..basically I just want it to automatically run the above command on every boot.

View 7 Replies View Related

Ubuntu Servers :: Server 10.04 Does Not Start Init.d Scripts?

May 17, 2010

I have two ubuntu servers. I have upgraded them to 10.04. Now I have serious problems at startup: iscsitarget and heartbeat scripts do not start all the times I reboot.I have installed monit to try to start iscsitarget and heartbeat and guess what? It does not start too at boot.In one of the two server sometimes it also starts with ethernet cards swapped.

View 2 Replies View Related

Ubuntu :: Mount Command No Longer Runs At Boot From /etc/init.d/rc.local

Jul 6, 2010

I run XBMC media center software which is built on a minimal Ubuntu install. I was running a version built on Karmic and I had the following line in my /etc/init.d/rc.local and it always ran without a hitch:


mount -t cifs -o file_mode=0777,dir_mode=0777 // /home/kevin/.xbmc/userdata/Thumbnails

Recently, I upgraded to a version built on Lucid and now that fails to create the mount on boot up. Here is the entire contents of the file:


#! /bin/sh
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all


View 1 Replies View Related

Ubuntu Servers :: Install Squidguard For Squid3?

Mar 8, 2010

I haven't found any updated instructions for adding squidguard to the new squid3 server. I tried following the old instructions for doing this, making changes to the text to point to the new squid3 locations, but this didn't work.

View 2 Replies View Related

Ubuntu Servers :: Squid3 - Calamaris Will Not Work

May 28, 2010

I can't figure out how to get Calamaris to work. I'm using squid3, so I understand that there could be a problem with that, however I installed links for the logs, so that even though it uses "squid" it should work for squid3...

ls -al squid
lrwxrwxrwx 1 root root 7 2010-05-05 12:21 squid -> squid3/

I even tried going into the /etc/cron.daily/calamaris file, and changing squid to squid3... But when I run the crontask, it gives no output and there's no file in /var/www/calamaris. What's going on? I need a program to analyze computer bandwidth.

View 1 Replies View Related

Ubuntu Networking :: Squid3 - Define A Default Start Web Site That Will Be Opened Force Only One Time

May 20, 2010

I have squid3 proxy and I want to define a default start web site that will be opened force only one time. Is something like it possible?

View 4 Replies View Related

Ubuntu :: Compiz Only Runs If Start It Gradually ?

Feb 24, 2010

A botched ATI proprietary driver upgrade caused a cascade of problems. I've installed this driver many times before, but this time something just went wrong. I may have made a mistake. There don't seem to be many complaints about the ATI 10.2 driver so this seems likely. Anyway things were quite unstable for a while. I had problems with nautilus (lost the desktop) and segfaults from compiz. I had to reinstall a lot of stuff etc etc.

Anyway, this episode has left me with a strange lingering malaise. I can get the machine into a state where everything works perfectly - the cube is fine and quite snappy, the desktop is all there; it looks great; New driver seems to be working OK. But when I log out and log back in there are problems.

Step 1:If compiz is the window manager during login it dies killing the nautilus desktop and leaving me without a window manager running (no window decorations). This is a nasty state to be in because you can't easily get at a terminal (yeah ctl alt F1 - but how to fix the window manager from there). I've got a keyboard shortcut for metacity which lets me recover from this state. But afterwards I can't get the desktop back.

If metacity is the window manager during login - no problem. I've got a desktop. It starts up fine. Everything looks good. But I'm running metacity and I want to run compiz. So now we try to get compiz running.

Step 2: If I enter "compiz -- replace" in a terminal compiz segfaults and doesn't put metacity back leaving me without a window manager again. Just before it segfaults it complains about not finding some expected graphics files. This seems to have something to do with cube caps [Edit=Not - see later]- but I've restored defaults there so ... Fortunately ctrl C gets me out of that and back to metacity. Or I use my shortcut. But gee whiz no compiz.

OK - here is where it gets interesting. If I go to the compiz settings manager and disable the cube, then compiz --replace works just fine. So it looks like something specific to the cube. This lets me get compiz running but without the cube.

Now things get really interesting. Once compiz is running, if I open the compiz settings manager, then I can enable the cube and in fact ... it works!

To sum up, I now have to go through the following procedure every time I log in.

1. Login in with metacity as default window manager
2. Disable the cube in compiz settings manager
3. Start compiz with compiz --replace
4. Enable the cube in compiz settings manager.

After doing that everything works fine ... at least until I log out.

The fact that I can get everything to work indicates that I've got the driver installed OK and it is working. But why should I have to go through this bizarre procedure each time I log in?

1. The problem afflicts all users - so it probably isn't a user config file issue.
2. I've reinstalled compiz and a whole lot of xwindows stuff. Didn't help.
3. I will try downgrading the video driver to the previous version as a last resort. But if the problem is something I broke while things were messed up, downgrading the driver may not fix it.
4. I'll post the crash message compiz generates in a followup (I'll have to log out and back in to generate the crash so I can copy the message)

View 9 Replies View Related

Software :: Start Amavis: /etc/init.d/amavis Start Returned 7 'program Not Running'

Feb 26, 2011

I'm currently running SUSE 11.1 and trying to start Amavis so I can use Kmail. I have just run the latest updates via Yast. I'm getting the following when I try to start Amavis: /etc/init.d/amavis start returned 7 (program is not running):

View 1 Replies View Related

General :: Start Debian It Runs Fine Until It Gets To The DHCP Part?

Feb 9, 2010

Whenever I start debian it runs fine until it gets to the DHCP part.It completley stops and spends like three minutes with stuff like

DHCP Request on port 57 interval 4
DHCP Request on port 57 interval 14


View 3 Replies View Related

Red Hat / Fedora :: Diff Between Service Prog Start & /etc/init.d/prog Start

Apr 3, 2009

The difference between: service httpd start & /etc/init.d/httpd start.

View 3 Replies View Related

Server :: When Start Qmail Seervice It Gives Error#/etc/init.d/qmail Start?

Apr 29, 2011

when i start qmail seervice it gives error#/etc/init.d/qmail startStarting qmail-toaster:

svscansupervise: fatal: unable to acquire pop3/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire pop3-ssl/supervise/lock: temporary failure

View 9 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 :: /etc/init.d/xorg Start : No Such File Or Directory?

Apr 19, 2010

/etc/init.d/xorg start : No such file or directoryWhen the server boots i get a blinking cursor.

View 2 Replies View Related

Ubuntu :: Launcher For Quake That Essentially Runs A Shell Scripts That Runs Quakespasm With Certain Options?

Oct 13, 2010

I have a launcher for Quake that essentially runs a shell scripts that runs quakespasm with certain options. Is there a way to add it to AWN?

View 6 Replies View Related

Ubuntu Installation :: Init: Dbus Pre-start Process (511) Terminated With A Status 1

Aug 19, 2010

I had been having problems with every LiveCD after 8.04.1 I tried both xubuntu and ubuntu (same internals, same results)

I ended up installing xubuntu 10.4 using the text mode installer.

The system basically works, I can not get gdm running.

dbus fails as noted above. I found launchpad bug #446971 and tried some of the work arounds with no success.

The system is an old eMachines T1120

CPU: Intel Celeron Processor 1.20GHz (w/256KB)
Operating System: Genuine Microsoft Windows XP Home Edition
Chipset: Intel 810e chipset


View 1 Replies View Related

Fedora Servers :: When Run Yum List Runs Through Around 5-10 Repos - Remove?

Jun 9, 2009

When I run yum list fedora runs through around 5-10 repos that it can never connect to what's the best way to remove these repos? And which repos are the most reliable?

View 5 Replies View Related

Debian :: Fglrx And /etc/init.d/gdm3 Start Not Working In Squeeze

Jul 31, 2010

Here is my xorg.conf when I attempt to use fglrx:

Section "Device"
Identifier      "ATI RADEON HD4850"
#   Driver "ati"
Driver  "fglrx"

Also, doing /etc/init.d/start/ gdm3 says Starting GNOME display manager: gdm3 but it doesn't do anything. I tried pressing ctrl+f1 all the way to ctrl+f12 and nothing. What does work however is sudo gdm3 (with the "ati"/"radeon" driver --- nothing works at all with fglrx).

I am trying to get fglrx working because I want to fix this compiz issue I've been having here which could be related to the shortcomings of the "ati"/"radeon" driver: viewtopic.php?f=10&t=40991&p=312577#p312577

View 9 Replies View Related

Ubuntu Servers :: Useful Server Information - Php File - Runs A Few Commands And Echoes The Output

Jan 25, 2010

Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.

You can see it in action here: [url]

I've attached the actual php file.

Two questions:

1) What more can I add to it to give me even more information?

2) I want to add hddtemp but it requires sudo to run. How can I get around this?

View 4 Replies View Related

Ubuntu :: Init: Failed To Spawn Ufw Pre-start Process: Unable To Execute: No Such File Or Directory

Jun 12, 2010

I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also



fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory


Now I am using Live CD.

View 3 Replies View Related

Debian Configuration :: DHCP Client Don't Start With /etc/init.d/network Restart?

May 28, 2011

I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?

View 4 Replies View Related

Ubuntu Servers :: Disabling GUI From Init Scripts?

Jan 29, 2010

I have a headless Ubuntu computer which is primarily use as a server but which has Ubuntu desktop edition installed. I use X forwarding through SSH occasionally to use GUI programs so I am not looking to remove them. However, I would like to disable any GUI elements that would be started automatically when the computer is booted. Is the graphical login screen the only thing that would be run? or is nautilus, gnome-session etc. started as well? How would I go about removing the necessary entries from the init scripts?

View 2 Replies View Related

Ubuntu Servers :: Where Is Samba In Init.d Directory

May 19, 2010

I just installed ubuntu 10.04 on a pc... the server edition. i went to restart samba and it is not in the init.d directory. is there a different folder for server plateforms? cause im use to my 9.10 desktop edition.

also one more question, when i "ls" the /ect/ directory of course i cant see the whole thing because my monitor only shows the bottom of the file, is there a way to list it like the "more" commands, or possibly scroll up?

View 9 Replies View Related

CentOS 5 Server :: Writing Init Script For Wrapper - Start As Root Run By User

Nov 27, 2009

I have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.

View 3 Replies View Related

Ubuntu Servers :: Apache Upstart Init Script

Jun 2, 2010

Has anyone got a working apache upstart script? I'm running 10.04, and want the nice supervision stuff from upstart to run my apache instance. I've googled (especially for things like replacement-initscripts) but not hit anything concrete.

View 5 Replies View Related

Ubuntu Servers :: Run Init Scripts As Non-root User?

Feb 9, 2011

I wrote a custom init script for a java application. The script resides in /etc/init.d and follows the convention for the init.d scripts. However, the script runs the java process as root. I need these processes to run as a non-root user. Is there a way besides using sudo or su in the script (seems inelegant), to run the script as a specific non-root user? Perhaps using a .conf file in /etc/init or a daemon wrapper? What would the Ubuntu way of doing this be?

View 2 Replies View Related

Ubuntu Servers :: Init Not Found After RAID Setup?

Apr 4, 2011

I have the current disk setup :

disk1 :

(primary) sda1 ntfs
(primary) sda2 ext3 (mounted as / )[code]....

Before i set up the raid, but with this exact partitioning, the system booted perfectly. When i installed mdadm and created the raid1 mirroring on sda6 and sdb1, the init got screwed up, and all i get is a shell on initramfs, from where i can inspect that sda is binded on md, and cat /proc/mdstat tells me that i have an inactive sda[4].I can't mount the root partition (sda2), because it's busy (i suspect dmraid to lock it), which is, i guess, why init cannot be found.

I wonder if my error is to setup a raid array using a logical partition contained in an extended partition (but i hardly see why it would not work - but the sda bind and the sda[4] in mdstat seems to tell me that it does not), or it's just the initrd that is improperly configured. The other things that bothers me, is that changing the partition type of the raid partitions (fd to 0 - Empty), to disable raid autodetection, resulted in the same behavior on boot. Which might lead me again to think about configuration file problem instead of improper setup.The live cd doesn't not seem to recognize raid, so i can't inspect problems any further, but i could inspect system configuration, but i don't really know where to start.

View 2 Replies View Related

Ubuntu Servers :: No More DHCP Init.d Script Upon Upgrade To 11.04

May 3, 2011

I upgraded our server today from 10.10 to 11.04. I can no longer find the init.d script for the DHCP server.

View 3 Replies View Related

Ubuntu Servers :: Target Filesystem Doesn't Have /sbin/init?

Mar 22, 2010

My UBUNTU 8.04 server does not boot anymore : here is the error message :Quote:Target filesystem doesn't have /sbin/initPrevious messages on the boot were :Quote:

kinit: name_to_dev_t(/dev/disk/by-uuid/0a301...a8 = md1(9.1)
kinit: trying to resume from /dev/disk/by-uuid/0a301...a8
kinit : No resume image, doing normal boot...


View 6 Replies View Related

Fedora Servers :: Virtual XP Machine On F11 (Init 3)

Aug 27, 2009

We have a virtual XP machine on our fedora 11 install. I want to drop fedora 11 down to init3 (since its a server anyway) and everyone is worried about the windows virtual machine dying. What would happen to my windows virtual machine if I drop the host server to init 3?

View 1 Replies View Related

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