Search results

  1. jalla

    MariaDB still not reading my.cnf?

    Note that $optfile is passed to the startup command like this: --defaults-extra-file=${mysql_optfile} I believe this would be used in addition to (for instance) /usr/local/etc/mysql/my.cnf
  2. jalla

    MariaDB still not reading my.cnf?

    Not correct AFAICT gnome:~# mysqladmin --help ... Default options are read from the following files in the given order: /usr/local/etc/my.cnf /usr/local/etc/mysql/my.cnf ~/.my.cnf ...
  3. jalla

    Automatic shutdown of server when task complete?

    I'd suggest something like the following Make a small script that runs your backup jobs, end this script with shutdown -p +1 Put the script in crontab to be run at boot @reboot * * * * /usr/local/bin/myscript Finally schedule one of the other hosts to wake the backupserver daily 0 12 * * *...
  4. jalla

    ZFS zpool status -v - Permanent errors in <0x6afd>:<0x2f10e>

    Scrubbing the zpool should fix it. You've lost the file referenced by that inode though.
  5. jalla

    Installation on Raspberry Pi fails (Mounting...failed with error 19)

    You need to mount the (UFS) filesystem somehow. On a FreeBSD host it would look like gong:~# mount /dev/da0s2a /mnt gong:~# ls -l /mnt/boot/loader.conf -rw-r--r-- 1 root wheel 117 Jul 11 18:50 /mnt/boot/loader.conf Perhaps something similar in a FreeBSD VM?
  6. jalla

    Installation on Raspberry Pi fails (Mounting...failed with error 19)

    It may be fixed in recent snapshots, but with 10.1-RELEASE you need to put this in /boot/loader.conf hw.bcm2835.sdhci.hs="0"
  7. jalla

    Can't make usb webcam work on RPI/RPI2

    I'm trying to get a Logitech C525 webcam working on the RPI/RPI2. The camera works with no problem on an amd64 system with 10.1-Stable The following are results from an RPI2 using the latest CURRENT snapshot, but I've also tried an older RPI with 10.1-STABLE that shows the same behaviour...
  8. jalla

    Solved ZFS, Shells and Filenames with "#"

    '#' isn't illegal, but it's a special character to the shell (bash or other bourne-type shell) . Using bash you have to escape a leading hash in filenames or the rest of the line is taken as a comment. # touch #one usage: touch [-A [-][[hh]mm]SS] [-achm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]]...
  9. jalla

    Other How to sort images in to folders?

    Using jot you can use this in any shell, for instance with /bin/sh for i in `jot -c 26 a`; do mkdir $i && mv $i?* $i; done
  10. jalla

    Nvidia fails

    sysctl compat.linux.osrelease=2.6.18. Put it in /etc/sysctl.conf as well.
  11. jalla

    Make 'portmaster -a' skip broken ports?

    Unfortunately, pkg lock won't keep portmaster -a from trying to upgrade. In case it builds it will just fail at installation of the locked port and then abort. You could put alias portmaster portmaster -x pinentry in /root/.cshrc so you don't forget
  12. jalla

    Updated libgcrypt, now can't run Firefox or Chromium

    For the time being you can keep the previous version of chromium running (probably firefox as well) with a symlink to the new libgcrypt ln -s /usr/local/lib/libgcrypt.so.20.0.1 /usr/local/lib/libgcrypt.so.19
  13. jalla

    Nearline storage?

    Don't overestimate the problem of turning on/off a backupserver, it's easily done with a remote controlled power plug. I have a USB stick from Telldus http://www.telldus.se/products/tellstick. Using this I have a fully automated setup (a script running from crontab) that turns on my backup...
  14. jalla

    rolling back update when system won't boot

    Can you boot an old kernel? Escape to the boot prompt and try this OK unload kernel OK load /boot/kernel.old/kernel OK boot -s
  15. jalla

    Corrupt password file(s)

    Note that backup copies of the password database are made by a periodic script. You should always find the last two versions of master.passwd in /var/backups.
  16. jalla

    Random reboots - how to track down the cause?

    Enable crashdumps for a start (put dumpdev=AUTO in /etc/rc.conf). The crash manpage gives some info on how to proceed from that.
  17. jalla

    copy-on-write file-system

    I think UFS snapshots were introduced in FreeBSD-6. They are more limited and cumbersome to work with than snapshots in ZFS, but in principle the functionality is there.
  18. jalla

    Picking the right SCSI card: LVD

    You just need to buy the right cable. Standard scsicables come with any combination of microD-68 (SCSI-3) and VHDCI (SCSI-5) connectors.
  19. jalla

    How to read errors shown at booting startup process?

    I think @wblock is right, all console output should be visible with dmesg -a. The system buffer is limited so eventually older messages will fall off the top. Just redirect the output to a file If you want to keep it for the long term.
  20. jalla

    How to read errors shown at booting startup process?

    No, this won't be logged anywhere. If it's a small number of files that are corrupt you can switch between consoles (ALT-Fx), scroll through errors in the first window, and fix the files one by one in the second.
Back
Top