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


ADVERTISEMENT

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

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

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

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 :: Run Apache On LAN?

Feb 23, 2009

I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.

View 8 Replies View Related

Fedora Servers :: CentOS 5.2 - Apache And New PHP

Feb 7, 2009

I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"

I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.

Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?

View 2 Replies View Related

Fedora Servers :: Apache Does Not Output Php

Jul 20, 2010

I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like http://localhost/server-info works fine but something like http://localhost/helloworld.htm produces the wrong output:

contents of helloworld.htm:

<?php>
print("hello world");
print(phpinfo());
<?>

[Code]....

View 4 Replies View Related

Fedora Servers :: 14 Apache Error 403?

Dec 24, 2010

I moved from F12 to F14, I've installed using yum Apache, MySql, php, phpMyAdmin. That all works fine, I've made index.php with phpinfo() function and if it is in /var/www/html/ it opens in web browser. I extracted daloradius-0.9-8 in /var/www/hmtl/daloradius folder changed ownership to apache:apache set alias to myradius. When I point web browser to localhost/myradius I get error 403, forbidden. I moved index.php with phpinfo() to daloradius (overwriting old index.php) and same stuff happens. Error 403. What am I doing wrong?

View 4 Replies View Related

Fedora Servers :: Apache Binding Only To Ipv6?

Feb 14, 2009

I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443

Code:

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim

[code]....

here is the only part in the httpd.conf file that seems to have anything to do with this:

Code:

Listen 80

which from my understanding should make it listen on all interfaces, ipv4 and ipv6

View 8 Replies View Related

Fedora Servers :: Non Default Apache Install?

Feb 28, 2009

having an absolute mare on this one and doin me in.! I'm trying to install apache on fedora 9 to a non default directory /usr/local/apache as i need to set it up with resin see[URL]... I've removed the default install with yum remove httpd and then tried installing using apache's ./configure make make install commands. This all appears to work ok but when trying to start the server i get command not found error.any suggestions **ps why are the apache files all over the place in fedora..

View 14 Replies View Related

Fedora Servers :: SSL Apache Non-Standard Port

Mar 21, 2009

I have been struggling with this for the past two days and I can't seem to figure it out.SIMPLE GOAL: use subdomains with my wildcard Rapid SSL cert on Apahce2. This is not a chained certificate.Currently my default SSL virtual host, listening on 443 works fine. So, https://www.myDomain.com is recognized correctly by all browsers. But, the below virtual host listening on port 1025 is not coming across to the browser securely. The page renders, but the browsers do not see it as encrypted SSL.

View 1 Replies View Related

Fedora Servers :: Apache Mod_proxy Abuse?

Mar 29, 2009

I'm running Fedora 10 with Apache 2.2.11 and I noticed something a little strange going on. This morning, logwatch alerted me to the following concerning apache:

Code:

Sure enough, the apache access log file shows the following:

Code:

mod_proxy is disabled in the apache config file anyway (default mod_proxy commented out):

Code:

When I tried to access my web server to check, it was down, and I got the following when checking its status:

Code:

So I checked the apache error logs and found the following:


Code:

There's nothing wrong with line 188 of the config file:

Code:

It seems fairly apparent that there has been an attempt to use my web server as a proxy to gain access to other servers, so I have a couple of questions:

1) I presume that the attack failed, since mod_proxy was disabled?

2) Why did my web server crash? (It has never done this before). It seems very suspicious that it tried to restart, but failed to load proxy_module modules/mod_proxy.so on the same night that someone had attempted to use mod_proxy. I have since successfully started apache without making any configuration changes.

3) Do I need to worry that any part of my system has been compromised?

View 4 Replies View Related

Fedora Servers :: Setup The ERuby On Apache?

Jun 17, 2009

I'm trying to setup eRuby on my Apache server, and I'm having problems. Currently, I have this in a separate config file in "/etc/httpd/conf.d/eruby.conf":

Code:

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby
DirectoryIndex index.rhtml

I have a file named "index.rhtml" in a folder called "test" that's in the root of my server. When I try to get to the file I get this, though:

Code:

You don't have permission to access /cgi-bin/eruby/test/index.rhtml on this server.

View 3 Replies View Related

Fedora Servers :: Changing Cgi-bin Folder In Apache

Jun 17, 2009

I've run into some problems trying to change the default cgi folder from /var/www/cgi-bin to /var/www/cgi-local (in order to migrate scripts from a much older server to a new one). I have edited httpd.conf to modify the following:

Code:
ScriptAlias /cgi-bin/ "/var/www/cgi-local/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-local">
[Code]...

I have also tried several variations. I left ScriptAlias at the default "/var/www/cgi-bin" and I have tried it with AllowOverride None and without the +ExecCGI after Options. I am getting a 404 error when a form has an action directed at a cgi script that is in cgi-local.

View 4 Replies View Related

Fedora Servers :: Apache Randomly 'timing Out'?

Aug 16, 2009

Running a LAMP server, CentOS as the OS.The sites always been slow, but now that ive optimized it with mysql cache, gzip compression and some other things, its really fast.Except when pages loading seem to randomly 'time out'. The browser sits on 'waiting for x.com'. Closing the browser and/or the tab and opening a new one fixes it, but then it'll happen again eventually. Clicking further links while its 'waiting for x.com' does nothing, basically the site becomes unusable until you close the tab and reopen it.

This happens on all 3 virtual servers we're running within apache. Mainly noticable on the PHPbb forums, probably because they are visited the most.It's not a slow mysql query, i turned on slow query logging over 2 seconds, and the only two hits i got on that i know are unrelated.Ive turned off some optimizations thinking they might be it, but no dice.

View 2 Replies View Related

Fedora Servers :: Host All The Manpages On A Apache?

Sep 24, 2009

I am using FC9. Can anyone tell me how to host all the manpages on a Apache Server so that a user can access it using the webbrowser like firefox. After googling I came across something called man2html but it really did not work.

View 11 Replies View Related

Fedora Servers :: Apache And Character Encoding Using UTF-8?

Oct 14, 2009

I am having a problem with my web server. On index.html, it should say "Welcome to my website! More coming soon!" but instead, in Firefox, if I go through my server by going to eggbertx.linium.net or localhost, it shows this:

[Code]...

I know it isn't the file, because the file looks normal if I open it by going to /var/www/html/index.html I looked at /etc/httpd/conf/httpd.conf and it says that it is using UTF-8, which I'm pretty sure is normal. I don't remember it doing this before I installed kdewebdev and ran Quanta Plus, although I have no idea how it could have caused this. Has this happened to anyone else?

View 3 Replies View Related

Fedora Servers :: Apache: Connection Times Out Even On LAN?

Dec 19, 2009

I'm using Fedora 12 with Apache 2.2.14, and I was having this error on 2.2.13 as well.

Even when I connect to my server over LAN, Firefox times out occasionally while connecting. I can't figure out what is causing this. The error_log isn't showing anything. I even cleaned the error_log file, so that if something happened, it'd be a little easier to spot. But I'm still getting time outs, and nothing in the error_log.

Here is my httpd.conf [URL]

It's the default Fedora configuration, I've only changed the ServerName if I remember correctly. it's not the Timeout setting, because on LAN it should never time out.

View 4 Replies View Related

Fedora Servers :: Run Tomcat Behind Apache Httpd?

Dec 19, 2009

I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice

View 4 Replies View Related

Fedora Servers :: Build Of Apache 1.3.41 Fails On F12?

Jan 9, 2010

I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:

gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for getline
/usr/include/stdio.h:653: note: previous declaration of getline was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/root/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/root/apache_1.3.41'
make: *** [build] Error 2

what the problem and more importantly the solution to this problem is?

View 9 Replies View Related

Fedora Servers :: Apache - PHP - Sendmail - TrustedUser ?

Jan 13, 2010

I'm running a fresh F12 server configuration install from DVD, and I'm having some issues with getting sendmail to actually function when called from a php script..

I'm using a mail() function in php run by apache. The httpd error log reports.

Httpd Error_Log

Code:

Code:

View 5 Replies View Related

Fedora Servers :: Apache Won't Pickup Website

Feb 7, 2010

Apache wont picup my website when i dropped my Site folder in the /var/www/html directory even after starting the Apache service.

View 2 Replies View Related

Fedora Servers :: Apache To Block Old Websites?

Apr 8, 2010

I have got a small queston: I have got several websites and some time ago I decided to delete some of them. As a result there is no virtual hosts on my web server, but if I will go to my_old_website dot ru I will be redirected to one of my current web sites (or if I will paste an ip address in browser), I want to know, how to block this?My virtual host's looks like this now:

Code:
<VirtualHost *:80>
ServerAdmin my_mail

[code]...

View 4 Replies View Related







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