10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
bond0 active in eth0 and inactive in eth4. why eth4 received network package?
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth0 (primary_reselect failure)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
... (4 Replies)
Discussion started by: samran35
4 Replies
2. AIX
Hi,
is it possible to find out ip address of user who has shutdown or rebooted the server , I have used the command errpt -a , in that it is showing server rebooted but it is not showing ip address who has shutdown the serve, even I have used command last reboot.
Please suggest.
Regards,
... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I want to shutdown the server if no one is actualy using it. Its a linux server.
I thought of sending a msg on users terminal for those who all are logged in and expecting a input from them.
If they will reply system should not get shutdown else it should not.
Can any one... (2 Replies)
Discussion started by: Sadhana
2 Replies
4. Solaris
Are rc scripts executed serially or all at the same time. Is there a way to see this happen? A log file or the syslogd?
This is Solaris 10. (2 Replies)
Discussion started by: djehresmann
2 Replies
5. Solaris
I have a sparc T1 server (I know its old) running Solaris 8, which we use for testing. It has been very slow in response- prompt takes couple of minutes to come up, so I decided to reboot the server but I can reboot it, it is giving following errors when I try to shutdown it down.
root@deva:/#... (3 Replies)
Discussion started by: Tirmazi
3 Replies
6. UNIX for Advanced & Expert Users
Dear all,
My server has shutdown frequently.
It is AMD64, OS is RHEL 4 U5.
I've seen the system log, before the shutdown occured:
Jul 29 04:28:56 localhost kernel: EDAC k8 MC0: general bus error: participating processor(local node response), time-out(no timeout) memory transaction... (2 Replies)
Discussion started by: mr_bold
2 Replies
7. AIX
Hi Guys,
Please help in this...when we start HACMP services ..server is getting shutdon.
Error mesg from cluster.log.
Apr 14 08:43:27 bascop17 snmpd: NOTICE: SMUX trap: (0 0) (127.0.0.1+46302+1)
Apr 14 08:43:33 bascop17 topsvcs: (Recorded using libct_ffdc.a cv 2):::Error ID:... (1 Reply)
Discussion started by: b_manu78
1 Replies
8. UNIX for Advanced & Expert Users
Virtually no UNIX admin experience. Any admin duties are shared by several folks with no special training. Today we had our Sun v880 server, running Solaris 5.8, shutdown for no apparent reason.
When we checked on server we found it completely powered down, yet still connected to a fully... (6 Replies)
Discussion started by: buechler66
6 Replies
9. UNIX for Advanced & Expert Users
Hi,
how to shutdown a unix machine ?
We are on SunOS server15.8 Generic_108528-24 sun4u sparc SUNW,Ultra-Enterprise
Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies
10. UNIX for Dummies Questions & Answers
SCO Unixware 7.1.1
Hi friends,
At 11:30pm last night mymain Unix Server hung or rebooted (Unaware which one), and was bot available for 10 minutes. Is there a log file somewhere which will tell me what happened ?
I have looked ad /var/adm/syslog, but cannot make head nor tail of it.
... (1 Reply)
Discussion started by: sureshy
1 Replies
PHAR.CREATEDEFAULTSTUB(3) 1 PHAR.CREATEDEFAULTSTUB(3)
Phar::createDefaultStub - Create a phar-file format specific stub
SYNOPSIS
finalpublicstatic string Phar::createDefaultStub ([string $indexfile], [string $webindexfile])
DESCRIPTION
This method is intended for creation of phar-file format-specific stubs, and is not intended for use with tar- or zip-based phar archives.
Phar archives contain a bootstrap loader, or stub written in PHP that is executed when the archive is executed in PHP either via include:
<?php
include 'myphar.phar';
?>
php myphar.phar
This method provides a simple and easy method to create a stub that will run a startup file from the phar archive. In addition, different
files can be specified for running the phar archive from the command line versus through a web server. The loader stub also calls
Phar.interceptFileFuncs(3) to allow easy bundling of a PHP application that accesses the file system. If the phar extension is not present,
the loader stub will extract the phar archive to a temporary directory and then operate on the files. A shutdown function erases the tempo-
rary files on exit.
RETURN VALUES
Returns a string containing the contents of a customized bootstrap loader (stub) that allows the created Phar archive to work with or
without the Phar extension enabled.
ERRORS
/EXCEPTIONS
Throws UnexpectedValueException if either parameter is longer than 400 bytes.
EXAMPLES
Example #1
A Phar.createDefaultStub(3) example
<?php
try {
$phar = new Phar('myphar.phar');
$phar->setStub($phar->createDefaultStub('cli.php', 'web/index.php'));
} catch (Exception $e) {
// handle errors
}
?>
SEE ALSO
Phar.setStub(3), Phar.getStub(3).
PHP Documentation Group PHAR.CREATEDEFAULTSTUB(3)