OpenSUSE :: Apache Don't Start / What To Fix It?
Nov 9, 2010When try rcapache2 start
Starting httpd2 (prefork) startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
or
Warning: found stale pidfile (unclean shutdown?)code...
When try rcapache2 start
Starting httpd2 (prefork) startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
or
Warning: found stale pidfile (unclean shutdown?)code...
i want to start apache and ktorrent on the systems start up, is there a program that will do it for me or do i need init scripts?
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 RelatedI can connect to localhost, and get the test page.However, as soon as I install the apache PHP module, with:[root] # yum install php apache will not restart.Watching active processes with qps, I see apache tries to start, but then it crashes - hence it writes to the error log to say it's started. But there's no PID in /var/run/httpd, and I cannot connect to localhost.
View 6 Replies View RelatedFedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...
View 8 Replies View RelatedI was working on my Drupal test site (running Fedora 11) when it froze. I had to hold down the power button to get it to shut off. When I booted back up, I received the error message "Your system had a kernel failure" after logging in. When I tried to access my test site's ip address or 127.0.0.1, I get the error message "unable to connect". However, I can access and log into Webmin (version 1.440) at 127.0.0.1:10000. Then I noticed that my Apache Web Server (Apache version 2.2.15) was not started. When I try to start it, I get the error message:"Failed to start apache. I'm using Fedora 11, Drupal 6.2 and Apache version 2.2.15.
View 1 Replies View RelatedCan anyone tell me how to have Apache automatically start when I boot the system (and log in)?
It is a simple home-PC running Fedora and I put Apache on for internal/local use only (so I can get to it from my Windows box).
Right now, I have to su (to root) and run the Apache startup command.
I'd like to have it simply come up when I log-in.
I have an apache server and /var/www/html/index.html startpage working fine. But I want to have files accessed by apache in my /home/beny/ director.
View 8 Replies View Relatedboth blades are running RedHat 4 (nahant update 4). Blade A returns Linux 2.6.9-42.ELsmp to the uname command and apache starts up without issues. Blade B returns Linux 2.6.9-89.ELlargesmp to the uname command and fails with the following error: Cannot load /opt/httpd/03/modules/mod_access.so into server: /opt/httpd/03/modules/mod_access.so: cannot open shared object file: No such file or directory
I have confirmed that the modules are present (actually a symlink to a valid directory) and have the correct permissions. Why can't I get Blade B to start?
I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"
I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.
I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.
Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.
I'm running Fedora 15. I installed mod_ssl and tried restarting Apache. I get the following error:
Code:
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down Unable to open logs I rebooted the server, thinking there was some process in the background that was stopping Apache from listening on 443. Same problem.
I ran:
netstat -A inet -lnp and lsof -i tcp:443
I remove mod_ssl and Apache starts.
The other question I have is what to do with /var/www/html
In the default install, root:root owns it, but I want people to be able to ftp in to that folder and write to it without using the root account. I'm thinking of changing the group to apache and putting the ftp users in the apache group. What is the recommended behavior here?
My apache server don't want to start by itself on boot.
View 9 Replies View RelatedFailed to start apache :* Starting web server apache2apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
View 4 Replies View RelatedI configure my apache and can run http://localhost. There "I see it works!" but if I try to stop apache I get message that httpd is not started. I run
apachectl start - ok
but when I run apachectl stop it says "httpd (no pid file) not running"
I need to stop apache, because this is my dev machine and I want to start apache only when I make changes to my site. I am with slackware13.
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 RelatedI 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.
I am new to slackware and linux at all. Today I have installed slackware 13.1 on my PC. Everything seems fine. Furthermore, I successfully installed mysql and edited the http.conf file throughout vim(this was also new to me). I discommented the line where it says "Include /etc/httpd/mod_php.conf" and moreover changed "DirectoryIndex index.html" to "DirectoryIndex index.php".
I assumed that the library "libltdl.so.7" is missing. When I tried to google it, I cannot find a proper version for slackware.I sincerely apologize if I have posted the thread in the wrong section.
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]....
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
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 View RelatedI 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.
I m using apache http server for hosting a website.
Whenever i start httpd service 8 apache processes get triggered . Is it normal? Is apache is default application server like IIS in windows?
Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers
[Code]....
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 RelatedI'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 RelatedI'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 RelatedI installed it the standard way using emerge/portage, but it fails to start:
Code:
alpha skyer # /etc/init.d/apache2 start
* Caching service dependencies ... [ ok ]
* Starting apache2 ...
apache2: apr_sockaddr_info_get() failed for alpha
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]
* ERROR: apache2 failed to start
I'm used to have Apache unable to find pc's FQDN, as I don't set it, and it works without it.
From /var/log/apache2/error.log
Code:
[Sat Jul 23 06:41:12 2011] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "alpha"
Computer has IPv4 address set. I suspect that the nature of the problem is in the fact, that alpha has two network interfaces (it is used as router also). I've checked Apache conf files, but didn't find any meaningful directives to set interface or something similar.
I've decided to install apache server from groundzero. So I've done next things:1)downloaded source tar with apache22)unzipped it3)./configure(d) it4)make5)make install
...But!!! I can't start it. apachectl in /usr/local/apache2/bin
error answer is:
<code>
[root@dhcppc1 bin]# apachectl start
[code]...
I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.
View 3 Replies View RelatedI 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