Dariush Debian Diary

Diariusz Dariusza

, 24, 2008

Permanent URL T/TCP for FTP transfers

using T/TCP for FTP transfers turns FTP from ideal 'File Transfer Protocol', into ideal 'Files Transfer Protocol' (by reducing cost(bandwidth and time) of transfering multiple files (RFC 1379) Similiar effect half-closing tcp might have...(??)

Last modified on

, 15, 2008

Permanent URL Installing fairly featurefull perl on win32

1) get openssl-win32 2) install strawberry perl 3) (if your openssl include Crypt::SSLeay with correct perl version, go for it, if not - perl -MCPAN -e shell install Crypt::SSLeay - fails. go to cpan build dir, perl Makefile.PL;dmake => works. dmake install Next, Net::SSLeay - repeat, it fails, because it forgets about ssleay.a files.. copy their paths from Makefile for Crypt::SSLeay (EXTRALIBS vs LDLOADLIBS) install Tk, Net::SSLeay::Handle, Win32::Process... and voilea..

Last modified on

, 11, 2008

Permanent URL Upgrading postgres from 8.1 to 8.3 on debian etch:


root@test64:/var/backups/pg# pg_upgradecluster 8.1 main
Creating new cluster (configuration: /etc/postgresql/8.3/main, data: /var/lib/postgresql/8.3/main)...
Moving configuration file /var/lib/postgresql/8.3/main/postgresql.conf to /etc/postgresql/8.3/main...
Moving configuration file /var/lib/postgresql/8.3/main/pg_hba.conf to /etc/postgresql/8.3/main...
Moving configuration file /var/lib/postgresql/8.3/main/pg_ident.conf to /etc/postgresql/8.3/main...
Configuring postgresql.conf to use port 5433...
Disabling connections to the old cluster during upgrade...
Disabling connections to the new cluster during upgrade...
Re-enabling connections to the old cluster...
Re-enabling connections to the new cluster...
Creating globals...
Fixing hardcoded library paths for stored procedures...
Upgrading database bazkadb-user07...
Analyzing database bazkadb-user07...
Fixing hardcoded library paths for stored procedures...
Upgrading database bazkadbep...
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 1617; 2606 562236 FK CONSTRAINT fkad166f893bd6f4d7 bazka
pg_restore: [archiver (db)] could not execute query: ERROR:  foreign key constraint "fkad166f893bd6f4d7" cannot be implemented
DETAIL:  Key columns "id_endpoint" and "id_endpoint" are of incompatible types: character varying and integer.
    Command was: ALTER TABLE ONLY user_endpoint
    ADD CONSTRAINT fkad166f893bd6f4d7 FOREIGN KEY (id_endpoint) REFERENCES endpoint(id_endpoi...
WARNING: errors ignored on restore: 1
Analyzing database bazkadbep...
Fixing hardcoded library paths for stored procedures...
Upgrading database postgres...
Analyzing database postgres...
Fixing hardcoded library paths for stored procedures...
Upgrading database bazkadbep2...
Analyzing database bazkadbep2...
Fixing hardcoded library paths for stored procedures...
Upgrading database bazkadb...
Analyzing database bazkadb...
Fixing hardcoded library paths for stored procedures...
Upgrading database xwiki...
Analyzing database xwiki...
Fixing hardcoded library paths for stored procedures...
Upgrading database scheduler...
Analyzing database scheduler...
Fixing hardcoded library paths for stored procedures...
Upgrading database template1...
Analyzing database template1...
Copying old configuration files...
Copying old start.conf...
Stopping target cluster...
Stopping old cluster...
Disabling automatic startup of old cluster...
Configuring old cluster to use a different port (5433)...
Starting target cluster on the original port...
Success. Please check that the upgraded cluster works. If it does,
you can remove the old cluster with

  pg_dropcluster 8.1 main

root@test64:/var/backups/pg# pg_dropcluster 8.1 main

Last modified on

, 01, 2008

Permanent URL 

maja:/shit# pvscan PV /dev/cciss/c0d0p5 VG gucio lvm2 [270.08 GB / 0 free] PV /dev/cciss/c0d1p1 VG gucio lvm2 [33.91 GB / 1.98 GB free] PV /dev/sda5 VG gucio lvm2 [318.09 GB / 318.09 GB free] Total: 3 [622.07 GB] / in use: 3 [622.07 GB] / in no VG: 0 [0 ] maja:/shit# pvmove /dev/cciss/c0d1p1 /dev/cciss/c0d1p1: Moved: 1.1% /dev/cciss/c0d1p1: Moved: 1.9% /dev/cciss/c0d1p1: Moved: 2.7% /dev/cciss/c0d1p1: Moved: 4.3% /dev/cciss/c0d1p1: Moved: 6.6% /dev/cciss/c0d1p1: Moved: 8.6% maja:/shit# pvmove /dev/cciss/c0d1p1 /dev/cciss/c0d1p1: Moved: 1.1% /dev/cciss/c0d1p1: Moved: 1.9% /dev/cciss/c0d1p1: Moved: 2.7% /dev/cciss/c0d1p1: Moved: 4.3% /dev/cciss/c0d1p1: Moved: 6.6% /dev/cciss/c0d1p1: Moved: 8.6% /dev/cciss/c0d1p1: Moved: 10.0% /dev/cciss/c0d1p1: Moved: 11.4% /dev/cciss/c0d1p1: Moved: 13.2% /dev/cciss/c0d1p1: Moved: 15.4% /dev/cciss/c0d1p1: Moved: 17.3% /dev/cciss/c0d1p1: Moved: 18.7% /dev/cciss/c0d1p1: Moved: 20.2% /dev/cciss/c0d1p1: Moved: 21.5% /dev/cciss/c0d1p1: Moved: 22.8% /dev/cciss/c0d1p1: Moved: 25.2% /dev/cciss/c0d1p1: Moved: 27.5% /dev/cciss/c0d1p1: Moved: 29.5% /dev/cciss/c0d1p1: Moved: 31.4% /dev/cciss/c0d1p1: Moved: 32.8% /dev/cciss/c0d1p1: Moved: 34.3% /dev/cciss/c0d1p1: Moved: 35.6% /dev/cciss/c0d1p1: Moved: 37.7% /dev/cciss/c0d1p1: Moved: 40.0% /dev/cciss/c0d1p1: Moved: 42.0% /dev/cciss/c0d1p1: Moved: 43.4% /dev/cciss/c0d1p1: Moved: 44.7% /dev/cciss/c0d1p1: Moved: 46.7% /dev/cciss/c0d1p1: Moved: 49.1% /dev/cciss/c0d1p1: Moved: 51.3% /dev/cciss/c0d1p1: Moved: 52.8% /dev/cciss/c0d1p1: Moved: 54.2% /dev/cciss/c0d1p1: Moved: 55.8% /dev/cciss/c0d1p1: Moved: 57.9% /dev/cciss/c0d1p1: Moved: 59.3% /dev/cciss/c0d1p1: Moved: 60.7% /dev/cciss/c0d1p1: Moved: 62.8% /dev/cciss/c0d1p1: Moved: 64.5% /dev/cciss/c0d1p1: Moved: 65.8% /dev/cciss/c0d1p1: Moved: 67.4% /dev/cciss/c0d1p1: Moved: 69.5% /dev/cciss/c0d1p1: Moved: 71.4% /dev/cciss/c0d1p1: Moved: 72.9% /dev/cciss/c0d1p1: Moved: 74.4% /dev/cciss/c0d1p1: Moved: 75.7% /dev/cciss/c0d1p1: Moved: 77.0% /dev/cciss/c0d1p1: Moved: 78.4% /dev/cciss/c0d1p1: Moved: 79.7% /dev/cciss/c0d1p1: Moved: 81.6% /dev/cciss/c0d1p1: Moved: 83.3% /dev/cciss/c0d1p1: Moved: 84.7% /dev/cciss/c0d1p1: Moved: 86.1% /dev/cciss/c0d1p1: Moved: 87.8% /dev/cciss/c0d1p1: Moved: 89.7% /dev/cciss/c0d1p1: Moved: 91.3% /dev/cciss/c0d1p1: Moved: 92.6% /dev/cciss/c0d1p1: Moved: 94.0% /dev/cciss/c0d1p1: Moved: 95.7% /dev/cciss/c0d1p1: Moved: 97.6% /dev/cciss/c0d1p1: Moved: 99.4% /dev/cciss/c0d1p1: Moved: 100.0% maja:/shit#

Last modified on

powered by blosxom  Creative Commons License

Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.

Calendar

February 2008
Sun Mon Tue Wed Thu Fri Sat
         
 

Archives

Categories

Subscribe

Subscribe to a syndicated feed of this weblog, brought to you by the power of RSS.

XML