Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 07:33:15 -0500
From:      "Group Captain Buzzwang" <buzzwang@gamersgarrison.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Questions concerning startup / Local Package Initialization
Message-ID:  <000501c0c73a$94a44cc0$0501010a@ecknick>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C0C710.AA2305C0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0006_01C0C710.AA2305C0"


------=_NextPart_001_0006_01C0C710.AA2305C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Ok, don't hate cause I'm relatively new. At least I'm moving away from
MicroSuck, and I searched for a week before I had to ask a question.

I've been using FreeBSD for awhile now and am fairly familiar with the
overall system, but now I've decided to go a little deeper and use it as
my web server. I've been trying for a couple days now to setup SlashCode
(http://www.slashcode.com or http://slashdot.org) because I like the
site features and layout. Don't worry, my question doesn't relate to
that, but arose because of it. In order for /. to work, it requires
mysql, apache, and their code (slash) to startup in that order at system
boot. No problem; just wrote a short little script to start everything,
put it in the rc.d directory and it works just fine. 

The problem arises when I shutdown or restart the system. I get an
error/message saying that I'm using the old style rc scripts, and that I
should change them to recognize the stop command. I've just finished
digging around freebsd.org (spent a little over an hour) and I can't
find a reference to this message anywhere.

All I wanna know is two things:
1) What should an rc script/s look like? &
2) How do I right the script to start and stop these software elements
in the way that freebsd likes?

Well, ok, 3 things:
3) Should I be using rc.local or something else instead & how do I make
that work?

Post it here or mailto:buzzwang@gamersgarrison.com

Thanks in advance!

------=_NextPart_001_0006_01C0C710.AA2305C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2788.0">
<TITLE></TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Ok, don't hate cause I'm relatively =
new. At least I'm moving away from MicroSuck, and I searched for a week =
before I had to ask a question.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've been using FreeBSD for awhile now =
and am fairly familiar with the overall system, but now I've decided to =
go a little deeper and use it as my web server. I've been trying for a =
couple days now to setup SlashCode (<A HREF=3D"http://www.slashcode.com" =
TARGET=3D"_blank">http://www.slashcode.com</A>; or <A =
HREF=3D"http://slashdot.org" TARGET=3D"_blank">http://slashdot.org</A>) =
because I like the site features and layout. Don't worry, my question =
doesn't relate to that, but arose because of it. In order for /. to =
work, it requires mysql, apache, and their code (slash) to startup in =
that order at system boot. No problem; just wrote a short little script =
to start everything, put it in the rc.d directory and it works just =
fine. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The problem arises when I shutdown or =
restart the system. I get an error/message saying that I'm using the old =
style rc scripts, and that I should change them to recognize the stop =
command. I've just finished digging around freebsd.org (spent a little =
over an hour) and I can't find a reference to this message =
anywhere.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">All I wanna know is two things:</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">1) What should an rc script/s look =
like? &amp;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">2) How do I right the script to start =
and stop these software elements in the way that freebsd likes?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Well, ok, 3 things:</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">3) Should I be using rc.local or =
something else instead &amp; how do I make that work?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Post it here or <A =
HREF=3D"mailto:buzzwang@gamersgarrison.com">mailto:buzzwang@gamersgarriso=
n.com</A></FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance!</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_001_0006_01C0C710.AA2305C0--

------=_NextPart_000_0005_01C0C710.AA2305C0
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII8jCCApAw
ggH5oAMCAQICAwQuMjANBgkqhkiG9w0BAQQFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl
c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT
FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw
MC44LjMwMB4XDTAxMDIxNDAyMzA1OFoXDTAyMDIxNDAyMzA1OFowTTEfMB0GA1UEAxMWVGhhd3Rl
IEZyZWVtYWlsIE1lbWJlcjEqMCgGCSqGSIb3DQEJARYbYnV6endhbmdAZ2FtZXJzZ2Fycmlzb24u
Y29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMJ+tGm/DN/RuNC1H83hhKY5F5GzALIIib
dWxnHb2T7ZaEamoTDNmCGVutRfBttZ2MAWpJCVk1WXOi1U09kiNVGoFnh8T3EynLE42qoIl2zdud
32eK1FHrFKYAYXWn0Zib9ZSuo87KPy1FleyV5AdoNb0Q3Lk35OF5cNOuGk+XfQIDAQABozgwNjAm
BgNVHREEHzAdgRtidXp6d2FuZ0BnYW1lcnNnYXJyaXNvbi5jb20wDAYDVR0TAQH/BAIwADANBgkq
hkiG9w0BAQQFAAOBgQApuc3K/gETYp+y/HMmlZpVOurfap+ZjKTV9QMfuIgaQwlni/Rw9ht+nk8I
ToDlSJ9YUUfotckbM5wrMcl/oxaddIt4O5R13e8e21v7EkPdGOx35eDnHV4Xs6RVLMp5XT92RyQP
uEGJayEzaaMl06sBCrW5xPRgHWMbw3KT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oAp3kmv0T9KbZfLH43F8jJgmRgHPQFBveQ6mDJfLmnC8Vyv6mq4oHdYsM3VGEa+T4
0c53ooExggKOMIICigIBATCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2Fw
ZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmlj
YXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgME
LjIwCQYFKw4DAhoFAKCCAUkwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUx
DxcNMDEwNDE3MTIzMzE1WjAjBgkqhkiG9w0BCQQxFgQUAYTHxnCzhEkZsF5k6kX3W1t9mXQwPAYJ
KoZIhvcNAQkPMS8wLTAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDAHBgUrDgMCGjAKBggqhkiG9w0C
BTCBqwYJKwYBBAGCNxAEMYGdMIGaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD
YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2VydGlm
aWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAwLjguMzAC
AwQuMjANBgkqhkiG9w0BAQEFAASBgIfFY3473qg7EiQO84IAaZwN4fMPv/27h3ONdN/BKVbCL1gy
mAB10eG3Lr/HY3RAhbgIOMtP/dXnnKxxvw6rrilJr5ZM7XU+s6fjY21bshN+xug2o9NYMkKu1AMk
Y2hOOfAX4la02wxFw8dSOZGYtZ9P53p1JxJqXaO/EDOP7bU0AAAAAAAA

------=_NextPart_000_0005_01C0C710.AA2305C0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c0c73a$94a44cc0$0501010a>