Hello, I assume you mean the SIPp Webfrontend. Instead of running apache as root you could also use sudo to run SIPp as root. This should be done in exec_call.php (function execute_background on line 165). The difficulty is then to find out the correct process id of the SIPp process.
Regards -------------------------- Mario Smeritschnig P O L Y M O R P H Siebenbrunnengasse 56/3 1050 Wien AUSTRIA www.polymorph.at Tel: +43 (0) 720703591 Fax: +43 (0) 720703081 -----Ursprüngliche Nachricht----- Von: James Jones [mailto:[email protected]] Gesendet: Mittwoch, 29. Juli 2009 15:13 An: [email protected] Betreff: Re: [Sipp-users] SIPp GUI access to raw sockets Ubuntu Hello All, A few weeks ago I posted a problem with the SIPp GUI not able to play media via a .pcap file. I saw the error "Can't create raw socket (need to run as root?)." The problem is Apache not running as root. To resolve the issue I manually compiled Apache, PHP and MySQL. When compiling I used Apache use command :- env CFLAGS="-Wall -DBIG_SECURITY_HOLE" ./configure - http://httpd.apache.org/dev/apidoc/apidoc_BIG_SECURITY_HOLE.html ***** Then set Apache to run as root cd /usr/local/apache/conf/ vi httpd.conf ***** Change user and Group User root Group root Please note I am doing this on a laptop used as a tester, this is only used on a lab networks there are big security issues doing this on a device facing the big wide world. Hopes this helps someone, Jimmy ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
