Perl Scripts not executable in web server

I have a MacMini running 10.4 Server. It is hosting a web site for some surveys that are created using SurveyTracker.
The person creating the surveys SMB connects to the web server to create the files in the share point that is also the main web directory (not /Library/WebServer/Documents but a different location).
The problem is, when the person does the SMB file create, it does not create the pl scripts with the 'x' bit enabled. Instead of rwx/rwx/r-x (775) it comes rw-/rw-/r-- (664).
I have tried setting a cron job to auto chmod to 775 every five minutes but the cron job does not run.
Is there a way to change the permsissions on the folder, i.e. Sticky Bit, so any file being created in the folder wil have the 'x' bit automatically?
The option of giving ssh access to the person creating the file is not as easy as it sounds, as they do not understand terminal/ssh.
I have mod_perl and mod_cgi enabled in the webserver settings, and allow CGI-Execute.
XServe   Mac OS X (10.4.3)  

Hi Ludek,
               After installing default printer on Server, i got No printers installed.
below is my code, (checking in Default printer installed or not in TRY)
CR_TGL_EBL.HasPrintButton = False
CR_TGL_EBL.ReportSource = rpt
Try
rpt.PrintToPrinter(No_of_copies, True, 0, 0)
Catch ex As Exception
Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
End Try
Even i installed default printer i got alert message, How to get direct print in server.
Locally it's working fine. Once i enable printtoprinter it's loading only...
Please help me to solve this issue...
Regards,
Mani.

Similar Messages

  • Can servlets/ jsp automatically run perl scripts and executables?

    I'm a student and am new to to servlets and web programming in general.
    I need to know if it's possible to run perl scripts and executables automatically from servlets/ jsp.
    The program I am planning on creating should have a client outside a firewall that uploads perl files to a gateway machine inside the firewall, the servlet should be able to run this perl file, and then pass the resulting file as an argument to an executable, to be run by another servlet on a different server.
    I've tried looking everwhere for an answer to this and am about to revert to a cgi based approach because I'm not sure if it would work so any help/ suggestions would be much appreciated.

    Hallo,
    I think using java Runtime will help. you can do Processes that execute shell or system commands through
    Process process = Runtime.getRuntime().exec("your perl scripts here!");
    Bye

  • RunAtServer script in XDP not executed in Form Server

    Hi, Expert,
    I authored the form template in Designer 7.1 and generated PDF using SOAP client call 'renderForm()' successfully on Form Server with JBoss 3.x.
    The problem is that the script in the template written in Designer set as 'RunAt=Server' never gets executed in Forms Server (the script is triggered in the event like 'form:ready' and 'layout:ready').
    Is there any special options which shd be set in renderForm() call or the properties of XDP?
    Any help is highly appreciated.
    Thanks in advance
    John

    Hi, Rob,
    Thank you very much for the reply.
    I call the renderForm() is like:
    IOutputContext context = formServer.renderForm(
    args[0], // name of XDP file
    "PDFForm", // for interactive form
    xmlBytes, // merged XML data
    "CacheEnabled=False", // runtime options
    null,
    "http://localhost:8080/",
    "http://localhost:8080/", // sTargetURL
    "file:///d:/formsapi", // path of XDP file
    null);
    The script in XDP run at server in form:ready is like:
    if (txtProductId.rawValue == null || txtProductId.rawValue == "") {
    // hide it
    txtProductId.presence = "hidden";
    Thanks again
    John

  • Can I run perl scripts on a iplanet App Server instead of web server

    Hello,
    We have some perl scripts running on a iWS 6.0 in DMZ (Tier1) which acess Oracle Server(Tier 3). I want to restrict machines on DMZ access Oracle server directly. Instead I want all the database calls to orignate from iPlanet App server on Tier 2. To make this happen I have to run Perl scripts on App server. Is this feasible as the J2EE iPlanet App can run only C++ or Java.. Any leads helps me lot..
    Thanks
    Sudhir Nallagangu

    According to the J2EE specs you should use EJBs and Servlets in the iAS! Running a perl script for db access sounds like good old cgi times.
    But generally it is possible to call a perl script from within iAS. But don't do it!

  • Perl scripts not recognized by Apache 1.3

    Hello Discussions-Tiger Forums,
    I need to do some troubleshooting of Perl scripts on a PowerPC Mac, as I wait for my company to get a new computer for me. The PowerPC is running Apache 1.3 .
    My problem is that the Apache server is not running Perl scripts, but instead is displaying them like text files. For example - localhost:8080/hello.pl shows the lines of perl code instead of showing the "hello world" message.
    I've uncommented the "AddModule mod_perl.c" line in the htpd.conf and restarted the web server via the "Sharing" Preferences panel.
    Also - how do I tell Apache where perl is?
    - Larry
    Message was edited by: XRayLarry

    Thanks for the CHMOD hint and the link. Inspired by the information, I am going to do some research into AddHandler and ScriptAlias. I am working on a site with a nonstandard location for cgi scripts, and the previous coder is out on vacation.
    I'll report back here on my progress or lack thereof.

  • SWF created in CS4 Flash does not play from web server

    I published a Flash movie in CS4, which includes the following ActionScript 3.0 code to allow people to click the movie to open a new web page; but it will not play from the web server...however, it plays just fine from my local hard drive in Firefox and IE 7.
    It  is an html file with an embedded .swf and I made sure to copy over the  swfObject.js, AC_ActvieX.js, AC_RunActiveContent.js, expressInstall.swf, and  swfobject_modified.js files to the correct directories.  The address is: http://www.giseldemarco.com/introduction.html and as you will see,  there are no errors...just a blank page.  I even tried changing the script  from:
    <script  type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    to  this script:  <script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>, but using this script generates a lot of CSS and other errors.
    Nothing  works.  The ActionScript code I used is:
    //Link to website
    Site_btn.addEventListener(MouseEvent.CLICK,visitSite);
    function visitSite(e:MouseEvent):void{
        var req:URLRequest = new URLRequest("http://giseldemarco.com/Home/Index.html");
        navigateToURL(req,"_parent");
    I am at a loss here...any help would be greatly appreciated!
    Thank you.

    Nothing new... Flash developers fall for this all the time...
    SecurityError: Error #2148: SWF file http://www.giseldemarco.com/Introduction.swf cannot access local resource C:\Gi\All The Way\New Splash Screen\Spalsh\Spalsh.flv. Only local-with-filesystem and trusted local SWF files may access local resources.
        at flash.net::NetStream/play()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_play()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
        at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
        at fl.video::VideoPlayer/load()
        at fl.video::FLVPlayback/doContentPathConnect()
    Cheers
    --Vikas

  • Unix shell script should execute (run) webI report.

    Hi
    i am new to BO.
    I have webI reports developed, can any one tell me how  to execute a webI reprot using unix sheel script.

    Hello Vijaya,
    Thatu2019s an interesting question.  BusinessObjects does not supply any native UNIX shell interfaces or scripts for running/executing Webi Reports. Not knowing what it is you are exactly trying to accomplish Iu2019ll give a very general answer.
    I have had several customers who had requirements to have external systems execute, refresh and export reports in BusinessObjects Enterprise before.  These external systems could execute a shell script so what they have ended up doing is creating generic Java applications that use the BusinessObjects BOE Java SDK. Once they had the Java application created their external application could execute a java directory or they created shell wrappers that were called.  So what you could do is create some Java applications that wrap the functionally you need and then execute those from the command line.
    With that said there is a lot of functionally built into BusinessObjects Enterprise.  If I was to know exactly what you were trying to achieve I might be able to point you in the direction of an existing product feature.
    Cheers,
    David.

  • Script not executed

    How do you use javascript within yr' jsp page? The ff script never gets executed and I need a popup displayed when user is not logged on. Any suggestions would be appreciated.
    <% if(XXXXXXXx.verifyUser()) { %>
    <jsp:forward page="xxx.htm"/>
    <% } else { %>
    <SCRIPT>
    function openpopup(){
    var popurl="Invalid UserName/Password"
    winpops=window.open(popurl,"","width=400,height=338,status,")
    openpopup()
    </Script>
    <jsp:forward page="login.htm"/>
    <% } %>

    The problem seems to be that you have the <jsp:forward> tag after your script. This causes the server to forward the request to another page, so that your page with the script won't be sent to the client at all. Remove the <jsp:forward> and put a line like
    document.location="something"
    in your client-side script after the pop-up..

  • Certificate request not working with web server v2 template on windows 2012 R2

    I have tried to generate a certificate request on my domain joined Windows 2012 R2. I have tried both online and offline requests. I am using the web server v2 template.
    Both Method fails with error message that the cryptographic algorithm is unknown. I am using these settings apart from the template:
    This is the error Message in online request:
    The error Message in the offline request is somewhat similar.
    An event error is also appearing in the application log:
    The CSPs from the template:
    I am wondering if a cryptographic service provider or several of them are missing? They are installed With Windows update are they not? The strange thing is that this supposedly have worked before with another user. Could it be that I do not have the
    correct permissions to request a certificate with this template, or has something happened with the server? 

    Hey dag 
    Thanks for posting ,
    If You try duplicate the web template for using it in version 4 - can You see any difference? 
    Also check the link below for certificate templates versions:
    http://social.technet.microsoft.com/wiki/contents/articles/13303.windows-server-2012-certificate-template-versions-and-options.aspx#Version_4_Certificate_Templates
    In previous operating system versions the configuration of CSPs and KSPs were on different tabs in the certificate properties. For version 2 certificate templates, CSPs were configured on the Request Handling tab. For version 3 certificate templates,
    KSPs were configured on the Cryptography tab. Starting in Windows Server 2012, the configuration of the providers is consolidated on the Cryptography tab. To learn more about the cryptographic provider options present in previous operating systems
    Notice later.
    I'd be glad to answer any question

  • Financial Reporting Studio 11.1.2.1 PDF not Configured for Web Server

    I have installed EPM 11.1.2.1, and HFM, Planning, Essbase, Financial Reporting are all working fine except when I do a report preview in the Workspace an error is received that PDF has not been configured for this Web Server.
    I have uninstalled PDF and Financial Reporting then re-installed them but I am still getting the same error. Also, I when I tried to view report from Workspace in Financial Reporting Studio, I received the following error:
    error number 400 Error Description:Form already displayed; can't show modally. Function: ShowMsg. Module:GblMethods.
    Your help would be gracefully appreciated.

    You should review all installation guides, readmes, and the certification matrix before performing a Hyperion Installation and/or Upgrade.
    Version 9.0 of Ghostscript is not supported, install ghostscript 8.6.3 - 32-bit.
    From the 11.1.2.1 Certification Matrix: "Either: --Adobe Acrobat Distiller Server 8.0 or 6.0 --GPL Ghostscript 8.63; AFPL Ghostscript 8.54 or 8.51; or GNU Ghostscript 7.0.6"     
    From the 11.1.2.1 Installation Guide Page 110: "Ensure that a supported 32-bit version of Ghostscript is installed."
    See http://www.oracle.com/technetwork/middleware/bi-foundation/oracle-hyperion-epm-system-certific-131801.xls
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121.pdf
    Regards,
    John A. Booth
    http://www.metavero.com

  • Works in Tomcat but not in iPlanet Web server

    I have a servlet which first generates a form which has one input field, when user fills in the text field and submits the form it is posted to same servlet. The posted data is processed and redirected to another servlet. Everything works fine on Tomcat3.2 but fails to work on iPlanet web server and throws HTTP Error 500.
    Can someone help me with this? What might be the problem?

    Don't know whey it worked in Tomcat and not in iPlanet, but the reason is because I missed '/' in getRequestDispatcher() methoc
    public RequestDispatcher getRequestDispatcher(java.lang.String path)
    The pathname must begin with a "/" and is interpreted as relative to the current context root.

  • Can applet access oracleDB which not on the Web server

    can anyone tell me if I could use applet come from a Web server to access oracle DB on the other workstation, how to do it

    teekay wrote:
    It should work already as the default config also sets an /owncloud alias. If it doesn't work, try
    ln -s /usr/share/webapps/owncloud /srv/http/owncloud
    It worked before when I first tested owncloud (6 months ago)
    the symlink works if I remove apaches owncloud conf file.
    I'll mark this as solved, but it should work with the conf file in place, not the symlink on the filesystem.
    Thanks, I don't know why i did not try that before

  • PrintToPrinter Not working in Web Server

    Dear Experts,
                        I have created report for direct printing at client machine. It's working in Local machine. Once i deployed in web server
    first time itself viewer opening then second time page loading only even viewer didn't open.
    rpt.PrintToPrinter(No_of_copies, True, 0, 0)
    Once i comment this line and restart the server first time only viewer opening. i cannot find why it's happening...
    How can i solve this issues ?
    thanks in advance,
    Mani

    Hi Ludek,
                   After installing default printer on Server, i got No printers installed.
    below is my code, (checking in Default printer installed or not in TRY)
    CR_TGL_EBL.HasPrintButton = False
    CR_TGL_EBL.ReportSource = rpt
    Try
    rpt.PrintToPrinter(No_of_copies, True, 0, 0)
    Catch ex As Exception
    Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
    End Try
    Even i installed default printer i got alert message, How to get direct print in server.
    Locally it's working fine. Once i enable printtoprinter it's loading only...
    Please help me to solve this issue...
    Regards,
    Mani.

  • Tmadmin in unix script not executed in cron

    Hi,
    I have a script in HP UX that is using tmadmin and pclt to know the no of users that are currently using the system.
    Let me call this script as myscript.sh.
    #!/bin/sh
    count = ' echo pclt | tmadmin | grep <search string> | wc -l '
    echo $count
    When the script is run in command line, (./myscript.sh) I am getting the results or the no of users. BUT when the script is put in cron , I have '0' output. It appears that tmadmin is not being executed when the script is called inside crontab.
    I did specified the PATH environment variable, and hard coded the directory when tmadmin is located but still tmadmin is not executed.
    Can someone help me on this ? Thanks.

    Hi,
    You need more than the Tuxedo bin directory in your path. You also need the TUXDIR, APPDIR, and TUXCONFIG environment variables set. Add setting those to your script before invoking tmadmin and you should be good to go, assuming the account the cron job is running under has access to the TUXDIR and APPDIR directories.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Patches with pre and or post patch scripts not executable -- why?

    In my frustration with update manager hangs I have had to kill processes and restart and even manually unjar files and patchadd. Sometimes I run across the error that the pre or post patch scripts are not executable. I have in the past chmod 744 and patchadd then applies the patch. This has happened several times in my latest patch update. I also had a patch ( X11) that implied a lack of entitlement but the manual patchadd showed that the real problem was a missing prerequisite patch.
    My questions are:
    1. is this lack of executable permission on scripts ( pre and post) by design and am I missing the correct procedure?
    2. missing prerequisite scripts? why?
    3. out of frustration --- IS THIS PATCHING UTILITY THE BEST THAT SUN CAN DO?

    Update Manager is sometimes a little flaky, particularly on unpatched systems (as it uses many different utilities). I would suggest that if you are having problems then you should use smpatch instead - it's not really any more difficult to use and is often much quicker.
    If a patch has a script that is not executable that is not a fault of updatemanager, but a fault with the patch itself (being archived with incorrect settings) or possibly your umask setting, which should ideally be globaly set to 0022 prior to patching to prevent problems during extraction and application.
    If updatemanager has complained about a lack of entitlement I would tend to believe that this was the case, check the contents of your entitlement file:
    # cat /var/sadm/spool/cache/entitlement/*entitlement_clientYou may be missing SolarisAllUpdates or other entitlements - please post the output.
    Sun do offer other patching tools, but what is best for one person/company may not be the best for all. There is also the possibility that you don't have it setup correctly - I would ask that you run the attached script and upload the output file generated to our [Support Uploads|http://supportuploads.sun.com/] site.

Maybe you are looking for

  • How do I get rid of the Track number in a song's name?

    So I just got a new windows computer and transferred all my songs from my old windows machine to this one. Unfortunately, a lot of the files have numbers in front of their name, in fact almost all of them do (I'm talking about the actual file in thei

  • Is there a plug-in like VocAlign that works in Logic Pro?

    I would like to use a plug-in that works like VocAlign. Is there anything around that works in Logic Pro .....what does everyone else use?

  • Panic in Detroit

    How can I get the date to output below my buttons on the following applet? The text is cut off for some reason. Also, how can I convert the time to something I can understand. Thanks for the help! import java.applet.Applet; import java.awt.*; import

  • Soap adapter adapter

    hi, soap adapter in my xi is not configured.i cme to know we the soap configuration guide in service.sap.com. can any tell where to search or if any one has plz send it to me. with regards vijedner

  • Set G/L Accounts By: Warehouse o

    Hi, Can any one please explain me the complete difference between setting G/L Account By Item Group, Item Level and Warehouse? I would be very convinced if the journals are explained and the effects on the G/L Account posting listed discretely. Which