Jrun 4 Cron Scheduler

I have used the Cron service to call a web page to send out
emails. However, in our production environment I set up a test to
send out 1 email to 5 persons. Each person is getting 20+ emails
apiece. The weird thing this works in our dev and qa environments.
Is there any threading issues with using Java mail to send
out emails from a Cron controlled call?
Are there any threading issues with the Jrun Cron Service?
If an error happens and the Exception is caught does it
matter what we do with the error or does the service repeat?
Here is my call
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
RequestDispatcher desp;
try
//Make sure call is coming from host box since that is where
Jrun is sitting
if (request.getRemoteAddr().equals("127.0.0.1"))
this.sendNotifications();
catch (Exception ex)
System.out.println(ex.getMessage());
}

New release of JRun which is scheduled for release sometime
this year will
ship
with Axis1.3.
Thanks,
Gurdeep

Similar Messages

  • How can I create a cron schedule that repeats every 2 weeks on Mondays?

    I need to create a cron schedule that repeats every 2 weeks on Mondays. Cronmaker.com doesn't have the cron expression for this. Please advice.
    Using calendarSchedule I can do this,
    var trigger = TriggerBuilder.Create()
    .StartAt(new DateTime(2012, 11, 19, 12, 0, 0).ToUniversalTime())
    .WithCalendarIntervalSchedule(x => x.WithIntervalInWeeks(2))
    .Build();
    But where do  I specify it should be the 2nd monday?
    mayooran99

    Cron expressions available in Quartz.net library, which is used to schedule jobs through .Net code
    mayooran99
    Hi mayooran99,
    Welcome to MSDN forums.
    Since this is a 3rd-party library, we recommend that you directly contact the provider for help, or post your question in their own forums.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to fire a cron scheduler every 70th minute using quartz?

    I need to fire a cron schedule every 70th minute. For example if one fired at 12:00pm then 2nd one should be at 1:10pm and 3rd one should be at 2:20pm and so on. How do I achieve this? Cronmaker.com suggests this, 0 0/70 * 1/1 * ? *
    But when it goes past 60 minutes, it only fires every hour. Not the specfied minute which is above 60. Please advice.
    mayooran99

    Hi Mayooran,
    Question related to Quartz, I suggest you to post your thread to the Quartz forums in order to get more help around Quartz:
    http://forums.terracotta.org/forums/forums/show/17.page
    Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I create a one time cron schedule that would execute only once in C#?

    I have used cron schedule in C# to create an application that should trigger a job only once. This code piece is throwing an exception, An unhandled exception of type 'Quartz.SchedulerException' occurred in Quartz.dll
    Below is my code:
    class Program
    static void Main(string[] args)
    Test();
    public static void Test()
    ISchedulerFactory schedulerFactory = new StdSchedulerFactory();
    IScheduler scheduler = schedulerFactory.GetScheduler();
    IJobDetail jobDetail = JobBuilder.Create<SatellitePaymentGenerationJob>()
    .WithIdentity("TestJob")
    .Build();
    Console.WriteLine(DateBuilder.DateOf(16, 30, 00, 24, 2, 2015));
    //ITrigger trigger = TriggerBuilder.Create()
    // .ForJob(jobDetail)
    // .WithCronSchedule("0 0 12 20 4 ? *")
    // .WithIdentity("TestTrigger")
    // .StartNow()
    // .Build();
    ITrigger trigger = TriggerBuilder.Create()
    .WithDescription("Once")
    .WithSimpleSchedule(x => x.RepeatForever().WithRepeatCount(1))
    .StartAt(DateBuilder.DateOf(12, 43, 00, 26, 2, 2015))
    .Build();
    scheduler.ScheduleJob(jobDetail, trigger);
    scheduler.Start();
    internal class SatellitePaymentGenerationJob : IJob
    public void Execute(IJobExecutionContext context)
    Console.WriteLine("test");
    I believe that the way I have done scheduling to be execute only once is causing the issue. Please advice.
    mayooran99

    Hi mayooran99,
    From the additional information: Repeat Interval cannot be zero. The screenshot
    as below.
    You should specify a repeat interval in seconds. 
    Please try the following code
    ITrigger triggers = TriggerBuilder.Create()
    .WithDescription("Once")
    .WithSimpleSchedule(x => x
    .WithIntervalInSeconds(20)
    .RepeatForever())
    .StartAt(DateBuilder.DateOf(12, 43, 00, 26, 2, 2015))
    .Build();
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Auto schedule + Periodic Invoker

    Hi All,
    I have a small problem for which i'm looking for some easy solution. The problem is that I have a java program that should be invoked by the cron scheduler once on a daily basis.
    Now once the program is automatically invoked, i have a logic that tests if certain third-party activity has finished working or not (get a response flag). In-case, if that avtivity is finished then my program proceeds and do its main task. And in-case if that third-party activity is not finished then I want my program to wait until it is finihsed and then do its main task.
    So could there be any solution through which my logic for invoking third-party activity is made periodic (in case if the first attempt to thrid-party activity returns not finished flag), without re-invoking the scheduler?
    Once the thrid-party activity returns a finished flag, then the periodic invoker should break and my program should proceed with its rest of the work and then finally exit.
    Any small mock code example shall be highlly appreciated.
    thanks.

    You are have understood it correctly, but a normal
    loop (while) is not a good idea as the thrid-party
    activity can take more than an hour to finish its
    task and during that time i dont want my program to
    constantly asking the thrid-party whether it has
    finished its task or not. The calls to the third
    party should be periodic e.g. after every 30 mins or
    so.So put in a Thread.sleep(30 * 1000 * 60) call in the loop to make it sleep for 30 minutes before it checks again.
    i want my program to be in the sleep mode until it
    gets a flag (finished) from the thrd party.Unless you can tell the 3rd party app to notify you somehow, you're stuck with polling it.

  • Running a JAVA application as a Unix Cron Job

    I'm trying to run a 3rd party java application on a Unix (Solaris) system. I want to run it from a script so that I can put it in the cron schedule. The problem is that it won't run as a pure batch script. It seems to really want a DISPLAY device assigned to the shell, even though it never displays anything to that device. The vendor claims that he is not using any DISPLAY functionality.
    Here's my script;
    #!/bin/sh
    # PARAMETER 1 (%1): name (without .tif)
    # PARAMETER 2 (%2): type (CAMS or MACS)
    # PARAMETER 3 (%3): level (1, 2, or 3)
    export myCP=./Extract.zip:lib/jai_codec.jar:lib/jai_core.jar:lib/mlibwrapper_jai.jar
    export DISPLAY=(some xhost unix workstation's IP address)
    java -classpath $myCP extract.ByteConvertOne $1 $2 $3 > byteconvertone.log 2>&1
    If I run this script with the "export DISPLAY" in place, it runs fine. If I comment out the "export DISPLAY" line, it hangs and will never execute or error out.
    Is there some other redirect, or system property setting I need to change to make this work?
    Help

    only idea is to set system wide the DISPLAY to :0
    for examples in
    /etc/profile :
    export DISPLAY=:0
    btw: AFAIK when you instantiate swing or awt classes they require an X server running and the DISPLAY variable to be set. Perhaps that is a clue, why you need this.

  • Use DataSource of weblogic in a standalone Java file

    Hi,
    We have a requirement to run a java file at a scheduled time in a day using cron scheduler on our linux server.
    We need to fetch data from the database & perform some business logic in this standalone JAVA file.
    Our application has an EAR which is deployed on Weblogic 10.3 server & in our application, we are utilizing the datasource created in that domain using Hibernate.
    Now, can we create a standealone Java file & use exisitng datasource (without Hibernate) instead of legacy JDBC code to connect to DB.
    Also, do we need to keep this JAVA file a part of this EAR, WAR or can we put the class file in anylocation outside this EAR & then utilize datasource feature.
    Please help on the same in implementation.
    Thanks,
    Uttam

    Hi Ravi,
    I did create Datasource domain & put wlclient.jar in my application classpath (Add jar in Java Build path of application), but, when I ran application, its giving below error
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/kernel/KernelStatus
         at weblogic.jndi.Environment.<clinit>(Environment.java:78)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:198)
         at TestDataSource.main(TestDataSource.java:37)
    Also, I'm putting code here as I there is no provision to attach the file here. Please let me know whats wrong here.
    Also, I've given the name of datasource as testDataSource through Admin console of the domain. Do we need to prefix the name with jdbc/ in the code or without that also it works?
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    public class TestDataSource {
         public static void main(String[] args)
              DataSource ds=null;
              Connection conn=null;
              Statement stmt=null;
              ResultSet rs=null;
              Context ctx=null;
              try
                   Hashtable ht = new Hashtable();
                   ht.put(Context.INITIAL_CONTEXT_FACTORY,
                   "weblogic.jndi.WLInitialContextFactory");
                   ht.put(Context.PROVIDER_URL,
                   "t3://172.19.244.180:7001");
                   System.out.println("HERE");
                   ctx=new InitialContext(ht);
                   ds=(DataSource)ctx.lookup("jdbc/testDataSource");
                   System.out.println("HERE AFER CONTEXT CREATION");
                   conn=ds.getConnection();
                   stmt=conn.createStatement();
                   rs=stmt.executeQuery("select distinct(circle) from AIRCEL_STORE_FINDER order by 1 ");
                   while (rs.next())
                        System.out.println("circle name "+rs.getString(1));
              }catch (Exception e) {
                   System.out.println("Error in Main "+e.toString());
                   e.printStackTrace();
              finally{
                   try{
                   if(rs!=null)
                        rs.close();
                   if(stmt!=null)
                        stmt.close();
                   if(conn!=null)
                        conn.close();
                   if(ds!=null)
                        ds=null;
                   if(ctx!=null)
                        ctx.close();
                   }catch (SQLException e) {
                        System.out.println("Error in SQLException Finally "+e.toString());
                   catch (NamingException e) {
                        System.out.println("Error in NamingException Finally "+e.toString());
    }

  • No domain authorization. (4)'(SecurityException#checkDomainAuth:160)

    Hello Everybody
    I just configured a OPS with a valid support account but a task is stuck: Firmware Download
    Job ID : xxxx.xxxx.xxxx
    Job Name : Cron scheduled Firmware download job
    Job Type : Firmware download
    Job Desc : -
    Run ID : 1
    Status : RUNNING
    Mode : Actual run
    Owner : opsuser
    Create Date : 06/29/2011 12:47:34 PM CDT
    Start Date : 06/29/2011 12:47:34 PM CDT
    Execution Order : SEQUENTIAL
    Failure Policy : ABORT_ON_ANY_FAILURE
    Task : Firmware Nightly Downloads
    Target : Satellite->satellite
    Status : RUNNING
    Result : Task execution in progress...
    Logs :
    06/29/2011 12:47:36 PM CDT DEBUG Starting the download of firmware images..
    06/29/2011 12:47:36 PM CDT DEBUG The Enterprise Controller is connected to My Oracle Support.
    06/29/2011 12:47:36 PM CDT DEBUG Downloaded the firmware catalog file.
    06/29/2011 12:47:46 PM CDT DEBUG Downloaded firmware image 'Sun_System_Firmware-7_3_0_c-Sun_Blade_T6320.zip[88000029.blob]' with size 28385366 and ID 88000029.
    06/29/2011 12:47:46 PM CDT DEBUG Firmware image Sun_System_Firmware-7_3_0_c-Sun_Blade_T6320_Server_Module.pkg will be imported.
    06/29/2011 12:47:46 PM CDT DEBUG Firmware image Sun_System_Firmware-7_3_0_c-Sun_Blade_T6320_G2_Server_Module.pkg will be imported.
    06/29/2011 12:47:46 PM CDT WARNING Unable to import the file '/tmp/Sun_System_Firmware-7_3_0_c-Sun_Blade_T6320.zip'.
    06/29/2011 12:47:46 PM CDT WARNING Warning:'No domain authorization. (4)'(SecurityException#checkDomainAuth:160)
    06/29/2011 12:47:56 PM CDT DEBUG Downloaded firmware image 'ILOM-3_0_9_27_c_r60665-Sun_Fire_X4170M2_X4270M2-firmware_package.zip[88000030.blob]' with size 13026006 and ID 88000030.
    06/29/2011 12:47:56 PM CDT DEBUG Firmware image ILOM-3_0_9_27_c_r60665-Sun_Fire_X4170M2_X4270M2.pkg will be imported.
    06/29/2011 12:47:56 PM CDT WARNING Unable to import the file '/tmp/ILOM-3_0_9_27_c_r60665-Sun_Fire_X4170M2_X4270M2-firmware_package.zip'.
    06/29/2011 12:47:56 PM CDT WARNING Warning:'No domain authorization. (4)'(SecurityException#checkDomainAuth:160)
    06/29/2011 12:48:01 PM CDT DEBUG Downloaded firmware image 'ILOM-3_0_9_19_b_r60954-Sun-Fire_X4170_X4270_X4275-firmware_package.zip[88000031.blob]' with size 12778508 and ID 88000031.
    06/29/2011 12:48:06 PM CDT DEBUG Firmware image ILOM-3_0_9_19_b_r60954-Sun-Fire_X4170_X4270_X4275.pkg will be imported.
    06/29/2011 12:48:06 PM CDT WARNING Unable to import the file '/tmp/ILOM-3_0_9_19_b_r60954-Sun-Fire_X4170_X4270_X4275-firmware_package.zip'.
    06/29/2011 12:48:06 PM CDT WARNING Warning:'No domain authorization. (4)'(SecurityException#checkDomainAuth:160)
    06/29/2011 12:48:21 PM CDT DEBUG Downloaded firmware image 'Sun_System_Firmware-7_3_0_c-SPARC_Enterprise_T5120_T5220.zip[88000033.blob]' with size 14765829 and ID 88000033.
    06/29/2011 12:48:21 PM CDT DEBUG Firmware image Sun_System_Firmware-7_3_0_c-SPARC_Enterprise_T5120+T5220.pkg will be imported.
    06/29/2011 12:48:21 PM CDT WARNING Unable to import the file '/tmp/Sun_System_Firmware-7_3_0_c-SPARC_Enterprise_T5120_T5220.zip'.
    06/29/2011 12:48:21 PM CDT WARNING Warning:'No domain authorization. (4)'(SecurityException#checkDomainAuth:160)
    06/29/2011 12:48:26 PM CDT DEBUG Downloaded firmware image 'ILOM-3_0_6_12_r60149-Meta-Sun_Blade_X6440.zip[88000035.blob]' with size 11711612 and ID 88000035.
    06/29/2011 12:48:26 PM CDT DEBUG Firmware image ILOM-3_0_6_12_r60149-Sun_Blade_X6440.pkg will be imported.
    06/29/2011 12:48:26 PM CDT WARNING Unable to import the file '/tmp/ILOM-3_0_6_12_r60149-Meta-Sun_Blade_X6440.zip'.
    06/29/2011 12:48:26 PM CDT WARNING Warning:'No domain authorization. (4)'(SecurityException#checkDomainAuth:160)
    # /var/opt/sun/xvm/OCDoctor/OCDoctor.sh --troubleshoot
    Ops Center Doctor version 2.02 (Nov 17 2010 [Build 261])
    [Fix mode is disabled] [Read only mode]
    ===================== Checking Enterprise Controller... ===========================
    OK: Total number of agents: 0
    OK: Number of agents with inventories: 0
    WARNING: Currently only RedHat 5.3 is supported, this system is:
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    WARNING: RPM ncompress is MISSING
    OK: No broken indexes in the Management DB
    OK: No broken indexes in the Report DB
    du: cannot access `/var/logs/uce_server/*_log*': No such file or directory
    OK: Apache logs are smaller than 2 GB
    OK: User scncon is not locked
    OK: scncon Password is configured properly
    OK: n1gc folder has the right permissions
    OK: satadm timeouts were increased
    OK: All agent RPMs are installed properly
    OK: All Enterprise Controller RPMs are installed properly
    OK: Enterprise Controller status is online
    OK: the version is the latest one (11.1.0.1536)
    OK: scndb user exists
    OK: scndb user does not have any messages printed when logged in
    OK: Logs folder has the right permissions
    OK: Connectivity to the KB public servers works properly
    OK: No credential issues found
    TIP: don't forget to run the 'OCDoctor.sh --tuning' to optimize performance on the EC
    ==================== Checking LOCAL Proxy Controller... ===========================
    OK: No cacao SMF issue known on Linux ECs/PCs
    OK: ipmiflash points to a binary
    OK: No hidden servers due to proxy communication
    OK: Proxy status is online
    OK: Found a proxy connection listed in 'sc-console list-connections' - the local proxy is properly configured
    You may run this on remote proxies as well
    OK: no ssh 'Read timed out' messages found
    ============================= Checking agent... ===================================
    OK: Agent requirements are met
    OK: All agent RPMs are installed properly
    OK: Memory usage of agent is fine.
    OK: agent version is the latest one (11.1.0-1536)
    OK: no core file found in seekers folder
    OK: Agent services are running
    OK: stclient command works properly
    any ideas?
    alex davila

    For about 18 days or so our firmware repo was taken off line and customers were not able to automatically download firmware. The issues has been fixed. Note that during that time you still could have manually uploaded firmware.

  • Mail service on start/stop of services ...

    Hi,
    Please let me know the way to send mail when services are started/stopped in oracle application 11.5.10.2. How to configure this on ibm aix 5.3.
    Thanks,
    Sai Ram

    There is a way to configure emails on startup/shutdown of Concurrent Manager service - but I'm not aware about any such configuration around other services (eg. Apache, Apps Listener, Forms Server etc..)
    I think you'll have to do this outside Oracle's scripts if you wish to set this up - either by wrapping the calls to seeded scripts in your own custom script, or if you want a periodical probing, then via use of cron/scheduler depending on the OS you're on.
    Hope that helps.
    Regards,
    Rakesh
    PS : In addition to the Concurrent Managers, I think you should be also able to achieve this for database services if you wish to do that - by use of startup and shutdown database triggers.

  • How to run standalone java file from weblogic server on Solaris

    Hi,
    We have a requirement to run a java file at a scheduled time in a day using cron scheduler on our linux server.
    We need to fetch data from the database & perform some business logic in this standalone JAVA file.
    Our application has an EAR which is deployed on Weblogic 10.3 server & in our application, we are utilizing the datasource created in that domain.
    Now, we have created a standealone Java file & used exisitng datasource (without Hibernate) of the domain with the help of below forums,
    Use DataSource of weblogic in a standalone Java file
    able to achieve the same.
    I've bundled this JAVA in application WAR & depoyed on the same domain where datasource is created.
    Now, how can I execute this file from anywhere on the server using weblogic classpath.
    Please help on the same in implementation.
    Thanks,
    Uttam

    If the Java application must be stand-alone you must not deploy it on WebLogic, then WebLogic will manage its lifecycle.
    In this case you can use the CommonJ API and use the timermanager if it must run on a certain time. More information
    of how to do this can be found here: http://middlewaremagic.com/weblogic/?p=5569
    If you keep the Java application stand-only and want to use a cron job you can follow the example presented here: http://middlewaremagic.com/weblogic/?p=7065
    Note that the example runs a WLST script, but you can follow the same steps to run your Java application.

  • How to retrieve a deleted application

    I was just curious in know is there any way you can retrieve a deleted application. I noticed there is recycle bin but I think that is just for database objects

    Use the command-line export utility on the APEX Studio. This uses a Java class HTMLDBExport.class that is included in the utilities folder in the software distribution. There is probably a README file that has instructions on how to use it.
    This way you can set up a scheduled job using the appropriate tools depending on your operating environment (cron, Scheduled Tasks, etc) and have a periodic export of your entire workspace.

  • Error - DBMS_SCHEDULER - 10.2.0.3 - SunOS (SPARC 64 Bit) - 5.10

    We have two DB instances running on similar platforms and both the DB's are on the same patch set level. We are trying to centralize all the bypass the cron scheduler and make use of the DBMS_SCHEDULER thus centralizing from the DB itself. At this end we tested a simple script for if that will succeed and it went fine on one instance and on the other it failed with an error. Searching the forums and metalink did not give us a clue as to what is wrong with that instance. Here is the error.
    ORA-27369: job of type EXECUTABLE failed with exit code: Unknown error
    STANDARD_ERROR="Oracle Scheduler error: Not running as extjob or extjobo."
    From the above error it looks like the extjob is not getting executed as the setuid user or something we are missing. The oracle instance itself is working fine on this server.
    The shell script is running fine when kicked off from the OS command prompt.
    Here is the pl/sql block used to create the job and under that the original shell script used for testing.
    begin
    dbms_scheduler.create_job(
    job_name => 'TEST'
    ,job_type => 'EXECUTABLE'
    ,job_action => '/u01/scripts/LV/lv.sh'
    ,repeat_interval => 'FREQ=MINUTELY; INTERVAL=3'
    ,enabled => TRUE
    ,comments => 'Test For Every 3 minutes.');
    end;
    --Shell Script
    #!/usr/bin/bash
    #Set Up Oracle Environment
    ORACLE_HOME=/u01/oracle/product/10.2.0; export ORACLE_HOME
    ORACLE_SID=NV2PROD1; export ORACLE_SID
    LD_LIBRARY=$ORACLE_HOME/lib; export LD_LIBRARY
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    sqlplus ' / as sysdba'<<EOF
    spool /u01/scripts/LV/lv.out
    select table_name from dba_tables where owner='DM_DTB_OWNER';
    spool off
    exit
    EOF
    Any one has got similar error or issues and would appreciate your time and suggestions.
    Thanks,
    LV

    Hi Ravi,
    Thanks for the response and I happened to view several posts and solutions from you regarding the Scheduler issue.
    Here are the results you have asked....
    - Whether this job is in the SYS schema or not
    The job was created in the sys schema as I logged in as sys as sysdba. However the oracle environment setup inside the shell script logs into a different schema or user to execute the sql statement.
    --The output from the instance where the script is working using DBMS_SCHEDULER
    a)
    [navdb1:oracle:TMSPROD] /home/oracle
    $ ls -l $ORACLE_HOME/bin/extjob
    -rwsr-x--- 1 root dba 28912 Jan 8 14:36 /u01/oracle/product/10.2.0/bin/extjob
    b)
    [navdb1:oracle:TMSPROD] /home/oracle
    $ ls -l $ORACLE_HOME/bin/extjobo
    -rwx------ 1 oracle dba 28920 Jan 8 14:36 /u01/oracle/product/10.2.0/bin/extjobo
    c)
    [navdb1:oracle:TMSPROD] /home/oracle
    $ ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s--x 1 oracle dba 120971944 Feb 3 00:17 /u01/oracle/product/10.2.0/bin/oracle
    --The output from the instance where the script is NOT working using DBMS_SCHEDULER
    a)
    [navdb2:oracle:NV2PROD1] /home/oracle
    $ ls -l $ORACLE_HOME/bin/extjob
    -rwsr-x--- 1 root dba 28912 Oct 7 07:21 /u01/oracle/product/10.2.0/bin/extjob
    b)
    [navdb2:oracle:NV2PROD1] /home/oracle
    $ ls -l $ORACLE_HOME/bin/extjobo
    -rwxr-xr-x 1 oracle dba 28920 Oct 7 07:21 /u01/oracle/product/10.2.0/bin/extjobo
    c)
    [navdb2:oracle:NV2PROD1] /home/oracle
    $ ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s--x 1 oracle dba 120973344 Oct 7 07:21 /u01/oracle/product/10.2.0/bin/oracle
    Hope the details will help you for a valuble guidance from you.
    Thanks very much for your time.
    LV

  • Stopping a Scenario

    Hi there
    I have some questions on how to stop a scenario:
    I have a scenario running on my linux server (I am using startscen.sh to launch the scenario).
    I can see the logs through the operator console, however when I stop the scenario using the operator, it appears to be stopped in operator, but it is actually still running on the server.
    Q1. Is there a way to successfully stop a scenario launched using startscen.sh in the Operator console.
    Q2. Is there any way to stop a scenario on linux box. There is a startscen.sh shipped with ODI but i do not see a corresponding script to stop a scenario. I do not want to do a kill -9, as i want to stop in cron scheduler.
    Thank you for your help.

    Have moved to use the scheduling agent instead.

  • [SOLVED] mkarchiso: ERROR: failed to detect root filesystem

    hi guys!
    i am now trying to build my own live archlinux distribution with archiso and with the command "mkarchiso"
    at the first step in installing the base when it installs linux and execute "mkinitcpio" it shows me this error:
    ( 73/111) installing linux [#####################################################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    ==> ERROR: failed to detect root filesystem
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: bfa
    ==> WARNING: Possibly missing firmware for module: aic94xx
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    i continue the process with that error and in the "run" step i did this command
    # mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
    [root@fuhrer livecd]# mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: run
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work/x86_64/
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Run command: mkinitcpio
    ==> Starting dry run: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    ==> ERROR: failed to detect root filesystem
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Dry run complete, use -g IMAGE to generate a real image
    and the big problem shows when i build the iso file and "dd" it to USB disk, when i choose to boot the live archlinux it tell me
    ERROR: failed to detect root filesystem
    and that you cannot log to tty
    any suggestions?
    Last edited by fuhrer (2013-07-22 17:05:07)

    First run it, without any modification to learn how it works. Check if works. Modify as you need. Check if works...
    Do not worry about the mkinitcpio error, because such initramfs images should not be used for boot live medium. You can see that profiles uses own mkinitcpio.conf with at least archiso hook
    Running mkarchiso directly is not the right way, at least if you do not know how things works.
    [root@exequiel tmp]# cp -r /usr/share/archiso/configs/baseline .
    [root@exequiel tmp]# cd baseline
    [root@exequiel baseline]# ./build.sh
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: init
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Pacman config file: /etc/pacman.conf
    [mkarchiso] INFO: Installing packages to 'work/root-image/'...
    :: Synchronizing package databases...
    core 103.0 KiB 12.6M/s 00:00 [############################################################################] 100%
    extra 1439.7 KiB 11.2M/s 00:00 [############################################################################] 100%
    community 1990.1 KiB 11.2M/s 00:00 [############################################################################] 100%
    multilib 107.3 KiB 11.6M/s 00:00 [############################################################################] 100%
    :: There are 51 members in group base:
    :: Repository core
    1) bash 2) bzip2 3) coreutils 4) cronie 5) cryptsetup 6) device-mapper 7) dhcpcd 8) diffutils 9) e2fsprogs 10) file 11) filesystem 12) findutils 13) gawk 14) gcc-libs 15) gettext 16) glibc
    17) grep 18) gzip 19) heirloom-mailx 20) inetutils 21) iproute2 22) iputils 23) jfsutils 24) less 25) licenses 26) linux 27) logrotate 28) lvm2 29) man-db 30) man-pages 31) mdadm 32) nano
    33) netctl 34) pacman 35) pciutils 36) pcmciautils 37) perl 38) procps-ng 39) psmisc 40) reiserfsprogs 41) sed 42) shadow 43) sysfsutils 44) systemd-sysvcompat 45) tar 46) texinfo 47) usbutils
    48) util-linux 49) vi 50) which 51) xfsprogs
    Enter a selection (default=all):
    resolving dependencies...
    looking for inter-conflicts...
    Packages (111):
    Name New Version Net Change
    core/acl 2.2.52-1 0.39 MiB
    core/archlinux-keyring 20130525-2 0.49 MiB
    core/attr 2.4.47-1 0.19 MiB
    core/ca-certificates 20130610-1 0.25 MiB
    core/cracklib 2.8.22-3 1.20 MiB
    core/curl 7.31.0-1 1.73 MiB
    core/db 5.3.21-1 15.30 MiB
    core/dbus 1.6.12-1 1.63 MiB
    core/dirmngr 1.1.1-1 0.49 MiB
    core/expat 2.1.0-2 0.61 MiB
    core/gdbm 1.10-1 0.37 MiB
    core/glib2 2.36.3-2 11.66 MiB
    core/gmp 5.1.2-1 2.07 MiB
    core/gnupg 2.0.20-2 7.14 MiB
    core/gpgme 1.4.2-1 0.68 MiB
    core/groff 1.22.2-3 8.94 MiB
    core/hwids 20130607-1 1.28 MiB
    core/iana-etc 2.30-3 3.44 MiB
    core/iptables 1.4.19.1-1 1.38 MiB
    core/kbd 1.15.5-4 2.83 MiB
    core/keyutils 1.5.5-5 0.18 MiB
    core/kmod 14-1 0.45 MiB
    core/krb5 1.11.3-1 3.86 MiB
    core/libarchive 3.1.2-1 3.19 MiB
    core/libassuan 2.1.1-1 0.17 MiB
    core/libcap 2.22-5 0.13 MiB
    core/libffi 3.0.13-3 0.10 MiB
    core/libgcrypt 1.5.2-1 0.68 MiB
    core/libgpg-error 1.12-1 0.33 MiB
    core/libgssglue 0.4-1 0.19 MiB
    core/libksba 1.3.0-1 0.30 MiB
    core/libldap 2.4.35-4 2.15 MiB
    core/libpipeline 1.2.4-1 0.08 MiB
    core/libsasl 2.1.26-4 0.54 MiB
    core/libssh2 1.4.3-1 1.19 MiB
    core/libtirpc 0.2.3-1 0.68 MiB
    core/libusbx 1.0.15-1 0.15 MiB
    core/linux-api-headers 3.8.4-1 4.58 MiB
    core/linux-firmware 20130610-1 51.25 MiB
    core/lzo2 2.06-1 0.61 MiB
    core/mkinitcpio 0.14.0-1 0.16 MiB
    core/mkinitcpio-busybox 1.20.2-1 0.34 MiB
    core/mpfr 3.1.2-1 1.50 MiB
    core/ncurses 5.9-5 9.75 MiB
    core/openresolv 3.5.5-1 0.04 MiB
    core/openssl 1.0.1.e-3 11.38 MiB
    core/pacman-mirrorlist 20130626-1 0.02 MiB
    core/pam 1.1.6-4 3.41 MiB
    core/pambase 20130113-1 0.04 MiB
    core/pcre 8.33-1 4.83 MiB
    core/pinentry 0.8.3-1 0.33 MiB
    core/popt 1.16-6 0.43 MiB
    core/pth 2.0.7-4 0.21 MiB
    core/readline 6.2.004-1 1.20 MiB
    core/run-parts 4.3.4-1 0.11 MiB
    core/systemd 204-3 14.59 MiB
    core/sysvinit-tools 2.88-11 0.07 MiB
    core/tzdata 2013d-1 1.84 MiB
    core/xz 5.0.5-1 0.90 MiB
    core/zlib 1.2.8-1 0.30 MiB
    core/bash 4.2.045-4 3.51 MiB
    core/bzip2 1.0.6-4 0.25 MiB
    core/coreutils 8.21-2 13.27 MiB
    core/cronie 1.4.9-5 0.15 MiB
    core/cryptsetup 1.6.1-2 0.71 MiB
    core/device-mapper 2.02.98-4 0.52 MiB
    core/dhcpcd 5.6.8-3 0.16 MiB
    core/diffutils 3.3-1 0.43 MiB
    core/e2fsprogs 1.42.8-1 3.16 MiB
    core/file 5.14-1 2.71 MiB
    core/filesystem 2013.05-2 0.01 MiB
    core/findutils 4.4.2-5 1.70 MiB
    core/gawk 4.1.0-1 2.11 MiB
    core/gcc-libs 4.8.1-1 3.41 MiB
    core/gettext 0.18.3-1 11.10 MiB
    core/glibc 2.17-6 35.24 MiB
    core/grep 2.14-2 1.33 MiB
    core/gzip 1.6-1 0.18 MiB
    core/heirloom-mailx 12.5-3 0.46 MiB
    core/inetutils 1.9.1-6 0.97 MiB
    core/iproute2 3.9.0-2 1.37 MiB
    core/iputils 20121221-2 0.21 MiB
    core/jfsutils 1.1.15-4 0.98 MiB
    core/less 458-1 0.22 MiB
    core/licenses 20130203-1 0.53 MiB
    core/linux 3.9.9-1 63.98 MiB
    core/logrotate 3.8.5-1 0.07 MiB
    core/lvm2 2.02.98-4 3.10 MiB
    core/man-db 2.6.5-1 1.26 MiB
    core/man-pages 3.52-1 4.63 MiB
    core/mdadm 3.2.6-4 1.18 MiB
    core/nano 2.2.6-2 1.49 MiB
    core/netctl 1.1-1 0.16 MiB
    core/pacman 4.1.2-1 4.04 MiB
    core/pciutils 3.2.0-3 0.34 MiB
    core/pcmciautils 018-7 0.05 MiB
    core/perl 5.18.0-1 47.64 MiB
    core/procps-ng 3.3.8-2 0.59 MiB
    core/psmisc 22.20-1 0.73 MiB
    core/reiserfsprogs 3.6.23-1 0.95 MiB
    core/sed 4.2.2-3 0.76 MiB
    core/shadow 4.1.5.1-6 3.88 MiB
    core/sysfsutils 2.1.0-8 0.17 MiB
    core/systemd-sysvcompat 204-3 0.03 MiB
    core/tar 1.26-4 2.33 MiB
    core/texinfo 5.1-1 8.62 MiB
    core/usbutils 007-1 0.17 MiB
    core/util-linux 2.23.1-2 8.92 MiB
    core/vi 1:050325-3 0.33 MiB
    core/which 2.20-6 0.06 MiB
    core/xfsprogs 3.1.11-1 3.29 MiB
    Total Installed Size: 427.79 MiB
    :: Proceed with installation? [Y/n]
    (111/111) checking keys in keyring [############################################################################] 100%
    (111/111) checking package integrity [############################################################################] 100%
    (111/111) loading package files [############################################################################] 100%
    (111/111) checking for file conflicts [############################################################################] 100%
    (111/111) checking available disk space [############################################################################] 100%
    ( 1/111) installing linux-api-headers [############################################################################] 100%
    ( 2/111) installing tzdata [############################################################################] 100%
    ( 3/111) installing iana-etc [############################################################################] 100%
    ( 4/111) installing filesystem [############################################################################] 100%
    warning: directory permissions differ on /tmp/baseline/work/root-image/run/
    filesystem: 1777 package: 755
    ( 5/111) installing glibc [############################################################################] 100%
    ( 6/111) installing ncurses [############################################################################] 100%
    ( 7/111) installing readline [############################################################################] 100%
    ( 8/111) installing bash [############################################################################] 100%
    ( 9/111) installing bzip2 [############################################################################] 100%
    ( 10/111) installing gcc-libs [############################################################################] 100%
    ( 11/111) installing db [############################################################################] 100%
    ( 12/111) installing zlib [############################################################################] 100%
    ( 13/111) installing cracklib [############################################################################] 100%
    ( 14/111) installing libgssglue [############################################################################] 100%
    ( 15/111) installing libtirpc [############################################################################] 100%
    ( 16/111) installing pambase [############################################################################] 100%
    ( 17/111) installing pam [############################################################################] 100%
    ( 18/111) installing attr [############################################################################] 100%
    ( 19/111) installing acl [############################################################################] 100%
    ( 20/111) installing gmp [############################################################################] 100%
    ( 21/111) installing libcap [############################################################################] 100%
    ( 22/111) installing coreutils [############################################################################] 100%
    ( 23/111) installing run-parts [############################################################################] 100%
    ( 24/111) installing cronie [############################################################################] 100%
    Optional dependencies for cronie
    pm-utils: defer anacron on battery power
    smtp-server: send job output via email
    smtp-forwarder: forward job output to email server
    ( 25/111) installing expat [############################################################################] 100%
    ( 26/111) installing dbus [############################################################################] 100%
    Optional dependencies for dbus
    libx11: dbus-launch support
    ( 27/111) installing pcre [############################################################################] 100%
    ( 28/111) installing libffi [############################################################################] 100%
    ( 29/111) installing glib2 [############################################################################] 100%
    Optional dependencies for glib2
    python2: for gdbus-codegen and gtester-report
    elfutils: gresource inspection tool
    ( 30/111) installing kbd [############################################################################] 100%
    ( 31/111) installing kmod [############################################################################] 100%
    ( 32/111) installing hwids [############################################################################] 100%
    ( 33/111) installing libgpg-error [############################################################################] 100%
    ( 34/111) installing libgcrypt [############################################################################] 100%
    ( 35/111) installing shadow [############################################################################] 100%
    ( 36/111) installing util-linux [############################################################################] 100%
    ( 37/111) installing xz [############################################################################] 100%
    ( 38/111) installing systemd [############################################################################] 100%
    Initializing machine ID from random generator.
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
    bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
    Optional dependencies for systemd
    cryptsetup: required for encrypted block devices [pending]
    libmicrohttpd: systemd-journal-gatewayd
    quota-tools: kernel-level quota management
    python: systemd library bindings
    systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
    ( 39/111) installing device-mapper [############################################################################] 100%
    ( 40/111) installing popt [############################################################################] 100%
    ( 41/111) installing cryptsetup [############################################################################] 100%
    ( 42/111) installing dhcpcd [############################################################################] 100%
    ( 43/111) installing diffutils [############################################################################] 100%
    ( 44/111) installing e2fsprogs [############################################################################] 100%
    ( 45/111) installing file [############################################################################] 100%
    ( 46/111) installing findutils [############################################################################] 100%
    ( 47/111) installing mpfr [############################################################################] 100%
    ( 48/111) installing gawk [############################################################################] 100%
    ( 49/111) installing gettext [############################################################################] 100%
    Optional dependencies for gettext
    cvs: for autopoint tool
    ( 50/111) installing grep [############################################################################] 100%
    ( 51/111) installing less [############################################################################] 100%
    ( 52/111) installing gzip [############################################################################] 100%
    ( 53/111) installing gdbm [############################################################################] 100%
    ( 54/111) installing perl [############################################################################] 100%
    ( 55/111) installing openssl [############################################################################] 100%
    Optional dependencies for openssl
    ca-certificates [pending]
    ( 56/111) installing libsasl [############################################################################] 100%
    ( 57/111) installing libldap [############################################################################] 100%
    ( 58/111) installing keyutils [############################################################################] 100%
    ( 59/111) installing krb5 [############################################################################] 100%
    ( 60/111) installing heirloom-mailx [############################################################################] 100%
    Optional dependencies for heirloom-mailx
    smtp-forwarder: for sending mail
    ( 61/111) installing inetutils [############################################################################] 100%
    ( 62/111) installing iptables [############################################################################] 100%
    ( 63/111) installing iproute2 [############################################################################] 100%
    Optional dependencies for iproute2
    linux-atm: ATM support
    ( 64/111) installing sysfsutils [############################################################################] 100%
    ( 65/111) installing iputils [############################################################################] 100%
    Optional dependencies for iputils
    xinetd: for tftpd
    ( 66/111) installing jfsutils [############################################################################] 100%
    ( 67/111) installing licenses [############################################################################] 100%
    ( 68/111) installing linux-firmware [############################################################################] 100%
    ( 69/111) installing mkinitcpio-busybox [############################################################################] 100%
    ( 70/111) installing lzo2 [############################################################################] 100%
    ( 71/111) installing libarchive [############################################################################] 100%
    ( 72/111) installing mkinitcpio [############################################################################] 100%
    Optional dependencies for mkinitcpio
    xz: Use lzma or xz compression for the initramfs image [pending]
    bzip2: Use bzip2 compression for the initramfs image [pending]
    lzop: Use lzo compression for the initramfs image
    mkinitcpio-nfs-utils: Support for root filesystem on NFS
    ( 73/111) installing linux [############################################################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    ==> ERROR: failed to detect root filesystem
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: bfa
    ==> WARNING: Possibly missing firmware for module: aic94xx
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    Optional dependencies for linux
    crda: to set the correct wireless channels of your country
    ( 74/111) installing logrotate [############################################################################] 100%
    Optional dependencies for logrotate
    cron: scheduled log rotation
    ( 75/111) installing lvm2 [############################################################################] 100%
    ( 76/111) installing groff [############################################################################] 100%
    Optional dependencies for groff
    netpbm: for use together with man -H command interaction in browsers
    psutils: for use together with man -H command interaction in browsers
    libxaw: for gxditview
    ( 77/111) installing libpipeline [############################################################################] 100%
    ( 78/111) installing man-db [############################################################################] 100%
    it's recommended to create an initial
    database running as root:
    "/usr/bin/mandb --quiet"
    Optional dependencies for man-db
    gzip [pending]
    ( 79/111) installing man-pages [############################################################################] 100%
    ( 80/111) installing mdadm [############################################################################] 100%
    ( 81/111) installing nano [############################################################################] 100%
    ( 82/111) installing openresolv [############################################################################] 100%
    ( 83/111) installing netctl [############################################################################] 100%
    Optional dependencies for netctl
    dialog: for the menu based wifi assistant
    dhclient: for DHCP support (or dhcpcd)
    dhcpcd: for DHCP support (or dhclient) [pending]
    wpa_supplicant: for wireless networking support
    ifplugd: for automatic wired connections through netctl-ifplugd
    wpa_actiond: for automatic wireless connections through netctl-auto
    ifenslave: for bond connections
    bridge-utils: for bridge connections
    ppp: for pppoe connections
    ( 84/111) installing sed [############################################################################] 100%
    ( 85/111) installing ca-certificates [############################################################################] 100%
    ( 86/111) installing libssh2 [############################################################################] 100%
    ( 87/111) installing curl [############################################################################] 100%
    ( 88/111) installing pth [############################################################################] 100%
    ( 89/111) installing libksba [############################################################################] 100%
    ( 90/111) installing libassuan [############################################################################] 100%
    ( 91/111) installing pinentry [############################################################################] 100%
    Optional dependencies for pinentry
    gtk2: for gtk2 backend
    qt4: for qt4 backend
    ( 92/111) installing dirmngr [############################################################################] 100%
    ( 93/111) installing gnupg [############################################################################] 100%
    Optional dependencies for gnupg
    curl: gpg2keys_curl [pending]
    libldap: gpg2keys_ldap [pending]
    libusb-compat: scdaemon
    ( 94/111) installing gpgme [############################################################################] 100%
    ( 95/111) installing pacman-mirrorlist [############################################################################] 100%
    ( 96/111) installing archlinux-keyring [############################################################################] 100%
    ( 97/111) installing pacman [############################################################################] 100%
    >>> Run `pacman-key --init; pacman-key --populate archlinux`
    >>> to import the data required by pacman for package verification.
    >>> See: https://www.archlinux.org/news/having-pacman-verify-packages
    Optional dependencies for pacman
    fakeroot: for makepkg usage as normal user
    ( 98/111) installing pciutils [############################################################################] 100%
    ( 99/111) installing pcmciautils [############################################################################] 100%
    (100/111) installing procps-ng [############################################################################] 100%
    (101/111) installing psmisc [############################################################################] 100%
    (102/111) installing reiserfsprogs [############################################################################] 100%
    (103/111) installing sysvinit-tools [############################################################################] 100%
    (104/111) installing systemd-sysvcompat [############################################################################] 100%
    (105/111) installing tar [############################################################################] 100%
    (106/111) installing texinfo [############################################################################] 100%
    (107/111) installing libusbx [############################################################################] 100%
    (108/111) installing usbutils [############################################################################] 100%
    Optional dependencies for usbutils
    python2: for lsusb.py usage
    coreutils: for lsusb.py usage [pending]
    (109/111) installing vi [############################################################################] 100%
    Optional dependencies for vi
    heirloom-mailx: used by the preserve command for notification [pending]
    (110/111) installing which [############################################################################] 100%
    (111/111) installing xfsprogs [############################################################################] 100%
    [mkarchiso] INFO: Packages installed successfully!
    [mkarchiso] INFO: Installing packages to 'work/root-image/'...
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1):
    Name New Version Net Change
    core/syslinux 4.06-2 3.35 MiB
    Total Installed Size: 3.35 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [############################################################################] 100%
    (1/1) checking package integrity [############################################################################] 100%
    (1/1) loading package files [############################################################################] 100%
    (1/1) checking for file conflicts [############################################################################] 100%
    (1/1) checking available disk space [############################################################################] 100%
    (1/1) installing syslinux [############################################################################] 100%
    ==> If you want to use syslinux as your bootloader
    ==> edit /boot/syslinux/syslinux.cfg and run
    ==> # /usr/bin/syslinux-install_update -i -a -m
    ==> to install it.
    Optional dependencies for syslinux
    perl-passwd-md5: For md5pass
    perl-digest-sha1: For sha1pass
    mtools: For mkdiskimage and syslinux support
    gptfdisk: For GPT support
    util-linux: For isohybrid [installed]
    [mkarchiso] INFO: Packages installed successfully!
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: run
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img
    ==> Starting build: 3.9.9-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [archiso]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: bfa
    ==> WARNING: Possibly missing firmware for module: aic94xx
    -> Running build hook: [filesystems]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/archiso.img
    ==> Image generation successful
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: prepare
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Cleaning up what we can on root-image...
    [mkarchiso] INFO: Done!
    [mkarchiso] INFO: Target 'work/iso/arch/x86_64/root-image.fs.sfs' does not exist, making it from 'work/root-image'
    [mkarchiso] INFO: Creating ext4 image of 1025 MiB...
    mke2fs 1.42.8 (20-Jun-2013)
    Discarding device blocks: done
    warning: 256 blocks unused.
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    65664 inodes, 262144 blocks
    0 blocks (0.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=268435456
    8 block groups
    32768 blocks per group, 32768 fragments per group
    8208 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376
    Allocating group tables: done
    Writing inode tables: done
    Writing superblocks and filesystem accounting information: done
    [mkarchiso] INFO: Done!
    [mkarchiso] INFO: Mounting 'work/root-image.fs' on 'work/mnt/root-image'
    [mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 2 MiB (1%) | Avail: 1007 MiB (99%)
    [mkarchiso] INFO: Copying 'work/root-image/' to 'work/mnt/root-image/'...
    [mkarchiso] INFO: Done!
    [mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 552 MiB (55%) | Avail: 457 MiB (45%)
    [mkarchiso] INFO: Unmounting 'work/mnt/root-image'
    [mkarchiso] INFO: Creating SquashFS image for 'work/root-image.fs', This may take some time...
    Parallel mksquashfs: Using 2 processors
    Creating 4.0 filesystem on work/root-image.fs.sfs, block size 131072.
    Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
    compressed data, compressed metadata, compressed fragments, compressed xattrs
    duplicates are removed
    Filesystem size 193188.71 Kbytes (188.66 Mbytes)
    18.41% of uncompressed filesystem size (1049632.29 Kbytes)
    Inode table size 10918 bytes (10.66 Kbytes)
    33.19% of uncompressed inode table size (32898 bytes)
    Directory table size 31 bytes (0.03 Kbytes)
    88.57% of uncompressed directory table size (35 bytes)
    Number of duplicate files found 0
    Number of inodes 2
    Number of files 1
    Number of fragments 0
    Number of symbolic links 0
    Number of device nodes 0
    Number of fifo nodes 0
    Number of socket nodes 0
    Number of directories 1
    Number of ids (unique uids + gids) 1
    Number of uids 1
    root (0)
    Number of gids 1
    root (0)
    [mkarchiso] INFO: Image creation done in 01:46 minutes
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: checksum
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Target 'work/iso/arch/checksum.i686.md5' does not exist, making it from 'work/iso/arch'
    [mkarchiso] INFO: Creating checksum file for self-test (i686)...
    [mkarchiso] INFO: Done!
    [mkarchiso] INFO: Target 'work/iso/arch/checksum.x86_64.md5' does not exist, making it from 'work/iso/arch'
    [mkarchiso] INFO: Creating checksum file for self-test (x86_64)...
    [mkarchiso] INFO: Done!
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: iso
    [mkarchiso] INFO: Architecture: x86_64
    [mkarchiso] INFO: Working directory: work
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Image name: archlinux-2013.07.21-x86_64.iso
    [mkarchiso] INFO: Disk label: ARCH_201307
    [mkarchiso] INFO: Disk publisher: Arch Linux <http://www.archlinux.org>
    [mkarchiso] INFO: Disk application: Arch Linux Live/Rescue CD
    [mkarchiso] INFO: Target 'out/archlinux-2013.07.21-x86_64.iso' does not exist, making it from 'work/iso'
    [mkarchiso] INFO: Creating ISO image...
    xorriso 1.3.0 : RockRidge filesystem manipulator, libburnia project.
    Drive current: -outdev 'stdio:out/archlinux-2013.07.21-x86_64.iso'
    Media current: stdio file, overwriteable
    Media status : is blank
    Media summary: 0 sessions, 0 data blocks, 0 data, 4155m free
    Added to ISO image: directory '/'='/tmp/baseline/work/iso'
    xorriso : UPDATE : 16 files added in 1 seconds
    xorriso : UPDATE : 16 files added in 1 seconds
    xorriso : NOTE : Copying to System Area: 432 bytes from file '/tmp/baseline/work/iso/isolinux/isohdpfx.bin'
    libisofs: NOTE : Aligned image size to cylinder size by 177 blocks
    xorriso : UPDATE : 16.90% done
    xorriso : UPDATE : 82.85% done
    ISO image produced: 105472 sectors
    Written to medium : 105472 sectors at LBA 0
    Writing to 'stdio:out/archlinux-2013.07.21-x86_64.iso' completed successfully.
    [mkarchiso] INFO: Done! | 206M out/archlinux-2013.07.21-x86_64.iso
    Booting:
    :: running early hook [udev]
    :: running hook [udev]
    :: Triggering uevents...
    :: running hook [archiso]
    :: Mounting '/dev/disk/by-label/ARCH_201307' to '/run/archiso/bootmnt'
    :: Device '/dev/disk/by-label/ARCH_201307' mounted successfully.
    :: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=75%...
    :: Mounting '/dev/loop0' to '/run/archiso/sfs/root-image'
    :: Device '/dev/loop0' mounted successfully.
    :: Creating '/run/archiso/cowspace/persistent_ARCH_201307/x86_64/root-image.cow' as non-persistent.
    :: Mounting '/dev/mapper/arch_root-image' to '/new_root/'
    :: Device '/dev/mapper/arch_root-image' mounted successfully.
    :: running cleanup hook [udev]
    Welcome to Arch Linux!
    Expecting device dev-ttyS0.device...
    [ OK ] Reached target Remote File Systems.
    [ OK ] Listening on LVM2 metadata daemon socket.
    [ OK ] Listening on Device-mapper event daemon FIFOs.
    [ OK ] Listening on Delayed Shutdown Socket.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Listening on udev Control Socket.
    [ OK ] Reached target Paths.
    [ OK ] Reached target Encrypted Volumes.
    [ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
    [ OK ] Listening on Journal Socket.
    Mounting POSIX Message Queue File System...
    Starting Setup Virtual Console...
    Starting Create static device nodes in /dev...
    Mounting Huge Pages File System...
    Starting Apply Kernel Variables...
    Mounting Debug File System...
    Mounting Configuration File System...
    Starting udev Coldplug all Devices...
    Starting Journal Service...
    [ OK ] Started Journal Service.
    [ OK ] Reached target Swap.
    Mounting Temporary Directory...
    Starting Remount Root and Kernel File Systems...
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Mounted Huge Pages File System.
    [ OK ] Mounted Debug File System.
    [ OK ] Started Create static device nodes in /dev.
    [ OK ] Mounted Configuration File System.
    [ OK ] Mounted Temporary Directory.
    Starting udev Kernel Device Manager...
    Starting Load Random Seed...
    [ OK ] Started Load Random Seed.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Reached target Local File Systems (Pre).
    [ OK ] Reached target Local File Systems.
    Starting Trigger Flushing of Journal to Persistent Storage...
    Starting Recreate Volatile Files and Directories...
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Started Recreate Volatile Files and Directories.
    Starting Update UTMP about System Reboot/Shutdown...
    [ OK ] Started Trigger Flushing of Journal to Persistent Storage.
    [ OK ] Started Update UTMP about System Reboot/Shutdown.
    [ OK ] Reached target System Initialization.
    [ OK ] Reached target Timers.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting Permit User Sessions...
    Starting D-Bus System Message Bus...
    [ OK ] Started D-Bus System Message Bus.
    Starting Login Service...
    [ OK ] Started Permit User Sessions.
    Starting Getty on tty1...
    [ OK ] Started Getty on tty1.
    [ OK ] Started Login Service.
    [ OK ] Found device /dev/ttyS0.
    Starting Serial Getty on ttyS0...
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Reached target Login Prompts.
    [ OK ] Reached target Multi-User System.
    [ OK ] Reached target Graphical Interface.
    Arch Linux 3.9.9-1-ARCH (ttyS0)
    localhost login:

  • [Solved] SystemD, how to start a service after network is up.

    Hello,
    I'm recently involved to set up a daemon which should be ready after boot (aria2). Then it fails, as it fails minidlna as well.
    The reason is that they try to come up but there's no host to talk to. See this page.
    For my purposes, it should be good when the daemons find the necessary to stay alive (even they won't have a network fully ready, that may happen in less than a minute later). For minidlna is needed a valid IP which could be 127.0.0.1 or localhost, for aria2 it may be same or just looking for a RPC binding.
    This what the logs are telling me.
    I was trying to set more dependencies in the service, but even to set
    After=wpa_supplicant.service
    it doesn't have effect.
    I don't find a solution, as far as my knowledge spans. Another chance would take to set a systemD timer and when that will be gone to start the daemon. Sorry but I don't know much about that.
    Looking for someone here to guide to right direction.
    TIA
    Last edited by TheSaint (2013-07-15 03:12:37)

    WonderWoofy wrote:It depends on what network management utility you use and therefore also how you connect.  If you are using an ethernet connection, you could just use dhcpcd@<interface>.service.  This is a very simple service, and the network.target will not be reached until the IP address and connectivity is established.
    Meanwhile some good suggestion (like yours) came up, I've tried a couple of recipes. But  dhcpcd.service didn't get it right. Maybe dhcpcd@<interface>.service, would work, I'll see later.
    I got this working:
    [Unit]
    Description=aria2 Service
    Requires=network.target
    After=dhcpcd.service
    [Service]
    Type=forking
    User=aria2
    Group=aria2
    EnvironmentFile=/etc/conf.d/aria2.conf
    WorkingDirectory=/var/aria2
    ExecStart=/usr/bin/aria2c $ARIACMD
    ExecReload=/usr/bin/kill -HUP $MAINPID
    RestartSec=1min
    Restart=on-failure
    [Install]
    WantedBy=multi-user.target
    You may note the After=dhcpcd.service, but it doesn't work. I found RestartSec=1min ,Restart=on-failure more effective and perhaps less blocking to wait for the network to be ready. As a server this  should be a small issue, very seldom compared with the running time. We (family members) can accept a little wait for the service to be on.
    Exactly I don't know which of the two is the right solution, maybe the delay is the right one.
    I was doing a cron scheduled job, before using systemd  boot, which was kicking minidlna every 5 minutes, since it was dieing often. I didn't discover what was the reason.
    I think I'll have to study another recipe which sets up a timer and keep an eye on these two services, for the long term service. But even cron would suffice, I think.
    WonderWoofy wrote:if you are using wireless, the only two real solutions would be to use netctl@<profile>.service, which too won't reach the network.target until a conplete connection is made
    Yes I'm on wireless network and the interface plugged on USB . My intent should go beyond any particular configuration. Maybe because I'd like to show a working setup, which may fit for all configuration (90 % )
    I have to admit that the actual solution do not care much whether the network is found, so I hope to get a smarter setup that counts on the necessary tools before try something. However it's proved that they fail when no connection to the router is done. But I'm preferring that they succeed. 
    WonderWoofy wrote: NetworkManager gets around this by implementing an additional service called (unimaginatively) NetworkManager-wait-online.service, which is pulled in automatically when you enable NetowrkManager.service.
    As I stated above I'm expecting a solution that won't pull in so much dependencies. Even NM is my connection manager, on the server.
    WonderWoofy wrote:
    You probably also want to use Requisite=aria2c.service on the minidlna.service as well.  This too means that it will be started after aria2c, but that it will not start at all if it is not running or fails.
    Additionally, you could try using the Requisite configuration on the minidnla, while setting the aria2c to restart itself on failure.  So that it will keep trying, and once it does, then minidlna will start.
    looks like a dog biting the tail . It's much preferable a separated failure, just in case.
    WonderWoofy wrote:Edit: Also, it is not SystemD.  It is systemd (like other "daemon" binaries in *nix).
    I'm quite sure I saw it somewhere, none of my inventions
    Last edited by TheSaint (2013-07-13 07:10:33)

Maybe you are looking for

  • How to activte no bidi filtering option for dat element matnr

    Dear All I want to activate no bidi filtring option for dataelement matnr in table amra But iam unable to do this.I got acess key and try to change but it not comes to edit mode it is in display mode only.Iam not able to select the checkbox.

  • QUERY IN SCRIPTS

    HI,     CAN WE MODIFY STANDARD SAP SCRIPT FOR  GOODS RECEIPT SLIP, IF YES, CAN PLS TELL ME THE PROCEDURE. THANKS, SUJITH Moderator message : Search for available information, do not post in all "Capitals". Thread locked. Edited by: Vinod Kumar on Sep

  • ADDRESS BOOK Opens Unexpectedly? Usually with Widgets or shut down.

    New Apple user here. New Macbook owner. So at ramdom times my Address Book suddenly opens and quickly closes again. I have no clue why. I've noticed it USUALLY happens when i press f12 to check my Widgets. When this occurs, the Widgets pop up and Add

  • Can anyone help me with a bit of script modifying?

    Hey guys, can anyone help me? Here is some script that makes my character obviously move and detects walls. I would like to modify the script so that when my character hits the right keydown, the sprite changes to cast member "right". I have tried an

  • Crackling sound after updating to Itunes 10.2.1 on Windows 7 Laptop

    I recently upgraded to Itunes 10.2.1 on my laptop. Ever since this update, I have been getting a crackling sound whenever I play audio or video. I know its not my Bose Companion 5s because I don't get this problem with VLC player or Windows Media Pla