in reply to AVC Deniel

You need to give the user that your web server runs as access to the tty/cua devices used by your mobile connection (/dev/ttysomething), either through unix permissions or SELinux ACL. You could also try run your script setuid.

Or turn off SELinux.

Replies are listed 'Best First'.
Re^2: AVC Deniel
by roc (Sexton) on Mar 28, 2010 at 11:31 UTC

    Thanks for your reply...can u suggest me some procedure with commands.......and can tell me the command to turnoff SELinux....

      In a terminal, type man audit2allow to learn how you can extend your SELinux policy.

        my CGi script is working in commandline and giving "connected" message but when i run it in browser it's not connecting its going 'else' and giving 'no connection'......i turnedoff SELinux... eventhough its not working in browser