LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2007, 04:34 PM   #1
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Rep: Reputation: 15
When installing certain software on server sometimes it will shut down the server?


When installing certain software on server sometimes it will shut down the server?

what are the reasons for this?
 
Old 05-31-2007, 06:21 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
This shouldn't happen at all - reboots are not required for changes to any software apart from the kernel, and Linux systems should not shutdown unless an administrator requires it. You'll have to give a bit more information to make it possible to work out what is going on here.

Specifically - the distribution and version (if you fill in the field in your profile it appears under your name with each post), the command that you run to install the software, and what happens.
 
Old 06-05-2007, 12:41 PM   #3
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
here I'm trying to install snort

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c sid637.c -o sid637.o >/dev/null 2>&1
/bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -DDYNAMIC_PLUGIN -L/usr/lib -lpcre -L/usr/lib/mysql -o lib_sfdynamic_example_rule.la -module sfsnort_dynamic_detection_lib.lo rules.lo sid109.lo sid637.lo -ldl -lmysqlclient -lz -lpcre -lpcap -lm -lnsl -ldl
ar cru .libs/lib_sfdynamic_example_rule.a .libs/sfsnort_dynamic_detection_lib.o .libs/rules.o .libs/sid109.o .libs/sid637.o
ranlib .libs/lib_sfdynamic_example_rule.a
creating lib_sfdynamic_example_rule.la
(cd .libs && rm -f lib_sfdynamic_example_rule.la && ln -s ../lib_sfdynamic_example_rule.la lib_sfdynamic_example_rule.la)
make[6]: Leaving directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples/dynamic-rule'
make[5]: Leaving directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples/dynamic-rule'
make[5]: Entering directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples'
make[4]: Leaving directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples'
make[3]: Leaving directory `/root/snortinstall/snort-2.6.1.5/src/dynamic-examples'
make[3]: Entering directory `/root/snortinstall/snort-2.6.1.5/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c codes.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c debug.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c mstring.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c parser.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c profiler.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c plugbase.c

Broadcast message from root (Tue Jun 5 12:37:57 2007):

The system is going down for system halt NOW!

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c snort.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c snprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c strlcatu.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c strlcpyu.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c tag.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c ubi_BinTree.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c ubi_SplayTree.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c util.c
util.c: In function `DropStats':
util.c:1400: warning: implicit declaration of function `HttpInspectDropStats'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c detect.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c signature.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c mempool.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c sf_sdlist.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c fpcreate.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c fpdetect.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c pcrm.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c byte_extract.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c sfthreshold.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c packet_time.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c event_wrapper.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c event_queue.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c inline.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow -I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5 -I/usr/include/pcre -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -Wall -DDYNAMIC_PLUGIN -c ipv6.c
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -DDYNAMIC_PLUGIN -L/usr/lib -lpcre -L/usr/lib/mysql -o snort codes.o debug.o decode.o log.o mstring.o parser.o profiler.o plugbase.o snort.o snprintf.o strlcatu.o strlcpyu.o tag.o ubi_BinTree.o ubi_SplayTree.o util.o detect.o signature.o mempool.o sf_sdlist.o fpcreate.o fpdetect.o pcrm.o byte_extract.o sfthreshold.o packet_time.o event_wrapper.o event_queue.o inline.o ipv6.o output-plugins/libspo.a detection-plugins/libspd.a dynamic-plugins/libdynamic.a preprocessors/libspp.a preprocessors/flow/portscan/libportscan.a preprocessors/flow/libflow.a parser/libparser.a preprocessors/HttpInspect/libhttp_inspect.a preprocessors/Stream5/libstream5.a sfutil/libsfutil.a -ldl -lmysqlclient -lz -lpcre -lpcap -lm -lnsl -ldl
 
Old 06-05-2007, 02:24 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The "broadcast message" means that someone with root access ran the "shutdown" command or equivalent - the fact that it happened during a software compile is likely to be a coincidence. Shutdowns can be set with a time delay, so it may have been done slightly earlier in the day.
 
Old 06-05-2007, 03:28 PM   #5
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by hob
The "broadcast message" means that someone with root access ran the "shutdown" command or equivalent - the fact that it happened during a software compile is likely to be a coincidence. Shutdowns can be set with a time delay, so it may have been done slightly earlier in the day.

Thats impossible. I only have root access

This only happens when installing large programs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't shut down X server, tried everything(?) trentr Linux - General 4 11-30-2005 06:55 PM
how to shut downd X server from X server? mac1234mac Linux - Software 2 09-16-2005 12:02 PM
X-server.. how do I shut overproof Linux - Newbie 6 04-08-2005 12:43 AM
How do I shut down the x-server? JackieBrown SUSE / openSUSE 1 12-29-2004 07:50 PM
how do i shut down X server? yzrider210 Linux - Newbie 17 11-21-2003 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration