Hi,
I'm very new to Linux but have been muddling my way through quite happily until recently.
I'm trying to write a program in C++ which starts a new process using the execl command. I am trying to run the tftp process as follows:
Unfortunately, this is not working and the execl command returns -1.
I have tried the same program replacing the tftp with a simple command (ls) and it works fine.
I have also tried typing the tftp command into a terminal and that works fine (the file is transferred as I would expect)
Can anyone spot anything daft that I'm doing? Is there any way I can get more information as to why the execl command failed?
Many thanks in advance.
I'm reading Operating Systems in Depth by Thomas W. Doeppner, and I have a question about execl. He says it's called after fork(), and that it replaces the text (code) of the current process and replaces it with the code of the new program. But that doesn't make sense to me.
Does that mean... (4 Replies)
Hi all,
I have a problem. I have iptables enabled in my ubuntu system on which tftp server is configured. Now when I try to do a tftpget from another ubuntu 32-bit machine, file transfer is not happening. But, when iptables are disabled, everything is fine. I heard that some ip_conntrack module... (0 Replies)
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Hi all,
I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A... (10 Replies)
I have setup nimol on a Fedora 9 machine. Nimol is installed and correctly configured and I have a client rs6000 (43p) declared in the dhcpd.conf file. all is running correctly and tftp is installed. I am monitoring /var/log/messages when I start the 43p and see the dhcp request come in and a reply... (0 Replies)
Hi,
I have a V240 Solaris 10 (06.06) with a Solaris image of 08.07 (newest release). On the jumpstart server I have also installed JET for testing.
Client was setup using the JET utilities.
jade = jumpstart server
phoebus = client (MAC: 0:3:ba:9e:6f:2d IP:192.168.58.121 )
When I now... (0 Replies)