Re: Newbie question about freebsd-update: single user mode is not needed anymore?
Hi Jose, with the freebsd-update method you don't need to pass through the "make installworld" as it's a binary patch/upgrade system. Using "freebsd-update upgrade -r 9.1-RELEASE" for example allows you to get your system patched directly without recompiling the kernel and the userland but getting binary patches from the repo and applying these directly on your system. Check the following page for a more detailed explanation and be aware that upgrading your ports/packages is required every time you upgrade your kernel to a major version (which would be your case). http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html Happy new year. On Mon, 2012-12-31 at 13:13 +0100, Jose Garcia Juanino wrote: > Hi, > > I am planning to upgrade from FreeBSD 9.0-RELEASE to > FreeBSD-9.1-RELEASE. With upgrade source method, it is always needed to > do the "make installworld" step in single user mode. But it seems to > be that single user is not required with freebsd-update method, in the > second "freebsd-update install". Someone could explain the reason? Am I > misunderstanding something? Can I run the upgrade enterely by mean a ssh > connection in a safe way, or will I need a serial console? > > Best regards, and excuse my poor english. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question about freebsd-update: single user mode is not needed anymore?
For some reason my email hasn't apparently been delivered so I'm re-sending it. "From: ASV To: Jose Garcia Juanino Cc: freebsd-questions@freebsd.org Subject: Re: Newbie question about freebsd-update: single user mode is not needed anymore? Date: Mon, 31 Dec 2012 17:19:19 +0100|" Well, I understand your concern. I've been using the freebsd-update method since several years now and mostly remotely. I've never encounter a problem. I haven't recompiled everything many times as I didn't really found a tangible advantage in this method but I've never thought about this. I believe some developer around here can provide you a neat explanation about that (which is going to be interesting to know). Strictly about your concern I believe whatever way you use for your upgrade you CANNOT be 100% sure that your upgrade will go smoothly and things like loosing control of your remote box will not happen. Even though jumping from close releases 9.0 => 9.1 is a low risk upgrade, a console access to your remote server (via terminal server/KVM/other) is imperative in these cases to avoid the worst. On Mon, 2012-12-31 at 16:50 +0100, Jose Garcia Juanino wrote: > El lunes 31 de diciembre a las 16:27:44 CET, ASV escribió: > > Hi Jose, > > > > with the freebsd-update method you don't need to pass through the "make > > installworld" as it's a binary patch/upgrade system. > > Using "freebsd-update upgrade -r 9.1-RELEASE" for example allows you to > > get your system patched directly without recompiling the kernel and the > > userland but getting binary patches from the repo and applying these > > directly on your system. > > Check the following page for a more detailed explanation and be aware > > that upgrading your ports/packages is required every time you upgrade > > your kernel to a major version (which would be your case). > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > > > Happy new year. > > Thanks for your response. > > The freebsd-update upgrade method is: > 1- freebsd-update install # will install a new kernel and modules > 2- reboot in multi user > 3- freebsd-update install # will install new userland > 4- reboot in multi user > > The src upgrade method is: > 1- make installkernel # will install a new kernel > 2- reboot in single user > 3- make installworld # will install a new userland > 4- reboot in multiuser > > I think that the third step is essentially the same in both methods: it > will install a new userland. But the second one require to be ran in > single user, and the first one does not. Why? > > My unique concern is that step 2 in "freebsd-update" method goes > smootly: it will boot kernel in 9.1-RELEASE but userland in 9.0-RELEASE. > If the system hangs giving up the net or other essential service, I will > not be able to reach the computer via ssh. > > Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question about freebsd-update: single user mode is not needed anymore?
Well, I understand your concern. I've been using the freebsd-update method since several years now and mostly remotely. I've never encounter a problem. I haven't recompiled everything many times as I didn't really found a tangible advantage in this method but I've never thought about this. I believe some developer around here can provide you a neat explanation about that (which is going to be interesting to know). Strictly about your concern I believe whatever way you use for your upgrade you CANNOT be 100% sure that your upgrade will go smoothly and things like loosing control of your remote box will not happen. Even though jumping from close releases 9.0 => 9.1 is a low risk upgrade, a console access to your remote server (via terminal server/KVM/other) is imperative in these cases to avoid the worst. On Mon, 2012-12-31 at 16:50 +0100, Jose Garcia Juanino wrote: > El lunes 31 de diciembre a las 16:27:44 CET, ASV escribió: > > Hi Jose, > > > > with the freebsd-update method you don't need to pass through the "make > > installworld" as it's a binary patch/upgrade system. > > Using "freebsd-update upgrade -r 9.1-RELEASE" for example allows you to > > get your system patched directly without recompiling the kernel and the > > userland but getting binary patches from the repo and applying these > > directly on your system. > > Check the following page for a more detailed explanation and be aware > > that upgrading your ports/packages is required every time you upgrade > > your kernel to a major version (which would be your case). > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > > > Happy new year. > > Thanks for your response. > > The freebsd-update upgrade method is: > 1- freebsd-update install # will install a new kernel and modules > 2- reboot in multi user > 3- freebsd-update install # will install new userland > 4- reboot in multi user > > The src upgrade method is: > 1- make installkernel # will install a new kernel > 2- reboot in single user > 3- make installworld # will install a new userland > 4- reboot in multiuser > > I think that the third step is essentially the same in both methods: it > will install a new userland. But the second one require to be ran in > single user, and the first one does not. Why? > > My unique concern is that step 2 in "freebsd-update" method goes > smootly: it will boot kernel in 9.1-RELEASE but userland in 9.0-RELEASE. > If the system hangs giving up the net or other essential service, I will > not be able to reach the computer via ssh. > > Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question about freebsd-update: single user mode is not needed anymore?
El lunes 31 de diciembre a las 16:27:44 CET, ASV escribió: > Hi Jose, > > with the freebsd-update method you don't need to pass through the "make > installworld" as it's a binary patch/upgrade system. > Using "freebsd-update upgrade -r 9.1-RELEASE" for example allows you to > get your system patched directly without recompiling the kernel and the > userland but getting binary patches from the repo and applying these > directly on your system. > Check the following page for a more detailed explanation and be aware > that upgrading your ports/packages is required every time you upgrade > your kernel to a major version (which would be your case). > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > Happy new year. Thanks for your response. The freebsd-update upgrade method is: 1- freebsd-update install # will install a new kernel and modules 2- reboot in multi user 3- freebsd-update install # will install new userland 4- reboot in multi user The src upgrade method is: 1- make installkernel # will install a new kernel 2- reboot in single user 3- make installworld # will install a new userland 4- reboot in multiuser I think that the third step is essentially the same in both methods: it will install a new userland. But the second one require to be ran in single user, and the first one does not. Why? My unique concern is that step 2 in "freebsd-update" method goes smootly: it will boot kernel in 9.1-RELEASE but userland in 9.0-RELEASE. If the system hangs giving up the net or other essential service, I will not be able to reach the computer via ssh. Regards pgpbaloy3DIlu.pgp Description: PGP signature
Re: Newbie question about freebsd-update: single user mode is not needed anymore?
On 31/12/2012 14:13, Jose Garcia Juanino wrote: > Hi, > > I am planning to upgrade from FreeBSD 9.0-RELEASE to > FreeBSD-9.1-RELEASE. With upgrade source method, it is always needed to > do the "make installworld" step in single user mode. But it seems to > be that single user is not required with freebsd-update method, in the > second "freebsd-update install". Someone could explain the reason? Am I > misunderstanding something? Can I run the upgrade enterely by mean a ssh > connection in a safe way, or will I need a serial console? > > Best regards, and excuse my poor english. > Hi, Although in the books it says singe user, I always do source upgrade via ssh - so far(8 years) no problems :-) Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Newbie question about freebsd-update: single user mode is not needed anymore?
Hi, I am planning to upgrade from FreeBSD 9.0-RELEASE to FreeBSD-9.1-RELEASE. With upgrade source method, it is always needed to do the "make installworld" step in single user mode. But it seems to be that single user is not required with freebsd-update method, in the second "freebsd-update install". Someone could explain the reason? Am I misunderstanding something? Can I run the upgrade enterely by mean a ssh connection in a safe way, or will I need a serial console? Best regards, and excuse my poor english. pgpswn9DndVD_.pgp Description: PGP signature
Re: Newbie question: Why aren't my cron jobs running?
On Wed, 13 Jun 2012 19:16:18 -0500, Chris wrote: > On 6/13/2012 6:23 PM, Walter Hurry wrote: >> On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: >> >>> The syntax of his crontab file is correct. Vixie cron does care about >>> leading spaces, tabs, extra spaces, or leading zeros. Earlier >>> versions of cron are much pickier about the crontab file. The cron >>> logs show that it is starting his jobs at the correct times. >>> >>> It is far more likely that there is a problem with the scripts. A >>> very common cause of problems with scripts run from cron is that they >>> do not inherit your environment. Do the scripts run from the command >>> line? If the do, then the problem is most likely something in your >>> environment that the scripts need. >> >> I'm a complete idiot, and I feel embarrassed. Everything was fine, >> except that I had missed out '/bin' in the paths of the jobs. >> >> I had: >> /home/walterh/exports.sh /home/walterh/backup_etc.sh >> /home/walterh/systemcheck.sh /home/walterh/backup_bsd.sh >> >> which should of course have been: >> /home/walterh/bin/exports.sh /home/walterh/bin/backup_etc.sh >> /home/walterh/bin/systemcheck.sh /home/walterh/bin/backup_bsd.sh >> >> What a stupid mistake! Thanks for all the replies, but I must say sorry >> for wasting your time. Sorry! >> >> WH > > ... Damned those full path names. Actually, given that PATH i specified in the crontab, I don't think the full pathnames are needed. I'll try that next. When I finally have this cracked, I can add the rest of the cron jobs. $ crontab -l SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ walterh/bin HOME=/home/walterh PGHOST=jupiter #min hr dom month dow command 00 02 * * * /home/walterh/bin/exports.sh 05 02 * * * /home/walterh/bin/backup_etc.sh 10 02 * * * /home/walterh/bin/systemcheck.sh 15 02 * * * /home/walterh/bin/backup_bsd.sh $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On 6/13/2012 6:23 PM, Walter Hurry wrote: > On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: > >> The syntax of his crontab file is correct. Vixie cron does care about >> leading spaces, tabs, extra spaces, or leading zeros. Earlier versions >> of cron are much pickier about the crontab file. The cron logs show >> that it is starting his jobs at the correct times. >> >> It is far more likely that there is a problem with the scripts. A very >> common cause of problems with scripts run from cron is that they do not >> inherit your environment. Do the scripts run from the command line? >> If the do, then the problem is most likely something in your environment >> that the scripts need. > > I'm a complete idiot, and I feel embarrassed. Everything was fine, except > that I had missed out '/bin' in the paths of the jobs. > > I had: > /home/walterh/exports.sh > /home/walterh/backup_etc.sh > /home/walterh/systemcheck.sh > /home/walterh/backup_bsd.sh > > which should of course have been: > /home/walterh/bin/exports.sh > /home/walterh/bin/backup_etc.sh > /home/walterh/bin/systemcheck.sh > /home/walterh/bin/backup_bsd.sh > > What a stupid mistake! Thanks for all the replies, but I must say sorry > for wasting your time. Sorry! > > WH ... Damned those full path names. -- Keep well, Chris <>< ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Tue, 12 Jun 2012 12:21:31 -0500, Dan Lists wrote: > The syntax of his crontab file is correct. Vixie cron does care about > leading spaces, tabs, extra spaces, or leading zeros. Earlier versions > of cron are much pickier about the crontab file. The cron logs show > that it is starting his jobs at the correct times. > > It is far more likely that there is a problem with the scripts. A very > common cause of problems with scripts run from cron is that they do not > inherit your environment. Do the scripts run from the command line? > If the do, then the problem is most likely something in your environment > that the scripts need. I'm a complete idiot, and I feel embarrassed. Everything was fine, except that I had missed out '/bin' in the paths of the jobs. I had: /home/walterh/exports.sh /home/walterh/backup_etc.sh /home/walterh/systemcheck.sh /home/walterh/backup_bsd.sh which should of course have been: /home/walterh/bin/exports.sh /home/walterh/bin/backup_etc.sh /home/walterh/bin/systemcheck.sh /home/walterh/bin/backup_bsd.sh What a stupid mistake! Thanks for all the replies, but I must say sorry for wasting your time. Sorry! WH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Tue, Jun 12, 2012 at 12:06 PM, Polytropon wrote: > On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote: >> On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi >> wrote: >> >> > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- >> > you >> > are *strongly* encocuraged to remove them. Yes, that means numbers will >> > not >> > be column aligned, but it is a small price to pay to avoid the >> > hair-tearing >> > that =will= ensue when using it bites you. >> >> Any other info on this? I've never heard of this before and I've never >> seen an issue using leading zeroes on the minutes value. > > There are some "specific interpretations" that _may_ be > interpreted according to the C rules, e. g. prefix 0x- > for hexadecimal or 08- for octal notation. For example, > 083 != 83, just as 0x83 != 83. As it has been mentioned, > spaces also have a significant meaning in crontabs, so > they cannot be used everywhere to align data columns. > The syntax of his crontab file is correct. Vixie cron does care about leading spaces, tabs, extra spaces, or leading zeros. Earlier versions of cron are much pickier about the crontab file. The cron logs show that it is starting his jobs at the correct times. It is far more likely that there is a problem with the scripts. A very common cause of problems with scripts run from cron is that they do not inherit your environment. Do the scripts run from the command line? If the do, then the problem is most likely something in your environment that the scripts need. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Tue, 12 Jun 2012 08:29:02 -0500, Mark Felder wrote: > On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi > wrote: > > > Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- > > you > > are *strongly* encocuraged to remove them. Yes, that means numbers will > > not > > be column aligned, but it is a small price to pay to avoid the > > hair-tearing > > that =will= ensue when using it bites you. > > Any other info on this? I've never heard of this before and I've never > seen an issue using leading zeroes on the minutes value. There are some "specific interpretations" that _may_ be interpreted according to the C rules, e. g. prefix 0x- for hexadecimal or 08- for octal notation. For example, 083 != 83, just as 0x83 != 83. As it has been mentioned, spaces also have a significant meaning in crontabs, so they cannot be used everywhere to align data columns. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Tue, 12 Jun 2012 09:36:37 -0500, Lowell Gilbert wrote: I don't have ready access to source at the moment, but I would expect (like the normal C I/O functions) it will be interpreted as octal. Suppose we could always ask Paul Vixie :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
Mark Felder writes: > On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi > wrote: > >> Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- >> you >> are *strongly* encocuraged to remove them. Yes, that means numbers >> will not >> be column aligned, but it is a small price to pay to avoid the >> hair-tearing >> that =will= ensue when using it bites you. > > Any other info on this? I've never heard of this before and I've never > seen an issue using leading zeroes on the minutes value. I don't have ready access to source at the moment, but I would expect (like the normal C I/O functions) it will be interpreted as octal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Tue, 12 Jun 2012 00:06:21 -0500, Robert Bonomi wrote: Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- you are *strongly* encocuraged to remove them. Yes, that means numbers will not be column aligned, but it is a small price to pay to avoid the hair-tearing that =will= ensue when using it bites you. Any other info on this? I've never heard of this before and I've never seen an issue using leading zeroes on the minutes value. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On 11/06/2012 23:10, Michael Sierchio wrote: On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry wrote: As the subject says, this is probably a newbie question (I am new to FreeBSD but quite experienced at Linux). FreeBSD9 on x86_64. Cron is running: $ ps -ax|grep cron 1513 ?? Is 0:00.01 /usr/sbin/cron -s 2283 0 S+ 0:00.00 grep cron $ I have a syntactically valid crontab: $ crontab -l #min hr dom month dow command SHELL=/bin/bash Pitfall: Even if bash is installed, it's not usually under /bin, but under /usr/local/bin PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ daddy/bin HOME=/home/walterh 00 02 * * * /home/walterh/exports.sh 05 02 * * * /home/walterh/backup_etc.sh 10 02 * * * /home/walterh/systemcheck.sh 15 02 * * * /home/walterh/backup_bsd.sh $ So what is wrong? Why is nothing happening? I have consulted the handbook but see nothing. Have you installed bash? It's not in the system base. What's in your shell scripts? - M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
Walter Hurry wrote: > > As the subject says, this is probably a newbie question (I am new to > FreeBSD but quite experienced at Linux). > > FreeBSD9 on x86_64. > > Cron is running: > > $ ps -ax|grep cron > > 1513 ?? Is 0:00.01 /usr/sbin/cron -s > > 2283 0 S+ 0:00.00 grep cron > > $ > > I have a syntactically valid crontab: 'Syntactically valid', yes, but I believe "it does not mean what you think it does" applies. more below. > $ crontab -l > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > 00 02 * * * /home/walterh/exports.sh > > 05 02 * * * /home/walterh/backup_etc.sh > > 10 02 * * * /home/walterh/systemcheck.sh > > 15 02 * * * /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. It _appears_ that there is whitespace _before_ the purporte 'minutes' value on each line that you intend to invoke a command. If so, -THAT- is probably what is causinng the unexpected behavior. I believe cron is looking for the 'minutes' value _before_ any white space, and using a value of '0' when it finds 'nothing' before the white-space Field-separator. That, thus, the all the commands run at 'zero minutes' past the various hours, on the -second- day of the month, and that command-line that cron would -attempt- to execute on the 2nd looks like, "* /home/walterh/systemcheck.sh", which, of course will have *wildly* unexpected results, epecially if the first element of the '*' expansion _is_ marked as executable. Remove the leading white-space and things should work the way you 'expect'. Comment: using a leading zero on the numeric fields is a BAD IDEA(tm) -- you are *strongly* encocuraged to remove them. Yes, that means numbers will not be column aligned, but it is a small price to pay to avoid the hair-tearing that =will= ensue when using it bites you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On 6/11/2012 9:25 PM, Walter Hurry wrote: > On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote: > >> Have you installed bash? It's not in the system base. >> >> What's in your shell scripts? > > Thanks for the quick response. > > $ pkg_info|grep bash > > bash-4.2.28 The GNU Project's Bourne Again SHell > > $ which bash > > /bin/bash > > $ > > $ less $HOME/bin/exports.sh > > #!/bin/bash > > LOG=$HOME/log/exports.log > > logger -t walterh-cronjob Exports started > > echo Exports started at `date` > $LOG > > rm $HOME/postgresql/* > > psql packages -f $HOME/sql/exports.sql > > cd $HOME/postgresql > > tar cfz postgresql.tgz * > > rm *csv > > echo Exports finished at `date` >> $LOG > > logger -t walterh-cronjob Exports finished > > /home/walterh/bin/exports.sh (END) > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > > I tend to use full path names in my shell scripts. So for shits n giggles, try that. Instead of tar cfz postgresql.tgz * Try /bin/tar cfz postgresql.tgz * etc, etc, etc Use the paths for all commands such as rm, psql, logger etc. -- Keep well, Chris <>< ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 19:36:28 -0700, Michael Sierchio wrote: > cat /etc/shells $ cat /etc/shells # $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $ # # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/sh /bin/csh /bin/tcsh /usr/local/bin/bash /usr/local/bin/rbash $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 21:21:12 -0500, Adam Vande More wrote: > You really have bash in /bin ? Are your scripts executable? What does > /var/log/cron say? $ file /bin/bash /bin/bash: symbolic link to `/usr/local/bin/bash' $ sudo tail -50 /var/log/cron (result snipped at 02:22:00 for brevity) Jun 12 01:55:00 jupiter /usr/sbin/cron[1780]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1823]: (root) CMD (newsyslog) Jun 12 02:00:00 jupiter /usr/sbin/cron[1825]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:00:00 jupiter /usr/sbin/cron[1824]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:00:00 jupiter /usr/sbin/cron[1836]: (walterh) CMD (/home/ walterh/exports.sh) Jun 12 02:01:00 jupiter /usr/sbin/cron[1849]: (root) CMD (adjkerntz -a) Jun 12 02:05:00 jupiter /usr/sbin/cron[1874]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:05:00 jupiter /usr/sbin/cron[1875]: (walterh) CMD (/home/ walterh/backup_etc.sh) Jun 12 02:10:00 jupiter /usr/sbin/cron[1912]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:10:00 jupiter /usr/sbin/cron[1913]: (walterh) CMD (/home/ walterh/systemcheck.sh) Jun 12 02:11:00 jupiter /usr/sbin/cron[1924]: (operator) CMD (/usr/ libexec/save-entropy) Jun 12 02:15:00 jupiter /usr/sbin/cron[1981]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:15:00 jupiter /usr/sbin/cron[1982]: (walterh) CMD (/home/ walterh/backup_bsd.sh) Jun 12 02:20:00 jupiter /usr/sbin/cron[2013]: (root) CMD (/usr/libexec/ atrun) Jun 12 02:22:00 jupiter /usr/sbin/cron[2025]: (operator) CMD (/usr/ libexec/save-entropy) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, Jun 11, 2012 at 7:25 PM, Walter Hurry wrote: cat /etc/shells ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, 11 Jun 2012 19:10:21 -0700, Michael Sierchio wrote: > Have you installed bash? It's not in the system base. > > What's in your shell scripts? Thanks for the quick response. $ pkg_info|grep bash bash-4.2.28 The GNU Project's Bourne Again SHell $ which bash /bin/bash $ $ less $HOME/bin/exports.sh #!/bin/bash LOG=$HOME/log/exports.log logger -t walterh-cronjob Exports started echo Exports started at `date` > $LOG rm $HOME/postgresql/* psql packages -f $HOME/sql/exports.sql cd $HOME/postgresql tar cfz postgresql.tgz * rm *csv echo Exports finished at `date` >> $LOG logger -t walterh-cronjob Exports finished /home/walterh/bin/exports.sh (END) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, Jun 11, 2012 at 9:04 PM, Walter Hurry wrote: > > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > 00 02 * * * /home/walterh/exports.sh > > 05 02 * * * /home/walterh/backup_etc.sh > > 10 02 * * * /home/walterh/systemcheck.sh > > 15 02 * * * /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. > You really have bash in /bin ? Are your scripts executable? What does /var/log/cron say? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Newbie question: Why aren't my cron jobs running?
On Mon, Jun 11, 2012 at 7:04 PM, Walter Hurry wrote: > As the subject says, this is probably a newbie question (I am new to > FreeBSD but quite experienced at Linux). > > FreeBSD9 on x86_64. > > Cron is running: > > $ ps -ax|grep cron > > 1513 ?? Is 0:00.01 /usr/sbin/cron -s > > 2283 0 S+ 0:00.00 grep cron > > $ > > I have a syntactically valid crontab: > > $ crontab -l > #min hr dom month dow command > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ > daddy/bin > > HOME=/home/walterh > > 00 02 * * * /home/walterh/exports.sh > > 05 02 * * * /home/walterh/backup_etc.sh > > 10 02 * * * /home/walterh/systemcheck.sh > > 15 02 * * * /home/walterh/backup_bsd.sh > > $ > > So what is wrong? Why is nothing happening? I have consulted the handbook > but see nothing. Have you installed bash? It's not in the system base. What's in your shell scripts? - M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Newbie question: Why aren't my cron jobs running?
As the subject says, this is probably a newbie question (I am new to FreeBSD but quite experienced at Linux). FreeBSD9 on x86_64. Cron is running: $ ps -ax|grep cron 1513 ?? Is 0:00.01 /usr/sbin/cron -s 2283 0 S+ 0:00.00 grep cron $ I have a syntactically valid crontab: $ crontab -l #min hr dom month dow command SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ daddy/bin HOME=/home/walterh 00 02 * * * /home/walterh/exports.sh 05 02 * * * /home/walterh/backup_etc.sh 10 02 * * * /home/walterh/systemcheck.sh 15 02 * * * /home/walterh/backup_bsd.sh $ So what is wrong? Why is nothing happening? I have consulted the handbook but see nothing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: zfs newbie question
On 05/26/11 17:29, a.sm...@ukgrid.net wrote: Hi, zpool create is a destructive command to data on the disks, ie any preexisting pool, but it would normally warn you if it found an existing pool on the disks you are trying to use. Run: # zpool import and it will scan any attached disks for pools that are importable, if it detects your old pool then you can import it again via the zpool import command, cheers Andy. thank u vm took 2secs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: zfs newbie question
Hi, zpool create is a destructive command to data on the disks, ie any preexisting pool, but it would normally warn you if it found an existing pool on the disks you are trying to use. Run: # zpool import and it will scan any attached disks for pools that are importable, if it detects your old pool then you can import it again via the zpool import command, cheers Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
zfs newbie question
hi, i have a new fbsd-8.2 install (dual boot with win7, just desktop general use) on entirely ufs disk, and am not sure how to mount a zfs formatted disk from a previous install, without loosing what is on there. (freebsd-zfs). in short, the zfs disk was from a previous freebsd install, same version, just needed to wipe/reinstall, which was also entirely ufs. To try out zfs i used a full separate disk, partiitoned and setup as freebsd-zfs through gpt, then created the pool specifying it. i.e zpool create foo /dev/ad10. atm i dont have a pool at all and dont know if i use that command, if it will simple create one and mount ad10, retaining the data on it or whether that will just reinitialise, wiping the data in the process. to avoid surprises, i have been looking around to see if u can create an empty pool (without specifying disk space or w/e), then try the ‘add’ command instead, to add it there, but i dont see that thats possible so far; and i dont have spare space to use in creating a new pool. so, is it entirely safe to use zpool create foo /dev/ad10 to mount it and retain data, or is there some way to create an empty pool? thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Newbie question about ASYNC communication with FTDI-based device (via uftdi)
Hi, I'm trying to hack the code of tbancontrol, a linux tool used to control t-balancer fan controllers that use FTDI FT232BL chips. It seems to be working fine on linux, but when I try to use it on FreeBSD, I noticed that read calls fail with "Interruted system call". It seems there is something wrong with the SIGIO signal since it is generated as soon as tcsetattr is called. I guess there must be something wrong with either the way the device is opened or (more likely) the way the descriptor is configured, but I have very little experience with serial communication... Here is the main lines of the code related to initialization: tban->port = open("/dev/ttyU0", O_RDWR | O_NOCTTY | O_NONBLOCK); ... saio.sa_handler = tban_signal_handler_IO; result = sigemptyset(&saio.sa_mask); saio.sa_flags = 0; result = sigaction(SIGIO, &saio, NULL); result = fcntl(tban->port, F_SETFL, FASYNC); ... tcgetattr(tban->port, &(tban->oldtio)); ... memcpy(&newtio,&tban->oldtio,sizeof(struct termios)); /*I added this line to avoid the error EINVAL when calling tcsetattr below. This is probably not enough to set all flags properly :S */ ... newtio.c_cflag = intToBaud(tban->baudrate) /*baudrate is 19200*/ | CRTSCTS | intToDataBits(tban->databits) /*databits is 8*/ | intToStopBits(tban->stopBits) /*stopBits is 0*/ | CLOCAL | CREAD; newtio.c_iflag = IGNPAR; newtio.c_oflag = 0; newtio.c_lflag = 0; newtio.c_cc[VMIN] = 1; newtio.c_cc[VTIME] = 0; ... result = tcsetattr(tban->port, TCSANOW, &newtio); /*SIGIO is generated (?)*/ ... result = write(tban->port, sndBuf, cmdLen); /*request device status*/ ... /*Initialize data availability flag to false*/ /*sleep 1 second*/ /*SIGIO is generated */ bytesread = read(tban->port, local_buf, sizeof(local_buf)); /*bytesread is -1, EINTR is generated*/ So does anybody know what could be wrong in this code? Thanks a lot! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
boot-time daemon startup (was Re: Newbie question)
"Gary Hartl" <[EMAIL PROTECTED]> writes: > I've been out of the bsd loop for a bit, i'm trying to setup nagios which is > fine > > > > There are a couple of settings that I either don't remember or never > remembered and forgot that I never knew it. > > > > Ok so nagios is asking me for an rc.d path, which if i recall FBSD doesn't > use it is a linux script path for starting services at different run levels. Any reason you're not installing it from the port? Someone has already done the porting effort for you. FreeBSD doesn't use runlevels in that sense, but it does have a fairly involved rc.d facility. Try "man rc.d". > So does FBSD emulate it for certain packages cause Nagios finds it at > /usr/local/etc/rc.d but the only thing i have in it is webmin.sh which is > for my webmin interface (although I must confess I'm not sure why it is > there or what it is doing). Presumably you installed webmin from the ports system? > I must also admit i feel rather retarded, since I used to know this stuff > like the back of my hand, but it's been 6-7 years since i've been actively > using FBSD but am looking to get back into it. That's okay; things haven't stayed static in the FreeBSD world anyway. > Rc.d anyone? On FreeBSD? Everyone, pretty much. > My assumption is that FBSD is using inetd for starting services correct? No. inetd isn't even started these days unless you override FreeBSD's defaults on purpose. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question
On Tue, Nov 18, 2008 at 5:41 PM, Gary Hartl <[EMAIL PROTECTED]> wrote: > Hi all; > > > > Quick newbie question. > > > > I've been out of the bsd loop for a bit, i'm trying to setup nagios which > is > fine > > > > There are a couple of settings that I either don't remember or never > remembered and forgot that I never knew it. > > > > Ok so nagios is asking me for an rc.d path, which if i recall FBSD doesn't > use it is a linux script path for starting services at different run > levels. > > > > So does FBSD emulate it for certain packages cause Nagios finds it at > /usr/local/etc/rc.d but the only thing i have in it is webmin.sh which is > for my webmin interface (although I must confess I'm not sure why it is > there or what it is doing). > > > > I must also admit i feel rather retarded, since I used to know this stuff > like the back of my hand, but it's been 6-7 years since i've been actively > using FBSD but am looking to get back into it. > > > > Rc.d anyone? > > > > My assumption is that FBSD is using inetd for starting services correct? > > > > Thanks > > > > Gary > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" No FreeBSD uses rc.d it's where the rc.d actually came from. for ports it's /usr/local/etc/rc.d for system scripts it's /etc/rc.d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question
Hi all; Quick newbie question. I've been out of the bsd loop for a bit, i'm trying to setup nagios which is fine There are a couple of settings that I either don't remember or never remembered and forgot that I never knew it. Ok so nagios is asking me for an rc.d path, which if i recall FBSD doesn't use it is a linux script path for starting services at different run levels. So does FBSD emulate it for certain packages cause Nagios finds it at /usr/local/etc/rc.d but the only thing i have in it is webmin.sh which is for my webmin interface (although I must confess I'm not sure why it is there or what it is doing). I must also admit i feel rather retarded, since I used to know this stuff like the back of my hand, but it's been 6-7 years since i've been actively using FBSD but am looking to get back into it. Rc.d anyone? My assumption is that FBSD is using inetd for starting services correct? Thanks Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add (Canhua)
> > > -- > > Message: 2 > Date: Wed, 29 Oct 2008 18:12:52 +0800 > From: Canhua <[EMAIL PROTECTED]> > Subject: Re: Newbie question about pkg_add > To: "Steven Susbauer" <[EMAIL PROTECTED]> > Cc: freebsd-questions@freebsd.org > Message-ID: ><[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > On Wed, Oct 29, 2008 at 1:07 PM, Steven Susbauer > <[EMAIL PROTECTED]> wrote: > > ports-mgmt/portupgrade is a useful tool for easily getting packages and > > ports, it includes the tool portinstall which does what it says it does. > > By running "portinstall -P pkgname", it will install a port and > > dependencies with packages if available, otherwise they are built from > > source. > > > > portsman and portmanager are some other frontend tools that can help > > with package administration, it's really up to your own tastes. > > > > -Steve> > > I tried portinstall, although dependecies are install with port sources > still. > It take me a whole afternoon to portinstall math/py-neworkx, and it > still doesn't complete as yet. > > Go to sleep! it will be ready in the morning maybe! {:) *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
On Wed, 2008-10-29 at 22:41 +0800, Canhua wrote: > Wonderful place~ thank you > > However I could not pkg_add py25-networkx still, being told that > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/py25-networkx.tbz' > by URL Oh, sorry. I didn't realize that you wanted a package built for 7.0-RELEASE. Indeed, there isn't a package of this port built for this release, so you might want to get packages from the 'packages-7-stable' directory[1][2]. This particular port seems to have been added to the ports tree after the release of FreeBSD 7.0. Of course, you can build it yourself from your ports tree. [1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html [2]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ -- Thiago R. Santos <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
On Wed, Oct 29, 2008 at 9:18 PM, Thiago R. Santos <[EMAIL PROTECTED]> wrote: > On Wed, 2008-10-29 at 11:14 +0800, Canhua wrote: >> Hi, good day all. I am new to FreeBSD. >> I tried to pkg_add -r a package (py-networkx), which tell me that: >> Error: FTP Unable to get ftp://ftp.freebsd.org/pub/ >> FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz: >> File unavailable (e.g., file not found, no access) >> >> although I know that py-network does exist in /usr/ports. >> Actually I could go to /usr/ports/math/py-networkx and make install >> using ports means. >> >> Then I could learn from this that there are softwares that could be >> install from ports while not able to be added from package system? >> Am I right? > > The package name of this port is 'py25-networkx'. You can use the > Freshports.org search to find the package names. Wonderful place~ thank you However I could not pkg_add py25-networkx still, being told that pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/py25-networkx.tbz' by URL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
On Wed, 2008-10-29 at 11:14 +0800, Canhua wrote: > Hi, good day all. I am new to FreeBSD. > I tried to pkg_add -r a package (py-networkx), which tell me that: > Error: FTP Unable to get ftp://ftp.freebsd.org/pub/ > FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz: > File unavailable (e.g., file not found, no access) > > although I know that py-network does exist in /usr/ports. > Actually I could go to /usr/ports/math/py-networkx and make install > using ports means. > > Then I could learn from this that there are softwares that could be > install from ports while not able to be added from package system? > Am I right? The package name of this port is 'py25-networkx'. You can use the Freshports.org search to find the package names. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Thiago R. Santos <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
On Wed, Oct 29, 2008 at 1:07 PM, Steven Susbauer <[EMAIL PROTECTED]> wrote: > ports-mgmt/portupgrade is a useful tool for easily getting packages and > ports, it includes the tool portinstall which does what it says it does. > By running "portinstall -P pkgname", it will install a port and > dependencies with packages if available, otherwise they are built from > source. > > portsman and portmanager are some other frontend tools that can help > with package administration, it's really up to your own tastes. > > -Steve> I tried portinstall, although dependecies are install with port sources still. It take me a whole afternoon to portinstall math/py-neworkx, and it still doesn't complete as yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
Jeremy Chadwick wrote: On Wed, Oct 29, 2008 at 11:14:34AM +0800, Canhua wrote: Hi, good day all. I am new to FreeBSD. I tried to pkg_add -r a package (py-networkx), which tell me that: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/ FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz: File unavailable (e.g., file not found, no access) although I know that py-network does exist in /usr/ports. Actually I could go to /usr/ports/math/py-networkx and make install using ports means. Then I could learn from this that there are softwares that could be install from ports while not able to be added from package system? Am I right? Correct -- not every port has a package. ports-mgmt/portupgrade is a useful tool for easily getting packages and ports, it includes the tool portinstall which does what it says it does. By running "portinstall -P pkgname", it will install a port and dependencies with packages if available, otherwise they are built from source. portsman and portmanager are some other frontend tools that can help with package administration, it's really up to your own tastes. -Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question about pkg_add
On Wed, Oct 29, 2008 at 11:14:34AM +0800, Canhua wrote: > Hi, good day all. I am new to FreeBSD. > I tried to pkg_add -r a package (py-networkx), which tell me that: > Error: FTP Unable to get ftp://ftp.freebsd.org/pub/ > FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz: > File unavailable (e.g., file not found, no access) > > although I know that py-network does exist in /usr/ports. > Actually I could go to /usr/ports/math/py-networkx and make install > using ports means. > > Then I could learn from this that there are softwares that could be > install from ports while not able to be added from package system? > Am I right? Correct -- not every port has a package. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question about pkg_add
Hi, good day all. I am new to FreeBSD. I tried to pkg_add -r a package (py-networkx), which tell me that: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/ FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz: File unavailable (e.g., file not found, no access) although I know that py-network does exist in /usr/ports. Actually I could go to /usr/ports/math/py-networkx and make install using ports means. Then I could learn from this that there are softwares that could be install from ports while not able to be added from package system? Am I right? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
i2c driver newbie question
Can anybody help my to write i2c drivers for saa7146 ? I do not good understand how to connect this device to existing iicbus infrastructure. I do: static device_method_t saa7146_i2c_methods[] = { /* device interface */ DEVMETHOD(device_probe, saa7146_i2c_probe), DEVMETHOD(device_attach,saa7146_i2c_attach), DEVMETHOD(device_detach,saa7146_i2c_detach), /* iicbus interface */ DEVMETHOD(iicbus_callback, iicbus_null_callback), DEVMETHOD(iicbus_repeated_start, saa7146_i2c_repeated_start), DEVMETHOD(iicbus_start, saa7146_i2c_start), DEVMETHOD(iicbus_stop, saa7146_i2c_stop), DEVMETHOD(iicbus_write, saa7146_i2c_write), DEVMETHOD(iicbus_read, saa7146_i2c_read), DEVMETHOD(iicbus_reset, saa7146_i2c_rst_card), { 0, 0 } }; static int saa7146_i2c_probe(device_t dev) { ... } static int saa7146_i2c_attach(device_t dev) { //... Allocation of some resources //add child if ((sc->i2c_dev = device_add_child(dev, "iicbus", -1)) == NULL) device_printf(dev, "could not allocate iicbus instance\n"); bus_generic_attach(dev); device_printf(dev, "%s complite\n", __FUNCTION__); return (0); } static int saa7146_i2c_start (device_t dev, u_char slave, int timeout) { .. } . DRIVER_MODULE (saa7146_i2c, pci, saa7146_i2c_driver, saa7146_i2c_devclass, 0, 0); MODULE_DEPEND (saa7146_i2c, iicbus, SAA7146_I2C_MINVER, SAA7146_I2C_PREFVER, SAA7146_I2C_MAXVER); MODULE_VERSION (saa7146_i2c, SAA7146_I2C_MODVER); But this now work. Сhild-device do not use any resource and is no active, and calling any method of this device lead to panic. What do I do wrong? Thanks, Artem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Su newbie question
> But that may not be the best way. You really don't want to spread > root accounts around a lot. One alternative might be setting up > sudo to allow the specific things that this other person needs to do. > sudo woul dbe the right way to do: you have fine choice on the various priviledges you give to the various people; each sudo command is logged so you can trace back in case of problem; you use your own password to sudo so you are not tempted to give it away to another user, even temporar. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Su newbie question
On Mon, May 28, 2007 at 12:58:51PM -0400, Ian Lord wrote: > Hi, > > A real dumb question today : Ive always been the only administrator of > servers I installed so I never searched too much on the topic > > A new employee has joined the team and he will need to administer the > servers (compile ports, etc) > > Usually, I do a su when I need to do these tasks, so I wonder if everybody > needs to know that password or if he could have his own password to su ? It is possible for there to be more than one account that is root. Just make it have UID 0 and GID 0. Use vipw to do that. It is common to make an R id as root for a person. - Say the regular id is joe then you might make an Rjoe account with UID and GID of 0. But that may not be the best way. You really don't want to spread root accounts around a lot. One alternative might be setting up sudo to allow the specific things that this other person needs to do. jerry > > Thanks > > ~~ > > Ian Lord > > MSD Informatique > > 1711 Montée Major Terrebonne (Québec) J7M 1E6 > > Tél: (514) 776-MSDI -> (514) 776-6734 > > Sans Frais: 1(877) 776-MSDI -> 1(877) 776-6734 > > http://www.msdi.ca > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Su newbie question
Ian Lord wrote: Hi, A real dumb question today : I’ve always been the only administrator of servers I installed so I never searched too much on the topic… A new employee has joined the team and he will need to administer the servers (compile ports, etc) Usually, I do a su when I need to do these tasks, so I wonder if everybody needs to know that password or if he could have his own password to su ? Thanks sudo's a better idea. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Su newbie question
Hi, A real dumb question today : Ive always been the only administrator of servers I installed so I never searched too much on the topic A new employee has joined the team and he will need to administer the servers (compile ports, etc) Usually, I do a su when I need to do these tasks, so I wonder if everybody needs to know that password or if he could have his own password to su ? Thanks ~~ Ian Lord MSD Informatique 1711 Montée Major Terrebonne (Québec) J7M 1E6 Tél: (514) 776-MSDI -> (514) 776-6734 Sans Frais: 1(877) 776-MSDI -> 1(877) 776-6734 http://www.msdi.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Newbie Question: Mail from from cron jobs...
Thanks a lot, it works perfectly. I'm starting to think it was not that much of a newbie question since you are the first one to give a working answer :) Thanks again -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 12:22 To: Ian Lord Cc: 'Oliver Peter'; 'Jerry McAllister'; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... On 2007-05-16 03:21, Ian Lord <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Oliver Peter [mailto:[EMAIL PROTECTED] > Sent: 16 mai 2007 03:18 > To: Jerry McAllister > Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org > Subject: Re: Newbie Question: Mail from from cron jobs... > > > Look in the file /etc/mail/aliases > > > > > > You can alias root to go to your favorite address. > > > Don't forget to run newaliases(1) after editing the file. > > > > > > Of course, doing this will mean that all mail to root will > > > go to you. > > > > Hhm. I thought the problem was that you would like to change the From: > > of those e-mails not the To: ? > > Exactly... I receive the emails since I correctly configured my aliases to > redirect all mails externally... > > The problem I have is with the from... > > Someone told me to change the hostname in rc.conf, that won't work since I > have 4 machines: > > Machine1.mydomain.com > Machine2.mydomain.com > Machine3.mydomain.com > Machine4.mydomain.com > > I want the mail from to be > [EMAIL PROTECTED] not [EMAIL PROTECTED] You have to enable 'masquerading' and (optionally) `genericstable' for this sort of email address rewriting to work. Here's a commented/example sendmail.mc snippet for that: dnl Address masquerading. dnl dnl Making sure that all email that passes through my desktop's dnl Sendmail installation is masqueraded as coming from dnl `kobe.laptop', even if its original address is something dnl slightly different (i.e. `ftp.laptop' or `mail.laptop'), is ok dnl here. It ensures that address rewriting and translation through dnl `genericstable' will also work for all `*.laptop' host names. dnl dnl To make sure that remote hosts don't get a MAIL FROM address dnl from a hostname that doesn't resolve, envelope addresses are dnl masqueraded here too, and then get rewritten by `genericstable' dnl to real-world addresses. dnl MASQUERADE_AS(`kobe.laptop') FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') dnl Rewriting the envelope-from address of all outgoing messages dnl through a `genericstable' lookup ensures that envelope-from dnl addresses seen by relay hosts are real, i.e. have an address dnl of [EMAIL PROTECTED]' instead of the default dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use. dnl dnl This is required some times, to avoid getting bounces for dnl messages from ISP mail relays that are misconfigured or are too dnl strict about what can appear in a MAIL FROM command. dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable') GENERICS_DOMAIN(`kobe.laptop') FEATURE(`generics_entire_domain') Here `kobe.laptop' is my laptop's hostname, and I have enabled address rewriting for some local email addresses by: % cat /etc/mail/genericstable # # Address rewriting of outgoing email messages. # [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] % You will have to use a similar setup to change the envelope-from and header-from address of the outgoing messages your mail server sends. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question: Mail from from cron jobs...
On 2007-05-16 03:21, Ian Lord <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Oliver Peter [mailto:[EMAIL PROTECTED] > Sent: 16 mai 2007 03:18 > To: Jerry McAllister > Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org > Subject: Re: Newbie Question: Mail from from cron jobs... > > > Look in the file /etc/mail/aliases > > > > > > You can alias root to go to your favorite address. > > > Don't forget to run newaliases(1) after editing the file. > > > > > > Of course, doing this will mean that all mail to root will > > > go to you. > > > > Hhm. I thought the problem was that you would like to change the From: > > of those e-mails not the To: ? > > Exactly... I receive the emails since I correctly configured my aliases to > redirect all mails externally... > > The problem I have is with the from... > > Someone told me to change the hostname in rc.conf, that won't work since I > have 4 machines: > > Machine1.mydomain.com > Machine2.mydomain.com > Machine3.mydomain.com > Machine4.mydomain.com > > I want the mail from to be > [EMAIL PROTECTED] not [EMAIL PROTECTED] You have to enable 'masquerading' and (optionally) `genericstable' for this sort of email address rewriting to work. Here's a commented/example sendmail.mc snippet for that: dnl Address masquerading. dnl dnl Making sure that all email that passes through my desktop's dnl Sendmail installation is masqueraded as coming from dnl `kobe.laptop', even if its original address is something dnl slightly different (i.e. `ftp.laptop' or `mail.laptop'), is ok dnl here. It ensures that address rewriting and translation through dnl `genericstable' will also work for all `*.laptop' host names. dnl dnl To make sure that remote hosts don't get a MAIL FROM address dnl from a hostname that doesn't resolve, envelope addresses are dnl masqueraded here too, and then get rewritten by `genericstable' dnl to real-world addresses. dnl MASQUERADE_AS(`kobe.laptop') FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') dnl Rewriting the envelope-from address of all outgoing messages dnl through a `genericstable' lookup ensures that envelope-from dnl addresses seen by relay hosts are real, i.e. have an address dnl of [EMAIL PROTECTED]' instead of the default dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use. dnl dnl This is required some times, to avoid getting bounces for dnl messages from ISP mail relays that are misconfigured or are too dnl strict about what can appear in a MAIL FROM command. dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable') GENERICS_DOMAIN(`kobe.laptop') FEATURE(`generics_entire_domain') Here `kobe.laptop' is my laptop's hostname, and I have enabled address rewriting for some local email addresses by: % cat /etc/mail/genericstable # # Address rewriting of outgoing email messages. # [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] % You will have to use a similar setup to change the envelope-from and header-from address of the outgoing messages your mail server sends. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question: Mail from from cron jobs...
On 5/16/07, Ian Lord <[EMAIL PROTECTED]> wrote: -Original Message- From: Oliver Peter [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 03:18 To: Jerry McAllister Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote: > On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: > > > On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > > > ... > > > > > > Where can I change the address [EMAIL PROTECTED] to > > > [EMAIL PROTECTED] ? > > Look in the file /etc/mail/aliases > > You can alias root to go to your favorite address. > Don't forget to run newaliases(1) after editing the file. > > Of course, doing this will mean that all mail to root will > go to you. Hhm. I thought the problem was that you would like to change the From: of those e-mails not the To: ? -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." ~~~ Exactly... I receive the emails since I correctly configured my aliases to redirect all mails externally... The problem I have is with the from... Someone told me to change the hostname in rc.conf, that won't work since I have 4 machines: Machine1.mydomain.com Machine2.mydomain.com Machine3.mydomain.com Machine4.mydomain.com I want the mail from to be [EMAIL PROTECTED] not [EMAIL PROTECTED] ... Not too sure where to look into to fix this ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Try checking /etc/rc.conf for your hostname var. Also, /etc/hosts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Newbie Question: Mail from from cron jobs...
-Original Message- From: Oliver Peter [mailto:[EMAIL PROTECTED] Sent: 16 mai 2007 03:18 To: Jerry McAllister Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org Subject: Re: Newbie Question: Mail from from cron jobs... On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote: > On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: > > > On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > > > ... > > > > > > Where can I change the address [EMAIL PROTECTED] to > > > [EMAIL PROTECTED] ? > > Look in the file /etc/mail/aliases > > You can alias root to go to your favorite address. > Don't forget to run newaliases(1) after editing the file. > > Of course, doing this will mean that all mail to root will > go to you. Hhm. I thought the problem was that you would like to change the From: of those e-mails not the To: ? -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." ~~~ Exactly... I receive the emails since I correctly configured my aliases to redirect all mails externally... The problem I have is with the from... Someone told me to change the hostname in rc.conf, that won't work since I have 4 machines: Machine1.mydomain.com Machine2.mydomain.com Machine3.mydomain.com Machine4.mydomain.com I want the mail from to be [EMAIL PROTECTED] not [EMAIL PROTECTED] ... Not too sure where to look into to fix this ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question: Mail from from cron jobs...
On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote: > On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: > > > On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > > > ... > > > > > > Where can I change the address [EMAIL PROTECTED] to > > > [EMAIL PROTECTED] ? > > Look in the file /etc/mail/aliases > > You can alias root to go to your favorite address. > Don't forget to run newaliases(1) after editing the file. > > Of course, doing this will mean that all mail to root will > go to you. Hhm. I thought the problem was that you would like to change the From: of those e-mails not the To: ? -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpTl4XpfObMZ.pgp Description: PGP signature
Re: Newbie Question: Mail from from cron jobs...
On Tue, 15 May 2007 12:26:36 -0400 "Ian Lord" <[EMAIL PROTECTED]> wrote: [] > The problem, is that the mail is coming from > > [EMAIL PROTECTED] > > We have a spamfirewall and it rejects the mail saying localhost.mydomain.com > is invalid. > > Where can I change the address [EMAIL PROTECTED] to > [EMAIL PROTECTED] ? Hi Ian, set your hostname in /etc/rc.conf: it probably wouldn't hurt either to have name resolution properly setup (either via DNS or hosts file) B _ {Beto|Norberto|Numard} Meijome "He has Van Gogh's ear for music." Billy Wilder I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question: Mail from from cron jobs...
On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: > On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > > ... > > > > Where can I change the address [EMAIL PROTECTED] to > > [EMAIL PROTECTED] ? Look in the file /etc/mail/aliases You can alias root to go to your favorite address. Don't forget to run newaliases(1) after editing the file. Of course, doing this will mean that all mail to root will go to you. jerry > > Did you set up your hostname correctly in /etc/rc.conf ? > Furthermore you need to tell your MTA how your hostname is called. > > -- > Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 > "Worker bees can leave. Even drones can fly away. The Queen is their slave." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question: Mail from from cron jobs...
On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > ... > > Where can I change the address [EMAIL PROTECTED] to > [EMAIL PROTECTED] ? Did you set up your hostname correctly in /etc/rc.conf ? Furthermore you need to tell your MTA how your hostname is called. -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpxSWBHHr9XK.pgp Description: PGP signature
Newbie Question: Mail from from cron jobs...
Hi, Everyday, cron is sending me status reports of jobs it ran. In my /etc/mail/aliases I configured root: [EMAIL PROTECTED] and it works fine. The problem, is that the mail is coming from [EMAIL PROTECTED] We have a spamfirewall and it rejects the mail saying localhost.mydomain.com is invalid. Where can I change the address [EMAIL PROTECTED] to [EMAIL PROTECTED] ? Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
On Mon, May 14, 2007 at 11:33:16AM -0500, Paul Schmehl wrote: > --On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister <[EMAIL PROTECTED]> > wrote: > > >On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote: > > > >>ls /dev/da0s1 > >>/dev/da0s1 > > > >Again, please do not top post. It makes it very hard to have any > >idea what you are referring to. The entire context of the > >conversation gets lost. > > > >In this case, what do you mean? > >You just did an ls of a file name and found that it responsed > >with the file name. That is normal. So, what? > > > >Try doing ls /dev/da0s* and see what you get. > > > >Secondly, nowdays, the devfs system only makes devices that are > >in use and makes them on the fly. I haven't dug around in that > >since the change since it was changed from the old MAKEDEV system > >so I may be wrong, but I would not be surprised if /dev/da0s1d was > >not there until after things were fixed up. > > > >So, try the fsck as Mikhail suggested -- with the partition name. > > > > I'm wondering if he shouldn't try umount /home first. If there is something mounted there, yes. Does df show anything mounted at /home? If so, then the umount will be helpful. But, I think the correct fsck may be the needed thing to try. jerry > > > Paul Schmehl ([EMAIL PROTECTED]) > Senior Information Security Analyst > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > If you will excuse me for now. I'm trying to solve the top-post problem. > > I lost environmental power temporarily a few days ago, and when it was > back (almost immediately), the machine restarted without any input from me. > > I had mounted to /home a 30 GB usb 2.0 hdd. > > I tried mounting again since I did not find it in df. > > The prompt is always "WARNING: /home was not properly dismounted. > > The output from dmesg is: > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: etc > WARNING: /home was not properly dismounted. > > Thank you Paul, tried umount but the result was the same. > > Tried this: > ls /dev/da0* > /dev/da0s > dev/da0s1 > dev/da0s1c dev/da0s1d This is it. Your partition is /dev/da0s1d. Just try: fsck -f /dev/da0s1d ... and then mount it. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
If you will excuse me for now. I'm trying to solve the top-post problem. I lost environmental power temporarily a few days ago, and when it was back (almost immediately), the machine restarted without any input from me. I had mounted to /home a 30 GB usb 2.0 hdd. I tried mounting again since I did not find it in df. The prompt is always "WARNING: /home was not properly dismounted. The output from dmesg is: da0 at umass-sim0 bus 0 target 0 lun 0 da0: etc WARNING: /home was not properly dismounted. Thank you Paul, tried umount but the result was the same. Tried this: ls /dev/da0* /dev/da0s dev/da0s1 dev/da0s1c dev/da0s1d Thanks in advance for any help to mount the disk again. On 5/14/07, Paul Schmehl <[EMAIL PROTECTED]> wrote: --On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister <[EMAIL PROTECTED] > wrote: > On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote: > >> ls /dev/da0s1 >> /dev/da0s1 > > Again, please do not top post. It makes it very hard to have any > idea what you are referring to. The entire context of the > conversation gets lost. > > In this case, what do you mean? > You just did an ls of a file name and found that it responsed > with the file name. That is normal. So, what? > > Try doing ls /dev/da0s* and see what you get. > > Secondly, nowdays, the devfs system only makes devices that are > in use and makes them on the fly. I haven't dug around in that > since the change since it was changed from the old MAKEDEV system > so I may be wrong, but I would not be surprised if /dev/da0s1d was > not there until after things were fixed up. > > So, try the fsck as Mikhail suggested -- with the partition name. > I'm wondering if he shouldn't try umount /home first. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ -- Regards Oscar Chavarria Mobile: +506 814-0247 *** The more I know people the more I love my FreeBSD *** --- In a world without boundaries, we don't need Windows or Gates --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
--On Monday, May 14, 2007 12:05:47 -0400 Jerry McAllister <[EMAIL PROTECTED]> wrote: On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote: ls /dev/da0s1 /dev/da0s1 Again, please do not top post. It makes it very hard to have any idea what you are referring to. The entire context of the conversation gets lost. In this case, what do you mean? You just did an ls of a file name and found that it responsed with the file name. That is normal. So, what? Try doing ls /dev/da0s* and see what you get. Secondly, nowdays, the devfs system only makes devices that are in use and makes them on the fly. I haven't dug around in that since the change since it was changed from the old MAKEDEV system so I may be wrong, but I would not be surprised if /dev/da0s1d was not there until after things were fixed up. So, try the fsck as Mikhail suggested -- with the partition name. I'm wondering if he shouldn't try umount /home first. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > ls /dev/da0s1 > /dev/da0s1 Oscar, once again, don't top-post[1] please and show us the output of: # ls /dev/da0* Regards, Mikhail. [1] - http://en.wikipedia.org/wiki/Top-post -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
On Mon, May 14, 2007 at 09:58:54AM -0600, Oscar Chavarria wrote: > ls /dev/da0s1 > /dev/da0s1 Again, please do not top post. It makes it very hard to have any idea what you are referring to. The entire context of the conversation gets lost. In this case, what do you mean? You just did an ls of a file name and found that it responsed with the file name. That is normal. So, what? Try doing ls /dev/da0s* and see what you get. Secondly, nowdays, the devfs system only makes devices that are in use and makes them on the fly. I haven't dug around in that since the change since it was changed from the old MAKEDEV system so I may be wrong, but I would not be surprised if /dev/da0s1d was not there until after things were fixed up. So, try the fsck as Mikhail suggested -- with the partition name. jerry > > On 5/14/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: > > > >Oscar Chavarria wrote: > >> fsck /dev/da0s1 /home > >> fsck: could not determine filesystem type. > >> > >> Go figure. Might the hdd be damaged? I guess not since boot recognized > >> it, right? > > > > > >Please don't top-post and keep the conversation on the list. > > > > > >It seems like you've tried to fsck only the slice (da0s1). You have to > >fsck the partition itself: > > > ># fsck /dev/da0s1d > > > >The last letter should be the one you assigned when you labeled that > >drive. > > > > > > > >Show us the output of: > > > ># ls /dev/da0* > > > > > >Regards, > >Mikhail. > > > >-- > >Mikhail Goriachev > >Webanoide > > > >Telephone: +61 (0)3 62252501 > >Mobile Phone: +61 (0)4 38255158 > >E-Mail: [EMAIL PROTECTED] > >Web: www.webanoide.org > > > > > > -- > Regards > > Oscar Chavarria > Mobile: +506 814-0247 > > *** The more I know people the more I love my FreeBSD *** > > --- In a world without boundaries, we don't need Windows or Gates --- > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
ls /dev/da0s1 /dev/da0s1 On 5/14/07, Mikhail Goriachev <[EMAIL PROTECTED]> wrote: Oscar Chavarria wrote: > fsck /dev/da0s1 /home > fsck: could not determine filesystem type. > > Go figure. Might the hdd be damaged? I guess not since boot recognized > it, right? Please don't top-post and keep the conversation on the list. It seems like you've tried to fsck only the slice (da0s1). You have to fsck the partition itself: # fsck /dev/da0s1d The last letter should be the one you assigned when you labeled that drive. Show us the output of: # ls /dev/da0* Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org -- Regards Oscar Chavarria Mobile: +506 814-0247 *** The more I know people the more I love my FreeBSD *** --- In a world without boundaries, we don't need Windows or Gates --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > fsck /dev/da0s1 /home > fsck: could not determine filesystem type. > > Go figure. Might the hdd be damaged? I guess not since boot recognized > it, right? Please don't top-post and keep the conversation on the list. It seems like you've tried to fsck only the slice (da0s1). You have to fsck the partition itself: # fsck /dev/da0s1d The last letter should be the one you assigned when you labeled that drive. Show us the output of: # ls /dev/da0* Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
Oscar Chavarria wrote: > I lost environmental power temporarily a few days ago, and when it was back > (almost immediately), the machine restarted without any input from me. > > I had mounted to /home a 30 GB usb 2.0 hdd. > > I tried mounting again since I did not find it in df. > > The prompt is always "WARNING: /home was not properly dismounted. > > The output from dmesg is: > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: etc > WARNING: /home was not properly dismounted. You have to fsck(8) that disc. Try the following before remounting: # fsck -f /dev/da0s1d Replace da0s1d accordingly (if necessary). Hopefully it helps. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to mount HDD - Newbie question
On Mon, May 14, 2007 at 09:12:00AM -0600, Oscar Chavarria wrote: > I lost environmental power temporarily a few days ago, and when it was back > (almost immediately), the machine restarted without any input from me. > > I had mounted to /home a 30 GB usb 2.0 hdd. > > I tried mounting again since I did not find it in df. > > The prompt is always "WARNING: /home was not properly dismounted. > > The output from dmesg is: > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: etc > WARNING: /home was not properly dismounted. > > Thanks in advance for any help to mount the disk again. Try running fsck on it. fsck /dev/device_name The device name would be whatever the partition name should be. That should either fix it or give you some ideas of where to go next. jerry > > -- > Regards > > Oscar Chavarria > Mobile: +506 814-0247 > > *** The more I know people the more I love my FreeBSD *** > > --- In a world without boundaries, we don't need Windows or Gates --- > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to mount HDD - Newbie question
I lost environmental power temporarily a few days ago, and when it was back (almost immediately), the machine restarted without any input from me. I had mounted to /home a 30 GB usb 2.0 hdd. I tried mounting again since I did not find it in df. The prompt is always "WARNING: /home was not properly dismounted. The output from dmesg is: da0 at umass-sim0 bus 0 target 0 lun 0 da0: etc WARNING: /home was not properly dismounted. Thanks in advance for any help to mount the disk again. -- Regards Oscar Chavarria Mobile: +506 814-0247 *** The more I know people the more I love my FreeBSD *** --- In a world without boundaries, we don't need Windows or Gates --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
newbie question: gdk2/gtkpixbuff install fails
I'm trying to repair the damage after some portupgrading. The linux emulation is all messed up. linux-realplayer won't run because it wants to reinstall gtk-pixbuff, which is already in there but now conflicts with gdk2, which in turn seems to have a broken port: /usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libXfixes.so.3: cannot open shared object file: No such file or directory *** Error code 127 Stop in /usr/ports/x11-toolkits/linux-gtk2. *** Error code 1 Stop in /usr/ports/x11-toolkits/linux-gtk2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade1616.0 make reinstall egrep: /var/db/pkg/linux-gtk2-2.4.14_3/+CONTENTS: No such file or directory I can't make any sense out of this one. I can't find anything in the list archives. Any clues? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
On 10/6/06, ograbme <[EMAIL PROTECTED]> wrote: I would like a few recommendations for small "ports" to try to install on my stand-alone machine. The stand-alone machine does not have connection to the internet; however, I do have a set of four (4)CD from the FreeBSD Mall and two (2) of the CD's have 'ports' on them. I would like to select one, two or three ports to install on this machine ... to go through the steps and experience of the ports process using the cdroms, so ... in essence I'm looking for suggestions of ports of a small nature (if there is such a thing). I'm not sure how familiar you are with Unis operating systems or the various tools available for all of it's incarnations, so, I'm listing these with info as if you were completely new to it. If you are not, I do not mean any insult or offense, I just don't know your level of experience, so I'm going for something relatively low that would give you a wide range of "sights and sounds" in the desktop *nix world. If you aren't /that/ new, just look at my list, and pick and choose your favorites. Ideally, you would want to install ports that you could make use of more than ports that are small. Even the larges ports rarely cause me issues. For small starts: "bash" - already suggested, very good shell "nano" - light weight and useful text editor "pico" - like nano, but made before or after, can't remember which "vim" - again, already suggested, good text editor, though not to my taste. It is lightweight and fast, though not to the extent of pico/nano. "sudoku" - I prefer pencil and paper because you can make notes, but it's fun "naim" - a console IM program intermediate projects: "emacs" - another popular editor, the largest (in size, not popularity - don't know what is the most popular) of the bunch, but I know people who get a lot of work done only starting one program *ever*, this is that program. It uses a large amount of resources for just a text editor, but you can do a lot more with it, and on a modern machine, that large amount is still relatively neglegable. "xorg" - an X (graphics) server, which will be extremely useful if you want more than a console command prompt. "gaim" - a multi-im client. quite useful, it could actually be in "small" projects, but you need X installed before hand. "gnome" - this is between intermediate and larger projects, a good and popular desktop/session manager, again, not to my taste, for as much smaller as it is, it runs slower than KDE on my systems. Nonetheless, a lot of people like it, and you should give it a try. * - Just about anything in the games directory Big projects "KDE" - like gnome, but more friendly to the people who like gui configuration, less friendly to those who like text configuration. I find it faster, but that could be because I have a lot of memory on all my machines - it's definetly larger. Might be the whole space for speed tradeoff that you can sometimes do, I don't know. Regardless, be prepared for a challange, you may not (read: probably won't) be able to get the full KDE running due to some apps not compiling. Read the updating file, and you may have to try kde-lite. "openoffice.org-2.0" - a nice office suit, be prepared for a challange! Now, you may need a few java packages that won't be on the CDs for this - which you'll have to download elsewhere and put on either a CD or a flash drive. Have fun, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
On 10/6/06, John Hoover <[EMAIL PROTECTED]> wrote: there's always the shells, bash for example asciiquarium is a good start. *A Must* -- Tyop? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
there's always the shells, bash for example -- - John F Hoover [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
On Fri, Oct 06, 2006 at 12:14:29PM -0400, ograbme wrote: > > I would like a few recommendations for small "ports" to try to install > on my stand-alone machine. > > The stand-alone machine does not have connection to the internet; > however, I do have a set of four (4)CD from the FreeBSD Mall and two > (2) of the CD's have 'ports' on them. I would like to select one, two > or three ports to install on this machine ... to go through the steps > and experience of the ports process using the cdroms, so ... in > essence I'm looking for suggestions of ports of a small nature (if > there is such a thing). Geez, what do you want to play with? Pick anything. Maybe a couple of simple games would be a good example or maybe a text editor such as vim. But, your lack of network connection makes coming up with suggestions more difficult. It is no problem if everything is on the CD set. The problem is that so many things have dependancies that may want to go out to the network to get something else to build. I always just have it pull in things over the net, so am not sure how much you can get away with for a just CD install. So, it is hard to think of one without trying it to make sure everything it needs is on the CDs. Some simple game such as xmahjongg or dontspace (a Freecell game) might work OK and not call in to much else. A text editor such as vim may be OK. They all require X, but that should be on the CDs. jerry > > 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]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
I would like a few recommendations for small "ports" to try to install on my stand-alone machine. The stand-alone machine does not have connection to the internet; however, I do have a set of four (4)CD from the FreeBSD Mall and two (2) of the CD's have 'ports' on them. I would like to select one, two or three ports to install on this machine ... to go through the steps and experience of the ports process using the cdroms, so ... in essence I'm looking for suggestions of ports of a small nature (if there is such a thing). 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]"
Re: Newbie Question - what does the "...-p6" mean?
In response to ograbme <[EMAIL PROTECTED]>: > > Hello All. > > Thursday, September 14, 2006, 4:24:43 AM, RJ45 wrote in regards to his > message titled "Memory problem": > > > > R> I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. > > > > What does the "-p6" nomenclature represent in the above statement? > I've noticed some messages have contained various "-pX's". I recently > just installed FreeBSD 6.1-RELEASE-p0 (according to -uname command) > from a FreeBSD Mall 4-CD set, dated May 2006. Does this "-p" number > represent an updated ?Version? containing new patches or ...? The 'p' is for "patch level". See any of the security advisories, for example: http://security.freebsd.org/advisories/FreeBSD-SA-06:20.bind.asc Patch releases are only made when there are security flaws found or major stability problems fixed. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie Question - what does the "...-p6" mean?
Hello All. Thursday, September 14, 2006, 4:24:43 AM, RJ45 wrote in regards to his message titled "Memory problem": R> I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. What does the "-p6" nomenclature represent in the above statement? I've noticed some messages have contained various "-pX's". I recently just installed FreeBSD 6.1-RELEASE-p0 (according to -uname command) from a FreeBSD Mall 4-CD set, dated May 2006. Does this "-p" number represent an updated ?Version? containing new patches or ...? 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]"
Newbie question - vidcontrol (?) and video mode at startup
Hi, With my new widescreen monitor, the console starts up with text bleeding off the edge of the display. What is the best console video mode for a console on a 1680x1050 display, and how do I get it to start up with it? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question: Is this something I should send to buglist?
On Sunday 30 July 2006 13:09, Oliver Iberien wrote: > After running portsnap this morning: > > bsd# pkg_version -v > /home/oliver/version.txt > "Makefile", line 54: Could not > find /usr/ports/print/cups-lpr/../../print/cups/Makefile.common > make: fatal errors encountered -- cannot continue > pkg_version: Failed to get PKGNAME from /usr/ports/print/cups-lpr/Makefile! > > I take it that this means that there is something missing from this part of > this port? I looked at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-broken.html > and tried querying the data base (and was confused by the options), and > searched the mailing list for the string cups-lpr. Nothing -- I think. > > Anyhow, I'm happy to do my bit and post this somewhere but don't want to > start sending badly formatted or unnecessary bug reports around. Any > advice? > > Oliver This message is normal. cups-lpr is a port that no longer exists since the update to 1.2.0 as it has been merged with cups-base. When you update to cups-base 1.2.0_2, you won't get that message. Whether I recommend you update to 1.2.0 is another thing though :) -- FreeBSD 7.0-CURRENT #11: Sun Jul 30 12:12:59 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc pgpFfo9l04Ss6.pgp Description: PGP signature
Newbie question: Is this something I should send to buglist?
After running portsnap this morning: bsd# pkg_version -v > /home/oliver/version.txt "Makefile", line 54: Could not find /usr/ports/print/cups-lpr/../../print/cups/Makefile.common make: fatal errors encountered -- cannot continue pkg_version: Failed to get PKGNAME from /usr/ports/print/cups-lpr/Makefile! I take it that this means that there is something missing from this part of this port? I looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-broken.html and tried querying the data base (and was confused by the options), and searched the mailing list for the string cups-lpr. Nothing -- I think. Anyhow, I'm happy to do my bit and post this somewhere but don't want to start sending badly formatted or unnecessary bug reports around. Any advice? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question - cannot add new disk
Thanks for your interest in this. A large part of the problem was in fact a bad cable. I went back and forth between the command line and sysinstall. They seem not to do the same things. It did seem to me that the disklabel in sysinstall and the disklabel command-line tool did not necessarily produce labels that were mutually intelligible. It looks also as if when writing with disklabel in sysinstall, one of the newly created slices has to be highlighted, something not made clear in the Handbook. I ended up making partitions instead of slices, as disklabel did not like what the sysinstall-disklabel produced. Also, the fdisk tool in sysinstall did not always wipe and create new partition entries -- it sometimes just appended new ones, although that is not what it displayed. I needed dd to actually wipe the table and start anew. This seemed to continue despite the new cable. However, I am not exactly a reliable observer, being, as stated, very new to BSD. Oliver On Monday 17 April 2006 09:14, Alex de Kruijff wrote: > On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote: > > Hi, > > > > I have been trying to add a second IDE hard drive. I can't seem to get it > > mounted, or to get what I put into sysinstall and what comes out when I > > use the command line to agree. > > Are you using the command line interface or sysinstall to configure the > disk? This is not clear to me. If you tried sysinstall did it give any > errors about the geometry? What did you do at that point? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question - cannot add new disk
On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote: > Hi, > > I have been trying to add a second IDE hard drive. I can't seem to get it > mounted, or to get what I put into sysinstall and what comes out when I use > the command line to agree. Are you using the command line interface or sysinstall to configure the disk? This is not clear to me. If you tried sysinstall did it give any errors about the geometry? What did you do at that point? -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
Oliver Iberien wrote: I'm running FreeBSD 6.0 on a home machine and backing up to a DVD Burner, probably using kdar, the dar archiver that comes with KDE. My question is : which system files to back up, along with my personal stuff? I'm used to using linux distributions that do your system backups for you. The capacity of the DVDs sets a practical limit on what I can reasonably back up, so I need to pick and choose, basically to make recovery easier should everything go south. Thanks! In addition to the: /etc /usr/local/etc /home /var/db that others posted, I find the following useful too: /usr/src/sys/i386/conf <- kernel configs /usr/X11R6/lib/X11/xdm <- I customize xdm on occasion /boot/device.hints /boot/loader.conf HTH Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
The short answer is to backup the files you want to save. As a general rule, I suggest backing up: /etc /usr/local/etc /usr/local/www The last one assumes you have some website(s). If you are also worried about email, if you are using the standard sendmail, also backup: /var/mail I would suggest you create separate compressed tar volumes for your backups, then you can restore them individually if you need to. -Derek At 02:53 AM 4/16/2006, Oliver Iberien wrote: I'm running FreeBSD 6.0 on a home machine and backing up to a DVD Burner, probably using kdar, the dar archiver that comes with KDE. My question is : which system files to back up, along with my personal stuff? I'm used to using linux distributions that do your system backups for you. The capacity of the DVDs sets a practical limit on what I can reasonably back up, so I need to pick and choose, basically to make recovery easier should everything go south. Thanks! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question - using sysinstall "Upgrade an existing system" - easy?
Oliver Iberien <[EMAIL PROTECTED]> writes: > What actually happens when you use "Upgrade an existing system" in > sysinstall? Do you end up with the X-server, etc., all functioning > as before, or is there a lot of cleanup to do afterwards? X doesn't get automatically updated by that path; just the base system. So your old X setup should work fine; it will be untouched. Of course, upgrades are *always* a good reason to have an *extra* set of backups. > (In my case, this would be from 6.0 to 6.1, whenever the release version of > 6.1 comes out. I am getting DMA errors in trying to install a second drive, > and posts from this list give the impression that changing versions may make > a difference.) It's possible. Not likely, though; among the several more-probable fixes, the Most Likely would be a new IDE cable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question - cannot add new disk
Hi, I have been trying to add a second IDE hard drive. I can't seem to get it mounted, or to get what I put into sysinstall and what comes out when I use the command line to agree. I can use sysinstall and then run newfs: bsd# newfs /dev/ad1s1c /dev/ad1s1c: 39205.5MB (80292804 sectors) block size 16384, fragment size 2048 using 214 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, [...] 78281376, 78657728, 79034080, 79410432, 79786784, 80163136 So it looks as if there is a slice there using the whole 40G disk, called ad1s1c. But: bsd# disklabel ad1 disklabel: /dev/ad1 read: Input/output error And with the following line in /etc/fstab /dev/ad1s1c /disk2 ufs rw 1 1 bsd# mount -u /dev/ad1s1c /disk2 mount: /dev/ad1s1c on /disk2: specified device does not match mounted device Using the command line utilities: bsd# disklabel -Brw ad1 auto bsd# disklabel -e ad1s1 disklabel: /dev/ad1s1: No such file or directory bsd# disklabel -e ad1c disklabel: /dev/ad1c read: Input/output error bsd# newfs /dev/ad1s1c newfs: /dev/ad1s1c: could not find special device bsd# fdisk -BI ad1 *** Working on device /dev/ad1 *** fdisk: Geom not found And so I go round and round, as at that point I have to use sysinstall again. I tried this with two disks, both of which were good under linux. The 180G Seagate spat out DMA errors at startup, and I got nowhere with it. This one is a 40G Maxtor. I suppose I could change out the cable (I have none handy otherwise I would have) although I can't see why a cable that worked for linux would not work now. Master/slave are set correctly. I could not mount linux partitions, either, despite the recompile -- don't know if that's related. I'd be grateful for any ideas. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question - using sysinstall "Upgrade an existing system" - easy?
What actually happens when you use "Upgrade an existing system" in sysinstall? Do you end up with the X-server, etc., all functioning as before, or is there a lot of cleanup to do afterwards? (In my case, this would be from 6.0 to 6.1, whenever the release version of 6.1 comes out. I am getting DMA errors in trying to install a second drive, and posts from this list give the impression that changing versions may make a difference.) Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
At 09:08 AM 4/16/2006, Oliver Iberien wrote: On Sunday 16 April 2006 09:00, Glenn Dawson wrote: > At 09:58 PM 2/22/2006, Andy Reitz wrote: > >Hi Oliver, > > > >At a minimum, you will probably want to back up the following directories: > > > > /etc > > /usr/local/etc > > /home > > > >That will get all of the configuration files for FreeBSD and the > >software thar you installed from ports. > > Actually, no. If you want to backup the software installed from > ports you will typically need /usr/local. > > The contents of /var/db would also be desirable so that you know > which ports are installed on the machine among other things. > > -Glenn > > > The last directory will det all of your user's data. Some other > > applications might put data in other places, however, so you might > > want to research the applications that you are running to make sure > > you don't miss any important data. > > > >-Andy. Thanks for all this information. Can /usr/local and /var/db just be copied directly back in after recovery, or (if it's more complicated that that) would there be a tutorial on this somewhere? Generally speaking, /usr/local is empty after a clean install, so simply replacing its contents should be ok. Though keep in mind that some ports put things outside /usr/local so they may not work until other things are restored. /var/db/pkg is the dir you want for restoring the database of installed ports/packages. The other things in /var/db you will probably want to put back as needed instead of all at once. -Glenn Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
On Sunday 16 April 2006 09:00, Glenn Dawson wrote: > At 09:58 PM 2/22/2006, Andy Reitz wrote: > >Hi Oliver, > > > >At a minimum, you will probably want to back up the following directories: > > > > /etc > > /usr/local/etc > > /home > > > >That will get all of the configuration files for FreeBSD and the > >software thar you installed from ports. > > Actually, no. If you want to backup the software installed from > ports you will typically need /usr/local. > > The contents of /var/db would also be desirable so that you know > which ports are installed on the machine among other things. > > -Glenn > > > The last directory will det all of your user's data. Some other > > applications might put data in other places, however, so you might > > want to research the applications that you are running to make sure > > you don't miss any important data. > > > >-Andy. Thanks for all this information. Can /usr/local and /var/db just be copied directly back in after recovery, or (if it's more complicated that that) would there be a tutorial on this somewhere? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
At 09:58 PM 2/22/2006, Andy Reitz wrote: Hi Oliver, At a minimum, you will probably want to back up the following directories: /etc /usr/local/etc /home That will get all of the configuration files for FreeBSD and the software thar you installed from ports. Actually, no. If you want to backup the software installed from ports you will typically need /usr/local. The contents of /var/db would also be desirable so that you know which ports are installed on the machine among other things. -Glenn The last directory will det all of your user's data. Some other applications might put data in other places, however, so you might want to research the applications that you are running to make sure you don't miss any important data. -Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Newbie question -- which files to back up?
Hi Oliver, At a minimum, you will probably want to back up the following directories: /etc /usr/local/etc /home That will get all of the configuration files for FreeBSD and the software thar you installed from ports. The last directory will det all of your user's data. Some other applications might put data in other places, however, so you might want to research the applications that you are running to make sure you don't miss any important data. -Andy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Newbie question -- which files to back up?
I'm running FreeBSD 6.0 on a home machine and backing up to a DVD Burner, probably using kdar, the dar archiver that comes with KDE. My question is : which system files to back up, along with my personal stuff? I'm used to using linux distributions that do your system backups for you. The capacity of the DVDs sets a practical limit on what I can reasonably back up, so I need to pick and choose, basically to make recovery easier should everything go south. Thanks! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
Jim Stapleton wrote: [ ... ] When it comes to changing the default compiler a good rule of thumb is that if you need to ask how to do it, then you should not do it. That seems to be a general *nix world rule of thumb for just about everything... The UNIX world is willing to give you a loaded gun, but we try not to instruct people on how to shoot their own feet without at least giving them a warning that doing so will hurt. :-) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
On Monday 10 April 2006 16:01, Jim Stapleton wrote: > how do I setup make.conf to automatically use the new compiler? > > Is there any way to set this new compiler as the default (such as > building the OS), without causing issues? Or would that be just a > royal pain in the posterior that is not worth the effort? IIRC make buildworld doesn't even use the default compiler directly. It just uses it to "bootstrap" the build of its own new compiler. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
> > When it comes to changing the default compiler a good rule of thumb is > that if you need to ask how to do it, then you should not do it. > That seems to be a general *nix world rule of thumb for just about everything... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
On Mon, Apr 10, 2006 at 11:01:21AM -0400, Jim Stapleton wrote: > how do I setup make.conf to automatically use the new compiler? Don't. But if you insist on doing that you could try putting CC=/usr/local/bin/gcc40 CXX=/usr/local/bin/g++40 into /etc/make.conf. Just be aware that it will probably not work very well. > > Is there any way to set this new compiler as the default (such as > building the OS), without causing issues? Not without causing issues, no. > Or would that be just a > royal pain in the posterior that is not worth the effort? That does sound like a fairly accurate description. When it comes to changing the default compiler a good rule of thumb is that if you need to ask how to do it, then you should not do it. > > On 4/10/06, Erik Trulsson <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 10, 2006 at 10:43:51AM -0400, Jim Stapleton wrote: > > > I did a "make install clean" in the lang/gcc40/ directory to get a > > > newer version of GCC, and it seems happy, so the next thing I did was > > > I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard > > > links to the /usr/local/bin/gcc-freebsd-4.0, > > > /usr/local/bin/g++-freebsd-4.0, etc. binaries. > > > > That sounds like a bad idea. > > > > > > > > Now when I try to make things, I get a lot of errors and most compilation > > > fails. > > > > Yes, a bad idea indeed. Do not try to change the base compiler unless you > > really know what you are doing. > > > > > > > > I backed up the original binaries (gcc -> gcc-original), and things > > > seem to be fixed, and compiles work. What should I do? > > > > You should leave the standard compiler alone. If you wish to use the > > newer compiler invoke it as gcc40 (IIRC), but don't try use it to rebuild > > FreeBSD itself. > > > > > > > > > > Also, the ports install does not make a "cc-freebsd-4.0" binary, so > > > I'm leary of replacing it with a hard link to the gcc-freebsd-4.0 > > > biary, although when I run "cc --version", it tells me that it is gcc > > > 3.4.x, which is the default gcc install. > > > > > > > > -- > > > > Erik Trulsson > > [EMAIL PROTECTED] > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
how do I setup make.conf to automatically use the new compiler? Is there any way to set this new compiler as the default (such as building the OS), without causing issues? Or would that be just a royal pain in the posterior that is not worth the effort? On 4/10/06, Erik Trulsson <[EMAIL PROTECTED]> wrote: > On Mon, Apr 10, 2006 at 10:43:51AM -0400, Jim Stapleton wrote: > > I did a "make install clean" in the lang/gcc40/ directory to get a > > newer version of GCC, and it seems happy, so the next thing I did was > > I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard > > links to the /usr/local/bin/gcc-freebsd-4.0, > > /usr/local/bin/g++-freebsd-4.0, etc. binaries. > > That sounds like a bad idea. > > > > > Now when I try to make things, I get a lot of errors and most compilation > > fails. > > Yes, a bad idea indeed. Do not try to change the base compiler unless you > really know what you are doing. > > > > > I backed up the original binaries (gcc -> gcc-original), and things > > seem to be fixed, and compiles work. What should I do? > > You should leave the standard compiler alone. If you wish to use the > newer compiler invoke it as gcc40 (IIRC), but don't try use it to rebuild > FreeBSD itself. > > > > > > Also, the ports install does not make a "cc-freebsd-4.0" binary, so > > I'm leary of replacing it with a hard link to the gcc-freebsd-4.0 > > biary, although when I run "cc --version", it tells me that it is gcc > > 3.4.x, which is the default gcc install. > > > > -- > > Erik Trulsson > [EMAIL PROTECTED] > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie question on upgrading GCC
On Mon, Apr 10, 2006 at 10:43:51AM -0400, Jim Stapleton wrote: > I did a "make install clean" in the lang/gcc40/ directory to get a > newer version of GCC, and it seems happy, so the next thing I did was > I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard > links to the /usr/local/bin/gcc-freebsd-4.0, > /usr/local/bin/g++-freebsd-4.0, etc. binaries. That sounds like a bad idea. > > Now when I try to make things, I get a lot of errors and most compilation > fails. Yes, a bad idea indeed. Do not try to change the base compiler unless you really know what you are doing. > > I backed up the original binaries (gcc -> gcc-original), and things > seem to be fixed, and compiles work. What should I do? You should leave the standard compiler alone. If you wish to use the newer compiler invoke it as gcc40 (IIRC), but don't try use it to rebuild FreeBSD itself. > > Also, the ports install does not make a "cc-freebsd-4.0" binary, so > I'm leary of replacing it with a hard link to the gcc-freebsd-4.0 > biary, although when I run "cc --version", it tells me that it is gcc > 3.4.x, which is the default gcc install. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
newbie question on upgrading GCC
I did a "make install clean" in the lang/gcc40/ directory to get a newer version of GCC, and it seems happy, so the next thing I did was I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard links to the /usr/local/bin/gcc-freebsd-4.0, /usr/local/bin/g++-freebsd-4.0, etc. binaries. Now when I try to make things, I get a lot of errors and most compilation fails. I backed up the original binaries (gcc -> gcc-original), and things seem to be fixed, and compiles work. What should I do? Also, the ports install does not make a "cc-freebsd-4.0" binary, so I'm leary of replacing it with a hard link to the gcc-freebsd-4.0 biary, although when I run "cc --version", it tells me that it is gcc 3.4.x, which is the default gcc install. Thanks, -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
BTX Halted - not such a newbie question
I'm having problems installing FreeBSD V6.0 on an HP (ne Compaq) desktop PC. The install appears to go fine from CD, or via FTP, but on rebooting the installed boot loader halts with a register dump and "BTX halted" error message. So no rotating curser, no kernel messages just the dump and error message. Now I've been using FreeBSD for years, so immediately think "Disc Geometry problems - enable / disable DMA" etc. Nope, I've tried the various BIOS settings and manually setting the geometry in fdisk. I've also tried changing the boot manager for a dedicated MBR. Here are the BIOS settings I have tried: Transfer Mode: Max UDMA, Ultra DMA 0, Enhanced DMA, Max PIO, PIO 0 Translation Mode: Bit Shift, LBA Assisted and User Defined [1023/240/63] Here is the spec of my machine: Spec: Compaq Workstation xw6000 Proc: P4 2.8GHz RAM: 1024MB HD: 80.0GB, Maxtor 6Y080L0 (Primary IDE master) Most onboard devices (USB, Serial, etc) have been disabled. Any help appreciated Joy --- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.12/192 - Release Date: 05-Dec-05 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firefox problem...another newbie question
It seems that there is some problem with your glib. You might need to upgrade it. Note that portupgrade isn't working for glib/gtk 2.8.x upgrade. You need to use gnome_upgrade212.sh instead, check /usr/ports/UPDATING for details. cheers, --ken On 10/11/05, makisupa <[EMAIL PROTECTED]> wrote: > > Been messing with FreeBSD for a week and a half or so now. Getting my > laptop all setup to play DVDs and something wierd happened to Firefox > (probably unrelated I know). As an aside, xine works well but i'm > not a fan of the gui, gxine core dumps a few seconds after going > fullscreen or toggling a couple of times. They use the same engine > right? Wierd...both installed from recently upgraded ports tree on a > gnome 2.12 6.0-beta5 system. The firefox problem... > > I can replicate this as at will and epiphany works fine. If i click > a .tbz file or something that calls another app and i get a core dump. > Any ideas what's going on here? > > $ firefox > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion > `hash_table != NU LL' failed > > (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration > system w as not initialized. Did you call _gnome_vfs_configuration_init? > > (Gecko:1985): GLib-CRITICAL **: g_hash_table
Firefox problem...another newbie question
Been messing with FreeBSD for a week and a half or so now. Getting my laptop all setup to play DVDs and something wierd happened to Firefox (probably unrelated I know). As an aside, xine works well but i'm not a fan of the gui, gxine core dumps a few seconds after going fullscreen or toggling a couple of times. They use the same engine right? Wierd...both installed from recently upgraded ports tree on a gnome 2.12 6.0-beta5 system. The firefox problem... I can replicate this as at will and epiphany works fine. If i click a .tbz file or something that calls another app and i get a core dump. Any ideas what's going on here? $ firefox (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NU LL' failed (Gecko:1985): libgnomevfs-WARNING **: Internal error: the configuration system w as not initialized. Did you call _gnome_vfs_configuration_init? (Gecko:1985): GLib-CRITICAL **: g_hash_table
Re[2]: Help! Stupid Newbie Question
At 02:51 PM 9/24/2005, Robert Huff wrote: Glenn Dawson writes: > I don't believe I've ever > seen a port install itself so that it starts at boot time. As I understand it, up until "recently" (advent of rcNG ??) that was the default, i.e. ports routinely installed .sh in /usr/local/etc/rc.d instaed of .sh.sample. Hmm. Maybe it's only the ports that I typically use. I can say that I like the rcng method a lot better. -Glenn Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Help! Stupid Newbie Question
Glenn Dawson writes: > I don't believe I've ever > seen a port install itself so that it starts at boot time. As I understand it, up until "recently" (advent of rcNG ??) that was the default, i.e. ports routinely installed .sh in /usr/local/etc/rc.d instaed of .sh.sample. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Help! Stupid Newbie Question
At 02:05 PM 9/24/2005, Gerard Seibert wrote: On Sat, 24 Sep 2005 13:30:43 -0700, Glenn Dawson <[EMAIL PROTECTED]> Subject: Re: Help! Stupid Newbie Question Wrote these words of wisdom: > > If the port you installed was relatively recent, you just need > mysql_enable="YES" in your rc.conf. > > If it's an older port, look for a sample startup script in > /usr/local/etc/rc.d. You just need to rename it so that it ends in > .sh and it will start at boot time. > > -Glenn * REPLY SEPARATOR * On 9/24/2005 4:57:41 PM, Gerard Seibert Replied: When I first started using FreeBSD, I had the same problems. It would be nice if the author of the man pages included the start up information as well as the location of any config files as the first entry in the page. I have even installed programs where the startup scripts were commented out, for example: cups.sh-sample, and I went looking for why the program was not starting before it dawned on me what the problem was. I think the primary reason for not having a port automatically start after it's installed would be security. There are a number of things that might present a security risk if they are enabled with their default configurations, or no configuration at all. I don't believe I've ever seen a port install itself so that it starts at boot time. Section 4.6 in the handbook has this: Ports that should start at boot (such as Internet servers) will usually install a sample script in /usr/local/etc/rc.d. You should review this script for correctness and edit or rename it if needed. See <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html>Starting Services for more information. I realize that someone with years of experience would not have had that sort of problem, but for a new user, it is all to common. We are always getting requests for how do I start foo, or what have you on this list. There are a great many people that post to the list with questions that are readily available in the handbook, or some other part of the web site. I don't think that's likely to change any time soon. -Glenn That is just my 2¢ worth of unasked for opinion. -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"