Call system using linux returns - 1 on linux; returns 0 in aix/unix

call system using linux returns - 1 on linux; returns 0 in aix/unix when called from sqr

the question is:
when i am using call system in unix
call system is being used in my sqr
call system using $cmd #status
#status is coming as 0
while in linux though the command is getting exceuted correctly, the return status is -1 while it should eb 0.

Similar Messages

  • Glibc question - 'RT using linux kernel aio'

    Hello all,
    Can anyone give some info about one of the glibc add-ons called 'RT using linux kernel aio'
    I've googled alot without success.
    Here is libc output in default ArchLinux install
    GNU C Library stable release version 2.16, by Roland McGrath et al.
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.7.1 20120721 (prerelease).
    Compiled on a Linux 3.4.6 system on 2012-07-24.
    Available extensions:
            crypt add-on version 2.1 by Michael Glad and others
            GNU Libidn by Simon Josefsson
            Native POSIX Threads Library by Ulrich Drepper et al
            BIND-8.2.3-T5B
    libc ABIs: UNIQUE IFUNC
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/libc/bugs.html>.
    In Fedora (and others) there is one additional glibc add-on listed:
    GNU C Library stable release version 2.15, by Roland McGrath et al.
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.7.0 20120507 (Red Hat 4.7.0-5).
    Compiled on a Linux 3.4.4 system on 2012-07-03.
    Available extensions:
            Support for some architectures added on, not maintained in glibc core.
            The C stubs add-on version 2.1.2.
            crypt add-on version 2.1 by Michael Glad and others
            GNU Libidn by Simon Josefsson
            Native POSIX Threads Library by Ulrich Drepper et al
            BIND-8.2.3-T5B
          >>  RT using linux kernel aio <<
    libc ABIs: UNIQUE IFUNC
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/libc/bugs.html>.
    Any chances we can have this add-on installed ? Or in other words is there any good reasons not to have this add-on ?
    Regards,

    ZENworks Linux Management is what used to be called Red Carpet - it
    does not provide access for other client operating systems. Please
    could you repost this in the community chat forum, since it will not
    reference any Novell products.
    Shaun Pond
    Novell Support Connection SysOp

  • Executing call system from sqr

    We've got a number of SQRs executing a Call System command, but this one (actually 2) won't execute.
    let $sender_cmd = '/usr/bin/sudo /usr/sbin/usermod -c "Human Resources Administration " appuser'
    call system using $sender_cmd #sender_status WAIT
    #sender_status is returned with a value of 1
    This is supposed to allow "appuser" to change the server email sender to "Human Resources Administration ". When the sqr is about to end, it changes it back to the original value.
    I've tried putting the string in a shell script and executing it, but it fails that way too.
    Any suggestions?

    BTW the command runs fine from the command line (Linux 5.0)

  • Get the calling system in the remote FM

    Hello,
    how can i get the calling System in a FM, which was called over remote RFC from another System?
    Best regards,
    TomSd

    Hi thomas,
    1. we can refer to the calling system
      using 'BACK'
    2. ie. if we call using
      call function 'abc' destination 'BACK',
      then it will call rfc in the calling system.
    regards,
    amit m.

  • Compiling linux for embedded system using Arch.

    Hi. I build the vanilla kernel for an embedded system using special buildsystem. This buildsystem calls
    make INSTALL_MOD_PATH=embedded_fs_path modules_install
    The kernel's Makefile installs the modules to embedded_fs_path/lib/modules/$(KERNELRELEASE) and calls /sbin/depmod -b embedded_fs_path $(KERNELRELEASE).
    This operation fails under Archlinux because /sbin/depmod is a part of kmod and it expects that modules are placed to /usr/lib/ instead of /lib, so it tryes to make dependencies in embedded_fs_path/usr/lib/modules/$(KERNELRELEASE) instead of embedded_fs_path/lib/modules/$(KERNELRELEASE).
    What is correct solution for this issue? I can pass DEPMOD variable to kernel's Makefile to use something else instead of /sbin/depmod, but i don't know value of this variable should be.
    Is there any command line options for kmod to force using /lib instead of /usr/lib? As I've seen in kmod sources, there aren't.
    Is there any package in repositiries or AUR or somewhere else which provides an application that behaves the same way as old depmod with /lib/ modules location?
    Thanks.

    tavianator wrote:Fedora Core 7?  Wow, that's ambitious.  I'd suggest building in a virtual machine or chroot with the target system installed.
    centos is probably worse.  They're still on 2.6.18 as far as i can tell.
    I wanted to avoid chroot/virtual machine (ran one of those for a while).  The reason is that my current development build is the same as what is delivered.  I don't want to lose that....having to deal with different compilers, libraries, etc can be a pain.
    I'll also look into whether or not I can install a "glibc-compat" type package that could alleviate the loader.
    Here's the telling part:
    the new exectuble:
    $ file <executable>
    <executable>: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.27, dynamically linked (uses shared libs), for GNU/Linux 2.6.27
    the old executable:
    $ file <executable>
    <executable>:  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8
    Okay....issue seems to be in the glibc PKGBUILD.
    it has the line:
          --enable-kernel=2.6.27 \
    passed to glibc configuration.
    Causes big time problems for creating compatible packages.
    Last edited by bnolsen (2011-05-05 21:27:20)

  • What is happening about: The GNU Bourne Again Shell (Bash) is a command line utility widely used in many Unix-based operating systems including Linux and OS X.  Researchers have discovered a critical flaw in Bash which could allow remote code executi

    Authoritative advice today:
    The GNU Bourne Again Shell (Bash) is a command line utility widely used in many Unix-based operating systems including Linux and OS X.
    Researchers have discovered a critical flaw in Bash which could allow remote code execution by an unauthenticated user
    APPLE response?

    Also see:
    http://www.macrumors.com/2014/09/26/apple-os-x-users-safe-bash-flaw-update-soon/
    If you are not running a web server
    If you have not enabled CUPS web interface
    If you do not allow anonymous users to ssh into your Mac.
    If all are no, they you are not at risk.
    This IS a very serious bug for web servers, but the typical consumer Mac user is not at risk.

  • How to use Linux legally for business in the US

    Hello.
    I am doing some research on software patents and how they inhibit businesses in the US from using FOSS.
    My question is, basically, what would a business have to do in the US to use Linux in place of Windows/Mac and make sure they are not violating software patents? Violating these patents (for example, including an illegal H.264 codec in a company's system image so that video can be played by employees) present a serious liability to US businesses and could potentially discourage them from abandoning a proprietary OS for a free one.
    One portion (of many) of this discussion I do not understand is how does one guarantee their system is clean of illegal codecs? For example, assume if one used his/her package manager to delete any codec-related packages he/she could find. If this person used a web browser to navigate to a website that included in-page H.264 videos or sound effects encoded using MP3, would this content merely not function (meaning, the person would be legally safe but unable to play the content)? Or do web browsers have these illegal codecs built in? I don't understand how website programming works enough to know the answer to this particular question.
    I would appreciate any insight on this issue (and/or any thoughts you might have on this subject).
    Thank you for your time.

    See distro's to avoid here if you are in the US:
    http://www.gnu.org/distros/common-distros.html
    And, linked from that page, see ones that should be safer:
    http://www.gnu.org/distros/free-distros.html
    With Parbola:
    https://parabolagnulinux.org/
    Being Free and based on Arch.
    Now, the problem, completely free is very picky about the hardware it will run on so you will want to procure hardware specifically built to run under a Free system without issues.  Licensed distributables you can get away with using, for example: Adobe Flash Player.  Just accept the license agreement and you should be good to go.  The minefield is that somewhere in even the Free code there could be a patent lying in wait.  Something that someone in the US patented and the Free systems programmers were not aware of it.  This is an issue in the US because commercial Operating Systems such as Windows will indemnify their users against patent infringement.  On Free systems however you, the business using them, could end up being on the hook for significant damages.
    The reason a completely Free system is very picky about what hardware it will run on is because all those binary blobs in common Linux distributions contain code that just makes stuff work.  Without that you have to make absolutely sure that what you have will work with just Free software.
    See:
    http://www.gnu.org/philosophy/fighting- … tents.html
    Last edited by headkase (2013-02-21 01:25:52)

  • Satellite L750 turns on and off by itself using Linux

    Today I have experienced some strange behaviour on my notebook. It unexpectedly shuts down, after showing a dialog window saying "Your computer will shut down in 60 seconds". And then, when I turn it back on, it just shuts down before booting and it turns back on by itself after a few seconds.
    It does not overheat, the CPU temp is normally between 50-60C (I constantly monitor it using Conky). Also, someone told me to upgrade the BIOS, so I did it, but the problem still persists. I have also tried to replace the RAM and run a memcheck, but everything looks fine on the memory side.
    I use linux, and had a look on "/var/log/syslog", but I'm not sure I know exactly what to look for. The messages logged before shutting down don't seem to describe anything suspicious.
    I use Ubuntu 12.04 LTS, but it seems the problem is more hardware related and I would like to investigate what causes it to shut down so randomly. The same thing happens on Windows, but there's no warning before shutting down.
    My notebook is a Toshiba Satellite L750-11w.
    Any clues would be highly appreciated.

    >I use Ubuntu 12.04 LTS, but it seems the problem is more hardware related and I would like to investigate what causes it to shut down so randomly. The same thing happens on Windows, but there's no warning before shutting down.
    You checked the notebook functionality using Windows system but did you use the Toshiba recovery disk and did you test it using factory settings?
    Im wondering about the message: your computer will shut down in 60 seconds
    If it would be an hardware problem, then the notebook would shut down without any warning messages.
    Therefore I assume there must be an software issue I guess some setting triggers this automatic shut down.
    But to be honest i have no idea what setting could be
    If you think its hardware related problem, I guess only an notebook technician would be able to help you.

  • Can I use LINUX Drivers in Solaris 10...

    As a beginner, I have installed Solaris 10 version 08/07 onto my system. The motherboard is ASUS M2A-VM, with integrated graphics, network interface, audio, etc...
    My audio and network interface are not working... The motherboard came with a cd which has windows drivers and additional software.
    It also has linux drivers for:
    Audio:
    Core5
    Core6
    Linux
    RHEL4
    SUSE10
    Other
    realtek-linux-audiopack-4.05f
    LAN
    FreeBSD
    Linux
    SCO_OpenServer6
    Unixware7.x
    Chipset, and RAID!
    Has anyone used any of these ASUS Linux drivers with Solaris...
    If so what steps do I need to take to get them to work on my system! (I hate to ask, I know you all have better things to do) Maybe you can point me to a good book that explains how to go step by step...
    My question is how do I get my NIC to work (What steps do I need to follow? the sound is not an issue, as, I can do with out that. Will any of the drivers mentioned above work?) thank you in advance for your answers...

    Drivers are the "connective tissue" between the Operating System and the hardware. The connections from the drivers to the OS are not compatible between different operating systems, so no, you cannot use Linux drivers in Solaris.
    If the OS is similar enough you can sometimes get away with it -- example, using Solaris 9 drivers in Solaris 10. But between completely different OSes? Won't work.

  • How to work with file system in linux within a JSF app?

    I use this line in my backing bean to log some events:
    FileHandler fhxml = new FileHandler("../webapps/MyWebApp/Log/MyWebAppLog.xml", append);
    fhxml.setFormatter(new XMLFormatter());That works fine in windows but when I deploy it in my Tomcat 6 in linux It doesn't work. How can I work with file system in linux?

    You should never use relative paths to access the filesystem. The path would be relative to the current working directory which is not per se the same in all environments. To convert a relative web path to an absolute file system path, you need ServletContext#getRealPath(). Use this absolute file system path in the java.io stuff. In a JSF application on top of Servlet API you can get the underlying ServletContext by ExternalContext#getContext().
    Alternatively, if the file is located in one of the default paths of the classpath or if its path is added to the classpath, you can also just use ExternalContext#getResource() or even #getResourceAsStream() using just the file name.

  • Can I use Linux Lubuntu 14.10 software

    Can I use Linux Lubuntu 14.10 software.On my HP ALL -IN -ONE HP DESKJET F2200 All In One, series

    Hello @BigLDavid, 
    Welcome to the HP forums.
    I understand that you are running a Linux operating system, and would like to use your Deskjet F2200 with it.
    I would like to help.
    It is hard to give a yes or no answer with an open source operating system.
    If your OS has the HPLIP software installed, you should be able to use that printer.
    Chances are your version of Linux already has the HPLIP software installed.
    If it does not please use the following link.
    HP Linux Imaging and Printing
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Problem on Installing RAC System - Oracle Linux 6.2 and 11gR2

    Folks,
    Hello. I just start to install 4-nodes RAC system using VMplayer 3. The host Operating System is Windows 7.
    The Guest OS is Oracle Linux 6.2.
    Because my computer's hard disk does not have enough space, I install the Guest OS Oracle Linux 6.2 into a external hard disk. But its speed is very slow. It has taken more than 24 hours by now, but still don't finish installing Oracle Linux 6.2.
    Do any folk understand what's going on ? Is there any problem on Oracle Linux 6.2 ?

    user8860348 wrote:
    Folks,
    Hello. I just start to install 4-nodes RAC system using VMplayer 3. The host Operating System is Windows 7.
    The Guest OS is Oracle Linux 6.2.
    Because my computer's hard disk does not have enough space, I install the Guest OS Oracle Linux 6.2 into a external hard disk. But its speed is very slow. It has taken more than 24 hours by now, but still don't finish installing Oracle Linux 6.2.
    Do any folk understand what's going on ? Is there any problem on Oracle Linux 6.2 ?of course the problem is with Oracle Linux 6.2 & not with your VM implementation

  • Problem on Installing RAC System - Oracle Linux 6.2 as Guest OS

    Folks,
    Hello. I just start to install 4-nodes RAC system using VMplayer 3. The host Operating System is Windows 7.
    The Guest OS is Oracle Linux 6.2.
    Because my computer's hard disk does not have enough space, I install the Guest OS Oracle Linux 6.2 into a external hard disk. But its speed is very slow. It has taken more than 24 hours by now, but still don't finish installing Oracle Linux 6.2.
    Do any folk understand what's going on ? Is there any problem on Oracle Linux 6.2 ?

    user8860348 wrote:
    Folks,
    Hello. I just start to install 4-nodes RAC system using VMplayer 3. The host Operating System is Windows 7.
    The Guest OS is Oracle Linux 6.2.
    Because my computer's hard disk does not have enough space, I install the Guest OS Oracle Linux 6.2 into a external hard disk. But its speed is very slow. It has taken more than 24 hours by now, but still don't finish installing Oracle Linux 6.2.
    Do any folk understand what's going on ? Is there any problem on Oracle Linux 6.2 ?of course the problem is with Oracle Linux 6.2 & not with your VM implementation

  • I want iTunes for Linux, i have an iPod and using Linux, so mister Apple...

    I want iTunes for Linux, i have an iPod and I'm using Linux, so mister Apple I am waiting for a linux version !!!!! Come on, also Mac is an Unix system. It is not hard to make....
    Please post here if U want a Linux version of iTunes

    Since we are just fellow users, we wouldn't be able to help you, & no representative from Apple posts on these boards.

  • Cannot forward or write emails. Using linux os

    I cannot write an email or forward a sent email. I use linux for an operating system.

    I can't duplicate your problem, but I use OpenSuSE Linux.
    I only found a couple of suggestions that someone with a similar problem posted. One stated that if he changed from rich text to plain text, it solved his problem. I'll add an image of the setting from the Yahoo web page.
    The other stated that cleaning all cookies, temp files, and history fixed her Yahoo Mail. For that, go to "Edit>preferences" and choose the "Security tab. There is an option for clearing all history and cookies.
    Other than that, I found where a lady had the same problem and complained to Yahoo. She got a response and Yahoo claimed that they had fixed her account.
    Wish I could have been more help.

Maybe you are looking for

  • User exit/Badi for changing operation work center based on service product

    Hi, I have an requirement to change the operation work center based on the service product in IW31/IW32 transaction. I am using the BAdi 'IM_SM_BADI_READT399A' for changing the main work center. It changes all the operation work centers except the fi

  • HD audio playback on Asus Xonar DX (AV200 chip)

    I just installed my new Asus Xonar DX (AV200 chip). First thing I'd like to try is playing back HD audio. But when I use mplayer to do so, it says this: ========================================================================== Opening audio decoder:

  • Error message ORA-12154, pls help

    Have got 2 database( A and B) on the same machine, A is the main database while B is meant to be the recovery catalog database, I have been able to create the catalog tablespace, but when I want to register the database from the target database from

  • IPhoto/iMovie won't open - exc_breakpoint (SIGTRAP)

    Hi all, iMac G5, running OSX Leopard iPhoto and iMovie have stopped working and won't open.  This occurred after an attempt to transfer files from a laptop across the the G5.  I have deleted the iLife suite and reloaded iLife08 which is what was on t

  • OC4J11 deployment problem - TLD Caching issue

    Hello, I'm having problem deploying a JSF 1.2 web app. This web app uses third-party tags which are packaged under "WEB-INF/lib". When deploy this web app (as an EAR file), I'm getting these errors -- which seemed to relate to TLD CACHING: 2007-12-17