Australian Media Center Community: Service Won't Start - Australian Media Center Community

Jump to content


Welcome to the Australian Media Center Community

You are currently viewing our support forum as a guest - you'll need to register in order to participate in our community and make this annoying message disappear!

Registration is fast, simple and absolutely free - so why not join our community today and register now. If you experience any problems with the registration process, please send a message to Mike

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

MCEBuddy 2.x Bug Reports
Service Won't Start version 2.19 and 2.20

#1 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 17 February 2012 - 08:26 PM

first time install of mcebuddy. 64 bit machine. loaded 2.19, and install completed with no errors. gui loads and says to start service. used service manager to start the service. the service does not start. uninstalled, deleted directory and tried 2.20 version with same results. uninstalled/deleted again and tried 32 bit version of 2.20. same results. looking at the log file in each case only shows one line (core) nothing after that. changed config files to point at empty directories just to be sure it is not a bad file. winwdows logs have no information on mcebuddy

Any suggestions?
0

#2 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 17 February 2012 - 10:29 PM

please don't use 2.0.19 only use 2.0.20 or higher.

Here's what I think is going on and how to fix it:
please uninstall MCEbuddy completely.

Find Command Prompt or CMD in your start/programs/accessories. THIS IS IMPORTANT - right click on it and click on start as administrator.

When the command prompt opens type this:
sc delete MCEBuddy

this should say service deleted.
Now delete the program file\mcebuddy folder

now install 2.0.20 or higher version of MCEBuddy (64 bit is safe, download the latest version from sourceforge.net) - link given in my signature.

Ramit
0

#3 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 19 February 2012 - 04:41 PM

completed uninstall. ran sc (from cmd prompt in admin mode). it failed because the service was not installed. verified service was not in service manager. installed beta 20 x64, and same issue. service begins to start and then quits. only one line is included in the mcebuddy just like before. any other suggestions? any prerequsites that might not be instLled by the setup program?
0

#4 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 19 February 2012 - 07:44 PM

Hmm. Are you able to start the service manually? (i.e. is this just an installation issue?).

I did find one bug in the shutdown code of MCEBuddy that can cause the service to crash. I've fixed that in the upcoming release 2.1 Release 2 later next week. Unfortunatley there is no workaround for that with beta 20. I've put some debug messages as well in the windows logs for the next release to ensure we can track issues.

But that bug is a very extreme case. You seem to have a systemic issue. Can you tell me what version of windows are you using? Do you have access to another computer you can install the 32 bit version and try it?
0

#5 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 20 February 2012 - 06:35 PM

Thanks for the follow-up. I will see if i can make it run on another windows 7 machine, but all of mine are 64 bit. The only thing that I can think of that may be different from your standard configuration is that I have dual NIC cards on two seperate networks. Have seen this cause a few issues with a few applications that use networking for streaming and such, but I didn't think that would be an issue for MCEBUDDY. I have tried restarting the service manually using the Services.msc control. Same issue. Interesting to me that your log only contains the first entry (so something must crash early in the startup), and Windows only logs that the service stopped. If you have anything else for me to try, I will including a debug version. I have never used MCEBUDDY before, and I am looking forward to using the functionality.
0

#6 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 20 February 2012 - 10:29 PM

Sorry to hear you're having trouble. 64bit work just fine, I've got a 64 bit machine with 2 nic cards also. no issues. I'm guessing there's something else going on, either a remenant or a some other program is interfering.

Unfortunatley beta 20 has no debug code or event log messages.

I will be release 2.1 tomorrow, which is a lot more refined and stable than beta 20 and it has loads of debug messages to help debug issues. Maybe you can wait till then and try it, thought I would highly encourage a another machine to check it out.

Worst case scenario, I'll build a debug version for you specifically to trouble shoot if Release 2.1 doesn't work.
0

#7 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 20 February 2012 - 10:47 PM

Sounds Great, I will wait until the 21 version is released and I will let you know what happens. Thanks!
0

#8 User is offline   sjchmura 

  • Newbie
  • Group: Members
  • Posts: 6
  • Joined: 21-January 06

Posted 11 March 2012 - 12:06 PM

View Posttstrand, on 20 February 2012 - 10:47 PM, said:

Sounds Great, I will wait until the 21 version is released and I will let you know what happens. Thanks!



I too have the same error: 1067.

I have researched this and it appears to be mySQL related. However, no other service/software has an issue.

I have tried teh 2.1 beta 4 x64 and x32.......

How can I help DEBUG?
0

#9 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 11 March 2012 - 05:41 PM

FIRST - you're very behind on the releases, please download 2.1.4 (in future you won't have this issue anymore since it was fixed in 2.1.4).

BEFORE you install 2.1.4 you need to unisntall and clean the old version plesae follow the below (it is also provided in the Wiki)

Please uninstall MCEbuddy completely.

Find Command Prompt or CMD in your start/programs/accessories. THIS IS IMPORTANT - right click on it and click on start as administrator.

When the command prompt opens type this:
sc delete MCEBuddy

this should say service deleted.
Now delete the program file\mcebuddy folder
0

#10 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 13 March 2012 - 05:05 PM

The problem has changed just a little since version 2.1.2. Starting with 2.1.2 (and following your removal procedues), when i did the install, it was successful and the service started. But... The UI said it couldn't find the service. The log file only has 1 entry in it which is from the core and says that it has loaded settings. No entries in the log after that. I just downloaded 2.1.4 and followed your instructions again and have the same issue as with 2.1.2. Service does start, but only one line in the log, and the UI says the service is not available.

Any more suggestions?

BTW.. on my system, the uninstall does work fine and removes the service. when I run the CMD to remove the service with elevated privelages, it tells me it isn't installed. I also verified by looking in services manager. I know this is normal behavior, but wanted to give you that feedback since other may have a problem removing the service.
0

#11 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 13 March 2012 - 10:23 PM

Okay for some reason the service is stopping. We need to figure out why. Couple of things first:
1. Can you post the log please - it will help me trace the code
2. Can open up Windows Logs (My computer -> Right click, manage -> Event Viewer ->Windows logs -> Application). Filter all the source MCEbuddy logs and can you send them/post them.

Can you uninstall and try to install in a different folder (say c:\mcebuddy or d:\mb)

Do you have .NET 4 installed? Try reinstalling it.

do you have any older version of mcebuddy installed? (1.1 or something)? trying to think of all the reason why the service won't start. it's hitting an exception somewhere which is unhandled, i.e. something i've never seen before.
0

#12 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 16 March 2012 - 11:16 AM

Here is the only line in the log file:
2012-03-13T19:00:13 MCEBuddy.Engine.Core --> Loaded MCEBuddy engine settings

This entry is repeated several times in the windows application logs:

Log Name: Application
Source: MCEBuddy
Date: 3/13/2012 5:56:18 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MCPC7
Description:
MCEBuddy engine service failed to start. Error:System.ServiceModel.AddressAlreadyInUseException: Cannot listen on pipe name 'net.pipe://localhost/' because another pipe endpoint is already listening on that name. ---> System.IO.PipeException: Cannot listen on pipe name 'net.pipe://localhost/' because another pipe endpoint is already listening on that name.
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnectionListener.Listen()
at System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()
at System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.NamedPipeChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at MCEBuddy.Service.ServiceModule.OnStart(String[] args)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MCEBuddy" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-03-13T21:56:18.000000000Z" />
<EventRecordID>40989</EventRecordID>
<Channel>Application</Channel>
<Computer>MCPC7</Computer>
<Security />
</System>
<EventData>
<Data>MCEBuddy engine service failed to start. Error:System.ServiceModel.AddressAlreadyInUseException: Cannot listen on pipe name 'net.pipe://localhost/' because another pipe endpoint is already listening on that name. ---&gt; System.IO.PipeException: Cannot listen on pipe name 'net.pipe://localhost/' because another pipe endpoint is already listening on that name.
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnectionListener.Listen()
at System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()
at System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.NamedPipeChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at MCEBuddy.Service.ServiceModule.OnStart(String[] args)</Data>
</EventData>
</Event>

I do have two NIC cards with seperate addresses on different subnets.
0

#13 User is offline   tstrand 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 17-February 12

Posted 16 March 2012 - 12:37 PM

UPDATE!!!!

So I never saw errors in the windows Application logs until 21.4. After posting the log entries, i looked for services that may be listening. It appears that I had Seagate MEMMO share installed. It was installed as a part of the backup suite, but I didn't need it. Removing that application has allowed the service to fully start and I see through the UI that it is processing files.

So it appears the problem is solved, although I am not sure what we would have done if I needed that service.
0

#14 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 16 March 2012 - 05:30 PM

Good to know for documenation purposes. I can' say why another service would use a pipe name called MCEBuddy to communicate....
0

#15 User is online   Ramit 

  • MC Specialist
  • PipPipPipPip
  • Group: Members
  • Posts: 296
  • Joined: 27-October 11

Posted 17 March 2012 - 12:41 AM

Thanks for posting this log it help me find the root cause of the issue, it a bit an issues that most programs that communicate use a default pipe net.pipe://localhost which can sometime cause a conflict in a non initialized state.

Anyways, I've put a bugfix for it and hopefully it won't happen again. MCEBuddy will now use an unique pipe name.
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

-->