Hi,
I have a problem with a Unix server (SCO Unix version 3.2). If this server is rebooted the own server name and it's IP address is removed from the host table.
How is this possible? How can i solve this problem? (3 Replies)
Hi,
We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says
syncing file systems done.
To bring it back we shutdown power and it comes clean.
By the way init 6 command works fine.
Has anyone come... (3 Replies)
hi,
I am facing a sever problem in mu HO-UX 11.11.0 Server which is getting hanged for last 3/4 days.
Its giveing error insufficient memory. Earlier this problem was not there.
We are using oour ERP & informix on the same. There no heavy & sudden increase of data.
When I checked the... (3 Replies)
Hi all,
Can any one help me.......
I just want to run one shell script whenever i am rebooting the server. Is there any easy way to do that????
Thanks,
selva (7 Replies)
Hi All,
I have created one script with starting letter 'S' (Example: Start) and stored in the path "/etc/rc.d/".
This script was called automatically when we reboot the server.
In this script i am using 'su' command to switch other user but it is not working, it giving some error.
su... (2 Replies)
Hi,
While we rebooting solaris server ,the system going to Maintenance mode instead of login console.
even we are not able to run fsck command . Thanks in advanced for help.
log attached FYI
Executing last command: boot
Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Hi,
In Linux, I will do it by editing the /etc/rc.d/rc.local . However, I can't find a rc.local file in Opensolaris. So, how can I do it in Opensolaris? I am new to opensolaris, so please teach me step by step. Thanks in advance. (4 Replies)
Deall All,
I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production .
Can this be solved by... (10 Replies)
hi,
I have been working on Solaris am very new to linux. My concern is as it goes....our server is getting rebooted automatically and I am not able to understand anything from the var log messages. Could anybody help me out in troubleshooting the issue.
2.6.18-128.el5 #1 x86_64 GNU/Linux is... (1 Reply)
Hi, Earlier we used to reboot servers based on adhoc request, never checked anything on it pre-reboot., But now i need to reboot regularly but most of the info is not available, I need to know want to make sure that server to be rebooted without any issues, so I want to do few prechecks which will... (5 Replies)
Discussion started by: nanz143
5 Replies
LEARN ABOUT DEBIAN
mojo::server::cgi
Mojo::Server::CGI(3pm) User Contributed Perl Documentation Mojo::Server::CGI(3pm)NAME
Mojo::Server::CGI - CGI server
SYNOPSIS
use Mojo::Server::CGI;
my $cgi = Mojo::Server::CGI->new;
$cgi->unsubscribe('request')
$cgi->on(request => sub {
my ($cgi, $tx) = @_;
# Request
my $method = $tx->req->method;
my $path = $tx->req->url->path;
# Response
$tx->res->code(200);
$tx->res->headers->content_type('text/plain');
$tx->res->body("$method request for $path!");
# Resume transaction
$tx->resume;
});
$cgi->run;
DESCRIPTION
Mojo::Server::CGI is a simple and portable implementation of RFC 3875.
See Mojolicious::Guides::Cookbook for more.
EVENTS
Mojo::Server::CGI inherits all events from Mojo::Server.
ATTRIBUTES
Mojo::Server::CGI inherits all attributes from Mojo::Server and implements the following new ones.
"nph"
my $nph = $cgi->nph;
$cgi = $cgi->nph(1);
Activate non parsed header mode.
METHODS
Mojo::Server::CGI inherits all methods from Mojo::Server and implements the following new ones.
"run"
$cgi->run;
Run CGI.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server::CGI(3pm)