This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem setting up systemtap 1.6 client/server on Ubutu 11.10


Hi all,

I am having problems setting up systemtap client/server and would like to find out,
if it is already known problem before I start debugging the systemtap code.


Environment:
------------------

I am using ubuntu oneiric 11.10 and systemtap 1.6.
I got the source from git tagged "release-1.6" and built myself. I believe this is the version that debian uses
The build, in case someone needs it, is available in https://launchpad.net/~awolfson/+archive/systemtap


Unfortunately, I did not find instructions on setting stap-client/server on Debian derivatives.
I tried to make a script to automate setup. It is attached


Couple of things seems to go wrong:
-------------------------------------------------

1. sudo su -s /bin/sh - stap-server -c /usr/lib/systemtap/stap-gen-cert

As far as I understand, it suppose to ask for password but it does not happened.
However the certificate is generated and put in /var/lib/stapserver/.systemtap/ssl/server/stap.cert


2. sudo su -s /bin/sh - stap-server -c /usr/lib/systemtap/stap-start-server

[sudo] password for awolfson:
/usr/lib/systemtap/stap-start-server: line 51: 6460 Aborted ${stap_pkglibexecdir}stap-serverd "$@" < /dev/null > /dev/null 2> /dev/null
Unable to start a systemtap server: /usr/lib/systemtap/stap-serverd did not start


3. Attempt to manually start the daemon
-------------------------------------------------------
awolfson@awolfson-T410:/usr/lib/systemtap$ ./stap-serverd
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Aborted

Sorry for that long Email, but I would be greatly appreciated some feedback.
If this is unknown issue, I will try to debug it.
I did not try other systemtap versions yet.

Thanks,

Alex

Attachment: stap-setup-server.sh
Description: application/shellscript


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]