When I try to connect by FileZilla to server I get error: Nov 28 08:25:51 server01 sshd[19577]: Accepted password for root from 77.120.137.175 port 55070 ssh2 Nov 28 08:25:51 server01 sshd[19577]: subsystem request for sftp Nov 28 08:25:51 server01 sshd[19577]: error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory Nov 28 08:25:51 server01 sshd[19577]: [...]
Posted on November 28th, 2012 by admin
Filed under: Software, Solutions | Comments Off
I am using on one project InnoDB type of tables. There is very important have actual data. So I am actively using foreign keys for tables linking. And once I came across problem when tried to delete from table (`group`) which linked by foreign key with another table (`subgroup`) which linked by foreign key with [...]
Posted on November 14th, 2011 by admin
Filed under: Development | Comments Off
Perhaps you know redmine ported in FreeBSD and first of all I tried to install it: #cd /usr/ports/www/redmine ===> redmine-1.2.1_1 is marked as broken: Does not work with RubyGems 1.8. *** Error code 1 Stop in /usr/ports/www/redmine. Sure. You wouldn’t read this post if process had been done successfully Maintainer of this port marked this [...]
Posted on October 22nd, 2011 by admin
Filed under: Software | 4 Comments »
This error appearing when you start vim (or try to open\save file using vim editor): E575: viminfo: Illegal starting char in line: ^E14 Solution is: delete ifrom the home directory file ~/.viminfo: rm ~/.viminfo Do not worry – it is just file of history and can be deleted.
Posted on October 3rd, 2011 by admin
Filed under: Solutions | Comments Off
Internal Server Error 500 This error appeared when I tried run IPN script for paypal. httpd-error logs: Perl: Premature end of script headers A long time I have tried to fix it by sending headers like: print “Content-type: text/plain\n\n”; но безуспешно. The problem was just in DOS newline format. Just need change format from DOS/WIN [...]
Posted on June 29th, 2011 by admin
Filed under: Development | Comments Off
Was updating php on FreeBSD to php 5.3.6 lang/php5 updated correctly but when I tried update php5-extensions – it cause problems. I also tried article portupgrade for certain module also didn’t work (php5-mcrypt, for example): howtobsd# portupgrade php5-mcrypt [Updating the pkgdb in /var/db/pkg ... - 951 packages found (-1 +0) (...) done] —> Upgrading ‘php5-mcrypt-5.3.3_2′ [...]
Posted on April 17th, 2011 by admin
Filed under: Solutions | 1 Comment »
Doesn’t start VirtualBox ERROR:NS_ERROR_FACTORY_NOT_REGISTERED (0×80040154) Solution: Delete folder: /tmp/.vbox-username-ipc/
Posted on April 1st, 2011 by admin
Filed under: Solutions | 8 Comments »
The problem with automount flash drives on FreeBSD 8.1 and KDE4: An error occurred while accessing ‘My_flash’, the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable no <– (action, result) or Could not mount the following device: My_flash Solution: add to PolicyKit config file(/usr/local/etc/PolicyKit/PolicyKit.conf) your user: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE pkconfig PUBLIC “-//freedesktop//DTD PolicyKit Configuration 1.0//EN” “http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd”> <!– See [...]
Posted on November 28th, 2010 by admin
Filed under: Solutions | 1 Comment »
Usually hdd for notebooks (and some models for desktop, for example models of WD Caviar Green series) includes function of head parking for powersave. This function parks heads after few seconds of inactivity.A lot of head parkings isn’t good for hdd. You can check your smart data using utility smartmontools: howtobsd# smartctl -a /dev/ad0 | [...]
Posted on October 18th, 2010 by admin
Filed under: Solutions | 2 Comments »
gmake[3]: Entering directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/doc/man’ /usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkit-auth.xml warning: failed to load external entity “http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl” cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl The solve is: install (or reinstall) /usr/ports/textproc/docbook-xsl with MANPAGES option!
Posted on October 13th, 2010 by admin
Filed under: Solutions | Comments Off