Well, there are two parts to your question. I can answer the first
part, but I am still looking for guidance on the second part.
1) The php binary you are using is not compiled with the process
control extension. I was having some trouble with the apache2/php
rpms on my Linux system so I rebuilt them with this extension
enabled. And this error goes away. I can provide some guidance to
you if you are running a RedHat Linux system and have root access.
2) How to best use it is another story. I am currently in the process
of reading through the code, but a short tutorial of how to use
this tool would speed this process up.
Adam
From: "pacbrpt@..." <pacbrpt@...>
Subject: [uml-user] Help to install UMLd
Date: Thu, 25 Mar 2004 19:36:06 -0300
>
> Hello!
>
> I get the package "umld-0.3.2.tar.gz" (http://uml.openconsultancy.com/umld/) and
> I don't what I do with it.....
> The file doesn't have a Readme or Install to help.... :=(
>
> I don't know how I can execute it.
> I try through command line, and I get this error:
>
> -----------------
>
> [root@... umld-0.3.2]# php umld.php
> Mar 25 19:20:58 [11941] UMLd 0.3.2 20030219 started
> Mar 25 19:20:58 [11941] Copyright 2002 David Coulson <david@...>
> Mar 25 19:20:58 [11941] Listening on 127.0.0.1:29402
> X-Powered-By: PHP/4.1.2
> Content-type: text/html
>
> <br>
> <b>Fatal error</b>: Call to undefined function: pcntl_signal() in <b>/home/uml/misc/umld-0.3.2/umld.php</b> on line <b>1060</b><br>
> [root@... umld-0.3.2]#
>
> -------------------
>
> I try also through web (http://localhost/umld/umld.php), and so, I get
> new error :
>
> ------------
> " I need to be root! "
> ------------
>
> Well, really, I don't know how use this program......
>
> Someone can help me, please?
>
> Regards,
> Pedro
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@...
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Hello,
This problem may be slightly off-topic, nevertheless I believe a few people
here may be interested in the solution.
I have a few UML running on this host, each under its own user. I want to
allow the users to remotely access their UML console, but not do anything
else on the host.
My users have their login shells set to "screen -r". I'm starting the UML
called "brigitte" for user "mho" with the following command (as root):
su - mho -s /bin/sh -c \
"screen -S uml-brigitte -d -m \
/home/uml/bin/linux_uml-2.4.24-1um umid=brigitte mem=128M \
con=null con0=fd:0,fd:1 eth0=tuntap,,u-brigitte \
ubd0=/home/uml/vm/mho/brigitte.cow"
When mho login to the host via ssh, it resumes the screen session holding the
UML console. The problem, however, is that he can simply create a new window
with the host /bin/sh.
This is clearly a screen issue (patching screen to prevent the spawning of new
windows is the simple/brute force way to solve it), but I'm curious to see if
people have come up with different approaches to the same problem.
Thanks,
- Matt
--
+------------------------------------------------------+
| Mathieu Mourez w: 514-489-0620 |
| RDE Solutions c: 514-996-9626 |
| mailto:matt@... f: 514-221-3106 |

Hello!
I get the package "umld-0.3.2.tar.gz" (http://uml.openconsultancy.com/umld/) and
I don't what I do with it.....
The file doesn't have a Readme or Install to help.... :=(
I don't know how I can execute it.
I try through command line, and I get this error:
-----------------
[root@... umld-0.3.2]# php umld.php
Mar 25 19:20:58 [11941] UMLd 0.3.2 20030219 started
Mar 25 19:20:58 [11941] Copyright 2002 David Coulson <david@...>
Mar 25 19:20:58 [11941] Listening on 127.0.0.1:29402
X-Powered-By: PHP/4.1.2
Content-type: text/html
<br>
<b>Fatal error</b>: Call to undefined function: pcntl_signal() in <b>/home/uml/misc/umld-0.3.2/umld.php</b> on line <b>1060</b><br>
[root@... umld-0.3.2]#
-------------------
I try also through web (http://localhost/umld/umld.php), and so, I get
new error :
------------
" I need to be root! "
------------
Well, really, I don't know how use this program......
Someone can help me, please?
Regards,
Pedro

> The intention is to spawn a login prompt on the console (using the agetty program). The 'c' refers to the system console, the '2345' refers to the relevant runlevels for this command, the 'respawn' tells init to restart the process upon exit, and the remainder, '/sbin/agetty 9600 console', defines the command and parameters to be executed.
i tried an agetty on /dev/console now, and it doesn't work.
> I am a bit confused as to why your console would have initially prompted for a login if inittab was missing a similar entry. Unfortunately, your later post indicates that your problem is probably not related to this...
i used tty0 instead of console. using console or tty0 doesn't make any
difference. it still doesn't work.

I've been trying to figure out why versions somewhere between
2.4.19-53 and recent release would not start successfully in a chroot,
basically the following would be displayed then nothing :-
About to run '/bin/linux con0=fd:0,fd:1 con1=tty:/dev/tty6 con=null ubd0=/dev/rootvg/fogumllv ubd1=/dev/rootvg/fogswaplv ubd2=/dev/rootvg/fogroothomeumllv ubd3=/dev/rootvg/fogrootdnmiumllv ubd4=/dev/rootvg/fogrootprojumllv ubd5=/dev/rootvg/fogvarlv ubd6=/dev/rootvg/fogtmplv uml_dir=/tmp eth0=tuntap,fogtap mem=64M devfs=nomount umid=fog'
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
I gradually figured out that newer UMLs seemed to need /proc/cpuinfo
to work. get_host_hz calls cpu_feature to get the cpu MHz but panics
if it can't retrieve it. Unfortunately no message is displayed on the
"console" of the UML. I must admit after looking at the code for panic
I don't understand why this would be so.
At any rate, I'd thought I'd just send this to the list so it was in
the archives in case somebody else trips up on this.
Sincerely,
Adrian Phillips
--
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/