08-26-2008
I think it's looking for the program in a different location than you assume. It uses a chroot and the paths should be relative to the directory which is the root directory of the chroot.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I need to configure sendmail to use an external mail server for internet mail's...
Anyone help me at all? (6 Replies)
Discussion started by: frustrated1
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I've looked through the posts here and tried everything and cannot get sendmail to work properly. The server only needs to send and not receive mail. I need it to be routed through an open relay which has ip address of 10.126.35.8.
Here's what I've done so far:
I have amended... (1 Reply)
Discussion started by: johnbrickell
1 Replies
3. Solaris
Hi,
I have sendmail configured on my SOLARIS 10 server. But right now, it uses
by default root@mysun.localdomain.
I wanted to change the default from field to a outside ISP address, so that I can send email to any outside internet email address without changing the FROM field...... because... (5 Replies)
Discussion started by: callingrohit
5 Replies
4. Solaris
Puzzled; I have two Solaris systems, both running Solaris 5.8 and Sendmail version 8.11.7p1. One of the machines will not allow relaying (via anonymous connection to port 25). The other will allow relaying from anywhere to anywhere with impunity.
I can not find any fundemental difference in the... (1 Reply)
Discussion started by: fosteria
1 Replies
5. Linux
Hi All,
I have a mail server A and a DNS Server B. I am trying to send mail from client C. I have configured the DNS entry in client in the file /etc/resolv.conf and restarted sendmail.
My issues : Send mail is working for sending mails to external domain like gmail or yahoo.
But the... (0 Replies)
Discussion started by: jegaraman
0 Replies
6. Solaris
Hello,
I recently upgraded our server from Solaris 8 to 9. The sendmail is unabled to pipe the email to a perl script. I can send and received email to local and external mail, but the script did not get the email. There is no error in the log and I could not find any thing on the web.
Here... (0 Replies)
Discussion started by: ld98
0 Replies
7. UNIX for Advanced & Expert Users
I configured Solaris 10 server to send all mails to our exchange server via D{MTAHost} in submit.cf. but now I don't get internal messages like cron output.
what can I do? (2 Replies)
Discussion started by: amozofer
2 Replies
8. Shell Programming and Scripting
Hi,
I want to configure some values in config file like below
work_dir /home/work
csv_dir /home/csv
sql_dir /home/sqls
reportfirst yes
and i want to store each value in variable to use it further in my my perl program ??
any thought on this(i am new to perl) ?
... (2 Replies)
Discussion started by: raghavendra.nsn
2 Replies
9. Debian
I need to compile a program which uses glib-2.0. I installed the package libglib2.0-0 but the configure script can't find it because the libglib package doesn't provide a .pc file which pkg-config looks for. How can I resolve this?
Debian 6.0 (SPARC) (3 Replies)
Discussion started by: snorkack59
3 Replies
10. Ubuntu
Memory card partition table got corrupted after unsafe removal.
Is there any possible recovery ?..
If i list using fdisk
fdisk -l
root@ubuntu:/usr/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi/multi-libs# fdisk -l /dev/sdc
Disk /dev/sdc: 3965 MB, 3965190144 bytes
122 heads, 62... (2 Replies)
Discussion started by: roonie
2 Replies
LEARN ABOUT OPENSOLARIS
chroot
chroot(1M) System Administration Commands chroot(1M)
NAME
chroot - change root directory for a command
SYNOPSIS
/usr/sbin/chroot newroot command
DESCRIPTION
The chroot utility causes command to be executed relative to newroot. The meaning of any initial slashes (/) in the path names is changed
to newroot for command and any of its child processes. Upon execution, the initial working directory is newroot.
Notice that redirecting the output of command to a file,
chroot newroot command >x
will create the file x relative to the original root of command, not the new one.
The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to
the current root of the running process.
This command can be run only by the super-user.
RETURN VALUES
The exit status of chroot is the return value of command.
EXAMPLES
Example 1 Using the chroot Utility
The chroot utility provides an easy way to extract tar files (see tar(1)) written with absolute filenames to a different location. It is
necessary to copy the shared libraries used by tar (see ldd(1)) to the newroot filesystem.
example# mkdir /tmp/lib; cd /lib
example# cp ld.so.1 libc.so.1 libcmd.so.1 libdl.so.1
libsec.so.1 /tmp/lib
example# cp /usr/bin/tar /tmp
example# dd if=/dev/rmt/0 | chroot /tmp tar xvf -
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
cd(1), tar(1), chroot(2), ttyname(3C), attributes(5)
NOTES
Exercise extreme caution when referencing device files in the new root file system.
References by routines such as ttyname(3C) to stdin, stdout, and stderr will find that the device associated with the file descriptor is
unknown after chroot is run.
SunOS 5.11 15 Dec 2003 chroot(1M)