9 More Discussions You Might Find Interesting
1. AIX
Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.
server: sbkovwadmd01
sbkovwadmd01# chnfsdom
Current local domain: edw.dev
sbkovwadmd01# lssrc -a | grep nfs | grep active
nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies
2. UNIX for Advanced & Expert Users
hi all
i have hp proliant ml350 g6 , i want install unixware 7.1.4 ,
i excute steps installation but an error ocured hard disk not found after completed install HBA DRIVER , when chnage using DCU utility from automatic to mannul some reseason like unkow device see must be configure
can you help... (1 Reply)
Discussion started by: eng.sami80
1 Replies
3. Red Hat
Dear All ,
One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging.
So we tried various options and at last we did a reboot of this server.
To find out the root cause of the Server Hang , when i checked the... (2 Replies)
Discussion started by: jegaraman
2 Replies
4. Red Hat
Hello Folks,
when i run simple ls command i am getting the output properly. See below:
# ls
ecapPlat.err FileMover.log.2 FileScrubber.log.1 MeasServer.log mysentfile surv.log
ecapPlat.log FileMover.log.3 FileScrubber.log.2 MeasServer.log.1 netConfig.err TimeServer.log
FileMover.log... (1 Reply)
Discussion started by: manuswami
1 Replies
5. SCO
Hi, I'm new to this Unix world and have taken over looking after the I.T side of things at work, which includes the internal ERP system which runs on a UNIX SCO platform.
My initial worry is what state this is in as its been on site over 20 years.
What would be the first things to check on... (13 Replies)
Discussion started by: Mick_Dundee
13 Replies
6. Red Hat
Hello everybody..
I have RHEL-4 Server with kernel - Linux 2.6.9-78.0.1.ELlargesmp x86_64
It is used for Development usage..
That server got hang and so reboot was required, when checked log file i found following messages,
kernel: warning: many lost ticks.
kernel: Your time source... (4 Replies)
Discussion started by: laxmikant
4 Replies
7. Solaris
Guys,
I am having difficulties in bringing my server to OBP. The server hung infinitely after issuing init 0 command. I have already stopped all the applications running but to no avail. :confused:
Has anyone encountered this problem before? Appreciate if you could shed some lights.
... (4 Replies)
Discussion started by: honmin
4 Replies
8. SCO
Hello,
I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0.
My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls.
What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies
9. UNIX for Dummies Questions & Answers
All greetings:)
I had problem: hangs linux a server, and hangs always on miscellaneous and at various times, for example, can stand about one week, and can and in some minutes after reboot. Tried on a server to put windows 2003, with him problems do not arise. What could it be?:)
I from... (4 Replies)
Discussion started by: SDaniel
4 Replies
Server::Client(3pm) User Contributed Perl Documentation Server::Client(3pm)
NAME
Net::SMTP::Server::Client - Client session handling for Net::SMTP::Server.
SYNOPSIS
use Carp;
use Net::SMTP::Server;
use Net::SMTP::Server::Client;
use Net::SMTP::Server::Relay;
$server = new Net::SMTP::Server('localhost', 25) ||
croak("Unable to handle client connection: $!
");
while($conn = $server->accept()) {
# We can perform all sorts of checks here for spammers, ACLs,
# and other useful stuff to check on a connection.
# Handle the client's connection and spawn off a new parser.
# This can/should be a fork() or a new thread,
# but for simplicity...
my $client = new Net::SMTP::Server::Client($conn) ||
croak("Unable to handle client connection: $!
");
# Process the client. This command will block until
# the connecting client completes the SMTP transaction.
$client->process || next;
# In this simple server, we're just relaying everything
# to a server. If a real server were implemented, you
# could save email to a file, or perform various other
# actions on it here.
my $relay = new Net::SMTP::Server::Relay($client->{FROM},
$client->{TO},
$client->{MSG});
}
DESCRIPTION
The Net::SMTP::Server::Client module implements all the session handling required for a Net::SMTP::Server::Client connection. The above
example demonstrates how to use Net::SMTP::Server::Client with Net::SMTP::Server to handle SMTP connections.
$client = new Net::SMTP::Server::Client($conn)
Net::SMTP::Server::Client accepts one argument that must be a handle to a connection that will be used for communication.
Once you have a new client session, simply call:
$client->process
This processes an SMTP transaction. THIS MAY APPEAR TO HANG -- ESPECIALLY IF THERE IS A LARGE AMOUNT OF DATA BEING SENT. Once this method
returns, the server will have processed an entire SMTP transaction, and is ready to continue.
Once $client->process returns, various fields have been filled in. Those are:
$client->{TO} -- This is an array containing the intended
recipients for this message. There may be
multiple recipients for any given message.
$client->{FROM} -- This is the sender of the given message.
$client->{MSG} -- The actual message data. :)
AUTHOR AND COPYRIGHT Net::SMTP::Server / SMTP::Server is Copyright(C) 1999, MacGyver (aka Habeeb J. Dihu) <macgyver@tos.net>. ALL RIGHTS
RESERVED.
You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl
README file.
SEE ALSO
Net::SMTP::Server::Server, Net::SMTP::Server::Relay
perl v5.10.1 1999-12-28 Server::Client(3pm)