Fedora :: Run Apache-tomcat5.5.29 On Fedora9 But Sometimes Its Working And Sometimes Not?

Jun 11, 2010

I am trying to run apache-tomcat5.5.29 on fedora9 but sometimes its working and sometimes not.Error messages are: 1.could not connect to the server running at 8080(message is at browser) 2.port is not free(again at browser)then I tried to change the port no. of tomcat in server.xml but still it is not working. But sometimes it again starts running without any modification.

View 3 Replies


ADVERTISEMENT

Software :: Installed Tomcat5 With Yum But Not Working?

Mar 12, 2010

just installed tomcat5 with yum in CentOS 5.4. tomcat5 service is starting fine but it's no listenin gon port 8080. No errors in log tomcat logs.

View 1 Replies View Related

Fedora :: What The Packages Needed To Install Tomcat5 Core Using Yum

May 10, 2011

Code:

yum search tomcat5
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_GB to language list
Matched: tomcat5
jakarta-commons-collections-tomcat5.i686 : Jakarta Commons Collection dependency
: for Tomcat5
struts-webapps-tomcat5.i686 : Sample struts webapps for tomcat5
tomcat5-jasper-javadoc.noarch : Javadoc generated documentation for

[Code]...

From the above what are the packages which should be installed to to get tomcat5 core installed?

View 1 Replies View Related

General :: Configuring A DNS Server On The Fedora9?

Feb 25, 2010

I have installed Fedora 9,together with the DNS server.I tried to configure the /etc/named.conf and created my zone files in the /var/named directory.But its giving me errors that it cant find mydomain�s zone files.

How do I go about,or can u assist me with the full steps on configuring a DNS server on the Fedora9

View 1 Replies View Related

Software :: OpenMoko Not Running Through QEMU In Fedora9

Nov 17, 2008

I've trying to run openmoko thru qemu, i went thru the tutorial given at openmoko home page and did install and other things as given there and when i start the qemu, the emulator brings up a GUI which shows "openmoko" logo and then asks to select 1 out of 4 option[the options are like boot-up, enable some usb devices ,one more i dont remember the name, boot off] when i select boot-up i shows a new console and that shows some 4/5 lines os something[it just vanishes in less than a sec and show something like "checksum " blah blah blah] and then it again goes back to the same startup page and displays those 4 boot options. i tried the other options too but it never worked, not able to come up with any coclusion why this occurs. Has anyone faced this kind of problem ? Please help me out fix this problem as google dint help much. BTW i'm running Fedora9 2.6.26 kernel and qemu-0.9.1-6.fc9.

View 2 Replies View Related

General :: Configure PHP5 To Run On Tomcat5?

Jun 17, 2010

I have a customer whose's webapps are all running under Tomcat5 on a CentOS 5 installation. They have requested to have PHP installed as they want to be able to deliver content in that form as well. I've installed PHP 5.2.13 using yum but I don't know how to configure it run under Tomcat. Does anyone know the best way to accomplish this?

View 1 Replies View Related

Server :: Tomcat5 Hangs Redhat 5.5

Apr 11, 2011

I'm running SpaceWalker which executes this perl script

PHP Code:

echo "Waiting for tomcat to be ready ..."
while [ -f "/var/run/$TOMCAT.pid" ] ; do
/usr/sbin/lsof -t -i TCP:8009 -p $(cat /var/run/$TOMCAT.pid) > /dev/null && break
sleep 1

[Code].....

View 1 Replies View Related

Software :: [RHEL5/CentOS5 ] Why Config File In /etc/sysconfig/tomcat5

Aug 4, 2010

On RHEL5/CentOS5:Can someone please enlighten me, why there is a /etc/tomcat5/tomcat5.conf that gets ignored and a /etc/sysconfig/tomcat5.conf?This always puzzles me and I really want to understand, why there are two config files in place...

View 1 Replies View Related

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies View Related

Server :: SSL Not Working With Apache

May 6, 2009

I've been trying to enable SSL in a Apache+Debian server. I already enable the ssl module, I added the 443 port in the ports.conf and I added a virtual host for the 443 port, as follows.

NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName www2.domain.com
DocumentRoot /var/www/

ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>

The certificate is installed also. After I restart Apache, the error log don't show anything unusual. The only showed is this: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations. Still, I can't open any pages with https protocol, only with http.

View 14 Replies View Related

Ubuntu :: PHP Is Not Working After Apache Update?

Jan 17, 2010

When I go to localhost, and try to open any PHP file, it asks me to download the file rather than run it like it should. JSP doesn't appear to be working either. I'm not to concerned about the JSP though.

I'm running KUbuntu 8.04 with KDE 3 on a 64bit machine.

View 9 Replies View Related

Server :: How To Get PHP5 Working On Apache 2.2.13

Jan 1, 2010

I am trying to get PHP5 working on Apache 2.2.13. When loading the PHP file in the web browser, the server does not appear to be passing the php off to the interpreter.Instead, the browser just treats the first command as an HTML comment and displays the rest to the user.

Relevant lines from httpd.conf:
LoadModule php5_module lib64/httpd/modules/libphp5.so
AddType text/html .php
#AddType application/x-httpd-php .php
AddHandler php-script .php

The second AddType is commented out because it causes Firefox to try to download the php instead of displaying it.

Output from httpd -M:
Loaded Modules:
core_module (static)

[code]....

Does it sound correct to think that there is some type of disconnect between Apache and the PHP interpreter?

View 1 Replies View Related

OpenSUSE Network :: Apache - MPM Worker Not Working

Mar 28, 2010

I desperately need to get my apache server on OPenSuse to use the worker MPM I have tried simply placing worker in the quotes of the apache file /etc/sysconfig/apache2 but when I stop and start apache in the task monitor it is still showing the httpd2 processes to be prefork. Also there seems to be a problem on restart saying it cant find MPM.

View 9 Replies View Related

Ubuntu Servers :: Apache Only Working With Port 80?

Jan 20, 2010

I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canï open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.

View 2 Replies View Related

Ubuntu :: Apache And VHost Not Working After Upgrade

Jun 25, 2010

After Ubuntu autoupgraded my Apache, some VHosts are nor working anymore and PHP Code is not oarsed any longer. I think the apache2.conf was overwritten. I do not have a clue how ti fix that, I tried some things but now I am stuck. I have only three hosts: the default, an svn (over port 443) and one called "imcar" which has PHP scripts to be parsed.

So, in my apache2.conf I have this:
Code:
DocumentRoot /var/www
ServerName localhost

The imcar host is set up like this:
Code:
<VirtualHost *:80>
ServerName imcar
ServerAdmin webmaster@imcar
DocumentRoot /var/www/imcar

<Directory /var/www/imcar>
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
allow from all
</Directory>

ErrorLog /var/log/apache2/imcar-error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>

If I go to imcar in the browser, the default DocumentRoot is shown. If I remove the default DocumentRoot, I get a 404 on imcar.

View 8 Replies View Related

Ubuntu Networking :: Getting Apache And Php Working On Natty?

May 18, 2011

I want to try and get apache and php working on Natty. I have got apache displaying an index page but when i try to show a php file firefox just asks me if I want to save the file and doesn't display the file in the browser.I installed using some info from websites to install al LAMP Server which seems to have finished ok.I have tried using php from the command line to see what happens and it seems the html is being generated ok.

View 1 Replies View Related

Ubuntu Servers :: Apache Mod_rewrite Not Working?

Jun 27, 2011

I have mod_rewrite and mod_proxy loaded properly for the apache2 package in 11.04. I added the following to the bottom of my apache2.conf:

RewriteEngine: On
RewriteRule: ^/$ /test [L]

The server restarts fine, but / is not getting rewritten in the slightest. And when I added the RewriteLog directive, the log file had absolutely nothing in it.

View 3 Replies View Related

General :: Apache Website Not Working / Solution For This?

Jan 22, 2010

I have a LAMP server configured. Yesterday, I had a test.php file displaying everything fine. I transferred some files over to the new server and now I can't connect to the test page, webmin, or phpmyadmin. I think it has something to do with Apache but Im not sure what to do next. I have restarted Apache, MySql and all services are running.

View 3 Replies View Related

General :: Syslog - Access Log Of Apache Not Working

Aug 11, 2011

I am running a syslogd on my ubuntu 10.10 system. I have a apache2 server on the same machine. I have configured my apache2.conf file to send the error logs to the local syslog server.

The config is as under :-
LogLevel notice
ErrorLog syslog:local1

I have also configured the /etc/syslog.conf as under :-
local1.info /var/log/apache2/error_logs

I have created a file in the /var/log/apache2 dir with the ownerships and permissions as under:-
-rwxrwxrwx 1 syslog adm 77 2011-08-11 18:14 /var/log/apache2/error_logs

Next I restarted the sysklogd and apache2 servers with a service command as under:-
sudo service sysklogd restart
sudo service apache2 restart

I thereafter observed the /var/log/apache2/error_logs file and found the entries for apache2 closing down and coming up as under:-
Aug 11 18:14:14 cc apache2[4940]: [notice] caught SIGTERM, shutting down
Aug 11 18:14:19 cc apache2[5282]: [notice] ModSecurity for Apache/2.5.12 [URL] configured.
Aug 11 18:14:19 cc apache2[5282]: [notice] Original server signature: Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o
Aug 11 18:14:20 cc apache2[5285]: [notice] Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o Microsoft-IIS/5.0 configured -- resuming normal operations

Now the problem is I donot get any other messages thereafter. So it is hardly useful. How can I increase the logged messages from apache. I tried the facility:
local1.*

Then restarted the sysklogd and apache2, but the contents of the /var/log/error_logs file remained similar. Next, I followed the link. I created the perl script for recording access logs of apache2. I then restarted the apache2 and sysklogd. when I opened my website from a browser, the access log did not work. I think I am getting something wrong with the facility value , in apache2.conf it is ErrorLog syslog:local1 ! but the script is suggesting that it should be local2 in the line 4
openlog('apache','cons','pid','local2');
I therefore changed the script to local1 in above line. But still no access log?

View 2 Replies View Related

Server :: Add A Second Vhost To Once Working Apache Config

Mar 17, 2011

I am trying to add a second vhost to my once working apache config. Now I have things really bollixed up and cannot access anything. I am getting a error 400. The access log shows this:

192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951
192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951 "-" "-"

I have a default (I think) httpd.conf file and put all my config stuff in files in vhosts.d. I have 3 files there:

[Code]...

View 14 Replies View Related

Server :: Redirect Rule On Apache - Not Working

Jul 16, 2009

I'm trying to make a redirect rule on my .htaccess but it's not working as planned.

Quote:

The first rule works fine, but on the second rule i do have a problem.

When I type http://domain.com/?tempskin=_rss2 the redirect does not work, but if I change the ? to any other character or even group of characters, the redirect works fine. example:

[url] will be redirected to [url]

But i do need to redirect the ?tempskin=_rss2. I already tried some variations on the redirect rule without any success.

View 1 Replies View Related

CentOS 5 Server :: Apache-Tomcat Not Working?

Feb 5, 2009

I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.

-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host: Connection refused

Here I'[m stuck i don't understand how do i make the localhost work.

-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.

-->I've tried adding the port and its name in /etc/services file but still its not working.

-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:

...
...

telnet on.what should i do to get my tomcat server work properly.

View 2 Replies View Related

CentOS 5 Server :: MySQL Not Working From Apache?

May 25, 2009

I run mysqld on another server. I just switched to another dedicated server now, and i'm having trouble connecting to the mysqld server. If i run the php script from the bash console( php connect.php ) it works perfectly and connects to the mysqld server. However, if i run the script from apache ( http://localhost/connect.php ) it returns this: Can't connect to MySQL server on '(mysqld real ip)' (13) Mysql connection from another server(old httpd server) works perfectly, so it's not from the database server.

View 4 Replies View Related

CentOS 5 :: Updates Installed - Now Apache Not Working

Apr 15, 2011

The other day there were a number of updated needed on my server which I installed with yum (the software updater GUI). Now my websites are not coming up even on the server using http://localhost

I reviewed the info and found that httpd was updated to 2.2.3-45 and am suspecting that this is the cause of the issue. So my silly little question is how do I roll back this update?

View 4 Replies View Related

Debian Configuration :: Apache Working But No Outside Access / Sort It?

May 23, 2011

Having some memory loss i think (in my head not my pc). I have set up apache before , then changed to dsl in the last week and cant seem to get this new modem/router to work. i can get the loopback address to work, as well as the network ip. can NOT get my other machines to hit the server on the network .
also no connection from outside the network from port 80. my modem is a motorola (att) ,apache2 on my toshiba laptop, amd x2, 3gigs ram.

View 9 Replies View Related

Debian Configuration :: Apache Is Working - Can't Read Php Files

Aug 28, 2011

This is what writes when I enter localhost in browser and press Enter.

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

http://localhost/~david/baby.php

Not Found

The requested URL /~david/baby.php was not found on this server.

Apache/2.2.19 (Debian) Server at localhost Port 80

So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :

Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do

View 8 Replies View Related

OpenSUSE Network :: Apache Vhosts Not Working Correctly

May 19, 2011

I have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.

View 2 Replies View Related

Ubuntu :: Web Server Not Working - Running Apache And Mysql

Apr 16, 2010

i have apache and mysql running, i can access my web server by visiting localhost on port 80 but for some reason when it doesnt work when i try using my ISP provided IP address... (it used to work).. i have my router setup with a DMZ on my LAN IP (my computers IP, this is the computer in my home network that serving with apache).. i also cant seem to shut down my mysql server (theres an update ive been trying to get) even when i use sudo...

View 5 Replies View Related

Ubuntu Servers :: Apache Not Working On Alternate Port?

May 31, 2010

I have tried setting apache up on port 8000, because my ISP blocks port 80.

When I try to listen on just port 8000, I can never connect, internally or externally. When I try to listen on both 8000 and 80, my internal computers will drop the 8000 from the url and connect on 80, and external computers try to do the same thing, but can't get through on port 80.

I know my router is set up correctly, I have 80, 8000, and 8888 all being forwarded, I have confirmed with [URL] that 80 is blocked, but 8000 and 8888 are open. I am able to connect to gnump3d through port 8888 internally and externally, but not apache2 on port 8000.

netstat -tnap confirms that apache is running and listening on ports 80 and 8000 to all users.

View 9 Replies View Related

Ubuntu Servers :: Apache Directory Browsing Not Working?

Jul 19, 2010

I had directory browsing enabled in Apache on a previous computer, but I can't get it working again:heres my apache2.conf

Code:
#
#Based upon the NCSA server configuration files originally by Rob McCool.

[code].....

View 6 Replies View Related







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