CentOS 5 Server :: Apache Automatically Start After Stopped It?
Jun 14, 2011
I installed apache 2.2 with centos 5.5. When I typed service httpd stop, apache stopped. Then in a minute, it automatic start again. I don't use crontab, and I tried 'chkconfig httpd off', but it still automatic start. I used 'ps -ef' to look process, I saw, httpd have PPID is 1, and then I find PID 1 have PPID 0.
View 1 Replies
ADVERTISEMENT
Feb 20, 2009
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
View 5 Replies
View Related
Apr 24, 2010
Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
View 4 Replies
View Related
Aug 15, 2010
I am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.
The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.
Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.
View 10 Replies
View Related
Sep 9, 2009
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
View 1 Replies
View Related
Dec 23, 2009
how to setup shoutcast to automatically start when i start my server?
i have installed it on /root/shoutcast ; configuration file /root/shoutcast/shoutcast_config
View 1 Replies
View Related
Nov 20, 2010
It is now almost 3 'o clock in the night here, last 5 hours trying to fix this problem. CentOS always runs perfectly here. I am not a genie with the terminal so wanted to install GNOME on my vps, than vnc but didn't work and did a restart.
Now got this:
Quote:[root@srv1 conf]# apachectl start
Syntax error on line 41 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
View 1 Replies
View Related
Oct 13, 2010
Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:
[code]...
but still no dice.
View 9 Replies
View Related
Oct 14, 2010
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
View 7 Replies
View Related
Jul 1, 2011
My server was set to automatically install updates, and stopped working while I was away. When I got back to it, it now has a boot menu to choose between kernel versions, with no default or timer. So I pick one, and there are heaps of other problems. the /home partition isn't mounting, despite the fstab being unchanged. I can mount it manually using mount with no problems /var/syslog has nothing since April, and isn't updating when I reboot, so I'm not sure what I can cut and paste to here for you all to look at. The networking isn't running, in fact, most of the network interfaces aren't even showing up.That's just what I've identified so far. I have no idea where to start. I can't find anything wrong other than the fact it's not working.I can't copy and paste any output at this point, because I can't ssh,
View 3 Replies
View Related
Sep 30, 2010
I have an appliation which needs apache , I configured apache that works fine. The thing is that every time i start server i need to manully run the apache scripts. How can let is automatically start while the server comes up? this is the sample work around to bring the application brings up.
View 3 Replies
View Related
Apr 13, 2010
I have a Centos 5.4 server, I would like to know how to start NFS automtically when the server boots up so that I won't have to manually start the service after the server boots up. where and how do I accomplish this?
View 3 Replies
View Related
Jun 18, 2009
I want to put Google analytics code on all legacy pages on my server, most of them don't have a template so I was wondering if Apache can automatically append the code.
View 2 Replies
View Related
Sep 6, 2010
So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.
View 1 Replies
View Related
Nov 24, 2009
after I do all new installation and before i do PHP update my browser can show me apache default page but after update PHP to 5.2.0 I can't even see the default page and always give me Problem loading page and I have 3-4 times reinstall my server which i need to do this as mail serer locally. Here are the version for my php and apache on my server currently :Apache[root@localhost local]# httpd -vServer version: Apache/2.2.14 (Unix)Server built: Oct 14 2009 13:19:18
PHP
[root@localhost local]# php -v
PHP 5.2.11 (cli) (built: Sep 21 2009 14:49:09)
[code]....
View 5 Replies
View Related
Mar 14, 2011
When ever I reboot my server I always turn on the squid service. Is there any way that without giving command
Code:
#service squid start
my squid service should automatically start ?
View 7 Replies
View Related
Sep 30, 2010
I have installed FreeRadius to a Debian Linux server.I have configured an account called Support to run the Radius as I didn't want Root to be the user to run this.I want Radius to start up automatically after the system is rebooted but I don't know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?
I have had a good search about scripts but with my limited knowledge it isn't too easy.
After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.Please can someone help out with this and let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?Please explain clearly as this is all a bit technical for my liking and not understanding it well!
View 2 Replies
View Related
Aug 25, 2009
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies
View Related
Aug 5, 2010
I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.
View 2 Replies
View Related
Mar 22, 2011
I have configured heartbeat+DRBD on a SLES10 SP3 cluster and that's working fine except when both nodes are down and I turn on only one node. When this happens, the heartbeat don't starts automatically (the service status says it's unused, so the services, IP address and partition don't start automatically too).
I can turn on the heartbeat manually (service heartbeat start) and get the services, ip address and partition initialized too, but I'd like to make it starts automatically because it's possible to have one node broken and the person that will turn on the other node can forget to manually starts the service.
-When the heartbeat is unused on the first node and I turn on the second node, the heartbeat on the first node starts automatically and everything is fine.
-The command "chkconfig heartbeat on" was executed.
View 6 Replies
View Related
Jan 20, 2011
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
View 3 Replies
View Related
Mar 20, 2010
I installed and configured mysql 5.0 on my opensuse 11.1 box. But I have no idea how to get it to start automatically when the server reboots.
View 3 Replies
View Related
Aug 5, 2010
how to start automatically vsftpd in my server after reboot?
View 5 Replies
View Related
Jun 14, 2011
My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.
I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.
View 3 Replies
View Related
Apr 6, 2010
My apache server don't want to start by itself on boot.
View 9 Replies
View Related
Jan 19, 2011
Been a very long time since I have played with Linux.Now in a new position and have setup a Nagios server running on Centos 5,5 for a NMS.How do I set apache that when I visit: whatever.org it starts Nagios.. Currently I have to go to whatever.org/nagios.
View 9 Replies
View Related
Apr 29, 2011
I am very new (since yesterday) to Linux also new to web server setup. I have installed all LAMP components, including SSL as described here: [URL]. I have added LISTEN 443 Wanted to restart the apache server -> no success ! stopped it, now doesn't start at all:
Warning msg=>
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44 no listening sockets available, shutting down . .
Failed
I tested Apache and my PHP earlier and it worked. Now after SSL and FTP installation it doesn't work anymore! Also I am wondering about my server name, it is the set IP of the web server, surly i should change that? Only used link for SSL set-up, used diff links for apache php etc (also have java JRE installed as I will need that later for my app) also have GNOME available, but prefer command line.
View 5 Replies
View Related
Mar 7, 2010
I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?
View 2 Replies
View Related
Nov 12, 2009
I'm trying to install two instances of OCS Inventory on the same machine using virtual hosts in apache. The apache configuration for it is in it's own file and it works fine without any virtual host. If I add it apache refuses to start without giving any error message. I narrowed it down to some lines loading perl modules, and if I comment them away apache will start again. Some of the modules work, but some of the ones specific to OCS Inventory will not work. I can't understand what the difference is between loading it in a virtual host or not, it doesn't make any sense to me!
View 2 Replies
View Related
Jul 2, 2010
I'd like to permit to start download file when I click over some links. How can I to start download files through http protocol with apache 2?
View 5 Replies
View Related