Ubuntu Servers :: Configure The Order Of Boot Scripts When Using Both Upstart And Legacy Init.d Scripts?

Apr 7, 2011

I've got an Ubuntu Server 10.10 with Bacula. Bacula is not using Upstart at boot time, it is started using legacy init.d scripts. MySQL on the other hand uses Upstart. This causes MySQL to start after Bacula, thus preventing Bacula director from connecting to the MySQL database - causing an error.I've tried to change the order of the init.d scripts in /etc/rc2.d, giving mysql the prefix S20 and bacula prefixes ranging from S90-S93, but to no avail. The bacula scripts are still loading before MySQL. how to configure the order of boot scripts when using both Upstart and legacy init.d scripts?

View 1 Replies


ADVERTISEMENT

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

Server :: Order Of Init Services

May 5, 2011

How can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04

View 7 Replies View Related

Debian Configuration :: Init Not Following Crypttab Order

Jun 24, 2010

My setup: Debian Squeeze;4 physical partitions, 3 of those create 1 volume group, 13 logical volumes within that vg; 1 unencrypted(boot); all others encrypted including swap.As stated in the man crypttab:The order of records in crypttab is important because the init scripts sequentially iterate through crypttab doing their thing.

View 2 Replies View Related

Ubuntu Servers :: How To Start VBoxHeadless Using Upstart

Apr 24, 2010

Like the title stated Anyone with experience or suggestion, please do share. I've tinkered all night with this thing. Never get the VBox service I created to start.Here is my final code before I dried my brain.

Code:
# Archayl Server startup
#

[code]....

View 1 Replies View Related

Ubuntu Servers :: Starting Mysqld_safe With Upstart?

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

Ubuntu Servers :: List Of Services Converted To Upstart In 10.04?

Apr 30, 2010

Where can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stopping, starting and restarting these services?

View 6 Replies View Related

Ubuntu Servers :: Upstart Unable To Start Mysql On 10.04

May 9, 2010

mysqld not running on boot, I can start it manually with

Code:

sudo -u mysql mysqld

If I attempt to start it with Upstart I get

Code:

dom@mythbox:~$ sudo start mysql
start: Job failed to start

View 1 Replies View Related

Ubuntu Servers :: Strange Upstart Error When Restarting Sshd / Sort It?

Aug 18, 2011

For the last umpteen years of my life, I've restarted the ssh daemon using code...

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart ssh code...

View 7 Replies View Related

Ubuntu :: Wont Boot - "no Init Found. Try Passing Init=bootarg"

Jan 31, 2011

While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"

This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?

Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)

I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.

View 3 Replies View Related

Ubuntu :: Stop Upstart Services From Staring At Boot Time?

Sep 18, 2010

What is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:

Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]

1. Is this the correct way ?

2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?

3. When will ubuntu ship a gui to add or remove services from boot ?

View 1 Replies View Related

OpenSUSE Hardware :: Upgrade Legacy VGA With (less) Legacy VGA?

Jan 2, 2011

I have an ATI Radeon 9200 AGP card. I plan to upgrade it mainly because the 2D performance in KDE (3.x without Beryl or Compiz) is just bad. Since we are talking about a relatively old desktop, I do not want to completely upgrade it. So, I want to just upgrade the VGA card. I have found the following cards: Nvidia GeForce 6200

Radeon HD 2400 Pro
Radeon X1600 Pro Avivo Edition

Now, the simple question: Their prices are just OK (just a couple of � separate them). Which chip is better? And which chip is better supported from our beloved distro?

View 4 Replies View Related

Debian Installation :: Boot Jessie Without Legacy Boot

Nov 8, 2015

I've been using linux distros on my desktop forever, and got a windows 10 laptop recently. I want to dual-boot debain (jessie), so I installed it and it worked fine. Unfortunately, I have to enable Legacy mode in BIOS to boot into my grub then linux machine. Is there a way I can have my computer boot without legacy boot?

View 2 Replies View Related

Software :: Can't Boot Ubuntu 10.04 With Legacy Grub

Jun 30, 2010

I've Win XP installed on sda1 initially. Then I installed Centos on sdb (boot partition on sdb1 and root on sdb2). I chose to install grub to MBR of sda. The Centos installation automatically created an entry in the menu.lst file and I can successfully boot either into XP or Centos.

Now I went ahead and installed Ubuntu 10.04 to sdb4. Both Centos and Ubuntu are sharing the swap partition at sdb3. When I was installing Ubuntu, I chose not to install grub because I wanted the grub already installed to boot all three. After Ubuntu was installed, I logged into Centos and added the following entry in its menu.lst [so I modified (sdb1)/boot/grub/menu.lst ]

Code:
title Ubuntu 10.04
root (hd1,3)
kernel /boot/vmlinuz-2.6.32-21-generic ro root=/dev/sdb4 splash quiet
initrd /boot/initrd.img-2.6.32-21-generic

[Code].....

View 14 Replies View Related

Ubuntu Servers :: Install And Configure LTSP On A Server For A HP Thin Client To Boot Off?

Jul 22, 2011

I am trying to install and configure LTSP on a server for a HP thin client to boot off. The version of Ubuntu that I am using is 11.04 x86 and it is a fresh install on a dual core system with 2GB RAM. I followed a guide which comprised of these commands.

sudo apt-get install ltsp-server-standalone openssh-server sudo ltsp-build-client or if your on a 64-bit system with 32-bit machines do sudo ltsp-build-client arch i386 for editing the servers IP values use /etc/ltsp/dhcpd.conf after that you need to restart DHCP server sudo /etc/init.d/dhcp3-server restart
and update sshkeys -sudo ltsp-update-sshkeys and if you updated dhcpd.conf then you need to update you image also by typing in terminal ltsp-update-image

Everything seemed to install as it should but when I try to boot from the thin client it just times out and says no DHCP or proxy invites received. I turned DHCP off on the router and even tried another router, but I still get nothing. I am at a bit of a loose end and I hope someone on here can point me in the right direction of where I am going wrong.

View 1 Replies View Related

Ubuntu Servers :: Fully Automated Network - Host Name Configure And DNS Register In The First Boot

Jul 29, 2011

My organization is running a VMware vSphere based platform. On top of that we have a Sun Gridengine cluster consists of a number of ubuntu VMs.At the moment, we deploy new cluster nodes from the VM template. Although it already saves us lots of time, we still need to configure the network, host name, register DNS record manually.In a near future, we will need to add 100+ more hosts to the cluster. So we are seeking a automated deployment so that a VM does the following during its first boot:

1)configure the network for the correct IP with DHCP or manual.

2)request a designate host name (maybe from a pre-defined datasource?) and configure host name.

3)register itself to our DNS servers.

We don't really have experiences for running big cluster. So welcome to share your opinions and experiences.Specially I'd very keen to find out if there is any well-proven solution right there or I will need to implement from the scratch.

View 7 Replies View Related

General :: Will Grub2 Boot Everything That Legacy Does

Dec 30, 2010

The reason I ask is I have not tried on bsd, solaris or a few others.

View 1 Replies View Related

OpenSUSE Install :: Boot Through Grub Legacy?

Apr 29, 2011

I have successfully dual booted Opensuse and Windows7 successfully, but I have to load it from the CD choosing the boot from hard drive option.

If I do not have the Opensuse CD inserted it goes to Grub Legacy and gives me the option to boot from Arch Linux, or Windows. There is no option for Opensuse and when i hit the Archl Linux option I get errors and it brings me to the /rmfa (I think) command line. Selecting Windows lets me boot to into Windows successfully.

I checked the /boot/grub/menu.list in Opensuse and everything seems to be fine, but these options do not appear on my boot loader.

View 5 Replies View Related

Server :: Configure In Order To Change The Smtp Port?

Jan 31, 2010

I have scalix (sendmail) installed on my server and it is working very good but I need to change the smtp listening port because I am thinking that my sendmail is being used as a spam engine.

what/how I need to configure in order to change the smtp port?

View 3 Replies View Related

Server :: Configure Postfix In Order To Check Spam Only For Outgoing Email?

May 8, 2009

It's possible to configure Postfix in order to check spam only for outgoing email?

View 2 Replies View Related

Debian Installation :: BIOS Settings EUFI Or Legacy - Secure Boot Enabled

Oct 3, 2015

debian 8 64bit

Should bios setting be eufi or legacy?

Should secure boot be enabled?

View 2 Replies View Related

OpenSUSE :: Configure System In Order To Work On Some French Documents Using Kate - Kwrite Or Eclipse

Jun 11, 2010

I am working on a English (US) KDE installation of opensuse 11.2 with a US keyboard and I have some troubles to configure my system in order to work on some French documents using Kate, Kwrite or Eclipse.

For instance, when I save the content of this link [url] on my hard-drive and open the file in Kate, Kwrite or Eclipse, all accentuated characters are displayed as black lozenge signs with a ? inside. What should I fix in my configuration to have those characters show correctly?

A related but maybe slightly different situation is the following: In Eclipse, when I use a French keyboard layout in Eclipse (using the shortcut Ctrl + Alt + K after setup in Configure Desktop > Regional & Language), I can type and display accentuated characters correctly. However, as soon as I spell check my document (I believe Eclipse use aspell for that), all the words containing the accentuated characters that I typed are shown as being wrong. Eclipse suggests some corrections that show up with black lozenge signs with a ? inside...

View 6 Replies View Related

OpenSUSE Hardware :: Configure The Kernel Source Files In Order To Be Able To Install Nvidia Driver?

Jun 27, 2011

When trying to install the nvidia graphics driver I get the following error-message:

ERROR: The kernel header file '/usr/src/linux/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured. How do I configure the kernel source files?

View 3 Replies View Related

Ubuntu :: Edit To Change Boot Order And Various Boot Selections?

Jan 6, 2010

I upgraded from XP to Windows 7 (I need this for legacy business) and decided to install Ubuntu permanently rather than using from CD. During an Ubuntu session I was prompted to upgrade, which I did, but when I boot up now, there seems to be 2 versions of Ubuntu which I can choose from the boot up menu, plus the usual mem test, safe mode etc, plus the option to boot Windows 7.

Firstly, is there in fact more than one Ubuntu image (and therefore precious disk space taken up), how do I find out, and if so what action should I take?If there is only one Ubuntu and one Windows 7 image, how do I edit (and where is the file) to change the boot order and the various boot selections?

View 9 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

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

Code:
/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 :: Installing Oracle - /etc/init.d/oracle-xe Configure Command Missing?

Jul 24, 2011

I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.

1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb

2) Then I ran

sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

(gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine) Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.

I ran the following command-

--Manually uninstalling Oracle 10g--
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client

Then I again ran the following command to install oracle-xe

sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb

See below what I got as the output-

rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)

[code]....

Even in applications menu I don't see the if oracle has been installed. So i conclude first time installation was ok but somehow http client didn't worked. After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.

View 1 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 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







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