Hi
am a newbie to mongrel. am using mongrel cluster in my ruby application.
When i start mongrel cluster it is working fine and when i stop it it
says already stopped port 8000.
it is giving the error as follows
********* simple selection ********* ********* selection by list
*********
-A all processes -C by command name
-N negate selection -G by real group ID (supports
names)
-a all w/ tty except session leaders -U by real user ID (supports
names)
-d all except session leaders -g by session leader OR by group
name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g all, even group leaders! -u by effective user ID (supports
names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options
***********
-o,o user-defined -f full --Group --User --pid --cols
-j,j job control s signal --group --user --sid --rows
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
X registers --heading --no-heading
********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m show threads S children in sum -y change -l format
-n,N set namelist file c true command name n numeric WCHAN,UID
-w,w wide output e show environment -H process heirarchy
already stopped port 8001
it is not taking the process ids from the pid file.
Please help me to solve this problem
on 12.06.2008 16:58
on 12.06.2008 17:06
When "mongrel_rails cluster::start" is run but does NOT actually succesfully start up your mongrels, it doesn't neccesarily give you any error messages. Is what I have noticed. I have had cluster::start fail but not give me any error messages. So if cluster::stop is telling you "already stopped", I think that means that you never succesfully started it in the first place, you just didn't realize it. So now the real question is, Why didn't it succesfully start in the first place, and how do you figure that out? That's the trick, I'm not sure. Jonathan Sankar Ganesh wrote: > ********* > g all, even group leaders! -u by effective user ID (supports > ********* misc options ********* > -- Jonathan Rochkind Digital Services Software Engineer The Sheridan Libraries Johns Hopkins University 410.516.8886 rochkind (at) jhu.edu
on 14.06.2008 09:45
Jonathan Rochkind wrote: > When "mongrel_rails cluster::start" is run but does NOT actually > succesfully start up your mongrels, it doesn't neccesarily give you any > error messages. Is what I have noticed. I have had cluster::start fail > but not give me any error messages. > > So if cluster::stop is telling you "already stopped", I think that means > that you never succesfully started it in the first place, you just > didn't realize it. > > So now the real question is, Why didn't it succesfully start in the > first place, and how do you figure that out? That's the trick, I'm not > sure. > > Jonathan how to find out the errors? but it is not showing any error when it is starting.
on 23.10.2008 10:54
Mongrel clusters are processes running with determined PID's , so if the server cluster is running the pid is available, you can check this using the grep method, for mongrel or else use the mongrel_rails cluster::stop || mongrel_rails cluster::restart. still if you face problems may be you must contact zedshaw@zedshaw.com