Re: [JOB-SF Bay Area] Looking for someone to join my Web apps team at EFI/PrintMe
Hi John, I have been working with apache/mod_perl/oracle on Solaris and Linux for about 2 years. The projects included building secure intranet sections, dynamic pages, and most recently a ticketing system and a system to replace a paper trail in a very large non-profit. I'm relocating to Palo Alto, CA and I'm in the process of looking for a part time job. Do you think that there might be part-time opporotunity as part of the department you've described? Thanks, Alex On Tue, 27 Nov 2001, John Armstrong wrote: Hello all- I got my head count for the next few months and was given another spot to fill on the team! Hooray! We are building a next generation internet printing system here at Electronics For Imaging (EFII). The Web apps portion is heavily Apache/ModPerl/HTML::Mason/Oracle based running under Linux and Solaris. I am looking for someone that can help round out the team and work on more back-end functionality. Initially this is the e-commerce/ERP integration, XML integration with other system components as well as 'modernizing' our initially developed architecture and helping to clean up the code base so that moving forward is not quite so painful. EFI is a mid-sized( 1000 employees or so ) public company that is doing just fine in the current market. We have not had any lay-off's and are growing at a comfortable rate, our stock is stable and we always meet our market expectations. All in all its a comfortable place to weather this storm. The PrintMe team runs as an 'internal startup', that means its pretty relaxed and divorced from many of the day-to-day issues that would normally come with working in a larger company. Looking for the usual skill-set, experience with mod-perl/apache, ability to build your own architecture and framework from the ground-up and the ability to write code that plays well with others. I really enjoy people that come to the table with an overall understanding of how things work together and a somewhat proven track-record. If your interested drop me an email. We are located in Foster City, CA, just south of San Francisco. See us on the web at http://www.printme.com/ or http://www.efi.com/ John-
Re: Microsoft Access + Perl
Hi, I have been running an Access DB on a Win2K box, and using perl to populate an LDAP server on a Solaris server. The standard perl/DBI distribution on the Windows machine comes with something called DBI::Proxy. You run it as a daemon on the Windows box and any Unix based perl script using DBI can see any ODBC data-sources available there. I have been told by some people with more distributed DB experience that in the end it is more efficient to migrate all data to a single server, rather than deal with it being both in Access and some local SQL server. such as MySQL. Hope this helps, Alex On Tue, 18 Sep 2001, Brice D Ruth wrote: Am I assuming correctly, that Perl could communicate with a MS Access database file via ODBC, on a Windows box? If so, are there any particular gotchas or limitations to this approach that I should be aware of? I typically use MySQL or PostgreSQL on a Linux or FreeBSD box, so this is sorta new to me. Also, is it possible for iODBC to communiate with a MS Access database file on a Linux box? Is there any way to do this? If, e.g. I wanted to setup Apache + mod_perl on a Linux box to access a local Access database file - what would I need? Or is this not possible? Any guidance is as always, appreciated :) -Brice
Re: Children dying
Thanks very much to all of you. I've upgraded my perl distro to 5.6.1 and recompiled everything and the children stopped dying. Alex
Children dying
Hi all, I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I get the following error in my logs: [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault (11) It looks like the child serves a request and immidiately dies. Does anyone have any ideas on how to figure out why this keeps happenning? Thanks Alex Vladimirskiy Sys. Adm Museum of Natural History
Re: Children dying
This happens whenever I do anything with mod_perl - serve a URL by a handler I wrote or by a cgi script under Apache::Registry. If I knew what was causing this I wouldn't be asking this list. Alex On Tue, 14 Aug 2001, Rasoul Hajikhani wrote: Jim Smith wrote: On Tue, Aug 14, 2001 at 10:48:48AM -0400, Aleksandr Vladimirskiy wrote: Hi all, I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. I get the following error in my logs: [Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault (11) It looks like the child serves a request and immidiately dies. Does anyone have any ideas on how to figure out why this keeps happenning? What are you trying to do on the page that makes it segfault? If you are using XML::Parser in some way (with AxKit, for example) you need to make sure it and Apache are using the same expat library. Otherwise, it depends on what you are doing. --jim I also get that alot. Although, I am not using XML::Parser. I am using Template Toolkit to generate dynamic content. My Templates are plain templates. -r
Re: Children dying
Hi Andrew, thanks for the suggestions. I compiled mod_perl statically. I haven't seen expat mentioned anywhere, can you expand on that? Thanks Alex On Tue, 14 Aug 2001, Andrew Ho wrote: Hello, AVI am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. AVI get the following error in my logs: AV AV[Tue Aug 14 10:45:10 2001] [notice] child pid 2630 exit signal Segmentation Fault (11) AV AVIt looks like the child serves a request and immidiately dies. A few other folks have given useful references on how to get stack traces, as well as some other common causes of core dumps (compiling Apache with its bundled expat is a big one). Here's another one--did you build mod_perl on Solaris as a DSO? In general, you want to compile mod_perl statically on Solaris because it will core otherwise. Humbly, Andrew -- Andrew Ho http://www.tellme.com/ [EMAIL PROTECTED] Engineer [EMAIL PROTECTED] Voice 650-930-9062 Tellme Networks, Inc. 1-800-555-TELLFax 650-930-9101 --
Re: Children dying
Hey, thanks I ran the command and no output, so I guess I don't have expat? On Tue, 14 Aug 2001, Kip Hampton wrote: Hi Aleksandr, Aleksandr Vladimirskiy wrote: Hi Andrew, thanks for the suggestions. I compiled mod_perl statically. I haven't seen expat mentioned anywhere, can you expand on that? You can check by doing: strings /path/to/apache/bin/httpd | grep -i XML If you get anything back from that, then Expat is compiled in. HTH, -kip -- print join ' ', map { ucfirst($_-getFirstChild-getData)} XML::LibXML-new()-parse_string(join '', pack c*, (60, 122, 62, 60, 97, 62, 106, 117, 115, 116, 60, 47, 97, 62, 60, 98, 62, 97, 110, 111, 116, 104, 101, 114, 60, 47, 98, 62, 60, 99, 62, 112, 101, 114, 108, 60, 47, 99, 62, 60, 100, 62, 88, 77, 76, 60, 47, 100, 62, 60, 101, 62, 104, 97, 99, 107, 101, 114, 60, 47, 101, 62, 60, 47, 122, 62))-findnodes('//*[name() != z]')-get_nodelist;
warning
hi, I've written an apache module to interface between a webpage and an oracle database. at different times the following message appear in the logs: [Mon Feb 26 12:12:35 2001] null: Attempt to free unreferenced scalar. I read a bit about it, and understand what it means for perl to say that. But I was wandering if anyone has come across it in conjunction with apache. My primary concern is that this is a sympotom of a memory leak, which would make this module unusable... thanks alex
mod_perl and dbi:Oracle
Hi, I am building a system using apache,mod_perl and oracle. it is in the very early stages. right now all i have is a module that prints out a simple text string to the browser. for the next step i am trying to access an oracle db, but get a message in the error log from the module that ORACLE_HOME environment variable isn't set. i have tried to set this variable in the module itself as well as in the apache configuration file (the Location that governs my program) but without success. Can anyone help? Alex Vladimirskiy
STDERR
Hi, I am writing a module that launches a perl script. I would like the user to see the error cenerated by the script in the browser. So far I either get the errors sent to the apache error_log or the browser respons that the document contained no data. Please help! Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: STDERR
That would have the opposite effect of what I want. I want the errors to go to the browser not the output of the script to the error_log. ??? Alex Jerrad Pierce wrote: dup STDOUT to STDERR -Original Message- From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 5:16 PM To: [EMAIL PROTECTED] Subject: STDERR Hi, I am writing a module that launches a perl script. I would like the user to see the error cenerated by the script in the browser. So far I either get the errors sent to the apache error_log or the browser respons that the document contained no data. Please help! Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: STDERR
I am sorry, its just my question wasn't on how to do it ("dup STDERR to STDOUT"), but rather why doing that doesn't work. I have two pieces to the puzzle an apache module and an external script. I get the errors from the external script in the error_log, so I redirect them in the module or the script to STDOUT, but this fails which means that apache doesn't have a STDOUT or its something else. Alex Jerrad Pierce wrote: so reverse it. Sheesh. -Original Message----- From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 5:33 PM To: Jerrad Pierce; [EMAIL PROTECTED] Subject: Re: STDERR That would have the opposite effect of what I want. I want the errors to go to the browser not the output of the script to the error_log. ??? Alex Jerrad Pierce wrote: dup STDOUT to STDERR -Original Message- From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 5:16 PM To: [EMAIL PROTECTED] Subject: STDERR Hi, I am writing a module that launches a perl script. I would like the user to see the error cenerated by the script in the browser. So far I either get the errors sent to the apache error_log or the browser respons that the document contained no data. Please help! Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
STDERR
Well I looked at the link on perl.apache.org (http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams), and it still isn't working. I must be coding wrong. Please take a look at the code: $r-content_type('text/html'); $r-send_http_header; open (STDERR, "STDOUT"); tie *OUT, 'Apache'; $r-print("htmlbody"); $status = system("some.prog.pl", $params{'...'}, $params{'...'}); $r-print("/body/html"); thanks very much Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
STDERR
Hey I got it. The code was wrong. So now I do an "open (STDERR, "STDOUT");" in the beginning of the external script and a "tie *OUT, 'Apache';" in the module, then I used backtick to execute so now it dumps everything to browser. Really sweet! Thanks Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Authen::PAM
Has anyone used Authen::PAM. I can't seem to figure out the return values for its pam_authenticate interface. It is supposed to return PAM_SUCCESS but gives out a zero or a nine. Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
error message
I recently started to use modperl. Ever since I have been getting the following message in error_log. It repeats itself as long as a browser is requesting a uri being handled by modperl null: Attempt to free unreferenced scalar at /dev/null line # DATA chunk # Can someone explain what this means or how should I go about debugging. I have a hunch it might be taint checking, but I don't know. Thank you, Alex Vladimirskiy