07-02-2013
JustIce reply is not applicable... I know which file I can copy, it is a plain 200+Mb data file.
Any ideas?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a doubt with an error message, and i want to be sure if this is a normal situation or not.
Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a Linux - Mandrake box at home that run as a web server and a Internet router. So often to the system after reboot that it come has the messages saying that the hda1 (I think is the root file system) has some inconsitencies and some inodes has to be removed. When the drive is fixed,... (2 Replies)
Discussion started by: vtran4270
2 Replies
3. AIX
Dear All,
I am working on AIX 5.2, and I have allocated 3072M disk space to /home filesystem. Now system has no free space at /home filesystem. But when I checked data on /home, I have only 900M data. Please if anybody can tell me about this difference and how this can be resolved.
Thank You.... (9 Replies)
Discussion started by: system-admin
9 Replies
4. Solaris
How to Check the disk error (both hard disk & DVD Rom) In Sun Netra 20 Server..Pls help (2 Replies)
Discussion started by: gini
2 Replies
5. Solaris
I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left?
this is error message
absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222
Determining which filesystems will be included in the archive...
Creating... (15 Replies)
Discussion started by: 197oo302
15 Replies
6. AIX
Hi to all,
Hope you can help me to figure out this problem that I have with one of our servers. I get disk errors but I cannot explain the reason why it is happening. Below is the error: Thanks in advance. By the way were using NETAPPS data storage and using 5.3 O.S version.
LABEL: ... (1 Reply)
Discussion started by: cabloy
1 Replies
7. Solaris
I received a new error that I have not seen before on my Solaris 10 server last night:
From /var/adm/messages
Jan 8 04:59:26 nediaccomp005j scsi: /pci@780/pci@0/pci@9/scsi@0 (mpt0):
Jan 8 04:59:26 nediaccomp005j Log info 31010000c received for target 1.
Jan 8 04:59:26 nediaccomp005j ... (4 Replies)
Discussion started by: FredSmith
4 Replies
8. Solaris
Hi,
I have a production solaris 10 SPARC system (portal). Yesterday legato/Networker gave an I/O Error on one of the files on its SAN mounted disk.
I went to that particular file on the system, did an ls and it showed the file. However, ls -l did not work and it said IO error.
... (6 Replies)
Discussion started by: Mack1982
6 Replies
9. Solaris
Hi Guys,
Wondering if anyone has seen/has a fix for this, when i try boot my system from CDROM at the solaris/ttya/ttyb selection menu i get stuck in a loop:
kernel$ /boot/multiboot kernel/$isadir/unix -B install_media=cdrom,console=ttya
loading "/boot/multiboot kernel/$isadir/unix -B... (0 Replies)
Discussion started by: A-Train
0 Replies
10. Solaris
Hello,
We are running solaris 8 and there is a disk having problem with consistency
The following devices (soft partitions from NetApp are inconsistent, unable to be repaired with fsck and need to be restored:
root@server1 # df -k
Filesystem kbytes used ... (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT DEBIAN
web::dispatch::httpmethods
Web::Dispatch::HTTPMethods(3pm) User Contributed Perl Documentation Web::Dispatch::HTTPMethods(3pm)
NAME
Web::Dispatch::HTTPMethods - Helpers to make RESTFul Dispatchers Easier
SYNOPSIS
package MyApp:WithHTTPMethods;
use Web::Simple;
use Web::Dispatch::HTTPMethods;
sub as_text {
[200, ['Content-Type' => 'text/plain'],
[$_[0]->{REQUEST_METHOD}, $_[0]->{REQUEST_URI}] ]
}
sub dispatch_request {
sub (/get) {
GET { as_text(pop) }
},
sub (/get-head) {
GET { as_text(pop) }
HEAD { [204,[],[]] },
},
sub (/get-post-put) {
GET { as_text(pop) } ## NOTE: no commas separating http methods
POST { as_text(pop) }
PUT { as_text(pop) }
},
}
DESCRIPTION
Exports the most commonly used HTTP methods as subroutine helps into your Web::Simple based application. Additionally adds an automatic
HTTP code 405 "Method Not Allow" if none of the HTTP methods match for a given dispatch and also adds a dispatch rule for "HEAD" if no
"HEAD" exists but a "GET" does (in which case the "HEAD" returns the "GET" dispatch with an empty body.)
We also add at the end of the chain support for the OPTIONS method (if you do not add one yourself. This defaults to http 200 ok + Allows
http headers.
Also we try to set correct HTTP headers such as "Allows" as makes sense based on your dispatch chain.
The following dispatch chains are basically the same:
sub dispatch_request {
sub (/get-http-methods) {
GET { [200, ['Content-Type' => 'text/plain'], ['Hello World']] }
},
sub(/get-classic) {
sub (GET) { [200, ['Content-Type' => 'text/plain'], ['Hello World']] },
sub (HEAD) { [200, ['Content-Type' => 'text/plain'], []] },
sub (OPTIONS) {
[200, ['Content-Type' => 'text/plain', Allows=>'GET,HEAD,OPTIONS'], []];
},
sub () {
[405, ['Content-Type' => 'text/plain', Allows=>'GET,HEAD,OPTIONS'],
['Method Not Allowed']]
},
}
}
The idea here is less boilerplate to distract the reader from the main point of the code and also to encapsulate some best practices.
NOTE You currently cannot mix http method style and prototype sub style in the same scope, as in the following example:
sub dispatch_request {
sub (/get-head) {
GET { ... }
sub (HEAD) { ... }
},
}
If you try this our code will notice and issue a "die". If you have a good use case please bring it to the authors.
EXPORTS
This automatically exports the following subroutines:
GET
PUT
POST
HEAD
DELETE
OPTIONS
AUTHOR
See Web::Simple for AUTHOR
CONTRIBUTORS
See Web::Simple for CONTRIBUTORS
COPYRIGHT
See Web::Simple for COPYRIGHT
LICENSE
See Web::Simple for LICENSE
perl v5.14.2 2012-05-07 Web::Dispatch::HTTPMethods(3pm)