OpenSUSE :: How To Get Apache To Start At Boot Time 2
Mar 30, 2011
i have compiled/installed Apache from source code ...however i don�t now how to start it at system start up as a daemon to run at level 3the server is usually started by the apachectl scriptwhich understand start stop restarti don't want to use suse distribution of Apachecan i just copy apachectl to /etc/init.d and make a link to it at /etc/init.d/rc3.d
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
I tried setting up Nagios 3.2.2 on Ubuntu 8.04 using this guide [URL]Every thing went well until trying 'make install-webconf', I then got the following error.
I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5
I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.
and it starts successfully and the CMS can use it. To start OO at boot time, I wrote a script called 'openofficeserver' and saved it to /etc/init.d. It looks as follows
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?
Arpwatch is failing to start at boot time. I got this message:
arpwatch: bad interface eth0: eth0: no ipv4 address assigned
Once I login into my account, I can (as root) run the arpwatch demon, but it is suppose to run at boot time. After I installed aprwatch, it was working correctly. I do not have an idea of what happens or since when the problem start to happen. I just realize, after a while , that arpwatch was not running. I am running Fedora 12 - 2.6.32.9-67.fc12
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
I installed and configured privoxy - everything worked nicely when I run it manually by
Quote: /etc/init.d/privoxy start
After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start
Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?
I have a system I use as a file server running Ubuntu 10.04. I don't have a screen hooked up to this system. When this system reboots, if there is no screen, X wont start on it. This then prevents me from using VNC to get to the desktop.If a monitor is plugged in at the time it boots, then everything works, and I can then remove the monitor. But moving this monitor between computers and crawling under desks is not enjoyable.How can I fix this so X starts on boot even when no monitor is plugged in?The error I get in /var/log/Xorg.log* looks like this:
grep -EnC2 "EE|WW|fatal|error" /var/log/Xorg.0.log ... 331- (II) Primary Device is: PCI 01@00:00:0
What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"
Code:
This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps: Code: $X :1 -verbose -nr -nolisten tcp & # Maybe Metacity -> $ metacity $export DISPLAY=:1 $JavaApp & Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
I have installed Fedora10 on my PC which had an XP. Now Fedora waits just 2-3 seconds to press any key to choose between XP and Fedora. Actually if I don't press any key it automatically begins Fedora. How can I increase this time interval?
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left, I see the following error message:
"Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround.
I will open firefox then scroll to file-quit firefox, firefox closes fine but when i want to open firefox again it wont, i have to restrate opensuse 11.4 linux 2.6.37.6-0.7 kde 4.6.0.0.
I am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ] Starting cups: [ OK ] STOPPING server from pid file /var/run/mysqld/mysqld.pid starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho sts/denyhosts.cfg 090727 04:35:47 mysqld ended
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround
I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.
So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.
I did a clean install of Ubuntu 11.04 64bit and the start up time is abnormally slow. If I start up the computer and don't press anything, the start up time is 30 minutes but it usually doesn't start up at all. It just boots into a purple screen, no splash, then it sits there and the computer doesn't have any loading lights flashing.
I had a similar problem with 10.10, but I assumed it would go away when I did a clean install of 11.04.
I can't get a read out of what's going wrong because when I press Esc it doesn't display anything, though weirdly it can sometimes get the start up process moving. I have also found that pressing enter really fast can sometimes help and something that seems completely oxymoronic, if I press the power button while it's starting up that can make it work, but nothing works every time.
I set up opensuse 11.4. I updated nvidia 6600 drivers from vendor. Everything is good until automatic kernel update. When I start the system, opensuse is not open with this lines.
/etc/rc.status: line 1: /bin/ash : no such file or directory bash: ./etc/sysconfig/chron : cannot execute binary file X_MOUSE_CURSOR : Undefined variable
I have an 1TB hard drive, half of it for Windows XP SP3, another half for OpenSUSE 11.4. After installing OpenSUSE, it didn't take me much time to notice that there was something wrong with KDE: sometimes it loaded quite fast, as expected, but most of the time I'd have to wait around 1 minute in that loading screen. Then I updated the kernel, as well as KDE itself, but that didn't solve the problem.
After that I tried to start the system using Enlightnment, and it was lightning fast compared to KDE, however, I didn't quite like its interface, and for some reason GNOME refused to start. All that was too frustrating to me, so I gave up and have been using Windows for the last few weeks. Got sick of it now and here I am on OpenSUSE again. Oh, it feels sooo much better! BUT, I'm still with the same problem.
My specs are as follow: Motherboard: Gigabyte MA78GM-S2H (with updated BIOS, version F11) Processor: AMD Phenom X3 8450 Memory: 2GB Videocard: Nvidia Geforce 8500GT (using NVIDIA proprietary drivers) OpenSUSE 11.4 KDE 4.6.0 Did I forget anything important?
Ps.: I didn't have these problems with Mandriva 2010.2, which, if I'm correct, used the same KDE version.
I've just replaced my SATA boot drive /dev/sda1 with a 65Gb SSD (Kingston SSDnow V-100, latest version) but I find the much-hyped speed advantage almost negligible. I used to have boot times in openSUSE (fresh install of 11.4, measuring from GRUB menu to startup guitar chord) of around 50 seconds, and the SSD drive is only a little faster at about 40 seconds. I was expecting something more like half the previous boot speed.Haven't done any tinkering yet except for the noatime setting in /etc/fstab.