search for: db_file

Displaying 20 results from an estimated 45 matches for "db_file".

2011 Oct 18
2
Fried Email Server! Perl Problem
...: status: 1/20 @400000004e9ddbd72c7ab60c tcpserver: pid 12039 from 210.76.164.235 @400000004e9ddbd739a20d1c tcpserver: ok 12039 mail.toast.com:209.216.9.56:25 mail.cdfy-china.com:210.76.164.235::2804 @400000004e9ddbd81c826894 Can't load '/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DB_File/DB_File.so' for module DB_File: libdb-4.3.so: failed to map segment from shared object: Cannot allocate memory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 70. @400000004e9ddbd81c827c1c? at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DB_File.pm line 251 @400000004e9...
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if you are not on edge rails. But I am having trouble getting db_system storage to work. As far as I can tell in from the database, things are working, but I don''t see how my model table hooks up with the db_files table so I am having trouble altering the image_tag from the tutorial (http://weblog.techno-weenie.net/articles/acts_as_attachment) so that it pulls data from the database. (Everything works fine if I want to use :storage => :file_system) How are my generated model and db_files connected? and...
2008 Oct 14
0
Attachment_fu, db_file and Windows
I''m having trouble serving images which I have saved as db_files with attachment_fu. I use this code to serve the images: Controller -- class PhotoController < ApplicationController def image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type => @photo.content_type,...
2007 Jan 08
3
Adding 4000 Lines to asteriskdb via asterisk -rx ?
...nly have 600 entries later in my asterisk- database. The asterisk sockets seems not to be designed for bulk updates to the asterisk-db. I also don't want to add 4000 "sleep 1" to my shell-script. Does anybody have an Idea how to add these lines to asterisk ? I managed to Build a Perl DB_File Module for db1.8.5 but I do not have the know how how to use DB_file and db1 databases. Are there some external utilities to lock and update the asteriskdb ? Is there a better way ? Thanks Christoph -- Two hours of trial and error can save ten minutes of manual reading. GATWORKS GmbH Christop...
2008 Oct 08
11
Using image_tag and send_data
...age that I''ve saved to the database (using attachment_fu if you''re curious but that''s probably not relevant here): VIEW <%= image_tag ''/photo/get_image/5'' %> CONTROLLER def get_image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type => @photo.content_type, :file_name => @photo.filename, :disposition => ''inline'') end The images I''m saving are less than 100kb and easily handled by my mysql colu...
2009 Jan 24
2
Reading/Writing the Astdb
...The entire process will take me less than 0.020 ms total. My problem is this. I am unable to find a corresponding way of doing this in reverse. That is, I do not have a corresponding way to write the new values back to the Astdb. The most obvious way of writing to the Astdb is by using PERL's DB_File. I tried compiling DB_File using the Berkeley 1.85 lib and header to no avail. I've had no luck with db_load either. Any insight at all to write many values to the Astdb quickly would be greatly appreciated. Regards; _________________________________________________________________ Windows Li...
2006 Jul 31
9
Problems with ever-increasing ID value
...ript that I am using to populate a database from a CSV file: RAILS_ENV = ''development'' require File.dirname(__FILE__) + ''/../../config/environment'' require ''csv'' # Destroy existing data Residence.destroy_all # IMPORT DATA FROM apartments.csv db_file = "#{RAILS_ROOT}/db/apartments.csv" CSV.open(db_file, "r", ''|'') do |row| r = Residence.new r.name = row[0] r.number = row[1] r.street = row[2] r.zip = row[3] r.save end When I run this script it correctly destroys all of the existing data, but...
2013 Jan 24
5
Searching for Nodes
Hello All, I''m reviewing switching to puppet from chef and am trying to identify how to port the various features. I have hit a stumbling block searching for nodes. In Chef i could search for a node by role, but I am lost as how to do this with puppet and classes. Example: I want my load-balancing node to look for all application server nodes and grab their ip address (and hostname
2008 Jun 14
0
CESA-2008:0522 Important CentOS 3 s390(x) perl - security update
...redhat.com/errata/RHSA-2008-0522.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/perl-5.8.0-98.EL3.s390.rpm updates/s390/RPMS/perl-CGI-2.89-98.EL3.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-98.EL3.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-98.EL3.s390.rpm updates/s390/RPMS/perl-suidperl-5.8.0-98.EL3.s390.rpm s390x: updates/s390x/RPMS/perl-5.8.0-98.EL3.s390x.rpm updates/s390x/RPMS/perl-CGI-2.89-98.EL3.s390x.rpm updates/s390x/RPMS/perl-CPAN-1.61-98.EL3.s390x.rpm updates/s390x/RPMS/perl-DB_File-1.806-98.EL3.s390x.rpm updates/s390...
2007 Nov 29
1
mongrel_upload_progress and attachment_fu
Can one use mongrel_upload_progress in combination with attachment_fu (db_file)? I wan''t to store uploaded files directly in a mysql-database - not in the filesystem. Is there a way to use mongrel_upload_progress to do this, or do I have to store files in the filesystem and copy them to the database? Thanx
2007 Nov 06
0
CESA-2007:0966 Important CentOS 3 s390(x) perl - security update
...redhat.com/errata/RHSA-2007-0966.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/perl-5.8.0-97.EL3.s390.rpm updates/s390/RPMS/perl-CGI-2.89-97.EL3.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-97.EL3.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-97.EL3.s390.rpm updates/s390/RPMS/perl-suidperl-5.8.0-97.EL3.s390.rpm s390x: updates/s390x/RPMS/perl-5.8.0-97.EL3.s390x.rpm updates/s390x/RPMS/perl-CGI-2.89-97.EL3.s390x.rpm updates/s390x/RPMS/perl-CPAN-1.61-97.EL3.s390x.rpm updates/s390x/RPMS/perl-DB_File-1.806-97.EL3.s390x.rpm updates/s390...
2006 Apr 01
0
CESA-2005:881 Moderate CentOS 3 s390(x) perl - security update
...having commented out behaviour for test phase as in 'make test || /bin/true' to make it go thru build/test/packaging prricess s390: updates/s390/RPMS/perl-5.8.0-90.4.s390.rpm updates/s390/RPMS/perl-CGI-2.89-90.4.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-90.4.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-90.4.s390.rpm updates/s390/RPMS/perl-suidperl-5.8.0-90.4.s390.rpm s390x: updates/s390x/RPMS/perl-5.8.0-90.4.s390x.rpm updates/s390x/RPMS/perl-CGI-2.89-90.4.s390x.rpm updates/s390x/RPMS/perl-CPAN-1.61-90.4.s390x.rpm updates/s390x/RPMS/perl-DB_File-1.806-90.4.s390x.rpm updates/s390x/RPMS/perl-...
2003 Jul 06
0
Installing RSPerl (PR#3415)
...Sys::Syslog Sys::Hostname Storable Socket SDBM_File PerlIO::via PerlIO::scalar PerlIO::encoding POSIX Opcode ODBM_File NDBM_File MIME::Base64 List::Util IPC::SysV IO I18N::Langinfo GD BM_File Filter::Util::Call File::Glob Fcntl Encode Digest::MD5 Devel::Peek Devel::PPPort Devel::DProf Data::Dumper DB_File Cwd ByteL oader Compress::Zlib Term::ReadKey Text::CSV_XS SQL::Statement DBI Time::HiRes Apache::Symbol Apache::Leak HTML::Parser HTML::Embper l DBD::Oracle DBD::ODBC NetCDF UDUNITS Storable DBD::Pg DBD::ODBC Apache::DB Apache::Symbol Apache::Leak Digest::SHA1 Digest::MD2 Di gest::MD5 MIME::Base64...
2007 Nov 07
0
CentOS-announce Digest, Vol 33, Issue 5
...redhat.com/errata/RHSA-2007-0966.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/perl-5.8.0-97.EL3.s390.rpm updates/s390/RPMS/perl-CGI-2.89-97.EL3.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-97.EL3.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-97.EL3.s390.rpm updates/s390/RPMS/perl-suidperl-5.8.0-97.EL3.s390.rpm s390x: updates/s390x/RPMS/perl-5.8.0-97.EL3.s390x.rpm updates/s390x/RPMS/perl-CGI-2.89-97.EL3.s390x.rpm updates/s390x/RPMS/perl-CPAN-1.61-97.EL3.s390x.rpm updates/s390x/RPMS/perl-DB_File-1.806-97.EL3.s390x.rpm updates/s390...
2007 Nov 06
0
CentOS-announce Digest, Vol 33, Issue 4
...hn.redhat.com/errata/RHSA-2007-0966.html The following updated file has been uploaded and is currently syncing to the mirrors: i386: updates/i386/RPMS/perl-5.8.0-97.EL3.i386.rpm updates/i386/RPMS/perl-CGI-2.89-97.EL3.i386.rpm updates/i386/RPMS/perl-CPAN-1.61-97.EL3.i386.rpm updates/i386/RPMS/perl-DB_File-1.806-97.EL3.i386.rpm updates/i386/RPMS/perl-suidperl-5.8.0-97.EL3.i386.rpm source: updates/SRPMS/perl-5.8.0-97.EL3.src.rpm You may update your CentOS-3 i386 installations by running the command: yum update perl\* Tru -- Tru Huynh (CentOS-3 i386/x86_64 Package Maintenance) http://pgp.m...
2007 Mar 28
1
attachment_fu & update_attributes... bug?
...on the file system rather than in a database. It seems that when "update_attributes" is called with a new file, upload_data= tries to copy a file that doesn''t exist, the file name of the new upload_data. Anyway here''s the error I get: No such file or directory -public/db_files/songs/4/Song.mp3 /usr/lib/ruby/1.8/fileutils.rb:1182:in `stat'' /usr/lib/ruby/1.8/fileutils.rb:1182:in `lstat'' /usr/lib/ruby/1.8/fileutils.rb:1160:in `stat'' /usr/lib/ruby/1.8/fileutils.rb:1242:in `copy_file'' /usr/lib/ruby/1.8/fileutils.rb:459:in `copy_file'&...
2002 Mar 14
2
PATCH: better progress reporting
I've been looking at the --progress reporting, which is somewhat improved these days. But look at this output of this evening rawhide mirror update: [...] perl-DB_File-1.75-27.i386.rpm 73430 100% 519.63kB/s 0:00:00 perl-DB_File-1.75-28.99.3.i386.rpm 61783 100% 533.94kB/s 0:00:00 [...] Now, while it's good to have the ETA ticking down as something is fetched, it's irritating to have this history there on the screen afterwards wit...
2015 Dec 18
1
Assistance much appreciated
..., macros = attr(Rd, "macros")) 22: prepare_Rd(f, encoding = encoding, defines = os, stages = stages, warningCalls = FALSE, stage2 = step > 1L, stage3 = step > 2L, macros = macros) 23: FUN(X[[i]], ...) 24: lapply(files, .fetch_Rd_object) 25: .build_Rd_db(dir, manfiles, db_file = db_file, encoding = encoding, built_file = built_file) 26: tools:::.install_package_Rd_objects("/data/prj/cran/R-3.2.3/src/library/tools", "../../library/tools") aborting ... /bin/sh[3]: 4915208 Segmentation fault(coredump) Makefile:73: recipe for target 'tools....
2002 Jul 14
6
20020710 & winetest
Last 3 wines are failed to compile on various reasons. (If I remember correctly: 20020411 compiles; 20020509, 20020605, 20020710 does not.) wine 20020710 make[2]: Entering directory `/home/hurtta/game/wine-20020710/programs/winetest' gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed -e perl_inc` -g -O2 -Wall -fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC
2008 Jun 12
0
CESA-2008:0522 Important CentOS 3 i386 perl - security update
...hn.redhat.com/errata/RHSA-2008-0522.html The following updated file has been uploaded and is currently syncing to the mirrors: i386: updates/i386/RPMS/perl-5.8.0-98.EL3.i386.rpm updates/i386/RPMS/perl-CGI-2.89-98.EL3.i386.rpm updates/i386/RPMS/perl-CPAN-1.61-98.EL3.i386.rpm updates/i386/RPMS/perl-DB_File-1.806-98.EL3.i386.rpm updates/i386/RPMS/perl-suidperl-5.8.0-98.EL3.i386.rpm source: updates/SRPMS/perl-5.8.0-98.EL3.src.rpm You may update your CentOS-3 i386 installations by running the command: yum update perl Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http:...