Crontabs in zones

Assue I have two system user. One is root and other is sys. And I have two non-global zones and one global zone.
In the global zone, I logged in as root. and use command: crontab -e sys to add a cron job.
After that, I also would like to add the job in two non-global zones. So I logged in non-global zone as root. then again I ues command: crontab -e sys to add a cron job. But it did not work. It displayed: 308 then waiting for my input. But I can use crontab -l sys to view the cronjobs.
Is anyone who can tell me why and give a solution? Thanks very much.

A popular question:
http://forum.java.sun.com/thread.jspa?forumID=844&threadID=5118857
http://forum.java.sun.com/thread.jspa?forumID=840&threadID=5112875
http://forum.java.sun.com/thread.jspa?forumID=844&threadID=5186295
http://forum.java.sun.com/thread.jspa?forumID=841&threadID=5078795
The fact that you are using zones doesn't really have anything to do with it, just that the non-global zones haven't been modified to the same way that your global zone has.
Darren

Similar Messages

  • Solaris 10 zone: root crontab deleted.

    Hello,
    for a couple of weeks I have notice that one of our solaris zone has its root crontab deleted. the file root on /var/spool/cron/crontabs is simply gone.
    I have changed the password so it is somethign inside the OS which is deleting the crontab... i cannot see anything in the cron log.
    how can i stop or find the root cause for this..
    thank you.

    This should help you.
    https://blogs.oracle.com/zoneszone/entry/who_keeps_removing_that_file
    alan

  • Sound device problem in ZONE

    I created a solaris zone for my desktop use, but the sound device was not avaialbe. I tried to export it from the global zone:
    device
    match: /dev/sound/*
    then rebooted the zone, login it, found there were several files added in /dev:
    lrwxrwxrwx   1 root     root           7 Sep 17 14:50 /dev/audio -> sound/0
    lrwxrwxrwx   1 root     root          10 Sep 17 14:50 /dev/audioctl -> sound/0ctl
    crw-------   1 root     root      34,  0 Sep 17 14:50 /dev/sound/0
    crw-------   1 root     root      34,  1 Sep 17 14:50 /dev/sound/0ctlThe problem is: how to change the /dev/sound/* files for all users to read and write, permanently?
    I tried the following methods but failed:
    1. Change manually these files' mode to a+rw as root. But once I logged out the zone or rebooted the zone, the changes were lost.
    2. Create a script in /etc/init.d/ and link it to /etc/rc3.d/ to let it auto execcute when boot, as below:
    #!/sbin/sh
    /usr/bin/chmod a+rw /dev/sound/*
    echo `date '+%D %H:%M:%S' > /var/tmp/enable.audio.log
    ls -le /dev/sound/* >> /var/tmp/enable.audio.logthe content of /var/tmp/enable.audio.log is something like:
    crw-rw-rw-   1 root     root      34,  0  9月 17 14:50:30 2005 /dev/sound/0
    crw-rw-rw-   1 root     root      34,  1  9月 17 14:50:30 2005 /dev/sound/0ctlBut oddly, the permissions of these files would always be changed back to the original state soon, automatically.
    3. I added an entry in /var/spool/cron/crontabs/root to change the permissions every 10 mins, and it did work, strangely. However I think it's not a good method, because I have to wait for 10 minutes before I can login it (if I login the zone before the permissions were changed, the sound device will never work)
    Thanks in advance.

    It's probably /etc/logindevperm that's fighting you. Read the comments in that file, then you can modify /dev/sound in it.
    The idea is that only the user logged in on the console would normally have access to the audio device and the frame buffer, so the permissions are reset at login.
    If you're having folks login through a separate zone, this changes that assumption.
    Darren

  • Replacing a zone cluster node

    I have a zone cluster up and running at present. One of my nodes died and I have replaced the hardware with another server.
    How do I go about bringing this node back into the zone cluster? I plan on using the same hostname/IP.
    Also, how do I import/copy the zone and its configuration to my new node?
    What if both machines died and my zone was on shared storage that is still accessible? How would I import this zone into a fresh zone cluster environment?

    OK, nevermind.. it appears you can ping the individual nodes by simply
    specifying the node's own IP address in stead of DNS names.
    However, my other question remains, regarding the weblogic.Admin tool from
    thread "Using weblogic.Admin to retrieve memory usage".
    Erik
    Erik van Zijst wrote:
    Hi,
    I'm writing scripts to monitor the nodes of our weblogic cluster. One of
    the things I'd like to add to the crontab, is a weblogic.Admin PING to see
    if nodes die. If they do, the script will notify me by SMS and mail.
    Anyway, how can I ping a specific node? The cluster's DNS name contains
    all node IP's, so if I use that name, it will round-robin through the
    nodes, presumably pinging a different one each time.
    How can I ping a specific node? Will it work if I pass the IP address of
    the node as the URL? Or will it resolve and connect to a random node
    anyway?
    Thank in advance,
    Erik van Zijst
    MarketXS--
    Said the attractive, cigar-smoking housewife to her girl-friend: "I got
    started one night when George came home and found one burning in the
    ashtray."

  • DNS: reverse zone comes back after remove and some follow up issues

    hello community,
    after installation of OSL i had setup dns with a primary zone.
    the automatically created reverse zone for my internal network is fine.
    whenever i enter a new system the default for the ip address is 10.0.0.1 and the reverse zone is automatically setup for this ip address.
    whenever i remove this reverse zone it come back automatically after saving the dns configuration.
    with this come some follow up error.
    server admin claim that there is no name server configured for this reverse zone.
    when i configure it the configured name server entry vanished after clicking the save button.
    when i try to configure settings i can not. i get the error message that the configuration can not be saved cause of the missing name server for the reverse zone i am not using ....
    in the log file i can see that the file for reverse zone can not be found.
    when i check the dns configuration in the shell i can see that the reverse zone file is not there.
    someone has an idea
    - whats the best way to fix this?
    - why is the gui still showing the reverse zone i am not using?
    - is the dns configuration also in the ldap db with wrong entries?
    regards
    christian

    Clean out your zone definitions, and start over. Server Admin is unfortunately seemingly fussy around the authoritative server stuff and the order stuff gets entered, and it seems you can get into a sequence where it doesn't have what it needs. I had encountered couple of cases when I was in a similar state as you're in now, and I ended up clearing and deleting the primary zone and re-adding the zone and the hosts, being careful to add the authoritative server as the first step of adding a zone.

  • Solaris 8 Container in Solaris 10 Zone

    Hi All,
    one of our customers wants to run Solaris 8 with Oracle 8.1.7 in a BrandZ Zone. Does anybody have an idea about how stable Solaris 8 is in a Zone environment? Are there any known issues with Solaris 8 running in a Zone?
    Since Solaris 8 is EndOfShipment, are there chances to get up-to-date Sun Hardware bundled with Solaris 8 apart of using Solaris 10 Zones?
    Thanks in Advace,
    Dog

    i didnt however i wasnt hammering it. if the load was expected to be high i would have done the io layout diff (try and follow some of oracles ideas: SAME for one, if possible).
    some depends on the load and the load from the other zones. you can use allocate resource limits to give more priority to more important zones or make sure you have enough resources to start. what type of load are you expecting?

  • ISE 1.2 Time Zone

    Hi Community!!
    I have a ISE 1.2 pair, v9 patch installed and sychronized. Recently our time zone changed to summer time which is one hour later. In the CLI I can see that the reference is sent by NTP and the clock has changed but in monitoring I can still see that there is an hour difference from real time.
    I read in Cisco official documentation that time cannot be changed on ISE or else it will become unusable but the logs are not being timestamped correctly and also the time the RADIUS request are made by NAD vs the time they are recieved by ISE have one hour difference.
    Is there a way to solve this? it seems to be prone to any kind of unexpected behaviour when we are least expecting it.
    Thank you!!

    Hmm, this is very strange and it almost seems like a bug with ISE. I would recommend that you contact TAC and have them check this out. 
    The reason I think that it is a bug (Related to the timezone) is the fact that the base OS (Cent/ADE OS) appears to be running fine and keeping track of DST (Day light savings) but the actual application (ISE) installed on Cent is not. 
    I am far from NTP or Linux expert but I don't believe that NTP pushes/honors timezones. I think NTP just synchronizes the clock while timezones/DST is controlled locally. 
    If the issue is not a bug, it is perhaps due to selecting the incorrect timezone. I have never done a deployment outside of the US and the UK so I am not familiar with timezones in Chile. However, if we take Eastern Time Zone for example. I had to make sure that I select "EST5EDT" in ISE and not just EST. If I simply selected EST then DST was not observed and made things ugly :) The same applied for Pacific timzone where I had to make sure that I select "PST8PDT" With all of that being said, I checked the CLI in ISE and I don't see any Chile related timezones that would indicate DST observations. You can check for those yourself by using the following command "show timezones"
    I was able to find these but perhaps there are more and a specific one to CST/CLST. I tried searching for those but could not find anything:
    NS-ISE-01/admin# show timezones | i Santiago
    America/Santiago
    NS-ISE-01/admin# show timezones | i Chile
    Chile/EasterIsland
    Chile/Continental
    NS-ISE-01/admin# show timezones | i CLT
    NS-ISE-01/admin# show timezones | i CLST
    Let me know what you find. I would like to know the cause/resolution
    Thank you for rating helpful posts!

  • Zona Franca ICMS+IPI BXZF não desconto - Ordem de Vendas

    Boa tarde;
    Estou tentanto realizar uma configuração de um cenário Zona Franca para produtos importados no qual terão incidência de imposto ICMS+IPI.
    O cenário esta configurado desta forma:
    1) Cenário normal venda Zona Franca de Produto Nacionais. Sem incidência de impostos.
    - Código do Imposto I1.
    - IVA SZ dispara a linha de desconto BXZF no qual dá o desconto ZF - OK
    2) Cenário de itens importados - materiais com origem "1", "2" ou "8" - Incidência de ICMS+IPI.
    - Código do Imposto - I3 - ICMS+IPI
    - Deve trazer o código IVA "SD" disparando cálculo de ICMS.
    - BXZF é RefConType da IBRX.
    - Não deve disparar a linha BXZF.
    - BXZF - traz o IVA SZ.
    Cenário Configurado:
    - Criado uma nova tabela 972 - País, ClassCliente, Classi Mat, Origem Material.
    - Sequencia de Acesso IZOF  - a tabela 972
    - Condição  DIZF - Seq Aces - IZOF.
    - Quando crio a ordem de vendas o sistema trata desta maneira:
    1) Ele verifica a origem do material encontra "1"
    2) Determina na condição DIZF - IVA "SD"
    3) BXZF é um RefconType da IBRX
    4) Por isso BXZF - determina "SD"
    Entretanto, a linha de desconto BXZF  esta trazendo o desconto ZF no qual se tenho o IVA SD não deveria trazer a linha.
    Alguém tem alguma ideia de como fazer a configuração?
    OBS: ZZOF é a mesma SeqAce - IZOF.
    Muito Obrigado
    Rodrigo Vieira

    Olá André;
    Então pelo que entendi para o tipo de materiais com origem 1,2 e 8 Importados que não quero que aplique a linha de desconto se hoje tenho uma tabela de condição criada 972 972 - País, ClassCliente, Classi Mat, Origem Material e associada a sequência de acesso e condição DIZF conforme abaixo irá encontrar e SD, porém irá aplicar o desconto.
    Registro de condição cadastrada.
    BR 2 1 1  Foreign - imported directly  100,000  % 01.04.2014 31.12.9999 SD
    BR 2 1 2  Foreign - acquired nationally  100,000  % 01.04.2014 31.12.9999 SD
    BR 2 1 8  National - with import content over 70%  100,000  % 01.04.2014 31.12.9999 SD
    Tenho um cenário que na mesma pricing terie produtos Nacionais origem "5" e Importados origem 1,2 e 8.
    Para o primeiro a linha de desconto precisa ser disparada por causa da isenção..
    Então o SZ na condição DIZF irá ser disparada e o desconto na BXZF séra aplicada.
    Entretando, como posso fazer para que não se aplique o desconto..
    As únicas possibilidades foi criado sequência de acesso forçando o SD, porém como a condição DIZF é determinada porque encontra origem ele força o desconto na BXZF
    Tem alguma sugestão ou ideia de ocmo posso configurar?
    Abs
    Rodrigo Vieira

  • Desconto do ICMS da Zona Franca de Manaus - Registro de Entrada

    Bom dia caros colegas!
    Estou com um cenário referente ao ICMS da Zona Fanca de Manaus, como sabemos este imposto é dado como desconto no total da fatura, o cenário ora solicitado pelo usuário é o seguinte.
    Vr.Contábil  ->  65.892,29
    BC ICMS     ->   74.877,60
    Aliq.ICMS    ->    12%
    Vr. ICMS      ->     8.985,31
    A versão que estou usando é a 6.0
    Vocês sabem me informar se existe alguma configuração stander para esse cenário, sei que existe a nota 8622370 com desconto na MIRO, porém o lançamento no Registro de entrada não fica correto.
    Abs
    Nobre

    Olá Nobre,
    Não encontrei a nota que você informou.
    Contudo, seguem duas notas bem importantes com configurações da Zona Franca:
    790429 - Transfer to Tax free zone (Zona Franca) ICMS not discounted
    622370 - MIRO: ICMS-Discount by buying in Tax Free Zones(Zona Franca)
    As notas ensinam a configuração das condições especiais para Zona Franca, que são ICZF e ICZG.
    Atenciosamente,
    Carla Kunz Bussolo

  • Recebimento de Transferencia na Zona Franca - Erro M7050 Saldo nao nulo. Transacao MB0A

    Pessoal,
    Boa noite,
    Estou com um problema e preciso da ajuda de vocês.
    ERRO M7050 - Saldo não nulo: 28,04 - Debito: 28,08 Credito: 0,04
    Quando realizo a entrada da transferência através da transação MB0A, ele executa esse erro. Quero acreditar que o SAP não esta considerando o valor da redução do ICMS que a Zona Franca possui, pois eh justamente o valor da redução na saída da mercadoria.
    As notas 622370 e 790429 estão aplicadas no sistema, alem de ter a condition do ICMS de credito presumido da ZF marcado como D - Imposto de transferência na cadeia de contabilização.
    Vocês sabem o que esta acontecendo?
    Obrigado.

    Oi Renan & Hernandes
    O que vcs tem na tabela J_1BCONDMAPV e J_1BTXCOND no que diz respeito a nota 790429?
    Qual versão do erp que vcs estão?
    Imagino que vcs já tenham olhado a nota.. 1826651 - STO: ICMS wrongly calculated for Full/Partial return from ZF
    Abraço
    Eduardo Chagas

  • Can you program a Slave's Node ID or Zone ID using the USB-8476 as the LIN Master?

    I am planning on using the USB-8476 LIN interface as the LIN bus Master in an application.  The application would require the USB-8476 (Master) to program a Node ID and Zone ID into a slave device that is on the LIN bus.  The slave device is a PIC12F1822 mcu + MCP2021 LIN transceiver.  After reading through the User/Software Manual for the USB-8476, it does NOT seem possible to assign an ID to a slave device.  It seems like you can only communicate with slaves that already have an ID programmed into their memory.  The Node/Zone ID terminology is used by our customer and may not conform exactly to the IDs associated with LIN.  I am new to the LIN world, so please let me know if you need more information about what I'm trying to accomplish.  Can you program a Slave's Node ID or Zone ID using the USB-8476 as the LIN Master?

    No need to respond to this topic.  The company that builds the slave device has a communications specification that was recently provided to me.  I should be able to use the NI USB-8476 and a call to the ncWrite function (NI-CAN Frame API function) to accomplish my goals. 

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

  • Zone install file system failed?

    On the global zone, my /opt file system is like this:
    /dev/dsk/c1t1d0s3 70547482 28931156 40910852 42% /opt
    I am trying to install it in NMSZone1 like this config:
    fs:
    dir: /opt
    special: /dev/dsk/c1t1d0s3
    raw: /dev/rdsk/c1t1d0s3
    type: ufs
    options: [nodevices,logging]
    But failed like this:
    bash-2.05b# zoneadm -z NMSZone1 boot
    zoneadm: zone 'NMSZone1': fsck of '/dev/rdsk/c1t1d0s3' failed with exit status 3
    3; run fsck manually
    zoneadm: zone 'NMSZone1': unable to get zoneid: Invalid argument
    zoneadm: zone 'NMSZone1': unable to destroy zone
    zoneadm: zone 'NMSZone1': call to zoneadmd failed
    Please help me. Thanks.

    It appears that the c1t1d0s3 device is already in use as /opt in the
    global zone. Is that indeed the case? If so, you need to unmount
    it from there (and remove or comment out its entry in the global
    zone's /etc/vfstab) file and then try booting the zone again.

  • Is my iPhone calendar reading from the wrong time zone? How do I fix it?

    First, here is all the info that I have about all of the clocks on my phone: the date and time on my iPhone are set automatically to Vancouver's time zone, in the Clock app though, I've also added in the clocks for Seoul and Manila so that I know the time when I need to contact friends out there, etc. Location wise, everything else on my phone is fine: my map correctly shows where I am, the weather app shows the weather for my city and my clock changes automatically for daylight savings.
    Now, when I put in an event into the calendar app, while putting in the details such as start and end time, the Time Zone slot is always set to Seoul for some reason. I have to go in and change it to Vancouver manually. Even after doing this and setting everything though, the alarm always goes off at the wrong date and time - I think it' s going off at when that time reaches Seoul, not Vancouver. So then I tried setting it again, this time, leaving the time zone as Seoul in case things were somehow just 'backward' in my phone, and still the alarm went off at the wrong date and time.
    I really can't understand it and haven't got the faintest clue as to how to fix it. Any ideas??
    In case this better or further explains what I'm trying to say:
    I just opened a new event on my calendar. I set it to begin twenty minutes from now (5:20AM) and left the ending time as the default one hour later (6:20AM). I also did not change the time zone which is already reading Seoul for whatever reason. I hit done, I'm taken back to the main calendar page, and there it shows as it should: 5:20AM today. I then went to set second event for 5:15AM only this time, I changed the timezone to Vancouver. All the information looks correct, but this time, when I hit done and am taken to the main calendar page, that event is recorded as having been set to 21:15PM instead!!
    [ I have an iPhone 4 but...I don't know what CDMA or GSM means so I'm not sure which pertains to me...]

    Go to Settings>Mail, etc.>iCloud and delete the account. Then add in a new account with the details you want.

  • Unable to install a zone: Copying 0 files to the zone.

    Hi forum users,
    I really hope someone has any idea what could be wrong here.
    First of all, the server is patched with security and recommended patches, except for 118344-13 -> R-- SunOS 5.10_x86: Fault Manager Patch which I will install on the next maintenance day. It already has 4 zones running without problem.
    However when I try to install a new zone now it always fails.
    # zoneadm -z blah install
    Preparing to install zone <blah>.
    Creating list of files to copy from the global zone.
    Copying <0> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    ERROR: package <SUNWcsu> is not complete: skipping installation of package
    ERROR: package <SUNWcsr> is not complete: skipping installation of package
    ERROR: package <SUNWcsl> is not complete: skipping installation of package
    ERROR: package <SMCreadl> is not complete: skipping installation of package
    ERROR: cannot determine dependency ordered package list from package repository </var/sadm/pkg>
    ERROR: cannot generate dependency ordered list of packages from global zone </var/sadm/pkg>
    ERROR: failed to initialize packages from global zone </> to zone </zones/blah/root>
    ERROR: cannot copy and initialize packages from global zone to local zone <blah> path </zones/blah/root>
    ERROR: cannot create zone boot environment <blah>
    zoneadm: zone 'blah': '/usr/lib/lu/lucreatezone' failed with exit code 74.
    To me it seems obvious that the problem lies in the fact that it doesnt even copy a single file to the configured zone, therefor it can't install any packages and all the rest fails too. The big question of course is, why does it think it only needs to copy 0 files? Has anyone encountered such a problem before? I havent found anything yet on patches breaking zoneadm install but might have missed it.
    Does it looks like a HD corruption?Might be since the Sun Management Console agent does seem to freeze on that server too once in a while.

    All the packages are fine in the global zone, pkginfo -l tells me the packages are complete.
    I did try the truss wrap but it gives me so much info it is hard for me to figure out if something is wrong. The only error i think that returns often and that is not resolved is:
    ioctl(4, TCGETA, 0x080471E4) Err#25 ENOTTY
    ioctl(4, TCGETA, 0x08047294) Err#22 EINVAL
    The part where it seems to compile a list of files to copy however is very empty of truss entries:
    Preparing to install zone <gal2en-survey>.
    Creating list of files to copy from the global zone.
    Copying <0> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    read(4, 0x0806DD3C, 5120) (sleeping...)
    ERROR: package <SUNWcsu> is not complete: skipping installation of package
    This issue is still unresolved for me. For now the only way to create a new zone on that server is to manually copy all files from another zone, editing the zonecfg entry and net config files for the zone, then i can boot and run it.

Maybe you are looking for

  • House Bank in Accounting documnet

    Dear All, When I am creating customer invoice House bank is not updating in Accounting document , but house bank is maintained in Customer master at company code level. Do we need to  do any additional settings. We can not maintain at reconciliation

  • FIM 2010 Sync Error : stopped-database-connection-lost

    Hello everyone, a weird thing just happened to me, i'm synchronizing my MA and suddently i get the "stopped-database-connection-lost" error i have 5 Galsync MAs working perfectly and this sixth one just failing ... (since like today) which makes me w

  • How to set poll rate in IA OPC sever v5.1

    Hi all, I m very new to labview(using LV7.0), using IA OPC server version 5.1. I have connected 3 slaves on serial communication bus having slave ID 1,4 n 8. So, what should be the value of poll rate, receive timeout and receive gap ?? How they are r

  • Reformatting results in error when trying to open apps

    I want to give my daughter my old iMac G4 - clean. So, I reformatted and that seemed to go OK. Installed a lot of software updates, and after that another whole list of updates appeared. Install of those did not end normally, and now when I try to op

  • Ix4-300d addiing hdd issue

    Hi! I started off with 3x3tb in RAID5 and now upgraded with a 4th disk of the same model. Extension went smoothly, and I see the new size in the Drive Management (as well as the header bar), however the shares still report the old size. Already tried