Load at 1.00 on SMP machine
Hi, i got a Problem on my dual XEON 3.06 GhZ machine, 2GB of RAM, FreeBSD 5.4-STABLE. I got option SMP in the kernel config and machdep.hlt_logical_cpus=1 in /boot/loader.conf. There are just 20 processes running (typical ones like getty and stuff) and the load of this machine is at 1.xx. There is no bgfsck and other stuff. So, i built a new kernel without option SMP, rebooted, and the load was at 0.0x. But only one CPU was used (detected). So, what could bei the Problem? Well, the machine shows me 4 CPUs, HTT is not enabled via /boot/loader.conf and machdep.hyperthreading_allowed. So, how to disable HTT? Maybe this is the problem of the high load? Thanks in advance. # DISCLAIMER # # # # Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der# # angegebene Empfaenger sind oder falls diese Email irrtuemlich an Sie # # addressiert wurde, verstaendigen Sie bitte den Absender sofort und # # loeschen Sie die Email umgehend. Das unerlaubte Kopieren sowie die # # unbefugte Uebermittlung sind nicht gestattet.# # Die Sicherheit von Uebermittlungen per Email kann nicht garantiert # # werden. Falls Sie eine Bestaetigung wuenschen, fordern Sie bitte den # # Inhalt der Email als Hardcopy an.# # # # # # The contents of this e-mail are confidential. # # If you are not the named addressee you should not disseminate, # # distribute or copy this e-mail. Please notify the sender immediately # # if you have received this e-mail by mistake and delete this e-mail # # from your system. Finally, the recipient should check this email and # # any attachments for the presence of viruses. The company accepts no # # liability for any damage caused by any virus transmitted by this # # email. # # # # SuedFactoring GmbH, Heilbronner Strasse 86, 70191 Stuttgart # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need your help: Bad file descriptor and too many files open
Hi, I get the following messages sometimes if i try to restart sshd: #etc/rc.d/sshd restart eval: Pipe call failed: Bad file descriptor eval: Pipe call failed: Bad file descriptor [...] #/etc/rc.d/sshd restart /etc/rc.subr: Pipe call failed: Too many open files in system I am running 5.4-RELEASE-p6. Dual XEON 3.06GHz with 2 GB of RAM. sysctl: #sysctl -a kern.openfiles kern.openfiles: 9607 #sysctl -a kern.maxfiles kern.maxfiles: 65536 /etc/sysctl.conf: kern.maxfiles=65536 kern.ipc.nmbclusters=64000 kern.ipc.nmbufs=256000 kern.maxproc=8192 kern.ipc.somaxconn=4096 #vmstat -i interrupt total rate irq24: xl0 46574469169 [...] irq29: em0 1 0 irq30: em1 1 0 Device Polling is active. load averages: 1.00, 1.08, 1.09 647 processes: 1 running, 644 sleeping, 2 zombie A lot of users connects via ssh (x-forward). Also sometimes they can not connect because of too many open files. So what could be the problem? Any hints? Thanks in advance. asg # DISCLAIMER # # # # Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der# # angegebene Empfaenger sind oder falls diese Email irrtuemlich an Sie # # addressiert wurde, verstaendigen Sie bitte den Absender sofort und # # loeschen Sie die Email umgehend. Das unerlaubte Kopieren sowie die # # unbefugte Uebermittlung sind nicht gestattet.# # Die Sicherheit von Uebermittlungen per Email kann nicht garantiert # # werden. Falls Sie eine Bestaetigung wuenschen, fordern Sie bitte den # # Inhalt der Email als Hardcopy an.# # # # # # The contents of this e-mail are confidential. # # If you are not the named addressee you should not disseminate, # # distribute or copy this e-mail. Please notify the sender immediately # # if you have received this e-mail by mistake and delete this e-mail # # from your system. Finally, the recipient should check this email and # # any attachments for the presence of viruses. The company accepts no # # liability for any damage caused by any virus transmitted by this # # email. # # # # SuedFactoring GmbH, Heilbronner Strasse 86, 70191 Stuttgart # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bus error on build/ portupgrade is doing nothing
Hi, two questions: (1) bus error I receive the following output on each port i try to upgrade. So, i thought it could be a problem of RAM, after changing the RAM twice, the problem ist still there, so what could be the problem? #portupgrade unzip --- Upgrading 'unzip-5.52_1' to 'unzip-5.52_2' (archivers/unzip) --- Building '/usr/ports/archivers/unzip' === Cleaning for unzip-5.52_2 === Extracting for unzip-5.52_2 = Checksum OK for unzip552.tar.gz. === Patching for unzip-5.52_2 === Applying FreeBSD patches for unzip-5.52_2 === Configuring for unzip-5.52_2 === Building for unzip-5.52_2 NOTE: use bsd target for non-Intel FreeBSD compiles (if any). make unzips CC=cc LD=cc AS=cc CF=-Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe -DUSE_UNSHRINK AF=-Di386 -O -pipe -DUSE_UNSHRINK CRC32=crc_gcc cc -c -Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe -DUSE_UNSHRINK unzip.c unzip.c: In function `unzip': unzip.c:1032: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 (2) portupgrade does not build Trying to update amavisd-new or apache with portupgrade does not work. It just do nothing. So, other ports are working to update, others not. So what could be the problem? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antwort: Re: bus error on build/ portupgrade is doing nothing
Hi, bus error I receive the following output on each port i try to upgrade. So, i thought it could be a problem of RAM, after changing the RAM twice, the problem ist still there, so what could be the problem? #portupgrade unzip --- Upgrading 'unzip-5.52_1' to 'unzip-5.52_2' (archivers/unzip) --- Building '/usr/ports/archivers/unzip' === Cleaning for unzip-5.52_2 === Extracting for unzip-5.52_2 = Checksum OK for unzip552.tar.gz. === Patching for unzip-5.52_2 === Applying FreeBSD patches for unzip-5.52_2 === Configuring for unzip-5.52_2 === Building for unzip-5.52_2 NOTE: use bsd target for non-Intel FreeBSD compiles (if any). make unzips CC=cc LD=cc AS=cc CF=-Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe -DUSE_UNSHRINK AF=-Di386 -O -pipe -DUSE_UNSHRINK CRC32=crc_gcc cc -c -Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe -DUSE_UNSHRINK unzip.c unzip.c: In function `unzip': unzip.c:1032: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Does it always die at the same place in the build? Typically when I've seen internal compiler error, bad hardware is the culprit. Especially if the build dies at different places each time. It is always the same place where the build dies. Also, trying to build the world, stops with a compiler error. Ah, FreeBSD 5.4-RELEASE-p6. (2) portupgrade does not build Trying to update amavisd-new or apache with portupgrade does not work. It just do nothing. So, other ports are working to update, others not. So what could be the problem? If you run portupgrade with -v, does it give any more detail? Hard to say what the problem might be without more details. Based on your first question, it's very likely to be a symptom of the same problem. Uh, my fault. -v says that the port is up-to-date, but it is not. Maybe a problem with the INDEX. I have this problem also on a machine which builds ports and world without any error, so i do not think it is based on the same problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gcc broken in my userland
Hi, i am running FreeBSD 5.4-RELEASE-p6. If i try ro upgrade a port, i receive a bus error from gcc. So i installed the gcc34 from the ports, did the changes in /etc/make.conf, and upgrading of the ports works fine. The problem is, how to build the world if the gcc in the base system is broken? I get this error: cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c /usr/src/games/fortune/strfile/strfile.c: In function `main': /usr/src/games/fortune/strfile/strfile.c:260: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 So, how to fix the gcc in the basesystem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to disable debugging in userland?
Hi, i know how to disable debugging for the kernel in 6.0, but how do i disable debugging for the userland? So is ln -s 'aj' malloc.conf the right choice (i did this with an early 5.x). Thanks in advance. asg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antwort: Re: How to disable debugging in userland?
Hi, thanks for the quick reply. Userland programs are not installed with debugging information by default. You have to specifically request that debugging *is* enabled, instead (by setting DEBUG_FLAGS either in your environment or in your /etc/make.conf file) and rebuild. But /usr/src/UPDATING tells me that both, kernel- and userland debugging is enabled per default. So, maybe i misunderstood UPDATING or your answer ;-). Ok, setting DEBUG_FLAGS looks fine, but, where can i find these? I can not see them in man make.conf also not in make.conf example. asg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
camcontrol error
Hi, i have a problem with camcontrol (running FreeBSD 5.4-STABLE). Checking the defects on my drive will print out an error which i do not know: #camcontrol defects da0 -G -f bfi camcontrol: Error returned from read defect data command #camcontrol defects da0 -f phys -G camcontrol: Error returned from read defect data command So, what could be the problem? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Strange securelevel
Hi, after playing a bit with securelevel i found a very strange one (well, i thought there will be just -1, 0, 1, 2 and 3). But look at this: #sysctl kern.securelevel kern.securelevel: 2147483647 Thats the highest securelevel i found on my FreeBSD 5.4-RELEASE. So, whatr does it mean? Getting electro shocks when touching the mouse and/or keyboard? And, the man page ha to be rewritten, to explain the rest of the 2147483644 securelevel. No, serious, is this a bug, or what? asg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on IBM blade center
Hi, is FreeBSD 5.x running on IBM blade-center? If so, does anyone have a link about information running FreeBSD on a IBM blade-center? Thanks in advance. asg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 and too many files open...
Mario wrote: # [EMAIL PROTECTED]: kern.maxfilesperproc: 5898 kern.maxusers: 384 My /boot/loader.conf looks like: kern.maxfiles=65536 kern.ipc.nmbclusters=64000 kern.ipc.nmbufs=256000 kern.maxproc=8192 kern.ipc.somaxconn=4096 So i do not get it, imho the configuration is just fine, but why do i get the message too many files open...? What does ulimit -a tell? Any limits in /etc/login.conf? Well, limit tells me: limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize65536 kbytes coredumpsize 2048 kbytes memoryuseunlimited vmemoryuse unlimited descriptors 58982 memorylocked unlimited maxproc 7372 sbsize unlimited (in the future i have to fix cputime, filesize,... to accaptable value...) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antwort: Re: FreeBSD 5.3 and too many files open...
Hi, On Wed, 23 Mar 2005 [EMAIL PROTECTED] wrote: Hi, i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM, 4GB Swap, Dual XEON 3.06Ghz). The box serves the xfrce4-panel for 80 Network Clients via ssh so the Users can start OpenOffice.org and firefox from that panel. It is goin very well, except a message (and also a problem) i run into the last day. If i tried to open firefox from a networkclient and received the message too many files open I saw that message on 3 different Network Clients and just after a fresh configure and the first time starting firfox on these Networkclients with that UID. I checked my configuration on the server about openfiles: kern.openfiles:9306 kern.maxfiles:65536 netstat -m 3952 mbufs in use 732/64000 mbuf clusters in use (current/max) [...] fstat shows me 393 on User A and on User B 3459. I did not check the other users. kern.maxfilesperproc: 5898 kern.maxusers: 384 My /boot/loader.conf looks like: kern.maxfiles=65536 kern.ipc.nmbclusters=64000 kern.ipc.nmbufs=256000 kern.maxproc=8192 kern.ipc.somaxconn=4096 So i do not get it, imho the configuration is just fine, but why do i get the message too many files open...? I think there is a separate limit for sockets, which you may be hitting. Check with sysctl kern.ipc | grep socket. I checked that: # sysctl kern.ipc | grep socket kern.ipc.numopensockets: 1185 kern.ipc.maxsockets: 65536 Also this one looks fine imho. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 and too many files open...
Hi, i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM, 4GB Swap, Dual XEON 3.06Ghz). The box serves the xfrce4-panel for 80 Network Clients via ssh so the Users can start OpenOffice.org and firefox from that panel. It is goin very well, except a message (and also a problem) i run into the last day. If i tried to open firefox from a networkclient and received the message too many files open I saw that message on 3 different Network Clients and just after a fresh configure and the first time starting firfox on these Networkclients with that UID. I checked my configuration on the server about openfiles: kern.openfiles:9306 kern.maxfiles:65536 netstat -m 3952 mbufs in use 732/64000 mbuf clusters in use (current/max) [...] fstat shows me 393 on User A and on User B 3459. I did not check the other users. kern.maxfilesperproc: 5898 kern.maxusers: 384 My /boot/loader.conf looks like: kern.maxfiles=65536 kern.ipc.nmbclusters=64000 kern.ipc.nmbufs=256000 kern.maxproc=8192 kern.ipc.somaxconn=4096 So i do not get it, imho the configuration is just fine, but why do i get the message too many files open...? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Axel Gruner ist außer Haus.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a jail
Hi. On Tue, 1 Apr 2003 08:32:51 -0600 Hari Bhaskaran [EMAIL PROTECTED] wrote: When I need to clone a jail, would a cp -Rp do? Yes and no. To do a exact copy of a jail, use the cpdup program (it is in the ports). (and change rc.conf). Or do I have to go through the jail(8) steps again? (make hierarchy, install etc). No. That would take to much time ;). Use cpdup. Just change the IP and stuff in rc.conf. Also use a new startup script on the host system /usr/local/etc/rc.d/ Thats it. By 'clone', I meant an identical jail session, on top of which I will install other packages, not necessarily same on both. see above. Also can I hardlink a tree (outside) to inside the jail? assuming I don't mind it being writeable. Would it open a hole to the rest of the system? You can use mount_nullfs from the host system. Or NFS to on the hostsystem. With that you can do a NFS mount from /usr/ports of the hostsystem to /jail/usr/ports. I do that with my jails. Works great. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.8-PRE upgrade to 5.0 problems
Hi. I cvsuped to FreeBSD 5.0 and i followed the instructions given in /usr/src/UPDATING. buildworld, buildkernel, installkernel went fine. Ok, i had to do a lot of changes in my kernelconfig to get it built and installed, but it went without a major problem. So, i switched to single user mode to do a mergemaster -p and an installworld. With installworld i got these errors: [So that was my fault, i misunderstood UPDATING and thought that i have only to switch from multi user to single user (i did not see the reboot ;))] Checking to see if your booted Kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo Testing installed kernel fpr new sigaction(2) syscall' pid 60424/sh),uid0: exited on signal 12 (core dumped) Bad system call (core dumped) ***Error code 140 Stop in /usr/src ***Error code 1 Stop in /usr/src Well, ok, i read the first line and booted my machine, so that the new Kernel can boot. Also if the machine will not boot correctly i will fall to single user mode. This happend. Back in single user mode i did a second installworld, and, surprise surprise, it worked without errors. Ok, i rebooted the machine. So, now on bootup i get these messages: link_elf: symbol lminor undefined link_elf: symbol splhigh undefined And if i want to login, i get these: login: $MYNAME login:in openpam_load_module(): no pam:skey.so found login:pam_start(): failed to load module I cant login. So, does this mean, some modules are missing? And how do i get the system back running perfectly? And, a third error message appears on boottime: Warning: userland calling deprecated sysctl, please rebuild world Well, i booted the machine back in single user mode, mount all the devices, and did a buildworld, buildkernel, installkernel, mergemaster and installworld again. The result? The same errors, plus something other i did not recognize the first time (but was there): When i use /usr/sbin/mergemaster -p i cant scroll the passwd down with the arrow keys. If i open a config file with the vi, it looks a bit strange, i cant move around in there and the config stuff is not one by line, it looks a bit shaked. If i run /usr/sbin/mergemaster after installworld, i get an error can't cd to /usr/src/etc. Strange. So, any help out there? Thanks in advance. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
vmware under FreeBSD4.7
Hi. I just installed VMWare 2 under FreeBSD 4.7. The last time i used VMWare was with FreeBSD 4.5 and it run very well. So, installing is not the problem, starting vmware is also ok, but if i try to start a virtual machine, X hangs. After a few seconds the freebsd box is rebooting. What could be the problem? I cvsuped yesterday. Running vmware2-2.0.4.1142. I have a GeForce 4 graphic adapter. Running linux_base-7.1_2. Hope someone can figure out the problem. Thanks a lot. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd 5.0 and snapshots
Hi. On Thu, 23 Jan 2003 18:30:07 -0500 Alan Chen [EMAIL PROTECTED] wrote: I am trying to get snapshots working on FreeBSD 5.0. I looked in the handbook on the web and the file: /usr/src/sys/ufs/ffs/README.snapshot The Readme tells you: To create a snapshot of your /var filesystem, run the command: mount -u -o snapshot /var/snapshot/snap1 /var So, i think you can only make a snapshot of a single filesystem. So, maybe your /var is not a single filesystem. If you want to be sure, type: #mount and take a look what kind of filesyste, you have. It depends on how you installed FreeBSD. Normally you will have: / /usr /tmp (/var) So, this _could_ be the problem, but i am not sure. hth asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how to restore /usr
On Fri, 17 Jan 2003 05:23:13 -0600 Len Conrad [EMAIL PROTECTED] wrote: Trying to free up disk space, a user accidentally rm'd /usr instead of /usr/ports. Starting with the cdrom, what is the best way to get the /usr tree back onto the disk? You did a backup, right? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Possible attack?
Hi. On Fri, 17 Jan 2003 15:42:10 + (GMT) [EMAIL PROTECTED] (P. U. Kruppa) wrote: Jan 14 12:59:52 rabbit /kernel: ipfw: limit 100 reached on entry 64000 Jan 14 17:39:13 rabbit ftpd[1502]: ANONYMOUS FTP LOGIN REFUSED FROM p5089A961.dip.t-dialin.net Jan 14 17:39:13 rabbit ftpd[1503]: ANONYMOUS FTP LOGIN REFUSED FROM p5089A961.dip.t-dialin.net Jan 15 12:15:21 rabbit sm-mta[3937]: h0FHFIJI003936: Truncated MIME Content-Disposition header due to field size (length = 25) (possible attack) Jan 15 17:33:03 rabbit ftpd[4434]: ANONYMOUS FTP LOGIN REFUSED FROM pD9E60C0F.dip.t-dialin.net Jan 15 17:33:04 rabbit ftpd[4435]: ANONYMOUS FTP LOGIN REFUSED FROM pD9E60C0F.dip.t-dialin.net Jan 15 23:59:48 rabbit sm-mta[5210]: h0G4xkJI005209: Truncated MIME Content-Disposition header due to field size (length = 22) (possible attack) Well, it was some guy from the deutsche telekom network. This guy just wanted to use yout FTP (anonymous). Thats all. I dont think it was an attack, or it was a hacker.. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipfw/natd questions
On Wed, 15 Jan 2003 19:08:08 -0600 Redmond Militante [EMAIL PROTECTED] wrote: [...] at the moment, it's not working. on machine 2, i can't ping www.freebsd.org - i get 'hostname lookup failure', i can't ping xl0 - external nic on machine 1 - ping 129.x.x.35 gives me a 'host is down message' machine 2 can ping it's own static ip successfully - ping 129.x.x.20 works machine 2 can ping its own hostname successfully - ping machine2.hostname.com works sorry if this is long, i've been messing with this all day and i think i'm doing it right. can you guys tell if i'm missing something obvious? What about your /etc/resolv.conf? On both machines? Did you insert the namserver of your ISP? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: jail startup problems
On Thu, 09 Jan 2003 16:33:03 +0100 Wiroth Didier [EMAIL PROTECTED] wrote: [...] In the jails rc.conf I have added the following line: syslogd_flags=-ss -l /etc/namedb/dev/log http://docs.freebsd.org/44doc/papers/jail/jail-7.html [...] In most of the production environments where jail is currently in use, one IP address is allocated to the host environment, and then a number are allocated to jail boxes, with each jail box receiving a unique IP. In this situation, it is sufficient to configure the networking applications on the host to listen only on the host IP. Generally, this consists of specifying the appropriate IP address to be used by inetd and SSH, and disabling applications that are not capable of limiting their address scope, such as sendmail, the port mapper, and syslogd. Other third party applications that have been installed on the host must also be configured in this manner, or users connecting to the jailbox will discover the host environment service, unless the jailbox has specifically bound a service to that port. In some situations, this can actually be the desirable behaviour.[...] How can I prevent the other error messages! like the bind to port error of the sshd? Well, the ssh on your Hostsystem binds on port 22. Also the sshd on your jail wants to bind on Port 22. Well, ok, different IP numbers, but i think sshd binds port 22 to all known IP addresses on the system. So, when you hostsyste is up, it binds the host sshd also the the jail IP. The result... Just use another port for one the the sshd. Just put in the rc.conf: sshd_flags=-p portnumber -- asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Jail setup with FreeBSD 5.0
Hi. I am trying to setup a jail in FreeBSD 5.0 RC2. I found out to use mount -t devfs / $D/dev instead of cd %D/dev; sh MAKEDEV jail. So, i configured my jail a bit, and wanted to start it with the command:jail /jail/ssh testhome 192.168.0.201 /bin/sh /etc/rc But the jail is not starting, here the output: hw.bus.devctl_disable: 1 - 1 Entropy harvesting:sysctl: kern.random.sys.harvest.interrupt: Operation not perm itted interruptssysctl: kern.random.sys.harvest.ethernet: Operation not permitted ethernetsysctl: kern.random.sys.harvest.point_to_point: Operation not permitted point_to_point. Fast boot: skipping disk checks. mount: /: unknown special file or file system adjkerntz[76259]: sysctl(put_wallclock): Operation not permitted Doing initial network setup:. ifconfig: ioctl (SIOCDIFADDR): permission denied lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 Additional routing options:. Mounting NFS file systems:. ELF ldconfig path: /usr/lib /usr/lib/compat a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Starting local daemons:. Updating motd. Configuring syscons: keymap blanktime. Initial i386 initialization:. Additional ABI support:. Local package initialization:. Additional TCP options:. ln: vga: Operation not permitted Starting cron. Starting background file system checks. Mon Dec 23 12:19:27 CET 2002 So after that i mounted also procfs (like it is told in jail manpage). Same result. So, how different is it to setup up a jail in FreeBSD 5 compared to FreeBSD 4.x? Or, where is my mistake? Thanks in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cdboot, boot.flp question
Hi. I have seen that the bootloader on the FreeBSD 5.0-Current changed. I tried to install FreeBSD 4.6 and FreeBSD 5.0 DP1 on my Laptop, but no chance at all. It stopped booting from CD with the output cant find kernel (or similar). Now i have booted FreeBSD-Current 5.0 snapshot (mid november), and, it worked. So, what is the difference between the old cd boot loader and the new one? The old one was boot.flp and the new one is cdboot? Thanks in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD ISO Images
Hiho. On Fri, 22 Nov 2002 09:08:09 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: Turns out that the image is good but I am as stupid as the IBM Aptiva that was giving the no kernel message, in that I did not test the image on a different machine. I am amazed no flames came my way ;) Anyone knows some howto about the IBM Aptiva refusing to boot of the CD?? It is a problem with the FreeBSD BTX Loader, imho. With the old one loading scheme, a lot BIOSes getting in trouble and will yhow you the message you have seen. I had that problem with an Acer Travelmate 512T. The only way to install FreeBSD on this Laptop was via Floppy (you can find them on the FTP Server). With FreeBSD-Current snapshot and FreeBSD-DP2 you can also boot from the CD, the loader changed. Try them out, or use the two installation floppies if you want ro run FreeBSD DP2. hth asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to monitor user commands
On Thu, 21 Nov 2002 16:51:59 +0100 Olivier [EMAIL PROTECTED] wrote: Here is my problem : I have a FreeBSD box with a couple shell accounts, accessible through ssh. I would like to be able to monitor the commands some users are issuing, and be noticed about when they log, how long and what they do, e.g by mail. I know 'w','last','lastcomm', etc.. but those don't exactly suit my needs. I could examine those users' .bash_history files but this is easy to overcome, they could 'export HISTFILE=/dev/null' whenever they login. So I need something more reliable... Is there any tool in the ports that could do that? Or has anybody done any script or something that would help me? Thanks a lot for any ideas Ever tried the tools watch? asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port forwarding
Hiho. On Thu, 21 Nov 2002 18:48:03 -0800 (PST) Shvetima Gulati [EMAIL PROTECTED] wrote: What is the easiest way of forwarding a port in FreeBSD. Suppose I want my server to listen on port 8280, but want all connection attempts to port 80 to be forwarded to this port ... can that be done? Install rinetd from the ports. In the rinetd.conf you will type: your_IP 80 your_IP 8280 or 0.0.0.0 80 your_IP_in_a_jail 8280 asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
postfix problem in jail
Hi. So, i have a running jail and installed postfix from the ports in there. My problem is, that postfix wont start in the jail. /var/log/maillog shows: ct 18 09:20:08 briefzentrum postfix/postfix-script: starting the Postfix mail system Oct 18 09:20:08 briefzentrum postfix/master[481]: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1 So, what is the problem with that? How to setup a local interface for 127.0.0.1 in a jail, so that postfix should start at boottime? Thanks in advance. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
subscribe
subscribe freebsd-questions To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
subscribe freebsd-questions To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: bsd, ext2
Hi. On Wed, 16 Oct 2002 09:23:09 +0200 (CEST) peter vamosi [EMAIL PROTECTED] wrote: I wonder whether installing any flavour of BSD, be it FREE, Open or Net BSD would be possible on the linux ext2 or ext3 partition. I mean installing and running on, not mounting. Installing *BSD on a linux partition? No way. Mounting is ok, but not installing. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: running postifx and qpopper in jail
Hi. Here is the error message while trying to fetch my mail from the mail account via fetchmail: 1 message for USERNAME at pop.provider.de (9014 octets). reading message [EMAIL PROTECTED]:1 of 1 (9014 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.puretec.de fetchmail: Query status=10 (SMTP) On Wed, 16 Oct 2002 09:16:33 +0200 Axel Gruner [EMAIL PROTECTED] wrote: Hiho. I trying to get postfix running in my jail. The jail is setup correct (it starts at boot time and i can login via ssh 192.168.0.101). I installed postfix and qpopper from the ports (also fetchmail) in the jail. So, postfix trys to receive mail from the given pop account on my provider. It ends up with an error message, as i remember, i dont sit in front of the box right now, it cant find a smtp. So, postfix is not running in the jail like i thought. I configured postfix in the jail the same way as on the host system (just changed the domain name), and on the host system postfix is working perfectly. I stopped postfix on the host system and reboot my Box, but postfix is not starting in the jail(and also not on the host system). So, where are the traps to get a working postifx and qpopper in a jail? Thanks in advance. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: running postifx and qpopper in jail
Hi David. Thanks for sour answer... On Wed, 16 Oct 2002 17:33:31 +0930 David Lloyd [EMAIL PROTECTED] wrote: You need to have an SMTP server listening on your localhost for fetchmail to work. Here's what happens: Yes, i know. But postfix is not starting in the jail, that is my main problem. And, i used the same configuration as on the host system (where postfix worked). So, i stopped postfix on the host system, but on the jail it wont work... 1) fetchmail uses POP3 to speak to a POP3 server 2) it gets the mail and then uses SMTP to an SMTP server to deliver the mail Ok. Now, the SMTP server by default is localhost. You can configure fetchmail to talk to another host if that's your fancy. Well, it should be localhost, but on on the localhost, the jail, postifix does not start. Well, fetchmail is running, but without postfix i cant use it ;). asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how to list wich packages are installed in freebsd 3.4
Hi. pkg_info asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message