06-02-2008
server restarting
Hello people,
My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted.
Also when server reboots I want apache to also come up with it? For eg: I can give ./apachectl -k start in a startup script. Where is the startup script for the OS?
Thanks in advance...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a monitoring script that checks on the content of an alert file, I'm doing some checks on weather I have already reported on the alert (there is one alert per file). If I find that the content is the same as before how can I stop and restart the loop until there is differences bewteen the... (5 Replies)
Discussion started by: nhatch
5 Replies
2. Solaris
Hi
I have changed my timezone using the command
export TZ='Asia/Calcutta"
but teh affect is taking place only in teh shell where I am logged in. If I export teh variable when I open the new session, things are fine.
Can I affetct the change universally, without restarting the server.
... (2 Replies)
Discussion started by: krishan
2 Replies
3. Solaris
How can I make sure that all the database instances are shut down and brought up when the server is restarted.
Krishan (3 Replies)
Discussion started by: krishan
3 Replies
4. Solaris
Dear guys,
Pls help me this case. I telnet normally to Solaris. After restarting it manually, I can only console, cannot telnet from my latop although I can ping it. I checked
/etc/default/login
/usr/sbin/in.telnetd
/etc/inet/inetd.conf
All these files are the same.
I don't see telnet... (2 Replies)
Discussion started by: wipi
2 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to power on our SUN m4000 server after a recent shutdown. When I try to connect to the xscf console I'm getting prompted for a password. The system is not asking for a login just a password. Below is the output from the xscf console.
Anyone know how I can safely get back to the... (0 Replies)
Discussion started by: orahi001
0 Replies
6. Shell Programming and Scripting
Hi,
We have hosted our application on AIX server. The problem is that we have to start our application manually once the server is rebooted. Please guide me in writing a script that does this job automatically with the re-start of the server. I'm looking for something like windows services in... (2 Replies)
Discussion started by: himanshu397
2 Replies
7. Solaris
If I want to restart sysedge on a solaris box and it does not want to come up. It gets stucked. How can I check where the sysedge pid file so I can delete it and try to start sysedge again?
What can cause sysedge to not come up?
Thanks, (0 Replies)
Discussion started by: Pouchie1
0 Replies
8. Programming
Hi,
I use gfortran to run the code. Some times I need to stop the program
and restart it. On restarting I need to run the program from the beginning.
Is there any script or option available to restart the program from where
it stopped? This script/option will be immensely useful for... (2 Replies)
Discussion started by: rpd25
2 Replies
9. Shell Programming and Scripting
Hi,
I need a script to kill the process Ids for the user ABC.
I prepared the following script after that while logging with user therough script i am not sure how to pass the user name and password.Can ou modify the script and help me out.
#!/bin/bash
for filesize in $(ls -ltr | grep... (4 Replies)
Discussion started by: victory
4 Replies
10. UNIX and Linux Applications
Good afternoon
I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration
Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies
LEARN ABOUT DEBIAN
rabbitmq-env.conf
RABBITMQ-ENV.CONF(5) RabbitMQ Server RABBITMQ-ENV.CONF(5)
NAME
rabbitmq-env.conf - default settings for RabbitMQ AMQP server
DESCRIPTION
/etc/rabbitmq/rabbitmq-env.conf contains variable settings that override the defaults built in to the RabbitMQ startup scripts.
The file is interpreted by the system shell, and so should consist of a sequence of shell environment variable definitions. Normal shell
syntax is permitted (since the file is sourced using the shell "." operator), including line comments starting with "#".
In order of preference, the startup scripts get their values from the environment, from /etc/rabbitmq/rabbitmq-env.conf and finally from
the built-in default values. For example, for the RABBITMQ_NODENAME setting,
RABBITMQ_NODENAME
from the environment is checked first. If it is absent or equal to the empty string, then
NODENAME
from /etc/rabbitmq/rabbitmq-env.conf is checked. If it is also absent or set equal to the empty string then the default value from the
startup script is used.
The variable names in /etc/rabbitmq/rabbitmq-env.conf are always equal to the environment variable names, with the RABBITMQ_ prefix
removed: RABBITMQ_NODE_PORT from the environment becomes NODE_PORT in the /etc/rabbitmq/rabbitmq-env.conf file, etc.
# I am a complete /etc/rabbitmq/rabbitmq-env.conf file.
# Comment lines start with a hash character.
# This is a /bin/sh script file - use ordinary envt var syntax
NODENAME=hare
SEE ALSO
rabbitmq-server(1) rabbitmqctl(1)
EXAMPLES
# I am a complete /etc/rabbitmq/rabbitmq-env.conf file.
# Comment lines start with a hash character.
# This is a /bin/sh script file - use ordinary envt var syntax
NODENAME=hare
This is an example of a complete /etc/rabbitmq/rabbitmq-env.conf file that overrides the default Erlang node name from "rabbit" to "hare".
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
RabbitMQ Server 06/22/2012 RABBITMQ-ENV.CONF(5)