Re: current hangs when boot

2000-10-25 Thread Johan Kruger

In message [EMAIL PROTECTED] Bigbear writes:
: i update my system from 4.1 to current, when system boot, it hangs when:
: start elf ldconfig: /usr/lib /usr/lib/compat /usr/X11R6/lib
: why?


This is not a hang, otherwise you would not have been able to boot by
pressing ^C or ^T
The files , especially rc files in /etc are not the newest ones. The
script rc is suppose to use ldconfig to update the library database,
but when it starts it waits. If you bypass this by pressing keys, the
it might happen that you get errors with certain libraries, seeing that
they are not loaded.

So, all you need to do is to take /usr/src/etc and copy rc* /etc
This solved the problem for me. I did a make buildworld and installworld
yesterday and i got the problem on a second reboot.
I had a look in the /etc directory and saw that the files did not install ...
which makes sense since the spec of buildworld/installworld is that the etc dir
is not updated.

I started a make release 25 minutes ago, will see if the end result of a
snapshot will give the same problem.

P.S. After updating your files in /etc, do a shutdown -r now , the shutdown rc
script will take care of the entropy factor next time around.


 : ^C also works.
 : 
 : ^T is generally useful if you suspect something is hanging on bootup but
 : don't know what it is.
 
 We also found at bsdcon that lots of keystrokes would also make the
 system boot.
 
 Which reminds me of the Sun software problem report that had as the
 engineering reply: "Don't hit on the keyboard like a wild monkey" .. :-)
 
--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 25-Oct-00
Time: 11:02:51
OS: FreeBSD 5.0-2724-SNAP
All good things come to those who ... run FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: package for fetch mails?

2000-10-11 Thread Johan Kruger

Use xfmail, a little bit old proggie, but very practical and 
generic. Set it up to check your mail every x minutes, using
the mail server as a pop3 server ( xfmail wil log in, give your
password to the server, retrieve the mail, and spool it to a file
usually /var/mail/your_user_account_on_your_pc which will keep the messages)
Try it , neat little proggie
P.S. If you use current ,download the port and rebuild it using xforms-0.88.1
libraries

On 11-Oct-00 Donny Lee wrote:
 
  Hi there,
 
  My fbsd box is (ADSL) connected to the net through dynamic IPs, 
  so no mails are able to send in, they go to the account offered
  by my ISP.  i need to check mail manually a period of time.
 
  Is there any package that can be used to fetch mails back to
  my fbsd box in every 10 or 20 min. automatically?
 
 --
  // Donny
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 11-Oct-00
Time: 08:57:16

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



perlcc in current - xs_init and boot_DynaLoader

2000-08-25 Thread Johan Kruger

If i do a perlcc test.pl i get the folllowing , in CURRENT ?
Must i define something beforehand, or is it broken ?

-Wl,-E -lperl -lm  -L/usr/libdata/perl/5.6.0/mach/CORE -lperl -lm -lc -lcrypt
/usr/libdata/perl/5.6.0/mach/auto/IO/IO.so
/usr/libdata/perl/5.6.0/mach/auto/Fcntl/Fcntl.so
/tmp/ccJ97508.o: In function `xs_init':
/tmp/ccJ97508.o(.text+0x33a4): undefined reference to `boot_DynaLoader'
ERROR: In compiling code for test.pl.c !

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 25-Aug-00
Time: 11:53:40

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Question from a neophyte... Why isn't rc.local being read?

2000-08-22 Thread Johan Kruger

Make sure it's not commented out in rc

# Run rc.devfs if readable to customize devfs
#
if [ -r /etc/rc.devfs ]; then
sh /etc/rc.devfs
fi

# Do traditional (but rather obsolete) rc.local file if it exists.  If you
# use this file and want to make it programmatic, source /etc/defaults/rc.conf
# in /etc/rc.local and add your custom variables to /etc/rc.conf, as
# shown below.  Please do not put local extensions into /etc/rc itself.
# Use /etc/rc.local
#
#  rc.local 
#   if [ -r /etc/defaults/rc.conf ]; then
#   . /etc/defaults/rc.conf
#   source_rc_confs
#   elif [ -r /etc/rc.conf ]; then
#   . /etc/rc.conf
#   fi
#
#   ... additional startup conditionals ...
#  rc.local 
#
if [ -r /etc/rc.local ]; then
echo -n 'starting local daemons:'
sh /etc/rc.local
echo '.'
fi




On 21-Aug-00 Gordon Zeigler wrote:
 I've added startup commands to /etc/rc.local on my 3.4 Stable machine.
 
 /usr/local/etc/webmin/start # Start webmin
 /usr/local/sbin/sshd# Start open ssh
 /etc/init.d/apachectl start # Start apache web server
 
 Yet, these are not starting at reboot...
 
 What am I missing? Probably something obvious, but it escapes me...
 
  
 
 *** REPLY SEPARATOR  ***
 
 On 8/21/00 at 9:53 AM Julian Elischer wrote:
 
since config has changed.. where do I set the flags on my debug port
(sio2?)
the sio man page has no hints..
it looks to me as it if is now controlled differently 
unles I've made a mistake


julian




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
 
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 22-Aug-00
Time: 12:38:46

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: error sysinstall

2000-08-22 Thread Johan Kruger

Probably need a newer sysinstall, now uses character devices
Where did you get this sysinstall from, is in on a boot floppy ?
If it is, then either the kernel with it's devices doesn't work
with the sysinstall you use, or the devices do not exist.

On your PC, do a make depend ; make ; make install in
/usr/src/release/sysinstall

then you use the sysinstall in the installed dir /stand/sysinstall
Remember to remake your devices - char devices probably needed.

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 22-Aug-00
Time: 12:43:29

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: sysinstall trouble

2000-08-21 Thread Johan Kruger

Are you sure it's writable, try touching a file on the filesystem.
mount -w /dev/ad0s1 /
P.S. Before you mount it, do a fsck on it, whether it's clean or not,
and then mount it.
Hope it helps ...
Good luck

On 21-Aug-00 Zajcev Evgeny wrote:
 I have trouble with sysinstall
 while installing bin destribution, sysinstall said
 
 Write failure on transfer ! wrote -1 bytes of 234567 bytes.
 
 i install from cdrom in single mode
 i DO mount / with wr mode!
 -- 
 zev
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 21-Aug-00
Time: 11:34:36

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Loading font with libvgl

2000-08-18 Thread Johan Kruger

Hmm, a few days back on the mailing list i saw there was 
problem with specifying a different font when using libvgl.
Allthough this is not critical to my application, it would 
shurely enhance the look and feel of my app.

So i am wondering ... is somebody working on this ?
And nope , i cant work on it right now.  *;-)

Just curios
--
Unix Software Developer/Engineer
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 18-Aug-00
Time: 10:37:54

This message was sent by XFMail
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



syslog do not want to remote log

2000-06-08 Thread Johan Kruger

I have 2 machine's : A = Amnesiac B = ockle

I want to remote log to ockle from Amnesiac

Amnesiac : /etc/syslog.conf

*.emerg *
*.crit  /var/log/crit
*.err   /var/log/errors
*.info  /var/log/all
*.notice;kern.debug;lpr.info;mail.crit;news.err @ockle

I started syslogd on Amnesiac with : syslogd -d and i get

Logging to CONSOLE /dev/console
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL: 
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 X FILE: /var/log/crit
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X FILE: /var/log/errors
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 X FILE: /var/log/all
7 5 2 5 5 5 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 X UNUSED: 
logmsg: pri 56, flags 4, from Amnesiac, msg syslogd: restart
Logging to FILE /var/log/all
syslogd: restarted
readfds = 0x38

NOTICE THE UNUSED 
Amnesiac do not want to use ockle - i tried specifying the i.p. of ockle 
but to no avail. ockle is in the hosts file on Amnesiac, a dns is present 
and specified in /etc/resolve.conf  and it works.

On ockle i started syslogd with -a and the i.p. of Amnesiac.
But the problem is not here ( on ockle ), i first have to get syslogd on
Amnesiac not to report UNUSED in debug mode ??

Any suggestions ??



--
E-Mail: Johan Kruger [EMAIL PROTECTED]
Date: 08-Jun-00
Time: 10:56:22

This message was sent by XFMail
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



d: /kernel: malformed input file (not rel or archive) ??

2000-03-01 Thread Johan Kruger

If i try to load the example in
/usr/src/share/exaples/lkm/misc/module/misc_mod.o i get the following.
Pleeaaas help ?

borg# modload ./misc_mod.o 
ld: /kernel: malformed input file (not rel or archive)
modload: /usr/bin/ld: return code 1

-- 
Johan Kruger ( B.Ing Electronic Engineering )
Developement Engineer
Nanoteq PTA ( 012 6727000 )
e-mail : [EMAIL PROTECTED]
e-mail : [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Make release Feb 15 fails - installing arpa's ftp.h - missing ??

2000-02-15 Thread Johan Kruger

What could be the problem here ?
build with make release BUILDNAME=4.0-CURRENT-Feb15
and setenv USA_RESIDENT NO

---

install -c -o root -g wheel -m 644 kld/cdev/module/cdev.c
/DRIVE2/R2/usr/share/examples/kld/cdev/module/cdev.c install -c -o root -g
wheel -m 644 kld/cdev/module/cdev.h
/DRIVE2/R2/usr/share/examples/kld/cdev/module/cdev.h install -c -o root -g
wheel -m 644 kld/cdev/module/cdevmod.c
/DRIVE2/R2/usr/share/examples/kld/cdev/module/cdevmod.c install -c -o root -g
wheel -m 644 kld/cdev/module/@/arpa/ftp.h
/DRIVE2/R2/usr/share/examples/kld/cdev/module/@/arpa/ftp.h install:
/DRIVE2/R2/usr/share/examples/kld/cdev/module/@/arpa/ftp.h: No such file or
directory *** Error code 71

Stop in /usr/src/share/examples.
*** Error code 1

Stop in /usr/src/share.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

-- 
Johan Kruger ( B.Ing Electronic Engineering )
Developement Engineer
Nanoteq PTA ( 012 6727000 )
e-mail : [EMAIL PROTECTED]
e-mail : [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Release build of 3.4-STABLE

2000-02-01 Thread Johan Kruger

I checked out the sources from RELENG_3 for 3.4-STABLE and i got the same error
i got last year, the release breaks at kerberos.
My CHROOTDIR =  /DRIVE2/R2/
It could'nt find /DRIVE2/R2/R/stage/trees/krb, so once again i had to make a
link in DRIVE2/R2/R/stage/trees/krb from krb4 to krb, then it built fine.

Is this an error in the Makefile or is there something i missed ?

Johan Kruger ( B.Ing Electronic Engineering )
Developement Engineer
Nanoteq PTA ( 012 6727000 )
e-mail : [EMAIL PROTECTED]
e-mail : [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message