Fedora Installation :: Apache Won't Start On F12

Dec 8, 2009

I 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


ADVERTISEMENT

Fedora Installation :: Apache Web Server Does Not Start Automatically Unless Login

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

Fedora Servers :: Apache Does Not Start?

Feb 15, 2010

FedoraVersion 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 Related

Fedora :: Failed To Start Apache

Jul 7, 2011

I 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 Related

CentOS 5 :: Browser Don't Start Apache After PHP Update Or New Installation?

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

Fedora Servers :: START PAGE In Apache

Mar 4, 2011

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 Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

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"

View 14 Replies View Related

Fedora Servers :: Simple Apache/PHP Setup For A Start

Feb 26, 2010

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.

View 7 Replies View Related

Fedora Servers :: Apache Won't Start After Installing Openss

Sep 3, 2011

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?

View 5 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

OpenSUSE :: Start Apache And Ktorrent On The Systems Start Up?

May 11, 2010

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 Related

OpenSUSE :: Apache Don't Start / What To Fix It?

Nov 9, 2010

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...

View 1 Replies View Related

Fedora Installation :: APACHE Web Server & PHP On Machine?

Aug 7, 2010

Do I need to install APACHE web server & PHP on my machine ? or it is inbuilt there ? If it is so then how to use the server ? I have Fedora 9.

View 1 Replies View Related

General :: Set Apache Automatic Start-up?

Jul 21, 2010

Can 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.

View 6 Replies View Related

Fedora Installation :: F10 - Remove Apache 2.2 Keeping Old 1.3 Version?

May 2, 2009

Been away for awhile (Fedora 5 or 6 was what I last ran). Just downloaded Fedora10 and installed it on a drive here, running great, looking slick. What drove me back to Fedora (Linux) is my need to create a simulated webserver to locally test stuff without messing up my live site. I had successfully installed php and mysql, using the specific versions my host uses. I then downloaded the RPM of the specific apache instal, followed the install directions and ran into a snag. Last step, says, "$ PREFIX/bin/apachectl start". I did that and received an error. Tried just typing apachectl start, and it worked. Upon my surprise it loaded Apache 2.2 (mine was a 1.3 release), and of course is Fedora-branded.

My questions are as follows:
Do I know somehow how two versions of Apache on? How do I start up the 1.3 one if so?
If not - How can I remove the 2.2, and what will have become of the 1.3 I installed?

View 3 Replies View Related

Fedora Installation :: Unable To Access Apache From Remote

May 11, 2010

Unable to access Apache from remote server..

Also, my php pages won't load..and php is installed.

View 1 Replies View Related

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

View 4 Replies View Related

General :: Apache On RedHat - Can't Get Blade B To Start?

Jul 27, 2011

both 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?

View 4 Replies View Related

Fedora :: Login Missing After Apache / Zend Server Installation

Jan 9, 2011

I am new to Linux. I installed some weeks ago Fedora 14 via burnt iso file downloaded from official Fedora site. It was working perfectly like a charm for me until yesterday when I tried to install zend server for PHP. During my first try of installation of zend server it corrupted out my apache server and I lost apache on http://localhost. I removed all "zend-server" like stuff from "Add Remove Software" screen. Installed again apache 2 in the form of LAMP (Linux Apache Mysql Php) via terminal. Apache installed correctly and started workeing again ok on localhost. Then again I tried to install zend server from install.sh file in downloaded zend server installation. It showed me after a while like "zend server installed successfully".

I shut down my pc thinking everything is ok now. Today when I started my system, it shows me boot screen of Fedora, I select fedora and then it shows me balloon filling up for around 5-7 secs. Then all of a sudden a black screen appears up with a cursor blinking at its top left and then nothing else happens further. I cannot find login screen to my desktop anymore. I remember one thing that during reinstallation of apache from terminal, I set following command like "chkconfig --level 235 httpd" (I guess that's what I have written as per some online tutorial for LAMP). Is that cause of mine problem ot its something else?

View 11 Replies View Related

Ubuntu Servers :: Apache Server Don't Want To Start By Itself On Boot

Apr 6, 2010

My apache server don't want to start by itself on boot.

View 9 Replies View Related

Ubuntu Servers :: Faile To Start Apache : Line 236?

Aug 22, 2010

Failed 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 Related

General :: Start / Stop Apache - HTTPD Not Running

Aug 25, 2010

I 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.

View 4 Replies View Related

Server :: Set Nagios To Apache Start / Home Page

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

Server :: Unable To Start Apache - No Listening Sockets Available

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

Slackware :: Failure To Start Apache / Cannot Find Libltdl

Dec 5, 2010

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.

View 2 Replies View Related

CentOS 5 Server :: High Priority - Apache Will Not Start

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

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 View Related

Fedora :: Mysql / PHP / Apache Installation Configuration Module / Library Update

Dec 20, 2009

how to do Mysql, PHP, Apache installation configuration, module/library update

View 2 Replies View Related

General :: Whenever Start Httpd Service 8 Apache Processes Get Triggered?

Apr 29, 2010

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]....

View 3 Replies View Related

General :: Lampp Won't Start Apache 'another Web Server Daemon Running'

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







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