07-29-2002
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have installed free bsd, and it won't reboot on it.
I got win on disk 1 and on disk 2 is free bsd.
Is there an optoin tha do so u could choose betwen win or free bsd?
Is there an option in the installation that maybe I have missed? (4 Replies)
Discussion started by: Mr.Rudiment
4 Replies
2. Programming
i am including
#include<sqlext.h>
#include<sql.h>
while writing a program for database connection in c++ (not visual c++)
the compiler is giving error in both
my question is while allocating the environment or while creating a database connection in c++ which header files do we need
... (4 Replies)
Discussion started by: ramneek
4 Replies
3. UNIX for Advanced & Expert Users
Hi there. Sorry if this is in the wrong forum but I guess a moderator can shift it if needed.
I've set up a shell script to be run as a user that fires at startup on Solaris and RedHat by adding
su - <user> -c <Path_to_Script>/<script>.sh
And it works great. Problem is I can't get this to... (0 Replies)
Discussion started by: rshampshire
0 Replies
4. UNIX for Advanced & Expert Users
I run Oracle 10g on Solaris 10 Sparc machine. I created a dbora file to automatically start Oracle database when UNIX system reboot. I created this dbora file under /etc/init.d, Then link it to /etc/rc0.d/K10dbora and /etc/rc2.d/S99dbora. When I reboot solaris 10 system to test this script. It... (2 Replies)
Discussion started by: duke0001
2 Replies
5. BSD
I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs:
Sep 23 10:43:03 grunty named: starting BIND 9.3.2-P1
Sep 23 10:43:03 grunty named: /etc/named.conf:25: change directory to '/var/named' failed: file not found
Sep 23... (2 Replies)
Discussion started by: BOFH
2 Replies
6. Shell Programming and Scripting
I have defined the connectivity details to the oracle database in a file env.ksh as follows
DBNAME=$INST_NAME
USERID="use_x"
PASSWORD="cccccc"
When ever i want to connect to the database from a shellscript ,i am running this file from the shell script as follows
# Export the... (1 Reply)
Discussion started by: Ravi oruganti
1 Replies
7. Linux
Hello:
I have a little problem, I have Windows Xp in my desktop, yesterday I installed centos 5. Now when the Pc starts it goes directly to windows and I do not have the option to start centos.
Xp and centos are in the same disk. (4 Replies)
Discussion started by: jcpetela
4 Replies
8. Windows & DOS: Issues & Discussions
I all,
I have a problem on my Windows Vista that began afetr the purchase of an external Hard Disk Freecom.
A few days afetr the purchase I disconnected it while it was writing and, since that moment, every time I connect and disconnect it, the PC go to freeze mode for 5 minutes.
The same... (2 Replies)
Discussion started by: Ubertino
2 Replies
9. Shell Programming and Scripting
The attached file is a copy of my rc.local. The rc.local script appears to execute as the tightvncserver gets started. However the nodemon process does not start. The element nodemon is a symlink to nodemon and the path is correct.
I have a little start script located in the... (3 Replies)
Discussion started by: barrygordon
3 Replies
10. UNIX for Beginners Questions & Answers
THE PROBLEM IS:
Intializing USB controller (usb-uhci);Hint;insmod errors can be caused by in correct module parameters, including invailid IO or IRQ parsmeter
lib /modules/2.4.7-10/kernel/drivers /usb-uhci.o:insmod/lib/modules/2.4.7/10/kernel/driverd/usb/usb-uhci.o failed
Checking... (6 Replies)
Discussion started by: Weso
6 Replies
LEARN ABOUT MOJAVE
apache2::porting
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContribuinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::porting(3)
NAME
Apache2::porting -- a helper module for mod_perl 1.0 to mod_perl 2.0 porting
Synopsis
# either add at the very beginning of startup.pl
use Apache2::porting;
# or httpd.conf
PerlModule Apache2::porting
# now issue requests and look at the error_log file for hints
Description
"Apache2::porting" helps to port mod_perl 1.0 code to run under mod_perl 2.0. It doesn't provide any back-compatibility functionality,
however it knows to trap methods calls that are no longer in the mod_perl 2.0 API and tell what should be used instead if at all. If you
attempts to use mod_perl 2.0 methods without first loading the modules that contain them, it will tell you which modules you need to load.
Finally if your code tries to load modules that no longer exist in mod_perl 2.0 it'll also tell you what are the modules that should be
used instead.
"Apache2::porting" communicates with users via the error_log file. Everytime it traps a problem, it logs the solution (if it finds one) to
the error log file. If you use this module coupled with "Apache2::Reload" you will be able to port your applications quickly without
needing to restart the server on every modification.
It starts to work only when child process start and doesn't work for the code that gets loaded at the server startup. This limitation is
explained in the Culprits section.
It relies heavily on "ModPerl::MethodLookup". which can also be used manually to lookup things.
Culprits
"Apache2::porting" uses the "UNIVERSAL::AUTOLOAD" function to provide its functionality. However it seems to be impossible to create
"UNIVERSAL::AUTOLOAD" at the server startup, Apache segfaults on restart. Therefore it performs the setting of "UNIVERSAL::AUTOLOAD" only
during the child_init phase, when child processes start. As a result it can't help you with things that get preloaded at the server
startup.
If you know how to resolve this problem, please let us know. To reproduce the problem try to use an earlier phase, e.g.
"PerlPostConfigHandler":
Apache2::ServerUtil->server->push_handlers(PerlPostConfigHandler => &porting_autoload);
META: Though there is a better solution at work, which assigns AUTOLOAD for each class separately, instead of using UNIVERSAL. See the
discussion on the dev list (hint: search the archive for EazyLife)
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.18.2 2install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::porting(3)