Does anyone know if there is a command line to restart correctly the WPE service on MacOS X Server ?
I have been looking at the FTS but with no success...
Thanks in advance for your help.
I believe this command may help you.
$ fmsadmin restart cwp
$ fmsadmin restart wpc
These are not in help but it work fine.
You can use start/stop options as well.
Koji Takeuchi <firstname.lastname@example.org>
FileMaker 7-11 Certified Developer, Authorized Trainer
FM-Tokyo | Knockin' on Seven's Door
www.filemaker.gr.jp | www.sevensdoor.com
Hi (Insert Name Here),
I do think it is possible but can't find it in my notes nor in the HELP for fmsadmin.
I think you should try:
mac:~ mac$ fmsadmin Web Publishing STOP
I've pasted the Terminal command list below
Also see "Command line reference" in FileMaker Server Help:
Copyright (c) 2004-2007 FileMaker, Inc. All rights reserved.
mac:~ mac$ fmsadmin HELP COMMANDS
fmsadmin commands are:
BACKUP Back up databases
CLOSE Close databases
DISABLE Disable schedules
DISCONNECT Disconnect a client
ENABLE Enable schedules
HELP Get help pages
LIST List clients, files, plug-ins, or schedules
OPEN Open databases
PAUSE Temporarily stop database access
RESUME Make paused databases available
RUN Run a schedule
SEND Send a message
START Start the Database Server
STATUS Get status of clients or files
STOP Stop the Database Server
Thank you Lyndsay,
We are aware of the "fmsadmin help commands" and use them a lot, we also had read the "command line reference".
The Stop command can only apply to the "Adminserver" or to the "Server" but not to the WebServer...
My question was to find a "FileMaker Supported way" to cleanly restart only the WPE without killing a process or so.
The FileMaker Server having issues with the stack for the WPE AND the fmsadmin command lines, it seems a heavily loaded server should have those two services restarted from time to time. This is why we look for such a line.
That's why I suggested this format:
I've seen something like this... and I know I tried it. You just have to find the right name for the process.
It is not the webServer because that is Apache...
It is either web publishing or web publishing engine that I recall (poorly). If I can find the document I clipped from, I will post it... (I must put all my terminal commands in a database ;-)
Hi 5203319617FTN (sorry, you didn't include your signature or name, or I'd greet you by name):
The only thing I could find was for an old version of FM Server. The command to use was:
sudo SystemStarter restart "FileMaker Web Publishing"
I don't know if that will work today or not.
Pacific Data Management, Inc.
FileMaker Certified Developer
Phone: (408) 283-5900 x303
As a matter of fact, we ended up noticing that you can type whatever you want like :
$ fmsadmin restart NON_EXISTING_SERVICE
The console does ask you wether you want to restart NON_EXISTING_SERVICE, and then, does not throw any error...
But I tested your first command. It worked well. Thanks a lot.
How did you find that command ? it is indeed not documented anywhere I know of (FTS, guides...).
We have tested the command line, but it seems it is NOT working properly on a lot of occasions...
That would be great to have a feedback from FileMaker's techies.
On a newly installed MacOS server, when throwing :
Most of the time, we get a "stop" behaviour, sometimes an error 10007, but the service never come back up automatically.
(fyi the behavior is normal when we stop and start the web publication via the Java Admin Console).
Sometimes a :
$ fmsadmin start cwp
works afterwards, but, sometimes, it gives an error 10006...
The weirdest is when we throw a "stop" command, on the main page of the "Admin Console" the "Web publishing engine goes red (as expected) but :
- the IWP, XML and XSLT are still reported as ON
- the CWP access still works when tested from a remote machine...
On which version have you tried?
cwp and wpe option work only on FMS 11.
We tried on a FMS11 Advanced (updated to the last version) newly installed on a newly installed Mac OS X Server 10.6
For you, both
$fmsadmin restart cwp
$fmsadmin restart wpe
worked correctly on this version ?
Retrieving data ...