This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10772] New: Errors when using --server flag of stap-client
- From: "rgrunber at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Oct 2009 19:59:26 -0000
- Subject: [Bug runtime/10772] New: Errors when using --server flag of stap-client
- Reply-to: sourceware-bugzilla at sourceware dot org
Start a server using stap-start-server, then run stap-find-servers to find the
host, ip and port.
Run the following commands :
stap-client --unprivileged --server=ip -e 'probe begin {printf ("hello world\n")
exit()}'
stap-client --unprivileged --server=ip:port -e 'probe begin {printf ("hello
world\n") exit()}'
stap-client --unprivileged --server=host -e 'probe begin {printf ("hello
world\n") exit()}'
stap-client --unprivileged --server=host:port -e 'probe begin {printf ("hello
world\n") exit()}'
I had the following output :
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$ stap-find-servers
tommycat.local 192.168.122.1 31953 'sysinfo=2.6.30.8-64.fc11.i586 i386'
tommycat.local 10.15.16.127 31953 'sysinfo=2.6.30.8-64.fc11.i586 i386'
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$ stap-client --unprivileged --server=10.15.16.127 -e
'probe begin {printf ("hello world\n") exit()}'
hello world
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$ stap-client --unprivileged
--server=10.15.16.127:31953 -e 'probe begin {printf ("hello world\n") exit()}'
Attempting connection with dhcp-10-15-16-127.yyz.redhat.com:31953 using
certificate database in '/home/yyz/rgrunber/.systemtap/ssl/client'
Error in function SSL_ForceHandshake: -12276: The requested domain name does not
match the server's certificate
Error in function do_connect: -12276: The requested domain name does not match
the server's certificate
/usr/local/bin/stap-client: ERROR: Unable to connect to a server
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$ stap-client --unprivileged --server=tommycat -e
'probe begin {printf ("hello world\n") exit()}'
Cannot resolve server tommycat
/usr/local/bin/stap-client: ERROR: Unable to connect to a server
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$ stap-client --unprivileged --server=tommycat:31953
-e 'probe begin {printf ("hello world\n") exit()}'
hello world
rgrunber@tommycat:systemtap$
rgrunber@tommycat:systemtap$
Note that supplying --server=host and --server=ip:port generate an error but
--server=host:port and --server=ip work as expected.
--
Summary: Errors when using --server flag of stap-client
Product: systemtap
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: rgrunber at redhat dot com
CC: brolley at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10772
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.