Ubuntu :: Rc.local Is Not Executing On Boot?

Jul 5, 2010

using ubuntu-10.04/gnome

i have my printer and localhost startup written in rc.local but it does not execute on boot/reboot

that is the report i could make (yet learning about how to use linux)

Code:
r@r-desktop:~$ ls /etc/rc.local -l
-rwxr-xr-x 1 root root 540 2010-07-05 14:26 /etc/rc.local
r@r-desktop:~$ cat /etc/rc.local
#!/bin/sh -e

[Code].....

View 4 Replies


ADVERTISEMENT

General :: Konqueror Updates To Local Files / Executing Local Binaries?

Dec 9, 2010

One of Konqueror's unique features is that i can name a local process as the action in a form. When i submit that form, the local process is executed. Very helpful for certain offline tasks. What would make it even better is if i could find a way to pass some data to that local process from the html page. This could be the content of a hidden input item, etc. Alternatively, if there is a way for Konqueror to create or update a local file with data from the html page, that would acheive the same end.

View 1 Replies View Related

OpenSUSE Install :: Executing Command At Boot?

Apr 7, 2010

im searching for this answer now a pretty long time and i know that many similar questions where asked and i all looked themIm trying to run a the command "vncserver" on our opensuse11.2 server when its booted.many posts here endet in "put a sh script into your /kde4/Autostart" but that didtn help for me because the server runs without a screen and normally nobody is logged in. When i logged in that worked fine.i also tried to add the command "vncserver" to "/etc/init.d/boot.local " but that didnt work too. i think its to early executed to work.i also tried to activate the service to start up at boot with chkconfig vncserver start but the service vncserver is "unknown". when i type vncserver into the console after logging in everything is alright.you see i really tried a lot and searched a long time at google and in this forum but nothing worked

View 4 Replies View Related

Server :: Executing A Script At Boot Time?

Apr 22, 2011

Execute a script as a non-root user at boot time. The script lives in /home/sbrown/scripts and has the executable bits set. If I run the script locally in the shell it behaves as normal, but will not at boot time It's a very simple 2 line script:

#!/bin/bash
# Starts IRSSI in a screen session
sudo -u sbrown screen -S irssi irssi

Here's WHAT DOESN'T work:

I put this in /etc/rc.local: sudo -u sbrown /home/sbrown/scripts/irssi_exec I also tried just copying the script to /etc/init.d/ and chowning it to root then ran update-rc.d irssi_exec defaults and rebooted. Still not working. This is on a Debian Squeeze box... what am I missing? Surely it should be simpler than this

View 3 Replies View Related

OpenSUSE Install :: Yast2-firstboot Scripts Not Executing At First Boot?

Dec 31, 2009

I was running openSUSE 10.3 using yast2-firstboot and everything worked perfectly. I have since upgraded to 11.2 and after a post on this forum I was able to get yast2-firstboot to run. The control file was moved to touch /var/lib/YaST2/reconfig_system instead of touch /etc/reconfig_system. All is well there and firstboot does run. I have a script that basically sets up the hostname, IP addresses, etc on the machines. This worked in 10.3 but in 11.2 it doesn't execute. I can manually run the script which I have defined in the /etc/sysconfig/firstboot file. The SCRIPT_DIR="/usr/share/firstboot/scripts" I noticed a new entry this file labeled - # Action that should be done after the firstboot sequence finishes.

FIRSTBOOT_FINISH_ACTION="" Should I place my script here? I read the doc and you can use reboot but need my script to run first. To I just put the name of the script or the entire path to the script if that is the place to put it. On a side note. Does anyone know where the default FIRSTBOOT_FINISH_FILE="" is located? I want to use that as a template but change and add a few lines to this. I just can't locate it anywhere on the system.

View 3 Replies View Related

General :: When Try To Boot Stick It Gets As Far As Executing The Initramfs Init Script Then Restarts?

May 12, 2011

I'm booting Gentoo off of a usb-stick. This has been working previously but now when I try to boot my stick it gets as far as executing the initramfs init script then restarts.The last two lines of my initramfs/init are:

Code:
echo "finished initramfs."
exec switch_root /new-root /sbin/init

[code]...

View 1 Replies View Related

Ubuntu Installation :: Install Using Network Boot From Local FTP

Jun 14, 2010

I want to perform a netboot install of Ubuntu using files sourced from a local network FTP server, and I cannot find the necessary installer files anywhere.

Reasons include:
* dead or flaky optical drive and no chance of replacing it
* optical drive is CD but iso is DVD
* several targets, so much faster to load repeatedly from local FTP than from an internet repo

What I can do with Fedora or CentOS is as follows:
1. On a second PC, download the relevant .iso and extract that to a directory (or mount it with -t iso9660 -o loop to make the contents visible without bothering to run the extract or using up more space). This makes all the files available but most particularly a ram fs and a mini linux installer, such as initrd.gz and vmlinuz

2. On that second PC, also set up the usual DHCP/PXELINUX/TFTP arrangements to cause the netbootable target PC to load those two files and run the installer. Also run FTP (or HTTP) on that PC

3. Netboot initrd.gz and vmlinuz (names vary) into the target PC. Answer the installer's questions, including choosing FTP (or HTTP) install method, giving the second PC's IP address, and an account and password, and path to the extracted iso. The rest is as usual.

I have not been able to do this with any Ubuntu netboot installer I have found so far. It either netboots, but then (seems pointless) wants a CD iso, or insists on pulling from a repo. Yes, I could create a local repo, but that seems to need a lot more work and space than setting up an iso on an ftp server. Is it simply the case that the Ubuntu family lacks this sort of netbootable installer or I have just been unlucky in searching for it.

View 1 Replies View Related

OpenSUSE Install :: Add Local Stuff To Boot?

Feb 1, 2011

I tried to add a stanza to /etc/rc.d/boot.local but it did not get executed following the next reboot. I then tried to find documentation on the structure of opensuse boot scripts, but failed.

the boot scripts in opensuse are sufficiently different from: fedora, ubuntu, redhat, debian, (pretty much all other linuces) that one needs a tutorial or documentation to learn howto add scripting to local like one adds stuff to rc.local elsewhere.

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

Code:

mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /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:

Code:

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

[code]....

View 1 Replies View Related

Debian :: Auto Start At Boot Us The Following Lines In The /etc/rc.local?

Jun 13, 2011

I am using Deluge on my Debian server, for a simple auto start at boot I us the following lines in the /etc/rc.localsudo -u User delugedsudo -u User deluge-webDeluge is running after boot but i wane check if its running with User account and not as root.So I did a ps -aux | grep deluge and notice a line that root is trying to run the command sudo -U User deluge-web (i think its trying).

User 1735 1.5 1.0 187680 21604 ? Sl 16:30 0:04 /usr/bin/python /usr/bin/deluged
root 1736 0.0 0.0 20924 1168 ? S 16:30 0:00 sudo -u User deluge-web
User 1737 1.5 1.1 70400 24084 ? S 16:30 0:04 /usr/bin/python /usr/bin/deluge-web

The question is what does this mean? can i leave it running, is it better to kill it if so how to prevent that it happen on start-up.

View 6 Replies View Related

Fedora :: Hangs On Boot (mounting Local Filesystems)

Feb 13, 2010

I'm using Fedora 12 on my Thinkpad X200 and had no major problems since Installation of the Release Candidate. Unfortunately, since a week Fedora makes trouble when booting:

The system boots some times without any problems, some other times it hangs in the following way:

Code:
Gdracut: Mounted root filesystem /dev/sda1
dracut: Switching root
Welcome to ^[[0;34mFedora
Press 'I' to enter interactive startup

[Code]....

View 4 Replies View Related

Fedora :: Boot Stops At 'Start Service Local'

Feb 13, 2011

I performed the first update in 4 months to my Fedora 12 Constantine. I also removed a 'dial-up' package (figured i didnt need it) and the KDE package after the update. Firefox was not getting a connection to the internet at this point. The network view showed the ethernet as inactive. Everything besides Firefox appears to work fine.

I restart machine.

It boots until right after the fedora logo fills up. At this point my dual monitors go to sleep. No response from anything. When I start in interactive mode I hit y for everything. Everything works great until libvirtd, libvirt-guest, and local. After y on all three nothing happens. I can type on the screen but no response. It just sits there. I can boot into text mode and do whatever I want. What can I do? What other information do I need to move forward?

I have looked at the Xorg.0.?? i forget what its called. I am not versed in reading the messages in it. Same for the other logs I looked at.

How I troubleshoot Linux problems: Install Linux -> Problem -> Google -> Run Command -> Didn't work? -> Start Over

View 10 Replies View Related

OpenSUSE Install :: Commands In Boot.local Have No Effect

Jan 29, 2010

I want to turn off CPU throttling, and I notice how each time opensuse boots up, it imposes it.

I would like to know where it does this. I suspect - but actually I don't really know - if it's the HAL daemon that does this. Could be.

In any case, rather than have to key it in each time, I put the relevant commands (cpufreq-set) in boot.local. No effect.

I suspect boot.local might not be the best place for such a heavy duty command like this one.

Are there any there places I could put it so that it executes automatically?

View 2 Replies View Related

Ubuntu Servers :: WPA_Supplicant Auto Start & Change To Rc.local Stuck At Boot

Aug 1, 2011

I have tried different methods to auto start wpa_supplicant at boot on Ubuntu Lucid server on a laptop which can't be connected to Ethernet.

The only thing that worked is adding the wpa_supplicant command before exit0 in rc.local. It solve my problem of wpa_supplicant auto start and annoyance on not be able to ssh before local login. But the screen stuck at Ubuntu Logo. How can i get pass Ubuntu logo screen to regular tty or xbmc in future?

[URL]

View 1 Replies View Related

Ubuntu Servers :: Local Users Are Sending Mails Through Ms Outlook Using Local IP?

Jul 26, 2011

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

View 2 Replies View Related

Ubuntu Networking :: Can See All Devices On Local Network And Their Local Ip Addresses

May 16, 2010

I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)

View 6 Replies View Related

Ubuntu Networking :: Unable To See Local Web Sites From Local Network

Jun 28, 2011

I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).

View 2 Replies View Related

Fedora Servers :: Boot Messages: Enabling Local Filesystem Quotas: Failed

Sep 14, 2010

G'day. My distro is Fedora 13. I received the above subject error message at boot. My /etc/fstab is attached as follow:

#
# /etc/fstab
# Created by anaconda on Fri Mar 5 12:44:10 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'

[code].....

View 7 Replies View Related

General :: Fedora 12 After Upgrade - When Start Interactive Boot It Hangs After Trying To Run The Service Local

May 19, 2010

Recently i've upgraded my fedora 11 to 12 using the preupgrade command and now I have a problem booting! when i start the interactive boot it hangs after trying to run the service local, it looks as if its trying to boot because the cursor blinks really fast then blinks normally after a few seconds. no error was stated during the event. what seems to be the problem here?

View 3 Replies View Related

General :: Read A Local Man Page For Sync That Was Kept In The /usr/local/share/man?

Sep 27, 2010

What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?

View 2 Replies View Related

General :: Yum Local Install - Package And All Dependencies In Local Directory?

Dec 9, 2009

I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. I have downloaded all the packages to a local directory. I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve (though they are all in the directory). I don't know if it would be safe to force install without the dependencies (even though I would install them later).

View 4 Replies View Related

Ubuntu Networking :: Use Local IP Only On Local Network?

May 25, 2010

I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.

However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.

Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?

View 6 Replies View Related

Ubuntu :: Crontab Job Not Executing

Sep 1, 2011

I am a xfce user. I have a list of wallpapers and I wanted to change them every 5 minutes Initially I was using a simple command in crontab entry to change it, Quote: */5 * * * * xfdesktop --reload it was working but it would crash xfdesktop process after few changes and the screen would be all grey. To solve this issues I wrote a simple script which would check if xfdesktop is alive and if yes it would call xfdesktop --reload else start xfdesktop I called this script idesktop & its path is ~/.bin/idesktop

[Code]....

View 8 Replies View Related

Software :: Executing NS 2.34 (NAM) On Ubuntu 9.10

Oct 26, 2010

I successfully installed and validate ns-allinone-2.34 network simulator on ubuntu-9.10. I then tried to run simple tcl code and ended up on the following error. I couldn't move ahead from there. What should I do to make 'nam(version 1.14)' work on my ubuntu 9.10?

ns: finish: couldn't execute "nam": no such file or directory
while executing
"exec nam out.nam &"
(procedure "finish" line 7)
invoked from within
"finish"

Here is the code I tried to run (for reference):
#Create a simulator object
set ns [new Simulator]
#Define different colors for data flows (for NAM)
$ns color 1 Blue
$ns color 2 Red
#Open the NAM trace file
set nf [open out.nam w]
$ns namtrace-all $nf
#Define a 'finish' procedure
proc finish {} {
global ns nf
$ns flush-trace
#Close the NAM trace file
close $nf
#Execute NAM on the trace file
exec nam out.nam &
exit 0
} .....

By the way I googled and got some suggestions like: adding 'nam' directory to environment. I did this as follow but it didn't work. I added:
export PATH=$PATH:/home/elias/ns-allinone-2.34/nam-1.14
to /etc/profile (>sudo gedit /etc/profile)

View 1 Replies View Related

Ubuntu :: Add Repository - Error: Executing

Jan 14, 2010

Is [URL]... down? I try to add the repository:

sudo add-apt-repository ppaorg-edgers/ppa

and I get this error:

[code]...

View 5 Replies View Related

Ubuntu :: Executing EXE Files From A CDRom?

May 11, 2010

I cannot seem to find what I need to in either these forums, Ubuntu help, or various Man pages.Issue:When I insert a CD it automounts correctly, but I cannot Use the "Open with Wine" option (even after configuring wine to recognize the executable) due to a "trust" issue within Ubuntu. I have learned that this "trust" is simply the executable bit, but I obviously cannot change that bit on a read only medium. he software requires the CD at both install and run time, so I cannot use a separately mounted ISO.Somewhere there must be a setting where I can turn off the "require trust flag" which I assume must exist.

View 5 Replies View Related

Ubuntu :: No Terminal After Executing Byobu

May 20, 2010

I just closed my terminal after checkin out byobu . Now when i click terminal , nothing happens . how can i get back my terminal ???

View 1 Replies View Related

Ubuntu :: Executing Any Program After Download?

Sep 4, 2010

After downloading any program thats in ubuntu or uses wine to run before i can run it i've got to allow it to execute, is there a workaround for this? Im using 10.04 ubuntu desktop

View 1 Replies View Related

Ubuntu :: Startup Script Not Executing?

Oct 26, 2010

Code:
ryan@TehLaptop:~$ uname -a
Linux TehLaptop 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux
ryan@TehLaptop:~$ lsb_release -a

[Code].....

I have it in my system -> preferences -> startup applications as the command "/etc/init.d/fixkeys" however it is not being executed at startup (I have to manually run the script every time I login). If I manually run it, it works perfectly. I have tried moving it to a directory in my home folder but that did not solve anything.

View 9 Replies View Related

Ubuntu :: Allow Executing File As Program?

Apr 22, 2011

On the `Install Properties` Menu , I am not allowed to check the: Allow executing file as program...

View 2 Replies View Related







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