Creating pckcs11 config file

Hi all,
with reference to the thread [http://forums.sun.com/thread.jspa?threadID=724575|http://forums.sun.com/thread.jspa?threadID=724575]
Which driver do you have to specify? I mean, the smarcard-reader driver or the smartcard itself one?
If the second, does it come along with the card? because as far as I know I just got the smart card but no software at all (apart the smartcard reader driver).
Thanks in advance!
Marco

Ok, my smart card is a Siemens one I got the driver along with the installation package (SI_PKCS11.dll)
I believe my problem is not related to a lack of driver, but instead to some config or parameter error. here is the command I issue:
jarsigner.exe -keystore NONE -storetype PKCS11 -providerclass sun.security.pkcs11.SunPKCS11 -providerArg C:\SiemensCard.config -storepass 12345678 -verbose C:\newapplet.jar "Signign Alias"the SiemensCard.config file is:
name = Siemens
library = c:\windows\system32\SI_PKCS11.dllThe error I get is:
jarsigner error: java.lang.RuntimeException: unable to instantiate keystore class: PKCS11 not foundI thought that the error meant that the pkcs11 token (certificate or the whole smartcard) was missing, but now I suspect it might be related to some error in the pkcs11 configuration as I specify -storetype PKCS11
What do I am missing/getting wrong ?

Similar Messages

  • Creating a config file

    hello to all! I am new to Labview development and am currently tasked to
    create a multi-functional tester that controls several instruments, 34401's,
    TDS7104, HP6050A, 120-ASX AC source. I would like to get your ideas on how I
    should create a single configuration file that would be used during the whole
    duration of the tests (load regulation, line regulation,etc....). Different
    tests require different conditions being set during the config file creation.
    For example:
    Load Regulation would require me to tests the power supply at:
    a. MIN Input Voltage at MIN load current
    b. MIN Input Voltage at MAX load current
    c. MAX Input Voltage at MIN load current
    d. MAX Input Voltage at MAX load current
    Thanks in advance.

    Hi DonLabVIEW,
    First let me recommend that you use the instrument drivers available at www.ni.com/idnet, our Instrument Driver Network. These drivers provide you with VIs that take care a lot of the lower-level details and will greatly aid you in your programming. You can select Search Drivers and search for your different instruments. We have drivers available for most of the devices you mentioned.
    Now, I am not quite sure what exactly you are wanting to do with this configuration file. Are you wanting to have some settings saved on your computer that you can read into the program to know how to set your instruments for the test? If so, you can use the File I/O functions, read in the file, and then parse out the data from the file and use it in the program to determine what settings you want. If you just have a sequence of tests you need to make, there are several ways that you could set up the program to do it on its own without having to read from a file. I hope your programming is going well, and please let us know if there is anything else specific that we can help you out with!
    john
    Applications Engineer

  • Creating default config file for htop

    Hi there. I think the title says it all.
    I've been using htop for some time now, but I hate to have to reconfigure it each time I start it. Is there a way to save the current config of htop to a file or something or create a new default one ?
    Thanks in advance

    Um, .htoprc?
    It looks like this on my system: http://paste.pocoo.org/show/208652/
    htop's configuration interface changed the file, and it was loaded on next startup.
    Last edited by JohannesSM64 (2010-05-01 23:08:14)

  • Change config file properties programatically

    hi, all i have created one config file and from that file i am readindg data. Now when i click on this file it shows that this file is in read only format. Now in this same config file i want to write the data but when i try to write data by using write key function it gives me some error just like please check the permission of the file.
    For this config file i canot change its permission to archive permenantly. So Is there any way to change the file permission programatically from read only archieve and again from archieve to read only.

    You can change the file permissions programmatically using LabVIEW.  This allows you to temporarily change the permission and modify the file before restoring the permissions to their original settings.
    The Set Permission is found within the Advanced File Functions of the File I/O section of the Functions Palette.
    The information below is from the Context Help.
    R
    Message Edited by JoeLabView on 09-16-2008 08:07 AM
    Attachments:
    filePermission.PNG ‏33 KB

  • Loading UI components from config file

    Hi,
    I wanted to know your opinion about a project that i'm working on.
    The inicial idea of the project is to have a config file (file.ini) with a syntax similar to this one:
    [Component1]
    type = sevenseg
    width = 200
    height = 50
    numberOfDigits = 5
    foregroundColor = green
    backgroundColor = grey
    [Component2]
    type = button
    width = 50
    height = 20
    command = GETLED 3
    [Window]
    width = 500
    height = 300The application needs to read the file when it starts and after that, it needs to build the interface based in the config file. I think this is the easy part.
    The most difficult part is that i also want the application polling a webserver for data in order to refresh the values displayed in the components and also, when there is some input action (clicking a button, changing a slider, etc) i want to send it to the server.
    The problem is that I'm not imagining a way of linking the various components that will be in the UI while using this config file.
    Do you have any ideas or do you think this can be done?
    The purpose of reading the "UI" from the config file was to reduce the writing of code, since this application will be used by people with little skills in programming.
    And in the future, it could be possible of creating an application to create all the UIs needed in a way similar to netbeans and swing based UI.
    Thanks for your attention.
    João Gonçalves
    PS: If this isn't possible, I'm also considering the possibility of creating a netbeans plugin to design the UI. Here I don't avoid the coding problem, but i can reduce it a bit.

    Well, I'm going to try to explain it a bit better.
    The application that i'm going to do is the interface and it's going to be done in javafx, (obviously).
    The application will be the user interface of a remote device that will be located somewhere in a LAN. The webserver is located in the middle, between the client (UI) and the device, and is the webserver that it's going to make the bridge between the client and the device.
    The architecture will be something like this:
    Client <------> WebServer <------> device
    The idea of the project is to make it possible to use a large number of devices, all different. So the UI that is going to control each device will need to be customized in order to look similar to the control panel of the device and to permit the user to interact with this one like if he was in front of it.
    The reason of my question is because it was asked to me if it was possible to create a config file and load the UI components and layout from the file, to avoid dealing with the code, since the persons who are going to configure the devices are not software developers and don't know too much about java and programming.
    This is why i made this post, to know the opinion of people more experienced than I in programming, and above all, in javafx.

  • Simple xml config file

    I have created a simple config file using something like:
          XMLEncoder e = new XMLEncoder(
                                      new BufferedOutputStream(
                                          new FileOutputStream("Config.xml")));
          e.writeObject(base.toString());
          e.writeObject(numberFrom);
          e.writeObject(numberTo);
          e.writeObject(numberPad);
          e.writeObject(maxTasks);
          e.writeObject(maxSubTasks);
          e.writeObject(textFrom);
          e.writeObject(textTo);
          e.close();which produces a file like:
    <?xml version="1.0" encoding="UTF-8"?>
    <java version="1.4.2_05" class="java.beans.XMLDecoder">
    <string>C:\</string>
    <int>1</int>
    <int>20</int>
    <int>2</int>
    <int>0</int>
    <int>1</int>
    <string>a</string>
    <string>z</string>
    </java> I want to make it a bit more version proof so need to get something more like:
    <?xml version="1.0" encoding="UTF-8"?>
    <program name=myprog>
    <dir>C:\</dir>
    <version>1</version>
    <myval1>20</myval1>
    <myval2>2</myval2>
    </program>There's probably loads of errors in that bit;) but you get the idea. I'm a bit new to xml programming.
    Can anyone give me any urls of help or examples that might do this?
    Thanks,
    David.

    You could use a binding api such as JAXB or xmlbeans. In essence these apis abstract the xml as pure java objects. Alternatively you could use an xml parser such as dom4j and build the XML 'by hand'. This class will create an example config file and write it to the file system
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.apache.xml.serialize.OutputFormat;
    import org.apache.xml.serialize.XMLSerializer;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Text;
    * Class to create a simple xml config file using W3C api
    * @author wollnyj
    public class CreateConfig {
         * create the config file
         *?xml version="1.0" encoding="UTF-8"?>
         *<program name=myprog>
         *    <dir>C:\</dir>
         *    <version>1</version>
         *    <myval1>20</myval1>
         *    <myval2>2</myval2>
         *</program>
         * @param configFile
         * @throws ParserConfigurationException
         * @throws IOException
        public CreateConfig(String configFile) throws ParserConfigurationException, IOException {
            //Document doc = parseXml(configFile);
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            Document doc = factory.newDocumentBuilder().newDocument();
            Element program = doc.createElement("program");
            program.setAttribute("name","myprog");
            Element dir = createEle("dir","c:\\",doc);
            Element version = createEle("version","1",doc);
            Element val1 = createEle("myval1","20",doc);
            // etc...
            program.appendChild(dir);
            program.appendChild(version);
            program.appendChild(val1);
            doc.appendChild(program);
            write(doc,new File(configFile));
         * @param args
         * @throws Exception
        public static void main(String[]args) throws Exception {
            CreateConfig create = new CreateConfig("F:\\config.xml");
         * Write an xml document to the file system
         * @param document The document to be written
         * @param xmlFile The output file
         * @throws IOException The file does not exist or could not be created
        private void write(Document document, File xmlFile) throws IOException {
            OutputFormat format = new OutputFormat(document);
            format.setIndent(4);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            FileWriter writer = new FileWriter(xmlFile);
            XMLSerializer fileSerial = new XMLSerializer(new BufferedWriter(writer), format);
            fileSerial.asDOMSerializer();
            fileSerial.serialize(document);
        private Element createEle(String name, String value, Document doc) {
            Element ele = doc.createElement(name);
            Text textNode = doc.createTextNode(value);
            ele.appendChild(textNode);
            return ele;
    }

  • Instructions for config files on VPN client

    I'm looking to deploy the 5.0.00 client on about 150 pc's. Is there a way for me to create a config file that will have the settings so I can have the users easily install the app on their own?

    Roland-
    Sure. Set it up on your pc, and there will be a connection profile created that resides in C:\PROGRAM FILES\CISCO SYSTEMS\VPN CLIENT\PROFILES that will be called *****.pcf - whatever you named the connection. This file can be distributed with the client, and all the user needs to do is click on the import button on the client and point to that .pcf file.
    HTH,
    Paul

  • Port Config files

    Can someone tell me the following about port config XML files :
    1. How to generate these files.
    2. Can we create port config files from an existing repository ports? If yes how?
    3. Can we use an existing port config xml file to create ports in a new repository? if yes how?
    Harsha.

    Hi,
    they will be created when you save the port created in mdm console I believe
    and that is the place where you should create ports and not from
    the other way round
    Regards,
    michal

  • DG broker config file not created at standby site

    hi,
    i am trying to configure dataguard for primary db(10.2.0.1) , standby is created as stby
    for observer i have configured a third node , i have made the TNS entires and checked the connectivity
    when i had issued
    Alter system set dg_broker_start=True scope=both;
    on both nodes , configuration files were created at primary site
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1PRIMARY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2PRIMARY.DAT
    i verified them
    but on stby node
    SQL> show parameters DG_BROKER_CONFIG
    NAME TYPE VALUE
    dg_broker_config_file1 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR1STBY.DAT
    dg_broker_config_file2 string C:\ORACLE\PRODUCT\10.2.0\DB_1\
    DATABASE\DR2STBY.DAT
    there were no config files even as the parameter suggests it had been created
    , how do i created these files
    without them i wont be able to add stby to observer node

    DGMGRL> show configuration
    Configuration
    Name: broker1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: DISABLED
    Databases:
    primary - Primary database
    stby - Physical standby database
    Current status for "broker1":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database primary StatusReport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    primary ERROR ORA-16737: the redo transport service for standby database "stby" has an error
    redo logs from primary
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO06.LOG
    redo logs from stby
    SQL> select type,member from v$logfile order by type;
    TYPE MEMBER
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO03.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO02.LOG
    ONLINE C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO01.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO04.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO05.LOG
    STANDBY C:\ORACLE\PRODUCT\10.2.0\ORADATA\STBY\ONLINELOG\REDO06.LOG
    i checked the alert log for primary, last contents are
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 3 thread 1 sequence 52 (16086)
    Thread 1 advanced to log sequence 52
    Current log# 3 seq# 52 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO03.LOG
    LNSb started with pid=24, OS id=1080
    Thu Nov 19 16:59:02 2009
    LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16086)
    LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    Thu Nov 19 16:59:02 2009
    Errors in file c:\oracle\product\10.2.0\admin\primary\bdump\primary_lgwr_1172.trc:
    ORA-16086: standby database does not contain available standby log files
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))'
    LGWR: Failed to archive log 1 thread 1 sequence 53 (16086)
    Thread 1 advanced to log sequence 53
    Current log# 1 seq# 53 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO01.LOG
    Thu Nov 19 16:59:52 2009
    Thread 1 advanced to log sequence 54
    Current log# 2 seq# 54 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\PRIMARY\REDO02.LOG
    pfile for primary is
    primary.__db_cache_size=83886080
    primary.__java_pool_size=4194304
    primary.__large_pool_size=4194304
    primary.__shared_pool_size=71303168
    primary.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/primary/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/primary/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\primary\control01.ctl','C:\oracle\product\10.2.0\oradata\primary\control02.ctl','C:\oracle\product\10.2.0\oradata\primary\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/primary/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\datafile','C:\oracle\product\10.2.0\oradata\primary'
    *.db_name='primary'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash\'
    *.db_recovery_file_dest_size=1500M
    *.db_unique_name='primary'
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=primaryXDB)'
    *.fal_client='primary'
    *.fal_server='stby'
    *.job_queue_processes=10
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primary,stby)'
    *.log_archive_dest_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=primary'
    primary.log_archive_dest_1='location="C:\oracle\product\10.2.0\db_1\database\archive"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
    *.log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=XP2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=stby_XPT)(INSTANCE_NAME=stby)(SERVER=dedicated)))"',' LGWR SYNC AFFIRM delay=0 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="stby" register net_timeout=180 valid_for=(online_logfile,primary_role)'
    *.log_archive_dest_state_1='ENABLE'
    primary.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    primary.log_archive_format='%t_%s_%r.arc'
    *.log_archive_max_processes=2
    *.log_archive_min_succeed_dest=1
    primary.log_archive_trace=0
    *.log_file_name_convert='C:\oracle\product\10.2.0\oradata\stby\onlinelog','C:\oracle\product\10.2.0\oradata\primary'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    primary.standby_archive_dest=''
    *.standby_file_management='MANUAL'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/primary/udump'
    Edited by: Adroit77 on Nov 19, 2009 5:05 PM

  • Backups of the JVM.CONFIG file are not created

    Backups of the JVM.CONFIG file are not created.
    CF10 > Server Settings > Java and JVM   in part says:
    Backups of the jvm.config file are created when you hit the submit button. You can use this backup to restore from a critical change.
    CF10 Help page indicates jvm.bak will be created:
    http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7ff c.html#WSc3ff6d0ea77859461172e0811cbf3638e6-7feb
    Note Help indicates incorrectly JVM.CONFIG and BAK are in cf_root\runtime\bin where as JVM.CONFIG is located cf_root\instance\bin .
    Thanks in advance, Carl.

    I must have not had enough coffee - JVM.BAK is created in where JVM.CONFIG is found. Pardon me.

  • How to create per instance jvm.config files for multi-instance ColdFusion Cluster ?

    So when we have created our coldfusion 9 instance on solaris all the files and settings of the master instance are copied except the jvm.config file. This means that any changes made here are used for all instances of ColdFusion on that Node.  Now I want to play with memory settings for fine tuning of Application performance and I want to do it on one single instance. I want to know the process of creating individual jvm.config files for each instance.
    Thanks
    Pradeep

    Thanks Anit,  I did whatever is posted in the KB Article. Now I get this below error #
    jrunx.xml.XMLMetaData$CouldNotCreateDocumentException: Could not create document from location 'file:/data/www/appserver/jrun/lib/servers.
    xml'
            at jrunx.xml.XMLMetaData.createDocument(XMLMetaData.java:1028)
            at jrunx.xml.XMLMetaData.importXML(XMLMetaData.java:200)
            at jrunx.xml.XMLMetaData.<init>(XMLMetaData.java:122)
            at jrunx.server.metadata.ServersMetaData.<init>(ServersMetaData.java:32)
            at jrunx.server.ServerManagement.refreshServersMetaData(ServerManagement.java:82)
            at jrunx.server.ServerManagement.getServerRootDirectory(ServerManagement.java:154)
            at jrunx.server.ServerManagement.getServerProperties(ServerManagement.java:191)
            at jrunx.server.ServerManagement.getSystemProperties(ServerManagement.java:204)
            at jrunx.kernel.JRun.setSystemProperties(JRun.java:688)
            at jrunx.kernel.JRun.start(JRun.java:337)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at jrunx.kernel.JRun.invoke(JRun.java:180)
            at jrunx.kernel.JRun.main(JRun.java:168)

  • Is it possible to create a cisco config file based on a polycom config file?

    Hello,
    We have 12 spa509g phones that are barely working with our provider (voxox).
    My provider gave me the config files that are used to set up polycom phones as those are the only phones they support.
    Features that currently work: incoming calls, outgoing calls, blind transfer, voicemail, call hold
    Features that do not work: call presence - solid orange lights, attended transfer, paging 
    I've upgraded the firmware to 7.5.6 and configured the phone through the GUI as much as i can but I can't seem to enable the above features.
    Any help would be highly appreciated as I'm about to buy polycom phones if we can't figure the configuration out.
    Attached are the configuration files from voxox concerning polycom phones. confidential data says "removed"
    If anyone thinks that this is possible, I can send a copy of my current cisco configuration file. 
    Thanks,
    Philip

    Well, I have no polycom phone, not I have personal experience with voxox. I wish the following document may help a lot - it describe Polycom configuration somewhat. As you have no Polycom, you have no current <mac>-directory.xml. So you don't know the device name you should subscribe to. But it seems to be a DID-number.
    Just try it.
    On the other side, ask Voxox for help. Don't ask for configuration files, ask for configuration instructions expressed in terms of the SIP protocols. Consider switch to more friendly and technically skilled VoIP operator if they will not understand what the SIP stand for ...
    By the way, wrong forum. Your issue has nothing to do with XML Phone Application interface. I'm not sure someone will respond you here.

  • [SOLVED] How to create array in bash from some lines in config file

    I have config file for small script and it looks like this:
    local_directory="$HOME/etc"
    excluded_directory="$HOME/etc1"
    excluded_directory2="$HOME/etc2"
    excluded_directory3="$HOME/etc3"
    I would like to place all "excluded_directoryXX" config options into array that can be parsed to program. This way i have to hardcode it and it is not practical at all.
    Can somebody help me out?
    Last edited by kuraku (2013-09-24 20:45:42)

    @jasonwryan
    Thank you, i was not aware of that builtin. At first i wanted to use this in combination with "grep --after-context=XX" and then i realized that i can use it this way:
    mapfile -s XX -t configs </etc; echo "${configs[@]}"
    Thank you very much.

  • Grub uses wrong UUID and cannot create config file

    I've tried performing an installation to a USB drive as per the wiki. Everything works up until I try to boot and grub tries to load the wrong UUID for my / filesystem.
    My next step was to chroot back into the USB install and manually change the UUID to the correct one. Odd, as others have pointed out in this thread
    the grub-mkconfig command should detect the correct UUID if run from within arch-chroot.
    Anyway, after changing the UUID in /boot/grub/grub.cfg and trying to regenerate the config file with `grub-mkconfig -o /boot/grub/grub.cfg` I noticed the file had not changed. This is because the command is exiting successfully, but isn't actually writing any file. I deleted the file and tried the command again to be sure. No new file.
    Next I booted into grub, using the config generated with the wrong UUID, and dropped to the shell using `c` -- I was able to load my install just fine using
    set root=(hd0,gpt2)
    linux /vmlinuz-linux root=/dev/sdb3 ro
    initrd /initramfs-linux.img
    boot
    From there I tried removing the bad config file and recreating it using the `grub-mkconfig -o /boot/grub/grub.cfg` command... no dice. Does anyone know what is going on? At the least the command should tell me that it is failing, no?

    Attached is the output of `grub-mkconfig` running from the chroot.
    root@myhost# grub-mkconfig
    Generating grub configuration file ...
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if loadfont unicode ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_archlinux ###

  • Jabber for windows 9.2.1 - InitialPhoneSelection doesn't work if configuration is in custom config file

    Hi,
    my customer wanted set InitialPhoneSelection to deskphone mode, when users firs run Jabber for Windows (ver. 9.2.1).
    I created custom config (configurationfile=jabber-config-deskphone.xml) but it doesn't work.
    Policies>
         <InitialPhoneSelection>deskphone</InitialPhoneSelection>
    </Policies>
    I tested it couple times and at the end I tried put configuration to default jabber-config.xml and ... this functionality start working...
    Could you check guys if you have same problem with custom config file? I think that it is bug. Maybe other option don't work in custom config file.
    Thanks a lot
    Pavel

    Hi Pavel,
    This setting is only when the client is installed and started by the user for the first time. After that the client will save the user preference (what was the phone selection when the user exited the client)  and use it in subsequent logins.
    Having said that, can you please specify in details how exactly you did your tests or maybe test again taking the above into consideration ?
    Thanks,
    Christos

Maybe you are looking for

  • My iPad 2 is disabled. I know the passcode and apple id. How do I enable it?

    My iPad 2 16Gb has been disabled because the wrong passcode was entered too many times. Since purchasing the iPad I never purchased anything from the Apple Store and after a couple years my passcode got misplaced. A friend of mine in the church where

  • Solution for viewing AR credit memo relevant to AP invoice

    In R12, we no longer have the functionality of applying miscellaneous receipts to credit memos. Using this functionality in 11i, we were able to make payments through AR. In 11i, we were using API (AR_CM_APPLICATION_PUB.activity_application) for crea

  • Cross Currency Credit memo application

    Hello, Customer on 11.5.9 is applying a Canadian Dollar Credit Memo to a US Dollar Invoice and the Journal Import of such applications fail with EC12 'The entered amount must equal the accounted amount in a functional or STAT currency journal line' Q

  • Tolerance Limit for Quotations.

    Hello all, Is it possible to set a tolerance limit for Quotations, such that the prices of quotes adopted to Purchase Order cannot be changed over a specific limit. Thanks

  • IDOC Current status

    I have created a PO, and it is released also. when I check in Outbound IDOC current status showing as 03, but it should show 41 for medium 6 EDI. Please help. Regards Ajit