11-02-2012
Problem with /app
Hi folks,
i have a problem with my /app directory on solaris 10.It is mounted under rpool root and sometimes it increase dimension bringing root out of space.I want to mount /app under different position, maybe under secondary hardisk for which i have created a mount point with zfs pool...How can i mount /app under secondary disk using zpool?is it possible?are there any problems?
thank you in advance,
Matt
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I try to use the CLI mail, I get the following error. What's wrong?
Welcome to Darwin!
% mail root
Subject: test
test
.
EOT
% /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
2. Programming
Hello All -
We have a legacy C program running non stop on one of our servers, with several instances often running at once. Fairly regularly, one of the instances while stop outputting to the log file and will just deadlock/hang. They must be then 'kill'ed by myself.
When I gdb into one of... (3 Replies)
Discussion started by: markanderson
3 Replies
3. UNIX for Advanced & Expert Users
I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies
4. Red Hat
Hi All,
I got this userid apache with the same userid and groupid and /sbin/nologin and the /www/a home folder is empty.
Can I just delete this userid? How can I investigate if userid have something to do with the application?
Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies
5. Solaris
trying to run IPERF and i've downloaded and installed and screwed around with my path to get compilers and such available...
log in as myself, go to /iperf-2.0.4
switch to su
run ./configure
seems to go fine, couple of no's but based on previous runs it seems to be ok...
do make
it goes... (3 Replies)
Discussion started by: jrich523
3 Replies
6. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT DEBIAN
plack::middleware::lighttpdscriptnamefix
Plack::Middleware::LighttpdScriptNameFix(3pm) User Contributed Perl Documentation Plack::Middleware::LighttpdScriptNameFix(3pm)
NAME
Plack::Middleware::LighttpdScriptNameFix - fixes wrong SCRIPT_NAME and PATH_INFO that lighttpd sets
SYNOPSIS
# in your app.psgi
use Plack::Builder;
builder {
enable "LighttpdScriptNameFix";
$app;
};
# Or from the command line
plackup -s FCGI -e 'enable "LighttpdScriptNameFix"' /path/to/app.psgi
DESCRIPTION
This middleware fixes wrong "SCRIPT_NAME" and "PATH_INFO" set by lighttpd when you mount your app under the root path ("/"). If you use
lighttpd 1.4.23 or later you can instead enable "fix-root-scriptname" flag inside "fastcgi.server" instead of using this middleware.
CONFIGURATION
script_name
Even with "fix-root-scriptname", lighttpd still sets weird "SCRIPT_NAME" and "PATH_INFO" if you mount your application at "" or
something that ends with "/". Setting "script_name" option tells the middleware how to reconstruct the new correct "SCRIPT_NAME" and
"PATH_INFO".
If you mount the app under "/something/", you should set:
enable "LighttpdScriptNameFix", script_name => "/something";
and when a request for "/something/a/b?param=1" comes, "SCRIPT_NAME" becomes "/something" and "PATH_INFO" becomes "/a/b".
"script_name" option is set to empty by default, which means all the request path is set to "PATH_INFO" and it behaves like your
fastcgi application is mounted in the root path.
AUTHORS
Yury Zavarin
Tatsuhiko Miyagawa
SEE ALSO
Plack::Handler::FCGI <http://github.com/miyagawa/Plack/issues#issue/68> <https://redmine.lighttpd.net/issues/729>
perl v5.14.2 2011-02-27 Plack::Middleware::LighttpdScriptNameFix(3pm)