04-26-2005
running apache on unix
Hi,
I am running an application on apache/tomcat under unix.
It was working fine until I stopped both tomcat and apache and restarted both.
Now I am getting 404 not found error.
Is there something here that I am missing.
Any help will be appreciatd.
Thx
Karthik
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to figure out what version of Apache I have. Any suggestions???
Thanks in advance. (1 Reply)
Discussion started by: shorty
1 Replies
2. Shell Programming and Scripting
I have a shell script, that works when ran in the shell. When placed in the cgi-bin directory, it doesn't work as expected.
Looking at the logs, it seems that some environmental variables are not being passed.
My apache user is www.
For simplicity, here is a sample script I want to run
... (2 Replies)
Discussion started by: streetfighter2
2 Replies
3. Web Development
Hi, I have a PHP application that starts a couple of processes on the server...the problem is that if I restart apache those running apps will die.
How can I start them in a way that they are not killed when I restart/stop apache ?
$cmdstr = "nohup ".$config."/".$config."... (6 Replies)
Discussion started by: valiadi
6 Replies
4. Shell Programming and Scripting
I have posted this on the Web subforum but it seems that nobody knows to do this, maybe someone has a solution here. Thank you
I have a PHP application that starts a couple of processes on the server...the problem is that if I restart apache those running apps will die.
How can I start them... (1 Reply)
Discussion started by: valiadi
1 Replies
5. Solaris
Hi Guys & Gals....
First of all thanks for the help with your previous postings a lot of questions answered without having to post one myself
However, here is my first post.
I've just done a fresh install of Solaris 10 and upgraded the version of Apache via the impatient version of... (2 Replies)
Discussion started by: fjt1973
2 Replies
6. Shell Programming and Scripting
Hi,
I have a problem with running out of memory in my Ubuntu web server (4GB RAM) because many people try to access my server.
I used to restart manually my apache server to clear out the memory & swap.
Can anyone tell me how to write bash script that can automatically restart apache when... (2 Replies)
Discussion started by: nica
2 Replies
7. Red Hat
Hi all
I'm using the following for my os
# cat /etc/redhat-release
CentOS release 6.4 (Final)
when I execute the following
# ls -lrth /etc/init.d/httpd
-rwxr-xr-x. 1 root root 3.3K Feb 22 19:20 /etc/init.d/httpd
# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error... (1 Reply)
Discussion started by: jediwannabe
1 Replies
8. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
starting(7) Miscellaneous Information Manual starting(7)
NAME
starting - event signalling that a job is starting
SYNOPSIS
starting JOB=JOB INSTANCE=INSTANCE [ENV]...
DESCRIPTION
The starting event is generated by the Upstart init(8) daemon when a new instance of a job begins starting. The JOB environment variable
contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs.
init(8) will wait for all services started by this event to be running, all tasks started by this event to have finished and all jobs
stopped by this event to be stopped before allowing the job to continue starting.
This allows jobs to effectively insert themselves as dependencies of other jobs. The event is typically combined with the stopped(7) event
by services.
Job configuration files may use the export stanza to export environment variables from their own environment into the starting event. See
init(5) for more details.
EXAMPLE
A service that wishes to be running whenever another service would be running, started before and stopped after it, might use:
start on starting apache
stop on stopped apache
A task that must be run before another task or service is started might use:
start on starting postgresql
SEE ALSO
started(7) stopping(7) stopped(7) init(5)
Upstart 2009-07-09 starting(7)