04-03-2014
Is this a workstation or a server?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Expert,
I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0..
I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
2. SCO
I have 2 questions :
----------------------------------
1 - How can I execute a program when Unix Sco reboot?
For example I have two script (two sockets) that I have to
start from 2 different users (root and toto).
I heard something about "etc/init.d" directory, but I don't know what to... (4 Replies)
Discussion started by: soshell
4 Replies
3. Linux
Dear all,
I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel):
1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins
So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies
4. Shell Programming and Scripting
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS.
When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies
6. Red Hat
I encountered a problem on one of our database servers.
OS: CentOS 5.5 final
Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel)
We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies
7. Red Hat
Hi ppl hope to have your advice, i am run out of idea...
I have 3 scripts: a.sh, b.sh, and c.sh
a.sh resided in /etc/init.d
b.sh and c.sh /opt/xSystem
I intend to start my system with "service" command which will trigger my a.sh
service a.sh start
then.
a.sh will trigger... (4 Replies)
Discussion started by: cielle
4 Replies
8. Shell Programming and Scripting
Hello All,
I copied and pasted the "/etc/init.d/skeleton" file to a new one so I could create my own init script for a program.
Basically the ONLY edit I made to the skeleton "template" so far was to search and replace "FOO" with "snort".
*NOTE: I know there are a bunch of snort init scripts... (6 Replies)
Discussion started by: mrm5102
6 Replies
9. Shell Programming and Scripting
Hi All,
I'm trying to build a start up script, wud be gr8 if any one can explain what the below field means and how can i check it for my script.
DAEMON_PATH="/home/wes/Development/projects/myapp"
DAEMON=myapp
DAEMONOPTS="-my opts"
NAME=myapp
DESC="My daemon description"... (4 Replies)
Discussion started by: Karthick N
4 Replies
10. Linux
This is what I did:
1. I wrote a simple init.d script (myscript.sh)
2. I placed it under /etc/init.d (where many other default scripts already are)
3. Set the perms to 755
4. Run: update-rc.d myscript.sh defaults
I can run it perfectly by doing:
/etc/init.d/myscript.sh start... (2 Replies)
Discussion started by: rlopes
2 Replies
LEARN ABOUT CENTOS
hesinfo
HESINFO(1) General Commands Manual HESINFO(1)
NAME
hesinfo - find out what is stored in the Hesiod database
SYNOPSIS
hesinfo [-bl] HesiodName HesiodNameType
DESCRIPTION
hesinfo takes two arguments, a name to be resolved and a string, known as a HesiodNameType. It then prints the information returned by the
Hesiod nameserver.
The value returned by hesinfo is of the type HesiodNameType.
hesinfo understands the following options:
-l Selects long format.
-b Prints the fully-qualified string passed to the nameserver.
VALID Hesiod_Names
The following types of identifiers may be used in the HesiodName argument to hesinfo. These values will be resolved by accessing the hes-
iod database.
<username>
the 8-character-or-less string used to identify users or classes (e.g. joeuser, root, 1.00, etc). Used with the Hesiod_Name_Types
passwd, pobox, and filsys.
<uid> the id number assigned to a user.
<groupid>
the id number assigned to a group.
<groupname>
a name identifying a unique group.
<file-system-name>
the name of an athena file system.
<rvd server>:<pack>
the name of an rvd's server and pack seperated by a colon.
<nfs server>:<partition>
the name of an nfs server and its partition seperated by a colon.
<workstation-name>
the machine name of an Athena workstation (e.g. E40-343-3).
<service-name>
name of an Athena service (e.g. Zephyr).
<service-type>
name of Unix service (valid entries are defined in /etc/services).
<printer-name>
name of a printer.
<printer-cluster-name>
name of an Athena print cluster.
<foo> some hesinfo calls (e.g. prclusterlist ) do not require a specific HesiodName argument. However, you must include a dummy string
(e.g. 'foo') for hesinfo
to work properly.
VALID Hesiod_Name_Types
The following symbols are valid substitutions for the HesiodNameType argument to hesinfo.
passwd
returns string suitable for inclusion in /etc/passwd, searching with <username>.
pobox returns information on the pobox assigned to the user specified by HesiodName, searching with <username>.
uid returns string suitable for inclusion in /etc/passwd, searching with <uid>.
gid returns string suitable for inclusion in /etc/group, searching with <groupid>.
group returns string suitable for inclusion in /etc/group, searching with <groupname>.
grplist
returns subgroups included in superset defined by <groupname>.
filsys
returns file system type, export point, server, mount mode, and import point for the following valid HesiodNames (see above) - <file
system name>, <username>, <rvd server>:<pack>, and <nfs server>:<partition>
cluster
returns information about the local cluster the workstation, specified by <workstation name>. Included is information about the
local file and print servers. This information is accesses by clusterinfo at boot time.
sloc returns network name of service host for <service-name>.
service
returns Internet protocol type and protocol service port for <service-type>.
pcap returns a valid entry for /etc/printcap for <printer-name>.
prcluserlist
returns a list of print clusters.
prcluster
returns a list of printers in a cluster specified by <printer-cluster-name>.
FILES
/etc/athena/hesiod.conf
SEE ALSO
`Hesiod - Project Athena Technical Plan -- Name Service', named(8), hesiod(3)
AUTHOR
Steve Dyer, IBM/Project Athena
Copyright 1987, 1988, 1996 by the Massachusetts Institute of Technology.
27 October 1996 HESINFO(1)