Re: schedule a script at "system startup"

2005-12-04 Thread Werther Pirani

Ian Lord wrote:


I guess there might be a way to put a script in /etc/rd.d/ but I
don't know how to run it under a specifid uid


Create a script (name is not important as long as it ends in .sh)
and put it in /usr/local/etc/rc.d. Also, make sure the script is
executable and contains lines like:

#!/bin/sh

echo -n " some informative message here"

su -l username -c '( command arg1 ... argn )'

Run the script (as root) manually with /usr/local/etc/rc.d/sctript.sh to
verify everything is okay and in case you need/want to add redirection
(still inside parenthesis).



Hope this helps,

Werther
--
I went mad for a while -- did me no end of good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sm-mta[386]: My unqualified host name ...

2005-11-29 Thread werther . pirani
 Kiffin Gish <[EMAIL PROTECTED]> writes:

> However, sendmail doesn't seem to work correctly. When the machine boots
> and/or I try and send an email using sendmail, I get a bunch of cryptic
> error messages. Here's a view of the syslog:
>
> [snip]

What I would do is add something like the following to /etc/hosts

actual.ip.address.here filleserver.some.domain fileserver



Hope this helps,

Werther
-- 
Just because you're paranoid it doesn't mean the world is not out to get you!


Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: system time "slowing down" ?

2005-11-29 Thread werther . pirani
> on Technical University near where i live they attached atomic clock time
> receiver (this signal is transmitted somewhere i don't know well this) to 
> one of their suns, and it gives rdate and ntp protocol out.
> 
> i use it on all my servers.

Here's a list of public, and 100% official I(i.e., stratum 1 ntp servers):

http://tycho.usno.navy.mil/ntp.html

Pick any of them and add it/tem to /etc/ntp.conf, then set up things so that 
ntpd
is started at boot time and you're set (I actually have 3 of them in there and 
let
nptd pick up the most suitable one).



Werther
-- 
I went mad for a while -- it did me no end of good.


Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.0-RELEASE: Higher CPU temperature (compared to 5.4-RELEASE)?

2005-11-28 Thread werther . pirani

  Hello,

after a clean install to move from 5.4-RELEASE to 6.0-RELEASE, I've 
noticed a slight increase in temperature (when close to 100% idel) from 
~39C to ~43C.


Okay, this is probably nothing to worry about, but I was wondering if 
anyone else has seen this and, more to the point, if there's an explanation.



Some data for you:

ACPI APIC Table:  (blanks from the actual output)
CPU: AMD Athlon(tm) 64 Processor 3500+ (note that I'm not running amd64)
real memory  = 1073676288 (1023 MB)
avail memory = 1045983232 (997 MB)
MB: MSI K8T Neo2
Chipset: VIA K8T800


While on the subject, although I'm not sure the two are related, do you 
think the following output is normal?


# vmstat -i
interrupt  total   rate
irq6: fdc010  0
irq13: npx01  0
irq14: ata011940  1
irq15: ata1 1070  0
irq16: re0 81907  7
irq18: pcm0   314901 28
irq21: uhci0 uhci1+43091  3
cpu0: timer 22203789   1999 <--- ?!?
Total   22656709   2040


Also worth mentioning is that "dmesg" displays the following:

[...]
cpu0:  on acpi0
acpi_perf0: invalid _PSS package (repeated 33 times)
acpi_throttle0:  on cpu0
[...]


Ideas, anyone?




Thanks in advance,

Werther
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"