Ubuntu Servers :: Get Apache To Startup At Boot Time?
Oct 25, 2010which config files do I edit and how do I do it?
View 2 Replieswhich config files do I edit and how do I do it?
View 2 RepliesOn startup - prompt asking for apache certificate password doesn't accept input. Can switch to another tty but can't restart apache due to the port already being bound (suppose I could change ports for apache config after startup but that's pretty ugly and clearly not the right way to address the problem.
View 5 Replies View RelatedI'm having a problem with a server I just got. The first thing I did when I got it was to format the drive and install ubuntu server, but on booting up I got a black screen and my monitor (samsung syncmaster914v) displayed a bouncing notification with the text "not optimum mode recommended mode: 1280 x 1024 60hz". However at one by using a combination of plugging in the monitor after booting, and pressing random keys on the keyboard I was albe to boot into the server, and was able to access the monitor meu, which told me it was running at 640x480, and 60 hertz. having access to the console I stupidly tried changing the resolution and then rebooted, getting the same black screen.
View 2 Replies View Relatedi 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
View 4 Replies View RelatedMe and my mom are sharing a laptop.My mom likes to use Google Chrome. I like to use Opera. Is there any way I can tell the system to start the Opera application , but then instantly minimize it to the tray bar? I want that because : if my mom starts the computer and I'm not around , I still want all the tabs in my Opera to load , without my mom knowing anything about my "malefic" plan ...
View 6 Replies View RelatedI have just moved to rackspacecloud and created a Ubuntu 9.10 server. Moved everything over all fine (7-10 wordpress sites). Now I have a couple rails apps that need to move over and run on postgresql 8.4.
I installed postgresql via sudo apt-get as per usual. Usually at this point the postgresql server starts up and I can forget about it. But no luck. I booted it by running /etc/init.d/postgresql-8.4 start. When I run that command it boots fine, I can connect via psql no trouble.
I rebooted the machine to see what happened. After boot, apache and mysql started just fine, wp sites came up nicely no trouble. postgresql wouldn't start up.
I have tried installing from source, I have tried using different /etc/init.d/postgresql-8.4 scripts. I have no idea what to do.
I have downgraded to upstart to 0.6.3-10. I have apt-get updated, upgraded. I have Googled. I have pushed and pulled.
Usually with any linux issue in the past I have been able to find a solution on the net or work it out myself. This one stumps me to no end.
The other irritating part is that while I wait to work out this issue I am still paying for my old server running my Rails apps.
My apache server don't want to start by itself on boot.
View 9 Replies View RelatedI've sucessfully installed Fedora 11 into a SunVirtualBox machine, but I would like to elimate from the boot sequence the GUI Startup. If I need it I could invoke the GUI from the command line. How I coud get this?
View 5 Replies View RelatedI am not a complete GNU/Linux newbie, each day I discover how little I know of this wonderful OS. The title of this post is actually a question for which I already have an answer, however, I can't seem to figure out why this happens. In order to enable ip_forwarding, I always enable it the same way, by issuing an:
#echo "1" > /proc/sys/net/ipv4/ipv4_forwarding.
I don't enable forwarding at boot time on purpose, I prefer to do it manually if the server crashes.
The thing is, I always write rules for iptables in order to enable it to NAT my packages through the router. However, last night, I forgot to load the proper iptables script, and instead, used a script I am currently tweaking. In this script, no rules are listed for both the forward chain and nat table in the POSTROUTING chain. Since forwarding was working (to my surprise, I might add) this could only mean, that the kernel default forwarding policies include masquerading. Is there a way to verify this?
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
The same init script works fine in Ubuntu.
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
View 1 Replies View RelatedI'm wanting to install apache so I can learn php, but I don't want it running allthe time. how can I run apache only when I want to
View 4 Replies View RelatedI have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.
View 9 Replies View RelatedI am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code:
hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
[Code]...
I'm having a little problem because I've installed xampp, but can't start it because it seems there's already an apache installation in my ubuntu
I've confirmed this by browsing to http://127.0.0.1 , and by doing px ax | grep apache
[URL]
Now I'd like to know how to stop this apache, remove from startup, and uninstall safely so I use xampp's apache instead.
I've experienced this problem with a distribution upgrade and then subsequently with a clean install of Ubuntu 10.04. Basically half the time that I boot up Ubuntu, it completely locks up with the following messages on screen (Sorry, I had to take a picture since it was locked up)However, when it does boot correctly, it pauses for just a moment after displaying the above text, and then displays a few additional lines, after which it goes on to boot 'normally'.
The next lines show 'plymouth' and 'ureadahead' processes being killed. If these lines show up the boot continues normally, otherwise the boot process hangs at the first picture.It is pretty frustrating to have to perform a hard restart during nearly every other boot, and the hangs seem almost completely random. Sometimes, it happens a couple times in a row, sometimes I can boot normally several times in a row. It also doesn't seem to be related to a cold start, versus a restart.
I'm working on a homeserver which is backupping all the (windows) pc's using cron and mount+rscync every 15 minutes. But between 23:00 PM and 8:00AM or till someone says START I want the PC to Hibernate. Automatically. How can I get this done?
View 1 Replies View RelatedI have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies View RelatedI have apache ,jboss and jon instances on various linux boxes.I need to create a generic startup script to restart those instances on server reboot.The script requirement is :It should take the name of instances from one text file named active-servers and recycle those instances.1. start-mws-servers (generic script for /etc/rc.d but just create it in ~/bin dir for current testing)It simply searches ~/bin/active-servers for active server recycle scriptsIt executes each recycle script and passes it the 'start' commandIt logs results to /tmp/start-mws-servers.
View 1 Replies View RelatedI was wondering if there is any tool or program that stores a copy of frequently used files eg. Binarys, program library's etc. in memory so when they are requested by the OS they load instantly. I'm asking because I have a system with plenty of ram but very slow hard disks. Having programs like opera and java/eclipse load from ram would greatly speed up their start time. Ideally they would be loaded into ram in the background after I log in. Of course all writes made to these files would have to be made to the files on disk for obvious reasons.I don't want the entire OS in ram because it will not fit, just frequently accessed files.
View 4 Replies View RelatedI'm running Ubuntu 10.10 in a computer with a 7200rpm HD, 8Gb Ram, and a Core i7, and the time it takes to load the desktop is insane. There are threads that mention the problem of gnome looking for nonexistent floppy drives and to solve the problem by disabling that in the BIOS (option I don't have). Anyway, besides that problem, by running at startup a gnome-terminal with the iotop command, I noticed that two processes have a huge i/o load on the system: google desktop and ubuntu one. I would like those programs to run as part of the startup process, but be launched after several seconds (to allow the rest of the programs to load). Is there any way I can achieve this? I think there should be a way modifying the commands under startup application, but I cannot find anything that works.
View 2 Replies View RelatedAfter a new install of Slackware 12.2, I carried out the following procedures to get everything working successfully right out of the box. The server is a standalone system, used for testing and educational purposes, so please bear that in mind. NB: Throughout this post when you see a single # at the start of a line it means you are typing the commands as root user. You should not include the #, only the text after it.
### setup Apache with php enabled
Login as root user on your Slackware box and type:
# pico -w /etc/httpd/httpd.conf
[code].....
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
View 7 Replies View RelatedI want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
It looks,slackware is taking too much time to boot. It's starting daemons at boot time.
What are those daemons that i can stop at boot time to increase booting time?
What's the best way to stop starting daemons at boot time?
I have recently ported from Windows to Linux (xubuntu) I am a developer, i installed everything i need, LAMP. Now in Windows i used to turn off all unnecessary Services, i don't need the Apache or MySQL service running all the time. I used: net start mysql
Whenever i needed it. How do i do the same in Linux:
1. Disabling not-needed daemons from auto-starting?
2. Starting them only when i need them?
I have a dozen huge folders loaded with files (images, and so..).. I was wondering if Apache marks the files it accesses..
Thus, in case I want to delete files which haven't been accessed or surfed for a long time.. is that possible?
We have seen with the release of Fedora 15, systemd is the new start-up services, which will replace SysVinit and Upstart on most Linux distributions. Here are some tips based on the order systemd-analyze, for analyzing the startup time of your OS.On commence avec l'option time, qui affiche le temps total de d�marrage de votre syst�me : (One starts with l' option time, which posts the total time of starting of your system: )
Code:
$ systemd-analyze time
Startup finished in 6385ms (kernel) + 3228ms (initrd) + 49335ms (userspace) = 58949ms
[code]....
i want to boot one of my partition mounted at start-up !! i don't want to do such thinks with typing password and all
there is no option called remember authentication in helena! but it is there in gloria (is it my problem or helena's?)
I accidentally set the grub startup manager's time to 0 secs and windows xp as the default OS. (I have windows xp and ubuntu on this laptop.)
Now when I turn on or restart my computer, it boots up straight to windows, I can no longer access the grub boot selection screen or my ubuntu OS.