How to create a pipe with mknod inside a script

Posted on 2009-04-24
Last Modified: 2013-11-17
I want to create a pipe to use in oracle exports but it is failing wit this:

Fri Apr 24 08:04:52 AST 2009[12]: mknod:  not found.
cat: 0652-050 Cannot open /home/oracle/dba/exports/tbsprod_db_pipe.dmp.

rm /home/oracle/dba/exportss/tbsprod_db_pipe.dmp

mknod /home/oracle/dba/exports/tbsprod_db_pipe.dmp p

Open in new window

Question by:LindaC
    LVL 68

    Accepted Solution

    seems that your PATH doesn't contain /usr/sbin or /etc , the locations of mknod in AIX (/etc/mknod is a link to /usr/sbin/mknod).
    Use /usr/sbin/mknod instead of mknod alone, or add /usr/sbin to your PATH variable.
    LVL 8

    Author Closing Comment

    I added /usr/sbin to the PATH.
    thank you.
    LVL 68

    Expert Comment

    thanks, you're always welcome!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now