In Web Server 6.0 during the execution of a Perl Script, the software send the error "Cannot execute CGI script......unable to sewt group".

 

Hi Pablo,
Its bcos Your web server has been misconfigured. It doesn't know that it should execute your Perl program, so it's just returning the error to the browser.
Assuming that u use solaris 2.8. Generally the path for the perl in solaris is #!/usr/bin/perl .make sure u have included this in ur first line of the perl programs.[if not enter the exact location of the perl interpretor]
Now follow these steps:
*First Part
First create a cgi folder mycgi-bin( follow this example please) say u create mycgi in /usr folder (solaris). so the path becomes '/usr/mycgi-bin'. set
appropriate permissions say set chmod to 755. to make it executable. Then
(1)Goto Programs tab in IWS (iplanet web server) .
(2)choose cgi-directory drom left frame.
(3)CGI Directory Add another CGI Directory
URL prefix: mycgi-bin
CGI directory: /usr/mycgi-bin
(4) click 'OK' and click 'apply' to save changes and restart the server.
* Second Part:
1.In the Server Administrator, click Server preferences, then select 'MIME Types' from the frame on the left.
2.If you want to use .pl as the extension for Perl scripts, find and remove the application/x-perl MIME type (this is mapped to .pl by default). (remove it).
3.Add a new MIME Type with 'magnus-internal/mycgi-bin' (type this exactly ie magnus-internal/cgidirectory url prefix) as the Content Type, and pl as the File Suffix.
4.Save and apply these changes, then re-start the server.
5 .Put a sample perl file in mycgi-bin directory say sample.pl and access http://yourserver:port/mycgi-bin/sample. pl
*If you are having trouble running Perl scripts on your iPlanet server, check the following:
* Ensure that the script is readable by the account used by the iPlanet service.Generally, this means you should make the script readable by the Everyonegroup.
* Ensure that all supporting files, like the perl binary files, the perl library files, and the modules that you use, are all readable by the account used by the iPlanet service (i.e., the Everyone group).
It should work now,
Regards,
T.Raghulan

Similar Messages

  • What can be the cause of Web ADI error : Cannot execute SQL statement?

    I created a custom integrator in r12.2.3 and while loading I encountered an error, Cannot execute SQL statement.
    I checked my setup in Interface attribute , the RUN_ID column has a default type SQL QUERY with a default value SELECT  XXCONV_EAM_ASSET_NUM_S.NEXTVAL FROM DUAL.
    If I have a right setup here, what can be the cause of this error?

    Hi,
    The possibilities can be of various reasons, with the sql statements,
    xml descriptors, data sources, improper drivers anything. To crack down
    the solution, kindly let me know the error messages and what exactly are
    you trying to accomplish.
    Thanks & Regards
    Raj
    manimaran t wrote:
    what may be the cause of this error java.sql.SQLException: invalid sql
    type passed to callable statement in iplanet ussing JNDI
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Can't execute cgi scripts outside the default

    I had this working fine on my old imac.
    On my new mac (Running Latest Lion)...
    I edited /etc/apache2/httpd.conf
    Updated
    User wtfuser
    Group staff
    Updated
    DocumentRoot "/Users/wtfuser/Sites"
    Updated:
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/Users/wtfuser/Sites">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks MultiViews ExecCGI
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    I can execute cgi scripts if they are placed in /Library/Webserver/CGI-Executables
    But if I put a test.cgi file inside /Users/wtfuser/Sites/test.cgi
    I get permission denied and errors:
    [Wed May 02 22:38:45 2012] [error] [client ::1] Options ExecCGI is off in this directory: /Users/wtfuser/Sites/sandbox/test.cgi
    [Wed May 02 22:38:45 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:07 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:14 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:24 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    [Wed May 02 22:40:25 2012] [error] [client ::1] File does not exist: /Users/lonewolf/Sites/favicon.ico
    Any help is appreciated

    I will send an update.
    I changed this line
    ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Users/wtfuser/Sites/$1"
    This allowed me to successfully change the location of cgi scripts to a more convenient location, or simply because I wanted to do it! Just because!
    It seems like the AddHandler, and the ExecCGI isn't working. This should allow me to run .cgi files from anywhere, regardless of the script alias.
    So I'm open to suggestions as to why this isn't working.  FYI. I copied my httpd.conf file from my old imac running lion onto my new imac, and it still didn't work. But it works as expected on my old imac.
    Confused. But at least I have a work-around and I know the httpd.conf file I'm modifying is the right one, etc...
    ANd what in gods name is that crap with the favicon.ico?
    This is a brand new out of the box imac, or so I thought. Is this normal??

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • TS3623 purchasing a movie from apple tv has stopped working.  I click on "movies" and it takes me back to the same screen instead of the movies available.  I have updated software, unplugged the modem & apple tv box, & the tv; Netflix still works!

    purchasing a movie from apple tv has stopped working.  I click on "movies" and it takes me back to the same screen instead of the movies available.  I have updated software, unplugged the modem & apple tv box, & the tv; Netflix still works!

    Welcome to the Apple Community.
    First you should try logging out of your iTunes Store account (settings > iTunes Store > accounts) and then back in again.
    If that doesn't help, try resetting the Apple TV (Settings > General > Reset > Reset all settings). You should also try restarting your router.
    If both of the above don't help, you should try a restore (Settings > General > Reset > Restore).

  • My PC Harddrive died along with all the CD's that I have saved to the Itunes library.  My IPOD touch has the library still so I would like to send the data from the IPOD to the PC to restore my library.  Is this possible?

    My PC Harddrive died along with all the CD's that I have saved to the Itunes library.  My IPOD touch has the library still so I would like to send the data from the IPOD to the PC to restore my library.  Is this possible?

    Yes, by using a third-party utility such as Phone to PC or Phone to Mac.
    Also see How to dowload purchased music and Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I want to buy iPhone 5 64 gb The problem I'm in Saudi Arabia  Can you pay the money directly from MasterCard to Apple Then send the iPhone by Aramex or dhl directly to Saudi Arabia

    I want to buy iPhone 5 64 gb
    The problem I'm in Saudi Arabia
    Apple UK site can not be shipping outside the uk
     Can you pay the money directly from MasterCard to Apple
    Then send the iPhone by Aramex or dhl directly to Saudi Arabia
    Thanks

    However many people contact Apple support for there is nothing that either they or you can do.
    Apple stores online do NOT provide international shipping, end of story.
    If you want an unlocked iPhone 5, you will either have to wait until they are available nearer to you or you need to physically travel to the UK and purchase an unlocked iPhone 5 there.  Rememeber though about warranty issues - not international so it means you'll have to physically return to the UK if anything goes wrong with the phone.
    If you have a friend travelling to the UK, then they could purchase one for you and then you could put a local Saudi nano sim card in the phone when they become available over there.
    Other than that, just be patient and wait until they become available.

  • The execution file is too large in ipa,but the swf file is not that big, even with the air runtime.

    Hi,could some one tell me why does this happend.
    the size of the main swf is 16M,named "Loading.swf", when packaging to ipa (target: ipa-app-store), the execution file(named "Loading")  in the ipa is turn to the size of 41M , I know it will intergrate with the whole air runtime into the main executing file, 41-16=25M, but the size of air runtime is far smaller than 25M.
    when comress this exection file info a zip file, the size after compressed is 26M, why,help?
    Thanks in advance.

    Has this ever been resolved?  We are having a similar issue.
    Thanks!

  • Can I stream the video to Apple TV, as well as sending the audio through to the sonos play 1 speaker?

    I was wondering if there was a way to stream my movies to Apple TV, which I know how to do, but to send the sound through to my sonos play 1? Thanks in advance!

    I'd like to know the answer to this as well... Hope someone can step in and fill us in.

  • When my macbook kicks me off the internet, why doesn't it let me send the error report to apple anymore?

    It used to send the error report all the time. Now not at all.

    Welcome to Apple Support Communities.
    With the announcement of the forthcoming OS X 10.8 'Mountain Lion', Apple is apparently no longer accepting crash reports from OS X 10.5.x "Leopard".

  • How can I uncheck the option to 'download latest windows support software' in the boot camp assistant?  The option to uncheck is locked

    MBP 2013 Retina running OSX 10.9.2
    I am trying to install Boot Camp using Boot Camp Assistant 5.1.2 (481)
    I have a Windows 7 Pro ISO from MS.
    When I open the Boot Camp assistant and try to create a bootable USB, it freezes on the 'downloading windows support software' part. I have tried multiple times.
    I was able to download the latest support software from Apple, but no matter what I try I am unable to uncheck the box to download the software in the boot camp assistant
    Ideas?

    Me too have the same problem where i couldnt uncheck the 'download windows support software' option when im installing Windows 8 Pro (ISO in bootable USB 3.0) using Boot Camp on my MBP retina OS X 10.9.2.
    And if i have to follow these steps, it takes too much time and im not sure if it will be finished or not (im stopping the process for i have waiting for at least 3 hours downloading). And im pretty sure my internet connection is doing good when downloading this thing. What's happening here?
    Please help.

  • TS1398 I am getting when manually entering wifi info of "Could not scan for wireless networks" wireless is working on other devices, how do I cure this?  The problem only began when I updated software on the phone.  Previously I had no problems with wifi.

    After updating software on Iphone (wifi worked fine before the software update) I  now can not get on wifi.  The phone with not find a working wifi network nor can I connect manually.  Wifi is working on other devices.  I have turned the phone on and off, turned the wifi router on and off and reset the iphone and down loaded updated software to the phone.  Nothing has worked.  Does anyone have an answer for this problem?

    Could this be the problem?
    iPhone 4 Modem Firmware : 3.0.04
    iPhone 4S Modem Firmware : 2.0.10
    Wifi is working on my iPhone 4, NOT on 4S -
    Why is my new 4S I got yesterday using a 2.0.10 firmware, isn't that old?! Isn't the newest 4.0+?
    I am so tired of trying to figure this out.
    The Wi-Fi addresses in the About settings are different on both phones too.

  • I live in Qatar, but bought my Ipad 3rd generation in the U.S, My iPad updated its software from the latest 5 to 6. It is stuck in "Could not Activate iPad" your ipad could not be activated because the activation server is temporarily unavailable.........

    why is this happening.....really thinking hard on not purchasing more apple products in future.....

    Did you manage to fix it? I'm having the same issue for a couple of days.

  • I buy iTunes card and I can't download cuz I forget the answer of the questions :( plz help-! How can I send the card from the acc to my new one .

    I wrote everything up ^

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    Putting the card's balance back onto it and then to the new one also requires contacting Apple.
    (97325)

  • HT2693 What is wrong with the new iOS 6 software on the iPhone 4 and 4s it's made all apps, messaging, calling etc very glitchy and slow!? Myself and a few of my mates have the 4 or 4s and all seem to have the same problem. If its apples software, are the

    WWhy's the new iOS 6 so slow and glitchy?

    Im having problems since the new update also!! ALL my apps crash! This is getting old! No help from apple! Very frustrated!!! I dont know what to do!!!help please!!

Maybe you are looking for

  • Hook up to HDTV

    I have a black MacBook (I got it right before they stopped selling the black ones).  So I bought a Mini-DVI to HDMI and the proper cables to hook up the HDMI end to the HDMI on my Panasonic 32" but nothing is happening.  I have tried turning off both

  • Custom Content Update Page

    Hi Everyone, My goal is to generate a custom content update page, and to control the visual structure of the page: some fields will be read-only and placed in a table to save space, some fields will be editable and placed in a table, some fields will

  • Kde4 or kdemod 4?

    I always used kdemod 3, until kde 4 came out, it was too buggy for me, and I've been working in gnome ever since. I'm ready to go to kde 4.2, it seems as if kde 4.2 and kdemod 4.2 are so very similar? Can anyone enlighten me on the differences, and o

  • Old Toad - help with lost iPhoto Library

    I posted in the iPhoto 06 board by mistake, I am actually running 08. I found the iPhoto library in Pictures, but it stopped in July 07, and I seem to have lost a year's worth of photos. Do you have any advice?

  • Horizontal Edge To Edge View?

    Hi, I am trying to create a site which has a band 900 by 190 running from the left to the right with no margin on either side. I can create this layout by using 100% on the width on the properties panel. The problem is that the other elements above a