Displaying 2 results from an estimated 2 matches for "client_host".
2007 Feb 16
1
Can''t get puppetrun to work
I''ve tried this on two different setups all running 0.22.1. One group
is Ubuntu/OpenBSD the other is RHEL4/RHEL4.
Master has signed client certs. puppetd works fine from client.
If I run from the server side:
root@server:~# puppetrun --host client_host.example.com
Failed to load ruby LDAP library. LDAP functionality will not be available
Triggering client_host.example.com
Host client_host.example.com failed: Certificates were not trusted:
tlsv1 alert unknown ca client_host.example.com finished with exit code
2
Failed: client_host.example.com
The...
2006 Feb 05
2
R socket communication
..."bind: $!";
listen(SERVER, SOMAXCONN) or die "listen: $!";
print "SERVER started on port $port ";
my $client_addr;
while ($client_addr = accept(CLIENT, SERVER))
{
my ($client_port, $client_ip) = sockaddr_in($client_addr);
my $client_ipnum = inet_ntoa($client_ip);
my $client_host = gethostbyaddr($client_ip, AF_INET);
print "Connection from: $client_host","[$client_ipnum] ";
while(<CLIENT>){
print "$_";
}
close CLIENT;
}