Q: Commands in headless mode( with "-suppress" parameter ) alway failed.

If the command execution requires administrative privileges and the current permission is insufficient, the execution will fail in headless mode. Please run it again as administrator.

Might sound stupid, but do you have php-fpm running?
Means, is there a php-fpm process on your box, and does the socket exist like in:
└» ps -ef|grep php-fpm
root 3045 1 0 Mär04 ? 00:00:09 php-fpm: master process (/etc/php/php-fpm.conf)
http 13534 3045 0 18:22 ? 00:00:10 php-fpm: pool www
http 13545 3045 0 18:22 ? 00:00:08 php-fpm: pool www
http 22807 3045 0 19:46 ? 00:00:01 php-fpm: pool www
tom 27863 28055 0 20:16 pts/1 00:00:00 grep --colour=auto php-fpm
└» ls -l /run/php-fpm/php-fpm.sock
srw-rw---- 1 http http 0 4. Mär 22:24 /run/php-fpm/php-fpm.sock
EDIT: somehow missed your output regarding the php-fpm socket. Ignore above then, I have no idea about chroot, I use LXC.
Last edited by teekay (2013-03-07 19:24:04)

Similar Messages

  • Redeploy process with HumanWorkflow always failed

    Hello,
    I need urgent help with OracleBpel server. The problem is when I try to redploy process with HumanWorkflow - deployment always failed with message:
    Caused by: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:141)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    ... 25 more
    Caused by: javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:582)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:244)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:130)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:132)
    ... 33 more
    There are no instances running of this process, restarting server, database does not resolve problem. Other processes deployment ok - no problem.
    BPEL version 10.1.3.1.0 on Windows machine.
    Please help !!!
    Regards
    Tom

    In SRM
    see inbound queue
    queue 1 failed
    queue 2 waiting
    queue 3 waiting
    now you have to click the queue 1 and see what is the PR number and delete only
    queue 1 only
    and remaining queue 2 and queue 3 you
    can reprocess and it will be disappeared.
    you need to explore what caused on that noted PR and inform the failure of the PR so sthat he can correct the data and it can be processed and transfered to SRM.

  • Lenovo has different F8 screen, can't get to safe mode with command prompt - account locked out

    Thinkpad W500, Win7Pro.  Can't login: "the referenced account is currently locked out and may not be logged on to". I need to boot to safe mode with command prompt to enable the Administrator account (disabled by default) with a "net user administrator /active:yes" command, but Lenova has their own recovery and interfaces which are preventing me from accessing with normal windows techniques. I either need to be able to get a command prompt on the true C: drive, or reset this lockout situation, and fast...  Waiting more than 180 minutes did not work, and using system restore is not an option-key software patches and additions make this very unattractive, and I know how to do that. 
    Optional Information:
    Computer OS: Windows 7
    Browser: IE
    Already Tried:
    -ThinkVantage button (reg and advanced views) -a boot disk for pwd reset program (I know password, but I am locked out - didn't help) -F8, Repair options and all safe modes -NOT system restore, as we are trying to not undo months of software revisions - we just need to login!

    If we take the error messages seriously, then probably the first thing that you would have to do would be to replace the malformed library:
    /System/Library/Frameworks/Security.framework/Versions/A/Security
    If you have another computer with the same operating system, you could connect via target disk mode and copy over the good library to replace the bad one. I don't know if this library is different between 10.2.6 and 10.2.8. If the library were fixed, that might solve your other problems and it might not. There is no way for us to know.
    Alternatively, you could do an archive and install.

  • Is it possible to install a JDev extension bundle in headless mode.

    We are looking to see if there is a way to automate install of JDev and application of an extension in "headless" mode, or some other command line option that could enable this.
    This is for internal development purposes aiming at reducing the number of steps dev has to get through to be in a position to run JDev setup with the required extension.
    I could not find anything related to this in the forum, or help guide, apologies if I missed it.
    thanks
    Nick

    For most of the extensions the check for update simply download the zip file, and extracts the jar file from within into the extensions directory.
    I think you should be able to just manually copy the jar file to the specific location and this will be enough.
    Some extensions specify in their bundle.xml file another location for install (like the JDev root directory) and then you'll need to copy the files to the specific locations under the root.

  • J2sdk1.4 headless mode

    Hello,
    Can u help me set the headless mode in my linux server? I'm not familiar with command line stuff, I'm having a hard time! What I've done so far:
    - I downloaded j2sdk1.4 for linux and installed it in my linux server.
    - I set the system variable JAVA_HOME to my java home directory: /usr/java/j2sdk1.4.0
    Now I know I'm supposed to start my JVM with the -Djava.awt.headless=true option, but I don't know how to do this. How does this apply to a servlet generating images? Can I run a servlet from the command line? How can I set the headless mode once and for all? Should I start ANY java program with the headless option, and then it will apply to any other java program, including my servlet?
    I will really appreciate any help!
    Miguel

    java -Djava.awt.headless=true classname

  • Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini

    Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini (late2014)
    im currently useing my Mac mini as a portable computer, I take it to the university and use the iMacs there as a monitor but before I can do that I have to log in to my Mac mini first which means doing it blind
    is there a way to put the IMacs into display mode with out logging into my Mac mini first
    or is there a portable monitor that I can use that will not require me to login first

    This
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    says:
    How do I enable TDM?
    Make sure both computers are turned on and awake. 
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer.
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM.
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    How do I exit TDM?
    To leave TDM, press Command-F2 on the keyboard of the iMac that is in TDM. You can also exit TDM if you shutdown or sleep either computer or detach the cable.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and

  • After reinstalling MAC OS 10.6.8, config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with fsck, but after the steps to be taken, it says fscs not done, root device is read only

    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot. I tried to reboot in safe mode with Command+S and fsck, but after the steps to be taken, it says fscs not done, root device is read only. I also tried to bypass the Mac firmware password by taking one Ram card out and reboot the macmini while holding COMMAND+OPTION+P+R. But no luck. The macmini is not able to see the mac OSX installation CD.
    Please help ??

    f.fromleiden wrote:
    After reinstalling MAC OS 10.6.8, I config the permissions to read/write/no access, my MacMini [mid 2010] refuses to reboot.
    How and where did you change which permissions? And what was the goal?
    Do you have a complete backup of your system? and more importantly data files?
    What happened that prompted the need to reinstall the 10.6.8 update?
    The immediate road forward would be to boot from the optical drive and revert the changes you made.
    What happens when you boot with the install cd and hold down C or hold down the option key?
    [Off topic: I've been to Leiden a few times ]

  • Windows XP mode with Virtual PC will not install / two problems

    Hello!  I posted this on the Microsoft Windows Answers forums and a moderator there suggested I post it here instead.  I also searched here for similiar problems but did not find anyone having the exact same problem as I am having.  Also for
    some reason it won't let me post links, so I had to remove them.
    I have Windows 7 Pro (64 bit) and I want to follow the instructions here:
    LINK REMOVED
    to install and run Virtual PC so I can see if some legacy XP software I have will work.
    I am using a Lenovo W520 laptop with an i7 at 2.4ghz with 8GB of RAM.
    I followed step 1/step 2 and downloaded the 500MB file for Windows XP Mode.  I installed it. 
    Problem #1:  There's a note at the bottom of the page which says "Once you have installed Windows XP Mode, click the Windows 7 Start button then select All Programs > Windows Virtual PC > Windows XP Mode to begin setup. For information on how
    to set up Windows Virtual PC and Windows XP Mode, check out "Running Windows XP Mode with Windows Virtual PC" on the Support and Videos page. "
    I am looking at the All Programs view and there's absolutely nothing which says "Windows Virtual PC" or "Windows XP Mode".  I go look at Programs and Features in the control panel and indeed, Windows XP mode is installed (and taking up 1.13GB). 
    I uninstall it and re-download the 500mb file and re-install it.  It still doesn't show up in the All Programs view, doesn't add an icon to my desktop or quick launch bar, or do anything which suggests a way to start it.  It resides in C:\Program
    Files\Windows XP Mode, but there are no executeable files there.
    Problem #2: Step 3 says  "Download Windows Virtual PC".  When I click on that button, the download starts, but never works (I tried multiple times, including after a clean reboot, with nothing except Internet Explorer running) ; I get an error
    window which says:
    "Windows Update Standalone Installer
    Installer encountered an error: 0x80070422
    The service cannot be started, either because it is disabled or because it has no enabled devices associated with it." 
     What is going wrong?
     Thanks.
    Note; After posting this questio on Windows Answers, some related questions popped up and I read through them.  One post points to a posting on the Sevenforums ->LINK REMOVED which suggests that Problem #2 is my real problem because I follow
    along perfectly until step #5-E and then I get the 0x80070422 error message.

    Problem 2 is the issue, without installing a virtualization program like WVPC, XP Mode can't be used.
    Try this:
    Method 1:
    I would suggest you to follow the steps and check.
    To start the Windows Installer service in Windows 7 checks the steps below.
    a) Click on start.
    b) Type Services.msc in the start search bar and press enter.
    c) Scroll down and Double-click on the service named "Windows Installer".
    d) Check the value in the 'Startup type:' field.
    e) If it's currently set to "Disabled", then this could cause the issue.
    f) Change it by selecting "Manual" from the drop-down box.
    Method 2:
    Step 1: Make sure Volume Shadow Copy Service is set to automatic and started. To do this, follow these steps:
    a) Click on Start-Run, type services.msc, the click on OK.
    b) When the Services window loads, navigate to the “Volume Shadow Copy Service ", the double click on it to open it,
    c) Make sure the "Startup Type" says "Automatic" and
    started. If it doesn't, use the drop down menu to change it.
    d) If it already says: "Automatic", then click on the "Recovery" tab at the top, and change the "First Failure" line to "Restart the Service", then click on "apply", then OK.
    Step 2: Run Check disk to fix any bad sectors on the hard drive.
    a. Click on start and in the start search bar type CMD, right click on the command prompt icon in the programs area and then click on run as administrator.
    b. At the command prompt type chkdsk /f and then press enter.
    Now, type in chkdsk /r
    Note: CHKDSK would try to recover bad sectors on the hard disk, during this process there are chances of DATA loss from that particular sector.
    Step 3: Disable the security software and then start the backup; follow the steps mentioned in the link below
    Disable-antivirus-software
    http://windows.microsoft.com/en-US/windows7/Disable-antivirus-software
    Important: Enable the security software back once everything is done.
    Method 3;
    “0x8007042c” error message when you try to start Windows Firewall
    http://support.microsoft.com/kb/2530126
    Note: The Microsoft Safety Scanner expires 10 days after being downloaded. To rerun a scan with the latest anti-malware definitions, download and run the Microsoft Safety Scanner again.
    Note: Any data files that are infected may only be cleaned by deleting the file entirely, which means there is a potential for data loss.
    “0x80070422” error message when you try to enable Windows Firewall
    http://support.microsoft.com/kb/2617842

  • How to install photoshop CS6 in silent mode with a serial number on Win7?

    I have a serial number. Now I have to install photoshop CS6 in silent mode with this serial number in command line. How?

    Check the deployment guides in the developer center.
    Mylenium

  • After update to OS X 10.7.5 on my Mac Pro (2009) USB ports don't work at all after wake up from sleep mode; with 10.7.4 there was (nearly) any problem.

    hello,
    after update to OS X 10.7.5 on my Mac Pro (2009) USB ports don't work at all after wake up from sleep mode; with 10.7.4 there was (nearly) any problem.
    the used ports appear to be "killed"; the unused USB ports seem to work, but the Mac works in slow-motion.
    The only "solution" is to restart my Mac.
    - SMC-reset, PRAM-reset or repairing user rights had no positive effect; what is the solution - a bug-fix-update???

    I have a mac mini (A1283) with OS 10.7.4. Upon upgrading to 10.7.5 it did not start up again. Instead, the light was on and the hard drive did not start up. The light on the connected USB mouse was not lit.
    My solution:
    Cold start with Command-v pressed.
    This should start Verbose mode (see http://support.apple.com/kb/HT1492 ).
    What happened on my mac mini was that the grey startup screen with the Apple logo appeared for a long while before the login screen came.
    Maybe Cmd-v set open firmware params and fixed some corruption.
    Anyway: my mac mini works again.

  • JTable in Headless Mode

    Is it possible to create a JTable (with the table header) in headless mode?
    Thanks,
    Steve Sinai

    You don't know what headless mode is??? Then you're in the majority. It's one of those things I've seen mentioned in Swing books, but I've never had to deal with it before. On a server, we're trying to fill JTables with data, and then convert the JTables to pdf using iText. If you're wondering why we don't go straight to pdf using iText, thus bypassing JTables, you'll have to talk to our architect.
    An explanation of headless mode is at the following link.
    http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
    I stole some example code from that site, and have been trying to use it to create a JTable. It's below. Some code that creates a JLabel works fine, and I commented it out. Now I'm trying to get it to create a JTable. The example displays the output on a printer, which is a little bit of a hassle, but it is what it is. If anyone can get the table (with header) to show up, it would be pretty nice.
    import java.awt.*;
    import java.io.*;
    import java.awt.print.*;
    import java.util.*;
    import javax.swing.*;
    public class HeadlessBasics
        public static void main(String[] args)
            // Set system property.
            // Call this BEFORE the toolkit has been initialized, that is,
            // before Toolkit.getDefaultToolkit() has been called.
            System.setProperty("java.awt.headless", "true");
            // This triggers creation of the toolkit.
            // Because java.awt.headless property is set to true, this
            // will be an instance of headless toolkit.
            Toolkit tk = Toolkit.getDefaultToolkit();
            // Standard beep is available.
            tk.beep();
            // Check whether the application is
            // running in headless mode.
            GraphicsEnvironment ge =
            GraphicsEnvironment.getLocalGraphicsEnvironment();
            System.out.println("Headless mode: " + ge.isHeadless());
              /**     The JLabel works.
                     final JLabel c = new JLabel("I'm a Label!");
                     Dimension dim = c.getPreferredSize();
                     c.setBounds(0,0,dim.width,dim.height);
                     Vector data = new Vector();
                   for (int i = 0 ; i < 5 ; i++) {
                        Vector row = new Vector();
                        for (int j = 0 ; j < 4 ; j++) {
                             row.add(i+","+j);
                        data.add(row);
                   Vector columns = new Vector();
                   for (int i = 0 ; i < 4 ; i++) {
                        columns.add("Col "+i);
                   JTable table = new JTable(data, columns);
                   final JScrollPane c = new JScrollPane(table);
                   Dimension dim = c.getPreferredSize();
                   c.setBounds(0,0,dim.width,dim.height);
            // Print system is available.
            PrinterJob pj = PrinterJob.getPrinterJob();
            pj.setPrintable(new Printable()
                public int print(Graphics g, PageFormat pf, int pageIndex)
                    if (pageIndex > 0)
                        return Printable.NO_SUCH_PAGE;
                    ((Graphics2D)g).translate(pf.getImageableX(),
                                              pf.getImageableY());
                    // Paint the canvas.
                    c.paint(g);
                    return Printable.PAGE_EXISTS;
            try
                pj.print();
            catch (Exception z)
                z.printStackTrace(System.err);
    }

  • Booting into 64bit mode with Mac Pro 2009

    I am trying to boot into 64bit mode with a 2009 Mac Pro 2.93 Quad core machine. I tried holding down 6 and 4 when restarting but no luck, it staill says no in the profiler. Any ideas why?

    If you'd like your Mac to always start up in 64 bit mode without having to hold down any keys, do this:
    Here's the configuration file approach for always booting into 64-bit. This is the best way to make your Mac always start up 64 bit as the only thing necessary is to alter one line of a configuration file. You can do that by opening the Terminal and entering:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' 'arch=x86_64'
    To return to 32 bit mode, you would repeat the command but enter an empty string, which would just be the single quotes (where arch=x86_64 is) with nothing in between.
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' ''
    These commands are all one line, they're just wrapping here.
    If at any point you find you need to start up in 32 bit mode for a single use, just as you held down the 6 and 4 keys for 64 bit, you can hold down the 3 and 2 keys for a temporary change. No need to keep changing the config file over and over.

  • How to call a Store Procedure with IN PARAMETER

    Hi, im new using Oracle 10G with Oracle SQL Developer, my cuestion is how to call a Store Procedure with IN PARAMETER, I tried the following without results
    SELECT * FROM procedure_name(parameter);
    PROCEDURE procedure_name(parameter);
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);
    Please help me....

    Hi,
    As Beijing said,
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);work for me.
    So does
    BEGIN
        procedure_name(parameter);
    END;Can you be more specific about what you're doing? That is, are you testing it in SQL Developer? Where are you entering the commands? Where are you looking for output? Do you get error messages? Does anything else (like "SELECT SYSDATE FROM dual;") work?

  • A short and fundamental question: Java3D in headless mode

    To begin I would like to introduce myself as a complete Java3D newbie.
    What I would like to accomplish is to produce an application which, in headless mode, will read in data and generate 3d images as files, without ever making any GUI components to appear on the screen.
    Is this possible?
    Thanks!

    When you say "unix doesn't have Arial" you obviously aren't using Solaris where Arial most certainly
    ships and is in fact the main font used to support dialog & sanserif.
    There are numerous APIs to calculate the width of a string in pixels, depending on whether
    you want the integer metrics, fp metrics , logical bounds, pixel bounds (which guarantees to enclose
    every pixel if you correctly specify the graphics/FRC)
    Every single one of these works in headless mode.
    Even the most simple-minded FontMetrics.stringWidth(String) call should be good enough
    for your requirements.
    The error you show looks like you have a misconfigured environment.. It can't find
    the correct implementation class of GraphicsEnvironment which is nothing to do with
    fonts. Moreover this DOES work for me :
    import java.awt.*;
    public class Arial {
    public static void main(String args[]) {
    Font arial = new Font("Arial", Font.PLAIN, 10);
    System.out.println(arial);
    % java -version
    java version "1.4.2_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
    % java -Djava.awt.headless=true Arial
    java.awt.Font[family=Arial,name=Arial,style=plain,size=10]
    QED.
    -Phil.

  • Measuring string bounds in headless mode on a server?

    I have a problem with calculating screen string width for the browser client.
    I'm outputting a stream of content type application/vnd.ms-excel and sending back an XML spreadsheet. (No complaints about using Mc$oft products, it's what's needed!)
    Excel does not autosize columns which contain string data, so the text columns are the standard Excel width, and the text is wrapped onto about 7 lines. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/html/odc_xmlss.asp for details of the XML format.
    Excel does allow you to specify the with of a column in points, so I was using the awt Font classes to calculate the string bounds in pixels. I explicitly set the resolution to be used to 72dpi by creating a FontRenderContext with an AffineTransform with a scaling factor of (1.0, 1.0), so that asking the pixel width, gets the point width.
    This worked fine testing it on my windoze machine, but on the Unix server, it's obviously running in headless mode, and anyway, it doesn't have the Arial font which I'm specifying in my spreadsheet as the font to use.
    Is there any way of calculating the width of a string in points knowing its font and the point size of the font? You shouldn't need a graphcs environment, just the font information. I have all the .TTF files, I could copy them to the Unix machine if Java could use them and do the calculation.
    I hate leaving the user interface looking so shoddy with wrong sized columns!
    It SHOULD have worked in a headless environment according to http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless and we are on version 1.4.2_01. It actually blew up in awt code:
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
         at java.awt.Font.initializeFont(Font.java:308)
         at java.awt.Font.<init>(Font.java:344)That's when I'm trying to instantiate a new Font("Arial", Font.PLAIN, 10);I've looked at the FOP project wondering whether that has a solution but it's a huge, confusing thing. There must be a way. Can anyone help?

    When you say "unix doesn't have Arial" you obviously aren't using Solaris where Arial most certainly
    ships and is in fact the main font used to support dialog & sanserif.
    There are numerous APIs to calculate the width of a string in pixels, depending on whether
    you want the integer metrics, fp metrics , logical bounds, pixel bounds (which guarantees to enclose
    every pixel if you correctly specify the graphics/FRC)
    Every single one of these works in headless mode.
    Even the most simple-minded FontMetrics.stringWidth(String) call should be good enough
    for your requirements.
    The error you show looks like you have a misconfigured environment.. It can't find
    the correct implementation class of GraphicsEnvironment which is nothing to do with
    fonts. Moreover this DOES work for me :
    import java.awt.*;
    public class Arial {
    public static void main(String args[]) {
    Font arial = new Font("Arial", Font.PLAIN, 10);
    System.out.println(arial);
    % java -version
    java version "1.4.2_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
    % java -Djava.awt.headless=true Arial
    java.awt.Font[family=Arial,name=Arial,style=plain,size=10]
    QED.
    -Phil.

Maybe you are looking for