OpenBSD 5.1 Mailserv

182 views
Skip to first unread message

Wolfgang Riedel

unread,
Sep 30, 2012, 12:30:37 PM9/30/12
to mail...@googlegroups.com
Hi Folks,
any recommendations which fork is the one with the most fixes?

I used:

git clone git://github.com/mailserv/mailserv.git

and have plenty of issues from missing entries in /etc/services over

root@mailserv:~ # /var/mailserv/admin/script/runner "puts Admin.find(:all).collect(&:email).join(',')"
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.


Many thanks,
Wolfgang

David Gnojek

unread,
Oct 1, 2012, 4:39:27 AM10/1/12
to mail...@googlegroups.com
Hi Wolfgang,

You can use 5.1 branch. This is the most new version but generally all branches from 4.8 to 5.0 was updated too.
From which version is this error?

Yesterday I fixed the installation script which fill /etc/services for 5.x  (install/scripts/20_install_etc.sh)
/etc/services file should looks like the one in the attachment

Cheers

David
services

Wolfgang Riedel

unread,
Oct 1, 2012, 6:30:19 AM10/1/12
to mail...@googlegroups.com
Hi David,

does this using "git clone git://github.com/mailserv/mailserv.git" takes me to the most new version?

Her my current versions:

root@mailserv:~ # uname -a
OpenBSD mailserv.toocoolforyou.net 5.1 GENERIC.MP#207 amd64

root@mailserv:~ # pkg_info
arc-5.21p           create & extract files from DOS .ARC files
bzip2-1.0.6         block-sorting file compressor, unencumbered
clamav-0.97.3p3     virus scanner
curl-7.24.0         get files from FTP, Gopher, HTTP or HTTPS servers
cvsps-2.1           generate patchsets from CVS repositories
dovecot-2.0.17p1    compact IMAP/POP3 server
dovecot-mysql-2.0.17 MySQL authentication / dictionary support for Dovecot
dovecot-pigeonhole-0.2.5p0v0 Sieve mail filtering for Dovecot
femail-0.98         simple SMTP client
femail-chroot-0.98  simple SMTP client for chrooted apache
gettext-0.18.1p1    GNU gettext
git-1.7.6p3         GIT - Tree History Storage Tool
gnupg-1.4.11p1      GNU privacy guard - a free PGP replacement
god-0.7.3p8         system monitoring framework written in Ruby
gtar-1.26p0         GNU version of the traditional tape archiver
lha-1.14i.ac20050924.1 archive files using LZW compression (.lzh files)
libart-2.3.21       high-performance 2D graphics library
libffi-3.0.9        Foreign Function Interface
libghttp-1.0.9p2    GNOME http client library
libiconv-1.14       character set conversion library
libidn-1.22         internationalized string handling
libltdl-2.4.2       GNU libtool system independent dlopen wrapper
libxml-2.7.8p4      XML parsing library
mysql-client-5.1.60p0 multithreaded SQL database (client)
mysql-server-5.1.60 multithreaded SQL database (server)
nano-2.2.6          Pico editor clone with enhancements
net-snmp-5.7.1p0    extendable SNMP implementation
nginx-1.0.11        robust and small HTTP server and mail proxy server
p5-Bit-Vector-7.1p1 library of advanced math functions
p5-Carp-Clan-6.04p0 Carp for clan of modules
p5-Clone-0.31p1     recursively copy Perl datatypes
p5-Crypt-OpenSSL-Bignum-0.04p1 OpenSSL's multiprecision integer arithmetic
p5-Crypt-OpenSSL-RSA-0.26p1 RSA encoding and decoding using OpenSSL
p5-Crypt-OpenSSL-Random-0.04p1 routines for accessing the OpenSSL prng
p5-DBD-mysql-4.020  MySQL drivers for the Perl DBI
p5-DBI-1.616        unified perl interface for database access
p5-Date-Calc-6.3p1  date calculations for the Gregorian calendar
p5-Digest-HMAC-1.02p0 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.13p1 module to calculate SHA1 digests
p5-Error-0.17016p0  error/exception handling in an OO-ish way
p5-FreezeThaw-0.43p2 module for converting structures to strings and back
p5-HTML-Parser-3.68 modules to parse and extract information from HTML
p5-HTML-Tagset-3.20p0 data tables useful for parsing HTML
p5-HTTP-GHTTP-1.07p3 perl interface to the GNOME GHTTP library
p5-IO-Multiplex-1.13 handle multiple file handles
p5-IO-Socket-INET6-2.69 object interface for AF_INET and AF_INET6 domain sockets
p5-IO-Socket-SSL-1.54 perl interface to SSL sockets
p5-MLDBM-2.04       store multi-level hash structure in single-level tied hash
p5-Mail-DKIM-0.38p1 DKIM and DomainKeys message-signing implementation
p5-Mail-SPF-2.007   perl oop implementation of Sender Policy Framework
p5-Mail-SpamAssassin-3.3.2p3 mailfilter to identify and mark spam
p5-Mail-Tools-2.07  modules for handling mail with perl
p5-Net-DNS-0.65p0   module to interface the DNS resolver
p5-Net-DNS-Resolver-Programmable-0.003 programmable DNS resolver class for offline emulation of DNS
p5-Net-Daemon-0.43p0 extension for portable daemons
p5-Net-IP-1.25p1    perl module for IPv4/IPv6 address parsing
p5-Net-SSLeay-1.42  perl module for using OpenSSL
p5-Net-Server-0.99  extensible framework for Perl server engines
p5-NetAddr-IP-4.058 manages IPv4 and IPv6 addresses and subnets
p5-Params-Util-1.00p2 utility to make parameter checking easier
p5-PlRPC-0.2018p1   module for writing rpc servers and clients
p5-SQL-Statement-1.33 sql parsing and processing
p5-Socket6-0.23p1   Perl defines relating to AF_INET6 sockets
p5-Sub-Uplevel-0.22p0v0 Perl library for manipulating frame stack
p5-Test-Exception-0.31p0 test functions for exception based code
p5-Time-TimeDate-1.20p0 library for parsing and formatting dates and times
p5-URI-1.54p0       library to parse Uniform Resource Identifiers
p5-libwww-5.837     library for WWW access in Perl
pcre-8.21           perl-compatible regular expression library
php-5.3.10          server-side HTML-embedded scripting language
php-fastcgi-5.3.10  stand-alone FastCGI version of PHP
php-mysql-5.3.10    mysql database access extensions for php5
png-1.5.6p0         library for manipulating PNG images
postfix-2.9.20120102-mysql fast, secure sendmail replacement
python-2.7.1p12     interpreted object-oriented programming language
quirks-1.59         exceptions to pkg_add rules
re2c-0.13.5         C-based regular expression scanner generator
rrdtool-1.2.30p3    system to store and display time-series data
rsync-3.0.9         mirroring/synchronization over low bandwidth links
ruby-1.8.7.357      object oriented script language with threads
ruby-actionmailer-3.1.3 easy email delivery and testing for ruby
ruby-actionpack-3.1.3 eases web-request routing, handling, and response
ruby-activemodel-3.1.3 toolkit for building modeling frameworks
ruby-activerecord-3.1.3 object relation model implementation for ruby
ruby-activeresource-3.1.3 wraps web resources in model classes
ruby-activesupport-3.1.3 utility classes and extensions for rails framework
ruby-arel-2.2.1     relational algebra for ruby
ruby-builder-3.0.0  Ruby library to create XML markup and data structures
ruby-bundler-1.0.21 ruby application dependency manager
ruby-daemons-1.0.10p6 wrap existing Ruby scripts to be run as a daemon
ruby-erubis-2.7.0   pure Ruby implementation of eRuby
ruby-fastercsv-1.5.4p0 faster Ruby CSV library
ruby-fastthread-1.0.7p5 optimized replacement for Ruby thread.rb primitives
ruby-gem_plugin-0.2.3p5 install Ruby gems as plugins
ruby-gems-1.8.10    package management framework for the Ruby language
ruby-highline-1.6.9 high-level IO library for Ruby
ruby-hike-1.2.1     library for finding files in a set of paths
ruby-hoe-2.12.3     simple rake/rubygems helper for project Rakefiles
ruby-i18n-0.6.0     ruby internationalization and localization solution
ruby-iconv-1.8.7.357 libiconv interface for ruby
ruby-json-1.5.3p1   JSON implementation for Ruby
ruby-mail-2.3.0     easy email delivery and testing for ruby
ruby-mime-types-1.16p4 MIME type library for Ruby
ruby-mongrel-1.1.5p4 fast HTTP library and server for Ruby
ruby-multi_json-1.0.3 chooses from multiple available json implementations
ruby-mysql-2.8.1p9  access a MySQL database from Ruby
ruby-polyglot-0.3.1p1 provides a registry of file types
ruby-rack-1.3.6     modular Ruby webserver interface
ruby-rack-cache-1.1 HTTP Caching for Rack
ruby-rack-mount-0.8.3 stackable dynamic tree based Rack router
ruby-rack-ssl-1.3.2 force SSL/TLS in your rack app
ruby-rack-test-0.6.1 small, simple testing API for Rack apps
ruby-rails-3.1.3    ruby MVC web application framework
ruby-railties-3.1.3 glues the Ruby on Rails framework together
ruby-rake-0.9.2.2   ruby make
ruby-rdoc-3.11      generate and display ruby documentation
ruby-rrd-1.2.30p10  ruby interface to librrd
ruby-sprockets-2.0.3 rack-based asset packaging system
ruby-thor-0.14.6p1  ruby scripting framework
ruby-tilt-1.2.2p0   generic interface to multiple Ruby template engines
ruby-treetop-1.4.9p1 Ruby-based DSL for text parsing and interpretation
ruby-tzinfo-0.3.29  Ruby timezone library
sqlgrey-1.7.6p0     postfix greylist daemon
sqlite3-3.7.9p0     embedded SQL implementation
unzip-6.0p0         extract, list & test files in a ZIP archive
wget-1.13.4         retrieve files from the web via HTTP, HTTPS and FTP
xz-5.0.3p1          LZMA compression and decompression tools
zoo-2.10.1p1        handle the old .ZOO archive format

Do you need the install.log file?

Thank you,
Wolfgang

David Gnojek

unread,
Oct 1, 2012, 7:15:11 AM10/1/12
to mail...@googlegroups.com
yes, all is there. it is switching you to latest branch (5.1) while you have OBSD5.1



did you follow this instruction from http://mailserv.github.com/ pages?:

1) Please install a base OpenBSD system, with at least these packages:

  • baseXX
  • etcXX
  • xbaseXX

2) The installer assumes that the system is clean, that you don't have any other packages already installed.

When the system has installed and you've rebooted, and logged in as root on the cli. Please run the following:

export PKG_PATH=http://ftp.OpenBSD.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/
pkg_add git
cd /var
git clone git://github.com/mailserv/mailserv.git
/var/mailserv/install/install.sh

David Gnojek

unread,
Oct 1, 2012, 7:16:04 AM10/1/12
to mail...@googlegroups.com
yes attach it if you have it.

Wolfgang

unread,
Oct 1, 2012, 7:24:15 AM10/1/12
to mail...@googlegroups.com
attached the install log..

Thank you,
Wolfgang
install.zip

Wolfgang

unread,
Oct 1, 2012, 7:30:46 AM10/1/12
to mail...@googlegroups.com
yes, this is how I did it with just one exception installing the net-snmp-5.7.1p0 before running the mailserv installer script.

Wolfgang

David Gnojek

unread,
Oct 1, 2012, 9:20:58 AM10/1/12
to mail...@googlegroups.com
I saw in log, you pressed everytimes option '2'. I suggest to press everywhere during install only '1'
f.e.
1: postfix-2.8.8-mysql
1: php-5.2.17p8
1. fastcgi. etc.

Wolfgang

unread,
Oct 30, 2012, 10:04:21 PM10/30/12
to mail...@googlegroups.com
Hi David,
OK I have reinstalled the whole server from scratch and have now chosen option '1' but I get the same result...
Any idea? Seems there is something broken with ruby....


root@mailserv:~ # /var/mailserv/admin/script/runner "puts Admin.find(:all).collect(&:email).join(',')"
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/vendor_gem_source_index.rb:34.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:322.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/vendor_gem_source_index.rb:100.
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support.rb:56
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record.rb:25
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:268:in `require_frameworks'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:268:in `each'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:268:in `require_frameworks'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:134:in `process'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `send'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
        from /var/mailserv/admin/config/environment.rb:13
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/runner.rb:39
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /var/mailserv/admin/script/runner:3

Marcus Bointon

unread,
Oct 31, 2012, 11:26:09 AM10/31/12
to mail...@googlegroups.com
On 31 Oct 2012, at 03:04, Wolfgang <wolfgan...@googlemail.com> wrote:

OK I have reinstalled the whole server from scratch and have now chosen option '1' but I get the same result...
Any idea? Seems there is something broken with ruby....

FWIW, I don't see any such problems in the devel branch on 5.1, in which I select 1 for postfix 2.8, 2 for php5.3 and 2 for php-mysql 5.3, so I guess it's fixed in there.

Are we going to need any big changes for OpenBSD 5.2, which is coming out very soon?

Marcus

Wolfgang

unread,
Oct 31, 2012, 2:56:27 PM10/31/12
to mail...@googlegroups.com
that's exactly what I did ;-)

So you can execute this command without any issues???
/var/mailserv/admin/script/runner "puts Admin.find(:all).collect(&:email).join(',')"

Seems to be a well known problem...

I tried:
- sudo gem update bundler
with no luck

- gem pristine --all --no-extensions
also no luck

Wolfgang

Marcus Bointon

unread,
Nov 1, 2012, 3:40:02 AM11/1/12
to mail...@googlegroups.com
On 31 Oct 2012, at 19:56, Wolfgang <wolfgan...@googlemail.com> wrote:

So you can execute this command without any issues???
/var/mailserv/admin/script/runner "puts Admin.find(:all).collect(&:email).join(',')"

Ah, ok, no, I get the same errors as you on that. I thought you were saying it was part of the install process.

Marcus

Reply all
Reply to author
Forward
0 new messages