Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2004
    Posts
    58

    Question Networking - socket_create PROBLEM

    I am on Redhat 9, through SSH I am trying to run command line PHP networking code. My program uses Sockets but as soon as I code executes below line:

    PHP Code:
    $socket socket_create(AF_INETSOCK_RAW1); 
    it shows below Error:

    Warning: socket_create() Unable to create socket [1]: Operation not permitted in abc.php on line 4

    Error shows that this Operation not permitted. Can anyone advise why this warning is comming.

    NOTE: I have tried to run the above code from root SSH and it's running fine. Now can anyone know why it's displaying warning when I run the code from some other user's account.

    Waiting for reply !

  2. #2
    Member akhthar's Avatar
    Join Date
    May 2004
    Location
    bangalore
    Posts
    23

    Default

    Hi,

    Other users are using jailshell??
    then change it to bash
    ---
    Akhthar Parvez K
    [COLOR=Navy]http://www.SysAdminGUIDE.com//COLOR]

  3. #3
    Member
    Join Date
    May 2004
    Posts
    58

    Default

    Shell is bash not jailed shell

    Any Idea how to run it ??

Similar Threads & Tags
Similar threads

  1. Networking Question
    By DreamPhysix in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-18-2010, 08:07 AM
  2. Inter-networking
    By thomking in forum New User Questions
    Replies: 1
    Last Post: 05-03-2007, 04:54 AM
  3. Exim or Networking issue
    By t9clkclnr in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-26-2006, 01:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube