Closed acrolink closed 8 years ago
Hi,
have made you make install...? how you have configured ULib...?
You must give more information if you want some kind of response...
Stefano
Thanks @stefanocasazza I did this:
[normal user] ./configure (no special options)
[normal user] ./sudo make [no sudo alerted permission denied errors]
[normal user] ./sudo make install
in this case you must have the executable userver_tcp installed as /usr/local/bin/userver_tcp, you must run this. If you want play with configuration, the default is located in /usr/local/etc/userver.cfg
Stefano
2016-07-22 13:29 GMT+02:00 acrolink notifications@github.com:
Thanks @stefanocasazza https://github.com/stefanocasazza I did this:
[normal user] ./configure (no special options) [normal user] ./sudo make [no sudo alerted permission denied errors] [normal user] ./sudo make install
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanocasazza/ULib/issues/19#issuecomment-234520833, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGkXuqUUNWp6v6u-HrqFedGRqaIbZOBks5qYKl8gaJpZM4JSkk2 .
The file /usr/local/lib64/libulib-1.4.2.so.1.0.0
is there and the there is in the same directory a symlink named libulib-1.4.2.so.1
yes, it is correct. What is the question... ?
2016-07-22 14:08 GMT+02:00 acrolink notifications@github.com:
The file /usr/local/lib64/libulib-1.4.2.so.1.0.0 is there and the there is in the same directory a symlink named libulib-1.4.2.so.1
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanocasazza/ULib/issues/19#issuecomment-234527106, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGkXvLsmumpUk9Vk6w6ZwEaXcuyx26Lks5qYLKpgaJpZM4JSkk2 .
Despite that the file is there the program returns an error that the file is not there, inspect my original post above..
you try to run: exmples/userver/userver_tcp or exmples/userver/.libs/userver_tcp
in the last case the error is expected...
Stefano
2016-07-22 14:48 GMT+02:00 acrolink notifications@github.com:
Despite that the file is there the program returns an error that the file is not there, inspect my original post above..
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanocasazza/ULib/issues/19#issuecomment-234534657, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGkXpmRpluiFJr8PyhZFZjgI1JidrJwks5qYLwdgaJpZM4JSkk2 .
I run /usr/local/bin/userver_tcp
or the one inside the place where I cloned the rep. '/home/myself/apps/ULib/exmples/userver/userver_tcp'
@stefanocasazza no problem I needed to test run ULib only to compare it to Rails/Unicorn and Nginx/PHP .. not so urgent now.. Thank you for your time.. I will try to run it under Ubuntu and see if the same happens. Currently I was testing under OpenSuse
there is something weird that I don't understand...
you can do this: sudo vi /etc/ld.so.conf check if present /usr/local/lib64 in the list, if not add it... run: sudo ldconfig -Xv check if in the output is present ..... /usr/local/lib64: libulib-1.4.2.so.1 -> libulib.so ....
then retry to run userver_tcp.
you can also run sudo ldd userver_tcp linux-vdso.so.1 (0x00007fffad976000) libc.so.6 => /lib64/libc.so.6 (0x00007f540147c000) libulib-1.4.2.so.1 => /usr/local/lib64/libulib-1.4.2.so.1 libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/libstdc++.so.6 (0x00007f54010f4000) /lib64/ld-linux-x86-64.so.2 (0x00007f540182c000) libm.so.6 => /lib64/libm.so.6 (0x00007f5400df0000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/libgcc_s.so.1 (0x00007f5400bd9000)
2016-07-22 15:16 GMT+02:00 acrolink notifications@github.com:
I run /usr/local/bin/userver_tcp or the one inside the place where I cloned the rep. '/home/myself/apps/ULib/exmples/userver/userver_tcp'
@stefanocasazza https://github.com/stefanocasazza no problem I needed to test run ULib only to compare it to Rails/Unicorn and Nginx/PHP .. not so urgent now.. Thank you for your time.. I will try to run it under Ubuntu and see if the same happens. Currently I was testing under OpenSuse
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanocasazza/ULib/issues/19#issuecomment-234540838, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGkXtVfo2ni1lQvh07x30y5tQa2Isgcks5qYMK3gaJpZM4JSkk2 .
@stefanocasazza Thank you very much sudo ldd userver_tcp
solved it :+1:
Pretty fast server.. I wonder is it possible to increase the number of worker processes. I have 2 cores and I see that userver starts automatically 2 processes.
you can set the var PREFORK_CHILD in file configuration /usr/local/etc/userver.cfg...
I had the same problem with Debian linux, but I'm glad I found this issue. The fix which worked for me as well:
cd /usr/local/bin
sudo ldd userver_tcp
I am getting this when trying to run /exmples/userver/userver_tcp:
Thank you.