05-11-2009
what app are you running on the system that does this logging? eg SunMC,?
and what are those (xxxx)? is that what you see?
10 More Discussions You Might Find Interesting
1. Solaris
I need to move everything from an older ultra 1 onto a newer ultra 60 (OS and all) running SUNOS 5.5.1. Any suggestions on the best way to do this?
Frank
P.S. If you know of a document somewhere please let me know. (11 Replies)
Discussion started by: frankkahle
11 Replies
2. Solaris
I will be honest I am quite new to UNIX and Solaris so this may be a simple thing.
I have just purchased a Sun (rebranded HP obviously) DAT DDS3 SCSI tape drive for my Sun Ultra 10 running Solaris 10.
I have previously fitted a SCSI card to the box which has configured ok and can be seen from... (1 Reply)
Discussion started by: mattw
1 Replies
3. Solaris
I have a Ultra 2 running solaris9, I'm trying to do a boot cdrom to install Solaris 10. During the boot, the system can't find the CDROM drive. It shows up during a probe-scsi-all. Also, when booted to Solaris 9 I place a CD in the drive it takes almost 10 minutes before the CD is readable on the... (6 Replies)
Discussion started by: stocksj
6 Replies
4. Solaris
Hi,
I have a sun ultra enterprise 450 server. This server powers on and a white screen appears with the system and network information.
But it doesnot boot up completely. Booting operation wil be halted by a warning:
\usr\sbin\fsck not found. Most likely the mount of \usr failed or the... (5 Replies)
Discussion started by: tgashwini
5 Replies
5. Debian
Comments/Problems:
Machine boots from CDROM, starts SILO Version 1.4.13,
display welcome message (welcome to Debian GNU/Linux lenny!
built on 20081218-10:06 ).
boot:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.26
Loading initial ramdisk... (3 Replies)
Discussion started by: mtk
3 Replies
6. Solaris
Hi
I have a stupid problem with ultra 5 console connection.
I can't connect to serial port with my laptop.
I made these configurations from ok prompt:
OK setenv input-device ttya
OK setenv output-device ttya
OK setenv auto-boot? false
I tried to connect to machine with cisco rollover... (5 Replies)
Discussion started by: noizer`
5 Replies
7. Solaris
Hello
I have install new NIC ,that's RTL8139 in SUN U10 but it not work (or not detect I don't know :p)
in "ifconfig -a" it show only lo0 and hme0
in "ifconfig hme1 plumb" it show
SIOCSLIFNAME for ip: hme1 :no such interface
and there's some file that I change
/ect/hosts
... (4 Replies)
Discussion started by: Harmut
4 Replies
8. Solaris
Hi,
I have a Sun Ultra 10 (SPARC) with Solaris 10 installed. The screen resolution is very poor and grainy which I have been unable to rectify. Every time I try to set the resolution I get the following:
'The XServer does not support the XRandR extension. Runtime resolution changes to the... (5 Replies)
Discussion started by: patcom
5 Replies
9. Solaris
I have a Sun Ultra 45 that was working perfectly until i upgraded it to Update 9 with a zfs filesystem. The box is sparc based and has an internal video card. When i boot it up, i receive an X server error and, while checking /var/dt/Xerrors, the following message is displayed
Fatal server... (9 Replies)
Discussion started by: goose25
9 Replies
10. UNIX for Beginners Questions & Answers
Hi all,
I've got a Sun ultra 30 workstation. the Nvram battery died so I replaced it. I reprogrammed the mac address using the mlpl command all that so it booted without error. But for some reason I was trying to boot via the network. So I did a STOP A and boot disk1 which is the alias for my SCSI... (2 Replies)
Discussion started by: robbo007
2 Replies
Mojo(3pm) User Contributed Perl Documentation Mojo(3pm)
NAME
Mojo - Duct tape for the HTML5 web!
SYNOPSIS
use Mojo::Base 'Mojo';
# All the complexities of CGI, PSGI, HTTP and WebSockets get reduced to a
# single method call!
sub handler {
my ($self, $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;
}
DESCRIPTION
Mojo provides a flexible runtime environment for Perl real-time web frameworks. It provides all the basic tools and helpers needed to write
simple web applications and higher level web frameworks such as Mojolicious.
See Mojolicious for more!
ATTRIBUTES
Mojo implements the following attributes.
"home"
my $home = $app->home;
$app = $app->home(Mojo::Home->new);
The home directory of your application, defaults to a Mojo::Home object which stringifies to the actual path.
# Generate portable path relative to home directory
my $path = $app->home->rel_file('data/important.txt');
"log"
my $log = $app->log;
$app = $app->log(Mojo::Log->new);
The logging layer of your application, defaults to a Mojo::Log object.
# Log debug message
$app->log->debug('It works!');
"ua"
my $ua = $app->ua;
$app = $app->ua(Mojo::UserAgent->new);
A full featured HTTP 1.1 user agent for use in your applications, defaults to a Mojo::UserAgent object. Note that this user agent should
not be used in plugins, since non-blocking requests that are already in progress will interfere with new blocking ones.
# Perform blocking request
my $body = $app->ua->get('mojolicio.us')->res->body;
METHODS
Mojo inherits all methods from Mojo::Base and implements the following new ones.
"new"
my $app = Mojo->new;
Construct a new Mojo application. Will automatically detect your home directory and set up logging to "log/mojo.log" if there's a "log"
directory.
"build_tx"
my $tx = $app->build_tx;
Transaction builder, defaults to building a Mojo::Transaction::HTTP object.
"config"
my $config = $app->config;
my $foo = $app->config('foo');
$app = $app->config({foo => 'bar'});
$app = $app->config(foo => 'bar');
Application configuration.
# Manipulate configuration
$app->config->{foo} = 'bar';
my $foo = $app->config->{foo};
delete $app->config->{foo};
"handler"
$app->handler($tx);
The handler is the main entry point to your application or framework and will be called for each new transaction, which will usually be a
Mojo::Transaction::HTTP or Mojo::Transaction::WebSocket object. Meant to be overloaded in a subclass.
sub handler {
my ($self, $tx) = @_;
...
}
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo(3pm)