Service port not remapped after stop and start of embedded broker
Hi everybody,
I started testing embedded OpenMQ 4.4 build yesterday and was wondering if it would be suitable for our test cases. I needed to start and stop a broker almost around every test method. So I intuitively used start() and stop() methods for it. Of course test case failed after second test method :) I did some debugging directly in source code and found out that stop() closes server socket in port mapper. When second start() is invoked it determines whether the server socket is bound and in case it isn't, it stops the broker.
But to the point... is it expected not to rebind the port when start is called after stop or is it classified as a bug that needs to be solved? Because if it would be possible to start and stop the broker repeatedly the instance broker can be reused and no init/shutdown needs to be called...
Thanks for an answer.
As I'm sure you know, that's the first promoted build of MQ 4.4 and it will have more testing before the final release.
I would have expected repeated calls to start() and stop() to work, but as you have found, it doesn't, and I can reproduce your error easily.
However it does look as if you can make repeated iterations of the complete init()/start()/stop()/shutdown() cycle, so this might be worth trying as a workaround.
Yes, this is a bug which I have logged internally: we'll investigate before the final 4.4 build.
Thanks for the report,
Nigel
Similar Messages
-
Newbie: Apex & EM how to after stop and start?
Hi I got an Amazon AMI and once I start and stop the instance or rebundle my AMI
The IP changes and Apex and EM does not work.
Is there a documentation on hnow to reconfigure them?It's probably not worth to add all these sequences, local variables, and parallel loops. Here's a somewhat simpler version, showing two possibilities: 0:using events, 1: not using events. Pick one!
There are many other possibilities. It really depends what else there is.
Message Edited by altenbach on 10-15-2007 06:59 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
StartStopMOD.vi 19 KB -
No acceleration after stopping and starting wccp
I acceleration was working fine between my data center and a branch. (I was copying files from my data center PC to a PC at the branch). I wanted to demonstrator how much slower CIFS copies are without acceleration so I stopped wccp on the branch router (no ip wccp 61 redirect-list wae-nme, no ip wccp 62 redirect-list wae-nme). As expected, the CIFS copies then were much slower.
Then I restarted WCCP (ip wccp 61 redirect-list wae-nme, ip wccp 62 redirect-list wae-nme), BUT now the connection from my workstation at the data center to the branch shows up as pass through.
A show stat conn on the branch NME shows other CIFS connections from other branch hosts, but my PC's connection is stuck in pass through. How do I get my PC's connection to accelerate again?
All WAAS devices are on 4.1.7.Tod,
CIFS sessions do a decent job of reconnecting when there is a failure at the transport (TCP) layer. It's likely that WAAS sees that the connection was already established (your ConnType would be PT In Progress). You have to close the CIFS session (net use * /delete) and restart the transfer.
Regards,
Zach -
Stop and Start Essbase 11.1.2.2 services
Hi All
How to stop and start essbase 1.1.2.2 services? Do I just stop and start OPMN service? Or got to start menu and Oracle EPM System and Essbase to stop and start? Will both work?
ThanksYes you can just stop and start the OPMN service, the start menu option will do pretty much the same thing, for more information have a read of http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_1112200/ch12s02s08.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Sound stops and starts with x-fi titanium pci e
I am going nuts with this problem and creative support is not much help atm, so I have been troubleshooting myself. Whats going on is my sound stops, starts, and stutters a lot. It is pretty bad when I play music files but it is absolutely horrible when I watch videos like on CNN or YOU TUBE. It is like a old vinyl record skipping, except when this gets off a stutter, it races to where it should be on the time line. Also my creative console does not work right. I cannot use the equalizer, as the custom, rock, pop music select is greyed out and the box is checked to use the equlaizer. It also disappears when I click on a few tabs, like between speakers, bass, equalizer..then its just gone and I have to click the shortcut again to get it back.
What I have done so far is un-install everything, and do a clean boot, then re-install and I have the same problems. Though I downloaded the creative console beta(2.6.49) and it seemed to have fixed my issues with that. But downloading the new drivers (2.7.8) does not fix the stopping and starting.
Any suggestions?
I should mention I use klipsitch speakers..2.1, I don't have surround sound anymore.
Customer service had me run a registry cleaner and use it to uninstall everything creative. I used CCleaner, then used direct links to download drivers...again...(2.7.8) and a creative console(2.6.35)..guess what? It didn't work, same problems, though I downloaded and re-installed the beta for the creative console(2.6.49) and now it works fine. I also did all this under a clean boot..again.Check if "Play Stereo Mix using Digital Output" is checked in the Console launcher in Settings/Digital IO.
-
Task created to stop and start Health service not working.
We have multiple servers being grayed out so we created a task to stop and start the health service on SCOM 2007 R2. We have created two tasks one to stop and another task to start. The STOP task works but the START tasks keeps running but there is no result
as well as when i check in Services.msc it is still stopped. Below are the screen shots .
Task created to STOP the health service which is running.
Screen shot of service start task creation which is NOT working
The same was created for another service windows audio. Which worked for both stop and stop (Created separate tasks).
We also tried the recycle health service and chche which is also failing.
Can any one please help. The issue is on both SCOM 2007R2 and 2012 R2 both. Is there any other way to touch the health service.
We are facing the issue only with Healthservice.Hi All,
Thank you for all your answers.
@ dktoa -
You are right we have to concentrate on the servers to determine why do they go grey (all in one site). But before we do that i felt i find a temporary solution. Then go deep investigation to solve the issue.
@Yan LI: As per the likn provided above you. I overrided the servers but still the health services were not starting or restarting. When i created a custom group and added the servers to that group in that site and then enabled the override on Restart
Health Service for a specific group and pointed towards that group then it worked.
Thanks All. -
Srvctl on 11.2.0.3 does not stop and start listeners
I recently installed the Grid software under the "grid" user on RH5. Clusterware and ASM run under GRID_HOME, the single instance database runs under ORACLE_HOME. I have created 2 listeners on non-default ports (manually using entried in listener.ora) and then added to srvctl (srvctl add listerner -l LISTENER_XPT -o /app/oracle/product/dhome_1 -p "TCP:1523" -- in ORACLE_HOME.
When stopping the listener using:
oracle@#####>srvctl stop listener -l LISTENER_XPT -- note starting with oracle user in ORACLE_HOME. Below is from "/app/grid/product/11.2.0/grid/log/server_name/agent/ohasd/oraagent_grid/oraagent_grid.log
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) TNS-00511: No listener
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) Linux Error: 111: Connection refused
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:)Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check]
**********FROM TAILING THE listener LOG ****************************
TNS-01190: The user is not authorized to execute the requested listener command
12-JUN-2012 12:44:12 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=10.5.87.5)(PORT=1523)(IP=FIRST))"
12-JUN-2012 12:50:02 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
TNS-01190: The user is not authorized to execute the requested listener command
12-JUN-2012 15:12:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_ADMIN)(VERSION=186647296)) * status * 0
12-JUN-2012 15:12:58 * version * 0
12-JUN-2012 15:12:58 * service_register * LsnrAgt * 1195
TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=********)(PORT=1524)(IP=FIRST))"
12-JUN-2012 15:12:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=********)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
12-JUN-2012 15:13:05 * (CONNECT_DATA=(SID=PRDRAC01)(CID=(PROGRAM=perl)(HOST=********)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=*******)(PORT=41398)) * establish * PRDRAC01 * 0
Why wouldnt the Oracle user not be able to start/stop a resource from ORACLE_HOME ? Any assistance would be helpfulI just removed the listener out of the ORACLE_HOME and added it using srvctl to the GRID_HOME. Now I am able to stop and start.
Still the question, why cant oracle user start an oracle_home managed resource. But the oracle user could start and stop using lsnrctl stop/start
Below if the results from ps (note I just started listener from GRID_HOME):
grid@PRODBLD:+ASM>ps -ef |grep lsnr
grid 9114 1 0 09:40 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER_ADMIN -inherit
grid 10348 1 0 Jun12 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
grid 20234 21990 0 09:49 pts/2 00:00:00 grep lsnr
oracle 29926 1 0 Jun12 ? 00:00:00 /app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER_XPT -inherit -
Hi All,
We are stopping and starting the services for daily backup. Is it advisable to stop and start services.
Because client wants to stop the services before taking the backup anf start the services after backup.
In this scenario, what services do we need to stop for backup process.
Regards,
KumarHi Saichand,
Thanks for the response.
Do u have any idea on the below:
Our scenario is the below:
We have a daily back of BI folders and Loading data from ERP to 10g database.
We logged in with remote desktop user A from ABC system to BI system and We created a batch file to start and stop all the BI the services and scheduled this batch file using windows schedule tasks. These batch files will stop the BI services and after 30 minutes another batch file will load data into the database, after 2 hours start services batch file will start the BI services.
When we open the BI Dashboards in the morning, all the dashboards and reports are working fine. But when I login to BI system, OC4J windows is not visible and dashboards are not coming and when we check the logs, LOGs says OC4J is running.
Please suggest us the solution.
Regards,
Kumar
Regards,
Kumar
Edited by: user597882 on Aug 26, 2010 3:35 AM -
DVD will not stop and start in a Menue Mode
Hello I am using DVD Studio Pro 4 for a school project and i am looking for some help with this problem.
The DVD i have created plays and stops when i am watching one of my video tracks, i just can not start the DVD when i am previewing in any menue after i stop it.
I have created my DVD with 16 menus and 2 video tracks. It burns and plays back fine but i can not stop and start the DVD when i am in a menu mode. The DVD will stop and play when i stop the DVD playing video from one of my video tracks but when i am in menu i push stop on my DVD controller and the DVD will not start back up. The DVD will look like it wants to play but it will not play. I have to open the DVD player tray open in order for it to start the DVD again.
The DVD is a NTSC, SD, single layered 2.9GB
Any help would be much appreciated, Thanks.
Mike
PowerBook G4 15 1.25 ghz Mac OS X (10.3.9)If only five months old it is still under warranty. Take it back.
-
I upgraded to 4 and I noticed that after 4 has been up for an hour or so I click on the bookmarks. I see my list of bookmarks below but when I move the cursor down to select one, the list disappears.
The only way I have found to fix this is to stop and start 4. I can then move the cursor down to select a bookmark. This problem has not occurred in previous versions.
ps.. no '''''delicious''''' installedNo, I see the three areas at the bottom of the Bookmark area that you refer to, but that also highlights an issue. When I want to save a story to my Reading List and click on Share then "Add to Reading List" then go back to look at what is stored in the Reading List, my recently-saved item is not there.
I looked thru the History tab and the Reading List tab and have been in the Bookmark tab. But even when I Save a Bookmark, that newly-saved Bookmark does not show up in the Bookmark area.
But then again, the next day (and actually just in the last half-hour) all of the functionality came back. When I look at the Bookmarks, suddenly, again, all of the Bookmarks that are on my Safari browser on my iMac are now there, and I can now Save a Bookmark.
It keeps coming in and out and that is what is driving me a little nuts.
Thanks. -
How to Stop and Start Scheduler Service
Does anyone know how to stop and start the Scheduler service for Hyperion Financial Reporting in release 9.3.1?
please see the metalink note
How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
This is how i startup and shutdown WMA
for stopping :
1) login to Applications tier
2) To see if the MWA (telnet) server is running use:
ps -ef|grep DPID
3) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
4) check the wma process from OS level
ps -ef|grep mwa
for starting
1) login to Applications tier
2) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
4) check the wma process from OS level
ps -ef|grep mwa -
My audio stops outputting after a few songs in a playlist - itunes says its still playing, stopping and starting track recommences audio output. Mac book Pro Lion 16gb ram. Can be any song, any time, same song will play if I select it again. Bit of a bummer itunes is the main thing I use (macbook pro jukebox).
Most likely culprit is your Lacie drives which are notorious for flaky power supplies which cause just the sort of erratic behaviour that you describe. Have had similar issues myself. Lacie has been good about replacing my power converter-- twice. If you have seven of them, good luck finding the bad one or more. Like I said, the behaviour is erratic. Sometimes it'll work sometimes not. I can't comment on Samsung drives because I've never used them and have never heard anything about them. Same with Softraid. Why not just use Disk Utility. Sounds like you're ready for an external hardware raid. This will be much faster, much more reliable, and may even be cheaper than seven firewire drives. Check out G Tech, and Maxx Digital for starters.
Best of luck
Terry -
I like to go to abc or cbs pbs etc. and watch their videos but they do
not run all the way thru. They stop and start and stop and start and
freeze and start and quit.If there are problems with updating then best is to download the full version and uninstall the currently installed version.
Download a fresh Firefox copy and save the file to the desktop.
* Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Uninstall your current Firefox version.
* Do not remove personal data when you uninstall the current version.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
* Help > Troubleshooting Information > Profile Directory: Open Containing Folder
* http://kb.mozillazine.org/Profile_folder_-_Firefox
* http://kb.mozillazine.org/sessionstore.js
If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
See:
* http://kb.mozillazine.org/Session_Restore
Some have reported that increasing the session store saving interval worked for them.<br />
See:
* http://kb.mozillazine.org/browser.sessionstore.interval
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
You can use the Filter bar at to top of the about:config page to locate a pref more easily. -
Order of stop and start of reporting services
Hi All,
I am using 11.1.1.3 version in my laptop,i want know the correct order of stop and start the services,please help me on this.
Thanks
HypuserThe full order list can be found at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch05s02.html
Cheers
John
http://john-goodwin.blogspot.com/ -
How may I automatically stop and start Mail services at a set time please
Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
Cheers, David ( a realy newbie when it comes to administering OS X server)launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
/Library/LaunchDaemons/local.postfix.stop.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.postfix.stop</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/serveradmin</string>
<string>stop</string>
<string>mail</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
<key>Minute</key>
<integer>00</integer>
</dict>
</dict>
</plist>
and /Library/LaunchDaemons/local.postfix.start.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.postfix.start</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/serveradmin</string>
<string>start</string>
<string>mail</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>4</integer>
<key>Minute</key>
<integer>00</integer>
</dict>
</dict>
</plist>
You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down?
Maybe you are looking for
-
HELLO EXPERTS, I am looking of the standard workflows for the following workflows in respective modules.. Please look into it and please help. Module : ISU Work Flows - Outgoing Payment Work Flows - Disconnection upon customer request Work Flows - Re
-
USERS tablespace keeps expanding even after deletions.
I am using version 9.0.4.0.0 of CMSDK with a 10.1.0.3.0 database. Whenever I store files on the tablespace and remove them afterwards the tablespace does not seem to be cleaned. I have checked the logs for activiations of the agents (which I set at 1
-
what are the various transformations supported in ODI?
-
What Windows 8 Should i Buy for Bootcamp?
I do not have a windows OS of any kind installed on my mac. I would like to get windows 8 for my mac from amazon.co.uk . Windows 8 Pro, Upgrade Edition [Upgrade from Windows XP, Windows Vista, Windows 7] (PC)- this is the main one that pops up but it
-
Addressbook sorts coporate on first name
Hi, In UWC, coporate members found through the addressbook search are not sorted by their Lastname, but by their Firstname. This is quite annoying when you have a long list and you try to find somebody you most probably only know by Lastname. Test: u