Blogging All About BSDs
  • About
  • Blog Submission
  • Contact

Posts in category alp’s notes

Deleted files in directory

Mar 22, 2013 ~ Written by Alexander Pyhalov
I was just refreshing my knowledge about filesystems... In FreeBSD it is definately easier to investigate fs behavior. You can just do a hexdump of a directory. In Solaris and Linux this does not work. Hexdump of zfs directory is not very interesting. However, in ufs dump we can see that deleted files persist in directory listing: # zfs crea [...]
~ read more ~

Amazing new world with pkgng

Aug 31, 2012 ~ Written by Alexander Pyhalov
I really like it. It\'s a pure magic... It\'s pkgng. So, my task is to deploy about 20-30 servers (jails) for practical courses in PostgreSQL. So, every student will have its own unique DBMS to crack and crash. Two years ago I said students to do: # cd /usr/ports/databases/postgresql84-server/ && make install So, for half a lesson we [...]
~ read more ~

Redmine/Webrick rc script

Mar 22, 2012 ~ Written by Alexander Pyhalov
I\'ve just installed redmine 1.3.2 on FreeBSD server and met several inconviniences. It is not in ports It depends on old versions of different ruby gems, which are already not in ports.In particular, it didn\'t want to work with rack 1.4.1 and I had to do # gem install rake -v=1.1.0It doesn\'t have rc script to startup Webrick (Read more. [...]
~ read more ~

French symbols without azerty

Feb 14, 2012 ~ Written by Alexander Pyhalov
So, sometimes I have to type some text in French. And I dislike AZERTY layout, it\'s too unfamiliar. So, what should I do? Right, to use altgr-intl US layout. To do this you just need to set XKB Variant to \"altgr-intl\" (something like this in hal policy file - /usr/local/etc/hal/fdi/policy/x11-input.fdi on my FreeBSD system):<?xml versio [...]
~ read more ~

One thing I hate in FreeBSD…

Dec 04, 2011 ~ Written by Alexander Pyhalov
One thing I hate in FreeBSD - is the speed of maintainence operations. To install (or upgrade) one port you have to wait half an hour... To update system with custom kernel/userland parameters, you should wait several hours... Then you call mergemaster, which asks you a dozen questions about config files (and most of changes doesn\'t impact o [...]
~ read more ~

PostgreSQL: server closed connection

Oct 19, 2011 ~ Written by Alexander Pyhalov
Today I got a ton of messages DBI connect(\'dbname=xxx;host=yyy\',\'username\',...) failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. at....from our network statistic collector. I spent some time trying to understand what had happened (besides yesterd [...]
~ read more ~

Adding vdev to raidz pool

Sep 24, 2011 ~ Written by Alexander Pyhalov
There is one fundamental flaw in raidz ZFS pools: you can\'t add devices to raidz (as opposed to usual raid5). So, could we do anything to expand our pool without full rebuilding? Yes, if we are ready to sacrifice one more disk. From zpool man page: A pool can have any number of virtual devices at the top of the (Read more...)
~ read more ~

Change user password in script on Fre...

Aug 28, 2011 ~ Written by Alexander Pyhalov
Changing user password in script on FreeBSD host turned out to be very simpe. Use \"pw\" for this purpose: echo \"user_password\" | pw usermod -V /jails/myjail/etc -h 0 username
~ read more ~

Weird boot0 behavior

Apr 01, 2011 ~ Written by alp
Weird boot0 behavior It seems I\'ve found one interesting bug in FreeBSD boot0. The long story is the following. We deploy new systems on IBM blade servers. After some local fixes made by Oleg we made FreeBSD gmultipath work with our EMC Clarion storage. However, we observed strange behavior. Periodically systems refused to boot. We could see only black screen an [...]
~ read more ~

Weird boot0 behavior

Apr 01, 2011 ~ Written by Alexander Pyhalov
It seems I\'ve found one interesting bug in FreeBSD boot0. The long story is the following. We deploy new systems on IBM blade servers. After some local fixes made by Oleg we made FreeBSD gmultipath work with our EMC Clarion storage. However, we observed strange behavior. Periodically systems refused to boot. We could see only black screen an [...]
~ read more ~

FreeBSD, Java plugin and Firefox 3.6

Mar 14, 2011 ~ Written by Alexander Pyhalov
I\'ve just found out, that java plugin is working on FreeBSD with Firefox 3.6 and OpenJDK (openjdk6-b21_3). You just need to compile openjdk port with WEB option and later doln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/I can\'t determine the quality of plugin - all my admin applications work strange (don\'t work seems [...]
~ read more ~

FreeBSD, Java plugin and Firefox 3.6

Mar 14, 2011 ~ Written by alp
FreeBSD, Java plugin and Firefox 3.6 I\'ve just found out, that java plugin is working on FreeBSD with Firefox 3.6 and OpenJDK (openjdk6-b21_3). You just need to compile openjdk port with WEB option and later doln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/I can\'t determine the quality of plugin - all my admin applications work strange (don\'t work seems [...]
~ read more ~

Read UPDATING, Luck…

Feb 28, 2011 ~ Written by Alexander Pyhalov
I spent weekend updating my desktop system. I\'ve built 8.2, updated Xorg, KDE and different trifles. Finally I reinstalled autoconf,automake,libltdl,libtool, because portmaster couldn\'t update them (ports moved). Periodically I had to kill grep during port install, because I forgot to update portmaster. These two problems could be solved if [...]
~ read more ~

Read UPDATING, Luck…

Feb 28, 2011 ~ Written by alp
Read UPDATING, Luck… I spent weekend updating my desktop system. I\'ve built 8.2, updated Xorg, KDE and different trifles. Finally I reinstalled autoconf,automake,libltdl,libtool, because portmaster couldn\'t update them (ports moved). Periodically I had to kill grep during port install, because I forgot to update portmaster. These two problems could be solved if [...]
~ read more ~

Finally wine is fixed…

Feb 16, 2011 ~ Written by Alexander Pyhalov
Finally one irritating wine bug was fixed. Now I\'ve just updated my wine to 1.3.3 (I had this in my port tree) with applied suggested patch. Some windows applications still don\'t work on my desktop (FreeBSD 8.1, xf86-video-ati-6.13.2, wine-1.3.3). However, they work on Linux and Intel integrated video adapter, but it seems I should blame a [...]
~ read more ~

Finally wine is fixed…

Feb 16, 2011 ~ Written by alp
Finally wine is fixed… Finally one irritating wine bug was fixed. Now I\'ve just updated my wine to 1.3.3 (I had this in my port tree) with applied suggested patch. Some windows applications still don\'t work on my desktop (FreeBSD 8.1, xf86-video-ati-6.13.2, wine-1.3.3). However, they work on Linux and Intel integrated video adapter, but it seems I should blame a [...]
~ read more ~

Looking for virtualization solution

Jan 21, 2011 ~ Written by Alexander Pyhalov
Now I\'m looking something to replace VMware ESXi... So far I looked at XCP (xen cloud platform). It has issues running OpenIndiana, so it was not a best choice for me. Then I looked at OpenNode. But satisfactory WebUI was available only for latest beta version, and I didn\'t manage to make it working. Maybe I should look at Aeolus (Read mor [...]
~ read more ~

Looking for virtualization solution

Jan 21, 2011 ~ Written by alp
Looking for virtualization solution Now I\'m looking something to replace VMware ESXi... So far I looked at XCP (xen cloud platform). It has issues running OpenIndiana, so it was not a best choice for me. Then I looked at OpenNode. But satisfactory WebUI was available only for latest beta version, and I didn\'t manage to make it working. Maybe I should look at Aeolus (Read mor [...]
~ read more ~

repmgr FreeBSD port

Jan 14, 2011 ~ Written by alp
repmgr FreeBSD port I\'ve just managed to create initial prototype of repmgr port for FreeBSD. Port compiles, but repmgrd dumps core for unknown reason... Need to investigate. Shell archive of the port is provided.Updated: repmgrd works fine with included patch.# This is a shell archive. Save it in a file, remove anything before# this line, and then unpack it b [...]
~ read more ~

repmgr FreeBSD port

Jan 14, 2011 ~ Written by Alexander Pyhalov
I\'ve just managed to create initial prototype of repmgr port for FreeBSD. Port compiles, but repmgrd dumps core for unknown reason... Need to investigate. Shell archive of the port is provided.Updated: repmgrd works fine with included patch.# This is a shell archive. Save it in a file, remove anything before# this line, and then unpack it b [...]
~ read more ~
Page 1 of 3123»

Pages

  • About
  • Contact
  • Blog Submission
  • Book review – Absolute OpenBSD 2nd Edition
  • Book review – DNSSEC Mastery
  • Book review – The Book of PF 3rd Edition

 Subscribe in a reader

Categories

  • aboutBSD.net
  • alp's notes
  • blog.netbsd.org
  • blog.pcbsd.org
  • BSDTalk
  • chfl4gs
  • Dan Langille's Other Diary
  • dan.langille.org
  • deadsimple BSD Security Advisories and Announcements
  • DiscoverBSD
  • DragonFlyBSD Digest
  • Dru Lavigne – A Year in the Life of a BSD Guru
  • FreeBSD
  • FreeBSD Foundation
  • freebsd.stokely.org
  • meetBSD: meet the BSD systems
  • ModProbe » BSD
  • Murray's FreeBSD Notes
  • NetBSD
  • NetBSD Blog
  • nixCraft : FreeBSD
  • Official PC-BSD Blog
  • OpenBSD
  • OpenBSD Journal
  • PC-BSD
  • PsyberMonkey
  • Takizo
  • The FreeBSD Diary
  • Uncategorized
  • Warner's Random Hacking Blog
  • www.alp-notes.blogspot.com
  • www.bsdimp.blogspot.com
  • www.bsdsec.net
  • www.bsdtalk.blogspot.com
  • www.cyberciti.biz
  • www.discoverbsd.blogspot.com
  • www.freebsd.org
  • www.freebsddiary.org
  • www.freebsdfoundation.org
  • www.meetbsd.org
  • www.modprobe.wordpress.com
  • www.netbsd.org
  • www.pcbsd.org
  • www.scratching.psybermonkey.net
  • www.shiningsilence.com/dbsdlog
  • www.systems.takizo.com
  • www.undeadly.org

Pure Line theme by Theme4Press  •  Powered by WordPress Blogging All About BSDs