Re: [go-nuts] cgo pam module signal handling

2023-08-14 Thread Chandrasekhar R
The scenario is:
1) sudo starts and sets up a signal handler for SIGCHLD 
2) pam modules gets loaded
3) Go gets initialized and sets the SA_ONSTACK flag specifically by calling 
rt_sigaction with a pointer to the existing signal handler in *sa_handler *
field*.*
4) Sudo initialized a new signal handler for SIGCHLD
5) After the command is run and SIGCHLD signal is received by a Go created 
thread instead of the parent sudo thread then it goes to the signal handler 
created in step 1.

I believe this is the current set of events happening. I can share a strace 
dump if it would help.

On Monday, August 14, 2023 at 12:17:34 PM UTC-7 Ian Lance Taylor wrote:

> On Mon, Aug 14, 2023 at 12:02 PM Chandrasekhar R  
> wrote:
> >
> > My understanding currently is sudo sets up a signal handler in pre_exec 
> and another signal handler later on which is tied into its main event loop.
> > Go gets initialized when the pre_exec signal handler is used and it adds 
> rt_sigaction(SIGCHLD..) with the SA_ONSTACK flag as mentioned here.
> > Then after the sudo command (echo) gets executed, the SIGCHLD is 
> received by one of the go threads which then runs the pre_exec signal 
> handler which is the old and nonexistent signal handler.
> >
> > My approach is to block the Go threads from receiving the SIGCHLD signal 
> and thus not let the signal to be handled by the old signal handler.
>
> I don't quite understand the scenario you are describing. What
> matters is the signal handler. When Go adds the SA_ONSTACK flag, it
> doesn't change the signal handler. Which thread a signal is delivered
> to does not affect which signal handler gets run.
>
> Ian
>
>
> > On Friday, August 11, 2023 at 10:05:48 PM UTC-7 Ian Lance Taylor wrote:
> >>
> >> On Fri, Aug 11, 2023 at 11:51 AM Chandrasekhar R  
> wrote:
> >> >
> >> > I am planning on using a pam module written in Go (specifically 
> https://github.com/uber/pam-ussh) . When I run a script which calls sudo 
> continuously with an echo command, I am noticing zombie/defunct processes 
> starting to pop up.
> >> >
> >> > On doing strace, I noticed that the SIGCHLD gets delivered to one of 
> the threads created when Go gets initialized (i.e. the shared object gets 
> loaded).
> >> >
> >> > I tried to add one level of indirection by having a separate C code 
> which creates a new thread, sets the signal mask to block SIGCHLD and then 
> use dlopen to open the shared object created using cgo. I am still facing 
> the same issue, is there any pointer on how to fix this issue? I think this 
> would be a wide issue across all PAM modules written using cgo.
> >>
> >> As far as I know the specific thread that receives a SIGCHLD signal is
> >> fairly random. What matters is not the thread that receives the
> >> signal, but the signal handler that is installed. Signal handlers are
> >> process-wide. What signal handler is running when you get a SIGCHLD?
> >> What signal handler do you expect to run?
> >>
> >> Ian
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "golang-nuts" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to golang-nuts...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/7b395394-da12-4b19-9e07-5c8f7e91dcabn%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/216fb89f-ba9c-41e6-ba90-485b9174a0a5n%40googlegroups.com.


Re: [go-nuts] cgo pam module signal handling

2023-08-14 Thread Chandrasekhar R
My understanding currently is sudo sets up a signal handler in pre_exec and 
another signal handler later on which is tied into its main event loop.
Go gets initialized when the pre_exec signal handler is used and it adds 
rt_sigaction(SIGCHLD..) with the SA_ONSTACK flag as mentioned here 
<https://pkg.go.dev/os/signal#hdr-Non_Go_programs_that_call_Go_code>. 
Then after the sudo command (echo) gets executed, the SIGCHLD is received 
by one of the go threads which then runs the pre_exec signal handler which 
is the old and nonexistent signal handler.

My approach is to block the Go threads from receiving the SIGCHLD signal 
and thus not let the signal to be handled by the old signal handler.

On Friday, August 11, 2023 at 10:05:48 PM UTC-7 Ian Lance Taylor wrote:

> On Fri, Aug 11, 2023 at 11:51 AM Chandrasekhar R  
> wrote:
> >
> > I am planning on using a pam module written in Go (specifically 
> https://github.com/uber/pam-ussh) . When I run a script which calls sudo 
> continuously with an echo command, I am noticing zombie/defunct processes 
> starting to pop up.
> >
> > On doing strace, I noticed that the SIGCHLD gets delivered to one of the 
> threads created when Go gets initialized (i.e. the shared object gets 
> loaded).
> >
> > I tried to add one level of indirection by having a separate C code 
> which creates a new thread, sets the signal mask to block SIGCHLD and then 
> use dlopen to open the shared object created using cgo. I am still facing 
> the same issue, is there any pointer on how to fix this issue? I think this 
> would be a wide issue across all PAM modules written using cgo.
>
> As far as I know the specific thread that receives a SIGCHLD signal is
> fairly random. What matters is not the thread that receives the
> signal, but the signal handler that is installed. Signal handlers are
> process-wide. What signal handler is running when you get a SIGCHLD?
> What signal handler do you expect to run?
>
> Ian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/7b395394-da12-4b19-9e07-5c8f7e91dcabn%40googlegroups.com.


[go-nuts] cgo pam module signal handling

2023-08-11 Thread Chandrasekhar R
Hey community,

I am planning on using a pam module written in Go (specifically 
https://github.com/uber/pam-ussh) . When I run a script which calls sudo 
continuously with an echo command, I am noticing zombie/defunct processes 
starting to pop up.

On doing strace, I noticed that the SIGCHLD gets delivered to one of the 
threads created when Go gets initialized (i.e. the shared object gets 
loaded).

I tried to add one level of indirection by having a separate C code which 
creates a new thread, sets the signal mask to block SIGCHLD and then use 
*dlopen* to open the shared object created using cgo. I am still facing the 
same issue, is there any pointer on how to fix this issue? I think this 
would be a wide issue across all PAM modules written using cgo.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/564ad353-885e-4662-8ac6-f15d41771a64n%40googlegroups.com.


Making Private CA

2003-02-17 Thread Chandrasekhar R S
Hello,
I am making my own private CA, using the CA.pl scripts provided under the
apps directory of OpenSSL release.

I run ./CA.pl -newca

It asks for filename, and I enter without giving any.

I am prompted for PEM pass phase.  I enter some.

After which, I get the following error

unable to find 'distinguished_name' in config
problems making Certificate Request
28979:error:0E06D06A:configuration file routines:NCONF_get_string:no conf
or environment variable:conf_lib.c:324:

Please note that I had copied the openssl.cnf to the same directory that of
CA.pl but didn't modify any of the contents of openssl.cnf.


- rsr.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Manufacturing Certs

2003-02-12 Thread Chandrasekhar R S
Hello All,
I have to generate a new cert, for which I am making use of X509_new().

This returns a certificate which is not generated from a root certificate.
Its a standalone cert.

I want to generate a new cert dynamically, making use of a root certificate
(a CA cert).

Could one give me the function call, which does that.

thanks
rsr.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



are server certs different from client certs

2003-02-12 Thread Chandrasekhar R S
Hi all,
I have created a certificate using the following sequence of calls :

X509_new()
RSA_generate_key()
X509_set_version(cert,3)
ASN1_INTEGER_set(X509_get_serialNumber(cert),0)
X509_gmtime_adj(X509_get_notBefore(cert),0);
X509_gmtime_adj(X509_get_notAfter(cert),45);
X509_set_pubkey(cert,pk)
X509_set_issuer_name()
X509_set_subject_name()
X509_sign()

It had created a certificate and a private key.

Thus created certificate is working fine when registered with a server
(ie., server is presenting the certificate and communication goes through
fine).

Instead, the same certificate registered with a client, does not work.  The
server mandated to authenticate the client, throws up an error :
25199:error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no
certificate returned:s3_srvr.c:1989:

And the client too throws up an error :
25195:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake
failure:s3_pkt.c:514:

Could we infer anything from these.

Thanks in advance for any help.

- rsr.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: are server certs different from client certs

2003-02-12 Thread Chandrasekhar R S
Dear Ebell  All,
Indeed what you said is true.

I copied the newly created self signed cert to the bundle of CA lists the
server would accept, and the connection goes through fine.

Now, then I am to make my own private CA and then create a certificate
signed by my private CA.  Then the problem would be solved, for me.

I know how to create a private CA (using the CA.sh -newca in the apps
directory of OpenSSL).

What I am not aware is how to generate a certificate signed by my Private
CA in a C language program. Could one suggest how this is done.

Thanks again
rsr.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gotz Babin-Ebell
Sent: Wednesday, February 12, 2003 10:38 PM
To: [EMAIL PROTECTED]
Subject: Re: are server certs different from client certs


Hello,

Chandrasekhar R S wrote:
 Hi all,
   I have created a certificate using the following sequence of calls :

   X509_new()
   RSA_generate_key()
 X509_set_version(cert,3)
   ASN1_INTEGER_set(X509_get_serialNumber(cert),0)
 X509_gmtime_adj(X509_get_notBefore(cert),0);
   X509_gmtime_adj(X509_get_notAfter(cert),45);
   X509_set_pubkey(cert,pk)
 X509_set_issuer_name()
 X509_set_subject_name()
   X509_sign()

I assume: self signed certificate ?

   Thus created certificate is working fine when registered with a server
 (ie., server is presenting the certificate and communication goes through
 fine).

   Instead, the same certificate registered with a client, does not work.
The
 server mandated to authenticate the client, throws up an error :
   25199:error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no
 certificate returned:s3_srvr.c:1989:

The server sends a list of trusted CA certs or client authentication.
If the client cert is self signed, it is not in this list so it is not
accepted as a valid client certificate.

Self signed certificates as end entity certificates are a quick hack.
You should (almost) always work with an (official or own) CA.

Bye

Goetz

--
Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: Tunneling Client Certs

2003-02-09 Thread Chandrasekhar R S
It seems I have not explained myself ably.

I completly understand that Private Keys should and would never be sent
across.

But assume that you are going through a proxy using SSL.  And the proxy has
no capability to verify the certs.  That capablity is vested with a server
that sits behind the proxy(I call it the Backend server).

Now all I want is to get the cert presented by the client, to be passed on
by the proxy, to the backend server.

Usually prox'ies, replicate a connection they receive. ie., they will
initiate a new connection to the Backend Server, for every connection they
receive from the client.  Thus we have two seperate SSL connections between
the client and the backend server. One from client to the proxy and the
other from proxy to the backend server.

In succint, the question is how to use the cert presented by the client in
the SSL connection between proxy and the backend server.

thanks to all of you,
rsr.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Helm
Sent: Monday, February 10, 2003 1:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Tunneling Client Certs


  I have the following scenario -
 
   Client Cert -- Tunnel Server - Tunnel Client -- Backend server.
 
  The requirement is to pass the Client Cert to the Backend server.

 If you could do that then anyone who had access to a certificate
 (for example the recipent of signed email) could impersonate the sender or

You may want to look at how Globus deals with a similar problem
for grids;  see:
http://www-fp.globus.org/security/
and
http://www.ietf.org/internet-drafts/draft-ietf-pkix-proxy-03.txt
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Tunneling Client Certs

2003-02-08 Thread Chandrasekhar R S
I have posted a similar message earlier.  Hoping to convey self better and
get some help this time around.

I have the following scenario -

 Client Cert -- Tunnel Server - Tunnel Client -- Backend server.

The requirement is to pass the Client Cert to the Backend server.

I could extract the Client Cert at the Tunnel Server.  Tunnel Server and
Tunnel client reside in the same program on a machine, hence Tunnel Server
can pass on Client Cert to Tunnel Client without much ado.

Now in the my Tunnel Client program, I use SSL_use_certificate(ctx, X509*).
The X509* pointer contains the Client Cert which the Tunnel Server has just
extracted.

But then I dont have the private key for the Client Cert at the Tunnel
Client.  Hence I could not do a SSL_CTX_use_PrivateKey(ctx,...) at the
Tunnel Client.

My question is, Is it possible to just give a Cert for an SSL connection
(like giving SSL_use_certificate()) without a corresponding
SSL_use_PrivateKey(..) call made, and expect SSL to somehow generate its own
keys but take our certificate?

with thanks
rsr.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Client authentication

2003-01-27 Thread Chandrasekhar R S
I am to authenticate a client using his certificate.

In my server program, I use SSL_CTX_set_verity(ctx, SSL_VERIFY_PEER |
SSL_VERIFY_FAIL_IF_NO_PEER_CERT,0) to mandate that client cert should be
present.
If present, I use SSL_get_peer_certificate(ssl) to retrieve the client cert.

In my client program, I use :

  SSL_CTX_use_certificate_file(CTX,CERTF,SSL_FILETYPE_PEM)
  SSL_CTX_use_PrivateKey_file(ctx, KEYF, SSL_FILETYPE_PEM)

calls to load a cert and a key into the client.

This is from the documentation I found, from Eric Rescorla's An
introduction to OpenSSL programming notes.

But, everytime, I run the client and the server, the server complains that
client hasn't presented a cert.  Is something else, needs to be done to get
a client cert to the server.

I am using openssl-0.9.7 on HPUX (Unix) systems.

thankful for any help in this regard.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166
Phone : 2052427

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



RE: Proxy'ing client certs

2003-01-22 Thread Chandrasekhar R S
Hello Vadim,

 Localized Scenario : Proxy Client -- Backend Server
 5. The requirement is, Proxy Client should be presenting
CLIENT CERT to the backend server.

Yes, it can present it somehow

RSR : I am in search of this somehow.

Could it be this way - If it is possible to seperate public key from
certificate, then it should be possible for registering CLIENT CERT with
Proxy Client in its communication with Backend Server.

with thanks
rsr.

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Proxy'ing client certs

2003-01-19 Thread Chandrasekhar R S
I have already posted the following on the lists under Proxy'ing client
certs thread.
Could not see the posting, hence re-posting.
-
My understanding had been the following :

Client      Proxy Server   --  Proxy Client 
Server
produces a  consumes   presents aCan
only recv
CA signed   the  ProxyClient Cert
ProxyClient Cert
Client Cert   Client Cert

ProxyClient Cert is not the same as Client Cert.

Though the Proxy Server is in receipt of the Client Cert, it
cannot represent the same in the SSL connection between
ProxyClient - Server.  The requirement is to make the Proxy
faithfully forward the Client Cert to the Server.


Vadim, suggested that CONNECT method of HTTP can be
used to setup TCP connections first and run SSL next.  Proxy
could forward SSL traffic.

It had been difficult to understand the solution.  It seems to me that
we need to set up a TCP connection via the proxy server first and add
SSL to it later.  I am not aware of how to do this.

Could one help me further.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166
Phone : 2052427

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



problem after upgrading from TSM 4.2.1.9 to 4.2.3.0.

2003-01-16 Thread Charakondala, Chandrasekhar R.
Hi All,

Recently I have upgraded TSM server from 4.2.1.9 to 4.2.3.0 on AIX the
upgradation went fine without any problems, After upgradation I observed
many changes in scheduled backup status like  In progress, Uncertain,
etc. But later I found that performance of scheduled backup (server prompt)
is decreased now the no. of missed backup have been increased.

Did any one faced same or any other problems after upgrading to 4.2.3.0 and
I will appreciate your valuable suggestions to solve the problem.

Thanks,
C.R.Chandrasekhar.
Systems Executive.
TIMKEN Engineering  Research - INDIA (P) Ltd., Bangalore.
Phone No: 91-80-5536113 Ext:3032.
Email:[EMAIL PROTECTED]



**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**



Proxy'ing client certs

2003-01-11 Thread Chandrasekhar R S
I have the following scenario -

client-Proxy  - server.
SSLClient -   SSLServer | SSLClient   - SSL Server.

It is my intent to pass on the clients certificate to the server for
verification and acceptance.

Since, the connection is via a proxy, the clients certificate could reach
upto the proxy only and not beyond, to the server.  I believe, that the
proxy should not be able to use the clients cert in its connection with the
server, as the client certificate is tightly coupled with its public key.

I have visited the redhat's Stronghold webpage and their proxy server seems
to be capable of doing just this.

Is anyone aware of the technique employed.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2051166
Telnet : 847-1166
Phone : 2052427
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Any side effects after upgrading TSM 4.2.1.9 to TSM 4.2.3.0

2003-01-08 Thread Charakondala, Chandrasekhar R.
Hi all,

Here we are going to upgrade our TSM 4.2.1.9 server running on AIX, first we
are going to upgrade TSM 4.2.2.0 and then to TSM 4.2.3.0 same day, And I
would like to know any side effects or problems after upgradation.

I will appreciate your valuable information.

Regards,
C.R.Chandrasekhar.
Systems Executive.
TIMKEN Engineering  Research - INDIA (P) Ltd., Bangalore.
Phone No: 91-80-5536113 Ext:3032.
Email:[EMAIL PROTECTED]



**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**



RE: Query

2003-01-07 Thread Chandrasekhar R S
Hello Ken,
You gave me a glimmer of hope and enthusiasm.  I have scanned through the
recent postings on Mod Perl list in vain.

I would like to know any such standalone servers that could process the
perl requests offline (taking requests from a file or queue end).

I definitely would like to get fancier as my requirement is immediate.
Upon finding a server that could process the requests away from mod_perl, I
most probably would modify mod_perl to communicate with the standalone
servers via sockets (and maybe maintain persistence).

many thanks
rsr.

-Original Message-
From: Ken Y. Clark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:02 PM
To: Chandrasekhar R S
Cc: [EMAIL PROTECTED]
Subject: Re: Query


On Tue, 7 Jan 2003, Chandrasekhar R S wrote:

 Date: Tue, 7 Jan 2003 12:52:27 +0530
 From: Chandrasekhar R S [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Query

 I am having a requirement as follows :

   I need to execute/interpret the perl requests away from mod_perl.  Like,
 could mod_perl delegate the execution/interpretation of perl scripts to
some
 other process.  In the end, mod_perl would be used just to accept requests
 from the Web Server, but processing will be done elsewhere and response
will
 be routed back through mod_perl.

 - rsr.

 Namaste,
 R S Chandrasekhar
 [EMAIL PROTECTED]
 ISD : 091-080-2052427
 Telnet : 847-2427
 Phone : 2052427

RSR,

You can certainly do something like this, in many different ways.
This *is* still Perl, you know.  :-)  You could use your mod_perl
process to update a queue that's in a file or database table, then
have another process (written in Perl or whatever) executed by a cron
job to look at the queue and process the next job.  The user could be
given a token to associate with the job, then then check back later to
get the results of the job.  If you need it to be more immediate, then
you'll have to get fancier.  If it's a really long-running process you
need to kick off, you'll need to take into account the dangers of
forking your mod_perl process or having it wait around for the end of
the job.

Have you tried searching the archives for similar questions?  Here's
one place you can search:

http://mathforum.org/discussions/epi-search/modperl.html

Namaste,

ky




RE: Query

2003-01-07 Thread Chandrasekhar R S
Dear All,
Let me explain my scenario.

We are having a secure OS and we plan to integrate mod_perl with the Apache
webserver already available on the OS.  Being a secure server, it mandates
that none of the exec's be done on the server itself, as these potentially
can be malicious.  Hence we delegate the execution of perl scripts
elsewhere.

Hence, should I be able to integrate mod_perl to my secure web server, I
still would need to receive perl requests through mod_perl only, but rather
than executing the scripts there itself, I should instruct mod_perl to
delegate the interpretation/execution of perl scripts to elsewhere.

This being the requirement, I planned to proceed this way -
1. I would modify mod_perl code to forward a perl request to another
standalone server.  This I planned to do with sockets (rather than employing
Queues, files etc.) since, I would need persistent connections to serve
dynamic perl scripts.

2. I should look for a server that could communicate with mod_perl.  
This
server would execute the perl scripts and return the response back to
mod_perl.  This I call the standalone server.

I will probe all the suggestions you all had sent me.

I shall look for at the POE mail lists.

with thanks
rsr.

-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 10:08 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Query


Chandrasekhar R S wrote:
 I am having a requirement as follows :

   I need to execute/interpret the perl requests away from mod_perl.

Can you explain why you want to do this?  Your stated requirement is
already met by CGI, FastCGI, SpeedyCGI, and a bunch of other things, but
we can't really recommend anything specific without more information.

- Perrin





Query

2003-01-06 Thread Chandrasekhar R S
I am having a requirement as follows :

I need to execute/interpret the perl requests away from mod_perl.  Like,
could mod_perl delegate the execution/interpretation of perl scripts to some
other process.  In the end, mod_perl would be used just to accept requests
from the Web Server, but processing will be done elsewhere and response will
be routed back through mod_perl.

- rsr.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
ISD : 091-080-2052427
Telnet : 847-2427
Phone : 2052427




Re: TSM database full backup to tape question

2002-12-23 Thread Charakondala, Chandrasekhar R.
Tony W,

All the database,Backupsets,etc volumes are recorded in volume history file,
delete unwanted backup volumes from volume history refer command delete
volhistory, After deleting from volume history you can ones again reuse
those volumes.

Thanks,
crc

-Original Message-
From: Tony W [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 21, 2002 8:36 PM
To: [EMAIL PROTECTED]
Subject: TSM database full backup to tape question


Hi everybody:
our tsm server database need full backup to 4mm tape with weekly.
my question is how to delete old backup tape and reuse it.

Thank
Tony W


**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**



Re: TSM 5.1 Monitor into TSM Management Console

2002-11-28 Thread Charakondala, Chandrasekhar R.
You should keep dsm.opt file in c:\tivoli\tsm\baclient\.

crc,
TSM Administrator.





 

-Original Message-
From: Luciano Ariceto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 6:43 PM
To: [EMAIL PROTECTED]
Subject: TSM 5.1 Monitor into TSM Management Console


Hi 

I installed  TSM server 5.1.0 and now  I´m try to start the Monitor into TSM 
Management Console and the following message appear :

11/28/2002 08:30:10 Monitor Started on server TSM 
Server1 on IPBR33
11/28/2002 08:30:10  ANS1035S   Options file 'dsm.opt' not found
11/28/2002 08:30:10  ANS8002I   Highest return code was 406. 

I found the dsm.opt in

c:\tivoli\tsm\server\baclient\
c:\tivoli\tsm\server\console\
c:\tivoli\tsm\server\server
c:\tsm\tsmshare


I would like to know where I should keep this file ?


TIA

Luciano Ariceto


**
This message and any attachments are intended for the 
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this 
communication to others; also please notify the sender by 
replying to this message, and then delete it from your system. 

The Timken Company
**



select command to get old scheduled events

2002-11-22 Thread Charakondala, Chandrasekhar R.
Hi All,

How can I get old scheduled events using select commands, I can get the same
using 'q event' but when I execute 'select * from events'  I am getting only
the latest events on scheduled backup.

Thanks in advance,

chandrasekhar








**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.

The Timken Company
**



RE: Mod_Perl Compilation with HPUX Native CC

2002-07-04 Thread Chandrasekhar R S

John,
I had run 'perl Makefile.PL' in mod_perl-1.26.  It even generated the
required makefiles.

When I run a gmake, it tries to use 'gcc'.

I am thankful for your assistance and help.

Chandra.

-Original Message-
From: John Arnold [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 6:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Mod_Perl Compilation with HPUX Native CC



Chandra

The command 'perl Makefile.PL' in the mod_perl-1.x.xx directory generates
the Makefile and sets CC=cc by default

Regards




Chandrasekhar R S [EMAIL PROTECTED] on 07/03/2002 01:17:35 AM

Please respond to [EMAIL PROTECTED]

To:John Arnold/DTC@DTCC
cc:[EMAIL PROTECTED]
Subject:RE: Mod_Perl Compilation with HPUX Native CC


Hi John,
 Could you guide me to information as to how I can compile with cc.

with Thanks
Chandra.

-Original Message-
From: John Arnold [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 8:41 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Mod_Perl Compilation with HPUX Native CC



Yes, mod_perl does compile with cc on HP-UX 11.




Per Einar Ellefsen [EMAIL PROTECTED] on 07/02/2002 05:12:10 AM

To:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED]
Subject:Re: Mod_Perl Compilation with HPUX Native CC


At 11:02 02.07.2002, Chandrasekhar R S wrote:
Hello everyone,
 I must compile Mod_perl on HPUX 11.0 with HPUX's native CC,
 instead of gcc.

 Are there any configuration parameters need to be set such that
 Mod_Perl is
compiled using cc.

I don't know if mod_perl will compile with HP-UX cc, but if you want to
try, you must first of all have a perl binary compiled with cc. Then
mod_perl should pick that automatically.


--
Per Einar Ellefsen
[EMAIL PROTECTED]


















Mod_Perl Compilation with HPUX Native CC

2002-07-02 Thread Chandrasekhar R S

Hello everyone,
I must compile Mod_perl on HPUX 11.0 with HPUX's native CC, instead of gcc.

Are there any configuration parameters need to be set such that Mod_Perl is
compiled using cc.

Thanks
Chandra.

Namaste,
R S Chandrasekhar
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Phone : 2052427




RE: Mod_Perl Compilation with HPUX Native CC

2002-07-02 Thread Chandrasekhar R S

Hi John,
Could you guide me to information as to how I can compile with cc.

with Thanks
Chandra.

-Original Message-
From: John Arnold [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 8:41 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Mod_Perl Compilation with HPUX Native CC



Yes, mod_perl does compile with cc on HP-UX 11.




Per Einar Ellefsen [EMAIL PROTECTED] on 07/02/2002 05:12:10 AM

To:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED]
Subject:Re: Mod_Perl Compilation with HPUX Native CC


At 11:02 02.07.2002, Chandrasekhar R S wrote:
Hello everyone,
 I must compile Mod_perl on HPUX 11.0 with HPUX's native CC,
 instead of gcc.

 Are there any configuration parameters need to be set such that
 Mod_Perl is
compiled using cc.

I don't know if mod_perl will compile with HP-UX cc, but if you want to
try, you must first of all have a perl binary compiled with cc. Then
mod_perl should pick that automatically.


--
Per Einar Ellefsen
[EMAIL PROTECTED]