Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Fix Compressor background process error Apps
Tiger only hintLike many others, I have run into the "Unable to Connect to Background Process" error when trying to submit video files to the Compressor utility. I've looked all over the net, including the Apple web site for a fix and found nothing truly useful. The best Apple seemingly can do is to ask the user to reinstall the software.

After many hours of reading and testing, I think I have found the fix for this problem. When you install Final Cut Pro HD 4.5 with Compressor, at the end you get a message box asking you if you would like to fix Qmaster. You would think that this would fix the Qmaster problem, but it doesn't seem to do so. This is the reason that you get the background process error message -- the Qmaster process is not running in the background, and this is what Compressor needs to work properly. What you can do to get it working again is run this command in a Terminal window (you will need your admin password):
sudo /Library/StartupItems/Qmaster/Qmaster start
This will only work until you restart your computer again.

To get the Qmaster working properly again permanently, what you can do is this ... I haven't tried these steps, but I'm sure they would work. Remove the Qmaster folder from the StartupItems folder and restart the computer. After the computer has restarted, put the Qmaster folder back in the StartupItems folder and restart again. This time you will get the message box to fix Qmaster. If that doesn't work, you can (I have done this and it works) copy the Qmaster folder from a computer that has Compressor working properly and replace it with the one that's not working, restart to get the message box to fix the Qmaster again.

That's all you need to do to get Compressor working again, and not do a full reinstall like Apple asks us to do.

[robg adds: I can't confirm this one...]
    •    
  • Currently 3.17 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (6 votes cast)
 
[34,445 views]  

10.4: Fix Compressor background process error | 18 comments | Create New Account
Click here to return to the '10.4: Fix Compressor background process error' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Fix Compressor background process error
Authored by: bdjones on Oct 20, '05 08:22:33AM

I don't know if it should be a 10.4 only hint. I have had the same problem with 10.3 and Compressor. Not knowing a solution I did just reinstall. If I have a reoccurrence I will test this hint out and report back.



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: rocketchick on Oct 20, '05 06:34:44PM

Too cool! I'd tried uninstalling/reinstalling repeatedly, and never gotten Compressor to work properly. This hint worked immediately.



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: Dirk! on Oct 23, '05 01:05:52PM

Hello,

unfortunately this doesn't work for me. If I enter

sudo /Library/StartupItems/Qmaster/Qmaster start

into a terminal window I get the following error:

> sudo /Library/StartupItems/Qmaster/Qmaster start
Password:
usage: hostname [-s] [name-of-host]
Starting Qmaster services
> 2005-10-23 22:02:36.828 qmasterd[292] [CDOHostInfoFactory localPortName]: gethostbyname() failed.
gethostbyname: Unknown host
2005-10-23 22:02:36.829 qmasterd[292] *** Uncaught exception: <NSGenericException> CDOHostInfoFactory: -publish: failed!
qmasterd: terminated due to signal().

There seems to be some problem with "hostname", but the only hints I found on this topic suggested to enter the line "hostnae = localhost" into /etc/hostconfig, which doesn't work for me either :-(

Dirk



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: djarsky on Oct 28, '05 06:12:47PM

Dirk,

I'm getting the exact same problem you are. I'd be interested in any resolution if you find one.

Thanks.
David



[ Reply to This | # ]
10.4: Fixed! Compressor background process error
Authored by: djarsky on Oct 28, '05 07:27:15PM

I found a solution! I'm running 10.4.2

Since the computer's name isn't being returned when Qmaster does a reverse DNS check, you can manually enter the name in the hosts file and use 127.0.0.1 as the IP address.

Here's my 'hosts' file (it's located in /etc):

127.0.0.1 localhost
127.0.0.1 imac
255.255.255.255 broadcasthost
::1 localhost

Note the line I added above (in bold). I used 'imac' because that's the name of the computer in the Sharing pane. You can make it anything legal (letters and numbers -- I believe no spaces or funny characters other than hyphens).



[ Reply to This | # ]
10.4: Fixed! THANKS!!!
Authored by: mactux on Dec 14, '05 03:17:17AM

This is the solution!



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: X@vier on Nov 02, '05 10:58:38AM
I just wrote a script that would launch it for u at startup...

<?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>com.open.qmaster</string>
	<key>ProgramArguments</key>
	<array>
		<string>/Library/StartupItems/Qmaster/Qmaster</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>
I gave it the name com.open.qmaster.plist save it and put it in Library->LaunchAgents folder I hope this hepls X@vier

[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: Dirk! on Dec 15, '05 01:57:24AM

Hello,

I tried your script, but ist doesn't help in my case.

Compressor simply crashes again when it is startet by your script.

Dirk!



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: alexroque on Jan 12, '06 05:58:02PM

You are a genius! This worked for me. You've saved me hours.



[ Reply to This | # ]
I found another solution!
Authored by: Dirk! on Dec 15, '05 02:07:33AM

Hello,

if compressor crashes on you when you try to start it, like in my case, this might help you:

I have a special network environment called "offline", where I disabled all network interfaces. If I switch my network setup to "offline" in ym apple menu, start qmaster with the command from the original post and than switch back to my regular network setup, qmaster does not crash.

Not perfect but at least I have a way to enable qmaster untill the next reboot...

Dirk!



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: swhilton on Oct 05, '06 06:08:28AM

this works perfectly! thanks.

just wish I'd have found this before re-installing without success...



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: twocik on Jan 28, '07 11:32:03PM

WOW everything worked for the first time (as said), but when trying to take the Qmaster folder out of the startup-Items folder it duplicates it, not allowing me to have the original copy on my desktop, any suggestions?

Thank you



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: twocik on Jan 29, '07 12:22:59AM
Here's the fix


***Note if you're not experienced in the Terminal, then I'd recommend to ask before doing so, you're at your own risk***



http://www.emotiondv.com/cgi-bin/yabb/YaBB.pl?num=1170053390/0#1



I disabled a startup item, but now I want to use it

If you disabled a startup item but you're now certain that it's associated with a trusted application, you can install the application again. Or, if you're an advanced user (and an administrator) who's familiar with Terminal, you can use the following steps instead of reinstalling the application (we're using "TrustedApp" as our example application; please substitute it with your trusted application's name):

Open Terminal (in /Applications/Utilities).
Type the following line, then press Return:

cd /Library/StartupItems/TrustedApp.app/

Type the following line, then press Return:

sudo rm .disabled

From the Apple menu, choose Restart.
When you see the alert about the startup item you want to use, click Fix.
Click Restart in the second alert. After your computer restarts, the item should work as expected.


http://docs.info.apple.com/article.html?artnum=300962

Good Luck



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: MacDean on Apr 03, '07 12:20:59PM

This fix WORKS - (G5 OS 10.4.9 using Studio Pro 3 and Compressor 1.2.1
WHY Apple simply can't tell folks about it is beyond me. Open Terminal - enter the string above - and re-open Compressor to get started. THANK YOU!



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: anonymouse on Aug 02, '07 11:11:29PM

this rocks!!! thanks so much for your efforts and sharing this! i have had so many issues with compressor (3 and 1). i have fc studio 2 on one mac and then had to clear fc studio 2 off another and then reinstall fcp hd w/ compressor 1 to export out a mpg2!!! oh my god you're a lifesaver! now if you get the fix for compressor 3, please share!!!! thanks again.

p.s. if anyone from apple reads this...fix it already!!!!



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: coolman on Oct 30, '07 07:07:43AM

I got this error when I tried the command in Terminal
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

Is this because I'm using Leopard or did I do something wrong?



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: Fergus13 on Nov 04, '07 07:30:03AM

FCP 4.5
Compressor 1.2.1
I updated to Leopard and am now getting the "background" error. Following the recommendation to type in the referenced command in a terminal I am also getting "FORKED".



[ Reply to This | # ]
10.4: Fix Compressor background process error
Authored by: betzelelgalut on Sep 16, '09 01:21:36PM

i am currently running lepord on a dual proc ppc g5.
the version of compressor i am running is compressor 2.

here is the error message i am getting

from compressor it says
"cannot submit batch - unable to connect to background process"

after looking around on my system and on the net i found that the issue is related to a break with "mqueued"
i brought up a bash shell and ran the following:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Last login: Wed Sep 16 14:34:07 on ttys000
Audio-mac:~ betzelelgalut$ sudo /Library/StartupItems/Qmaster/Qmaster start
Password:
Starting Qmaster services
Audio-mac:~ betzelelgalut$ The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
qmasterd: terminated due to signal().
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


does any one know if the issue with mqueued, is a incompatibility issue with lepord? or is there an update that could be hanging the process?
i ran this app flawlessly on tiger for over a year, and have just started using it again recently on lepord.
when the issue first appeared compressor would not come up, but would post a window for me to input the serial key , which it kept rejecting.


so far the T.S. steps i have taken are :

1) complete reinstall of the OS, and final cut pro package
2) after reinstall compressor would come up, but had the "cannot connect" issue and shows in the cluster tab "none available"
3) i removed all the preference files for compressor and Qmaster and Qadmin, i also removed the apps themselves as directed on the apple web site.
4) i reinstalled compressor, qmaster, and qadmin again.
5) still get same error message as shown above.
6) i tried a free prog called compressor_repair, it still did not resolve the issue.
7) found another document on line that talks about deleting and stripping out all the lib files, pref files, and such - but did not want to go through that and corrupt my OS as this is a fresh install.
8) tried doing the moving of the startup file folder as recommended in this article, but found that there is no folders in that directory.

has anyone else had any luck with this? are there any other documented solutions that anyone else has come across?
will i need to upgrade to a more recent version of final cut to fix this issue? or would down grading to tiger be better?
thanks for any input...



[ Reply to This | # ]