• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1054
  • Last Modified:

How to create a pipe with mknod inside a script

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
export_db_tbsprod.sh[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

0
LindaC
Asked:
LindaC
  • 2
1 Solution
 
woolmilkporcCommented:
Hi,
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.
wmp
 
0
 
LindaCAuthor Commented:
I added /usr/sbin to the PATH.
thank you.
0
 
woolmilkporcCommented:
Linda,
thanks, you're always welcome!
Cheers
wmp
 
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now