Search results

  1. J

    Solved Calling commands vs. executables in CSH shell

    This may not be a good idea in the general sense as a typo may run a command you didn't intend depending on where you are. However with rehash being required in tcsh I don't think that would actually work.
  2. J

    Solved How the DNS installation on FreeBSD 10.2

    If both DNS names already point to the same address, then it's just a matter of web server configuration . Typically this is done by serving a redirect to the client to tell it to go to the corrected site, or HTTPS, and so forth. You can read about this in the Apache documentation...
  3. J

    Solved NFS client mapping root as nobody

    Yes, sysctl vfs.nfsd.enable_stringtouid was added for a reason since some implementations will fall back to sending the UID/GID over the wire. It may work depending on the particular mix of clients/servers. But back to the matter at hand, the -verbose flag for logging should tell you...
  4. J

    Solved Installing Phalcon PHP

    If you enable ZTS for lang/php5 then you shouldn't use the official package that wasn't compiled to match. Either install both PHP and Phalcon from the same repository or compile them yourself to match either in Poudriere or on the system. Also, PHP 5.4 is EOL as of a month ago...
  5. J

    Solved How the DNS installation on FreeBSD 10.2

    Hello. Most likely you do not want to run your own DNS server to the world unless you absolutely need to. For a small website you most likely do not need to. You are most likely best off using the registrar's DNS. If your IP address is 10.10.10.10 for example, you would just have two "A"...
  6. J

    Install apache 2.4 on new FreeBSD 10.2 (RAIDZ) fails

    If you can replicate this error that would be interesting. Shared object "libcrypto.so.6" not found, required by "bsdtar" I had not been able to replicate it doing a cd /usr/ports/www/apache24; make install on either on a 10.2 jail (on a host running CURRENT) or on 10.2 host.
  7. J

    C Changing and recompiling the FreeBSD Intel i915 driver

    The driver is compiled when the kernel is compiled (as a module) but is not inside the kernel. It should be /boot/kernel/i915.ko. Nvidia is a different story because it is a closed source driver, hence the x11/nvidia-driver port to install the separate /boot/modules/nvidia.ko and files to...
  8. J

    C Changing and recompiling the FreeBSD Intel i915 driver

    Ports and source are two completely different code repositories. If you change something under /usr/src then the https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html would cover compiling and installing a new kernel. For the x11-drivers/xf86-video-intel port...
  9. J

    Install apache 2.4 on new FreeBSD 10.2 (RAIDZ) fails

    Also, I don't see anywhere in the guide where it recommends any customizations. Is there any reason not to just pkg install apache24 mysql56-server mysql56-client php56 mod_php56 and be done with it? I think Oko is referring to the quality of the site. For example, it recommends installing...
  10. J

    Install apache 2.4 on new FreeBSD 10.2 (RAIDZ) fails

    There seems to be something odd going on. /usr/bin/bsdtar is part of the base system and not ports and on FreeBSD 10 it links to /lib/libcrypto.so.7. On FreeBSD 9 it links to /lib/libcrypto.so.6. The symptom you see doesn't make sense if this is a fresh install of FreeBSD 10. What does ldd...
  11. J

    Bind port under 1024

    Don't use sudo for this. Restricted binding to ports < 1024 is standard UNIX networking. Most daemons use root privileges and then either drop privileges or spawn unprivileged worker processes. Your options are either to use a firewall as tobik mentioned above, use Nginx or Apache as a...
  12. J

    FreeBSD white papers?

    Also see the FreeBSD Foundation's site: https://www.freebsdfoundation.org/documents/#marketing
  13. J

    PHP upgrade

    Normally this would involved a read of the upstream migration guide for an internal application (http://php.net/migration55). If you only have databases/phpmyadmin from ports then that wouldn't be needed. If you are using packages then pkg upgrade should just work as 5.6 is the default as...
  14. J

    Solved diff or svn

    Yes, SVN is storing the old data it needs in the .svn directory hidden away for the checkout. So there it's just editing the files and letting the tool do its job.
  15. J

    Solved diff or svn

    OK. Please when something is not working ask why it's not working. This is troubleshooting 101 and sometimes it means asking why, why, why, several times to get to the true root cause. Is it not working because you added files and didn't edit an existing file? Does svn status show new files and...
  16. J

    Solved diff or svn

    If the properties are correct then it might save me a whole 10 seconds if I apply it with the svn patch <patchfile.diff> command. If they are wrong and I don't see it the commit may get rejected with invalid properties and I would have to fix it. Personally I could go either way but if you...
  17. J

    Solved NFS client mapping root as nobody

    Are the domains correct on both sides? Try this rc.conf. nfsuserd_flags="-verbose -domain local.lan" /var/log/messages should have more clues on what username mappings are happening behind the scenes. There's probably an equivalent idmapd(8) option for the Linux side that will give the...
  18. J

    pkt-gen unable work with three interfaces simultaneously in my free

    Hi!. Historically I haven't seen much netmap discussion on the forums. The freebsd-net mailing list (freebsd-net@FreeBSD.org) may provide you quicker answers.
  19. J

    Solved Calling commands vs. executables in CSH shell

    Do an echo $PATH Executables must be under $PATH or be called with a full or relative paths as you had done. builtin commands will just work. There's more info in the shell section of the FreeBSD Handbook (https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/shells.html)
  20. J

    Solved diff or svn

    Walter, Please do exactly what the handbook says. I don't see anywhere where svn diff --old=. --new=../ is shown as the prescribed syntax. https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html#svn-diff svn co https://svn.FreeBSD.org/ports/head/www/mod_scgi cd...
Back
Top