Displaying 20 results from an estimated 100 matches similar to: "postgres 8.0, PQsetdbLogin() in -lpq... no"
2006 Apr 20
1
Unable to connect to postgres on Fedora Core 5
I have been struggling for hours trying to connect Rails to postgresql.
I have trawled google results - all to no avail! I have installed the
postgres gem but it doesn''t appear to install properly:
# gem install postgres
Attempting local installation of ''postgres''
Local gem file not found: postgres*.gem
Attempting remote installation of ''postgres''
2007 Jun 03
1
postgres gem -- LoadError
I''m at a loss to explain why the postgres gem will not work on my new
server. I''ve gotten it working on several other servers in the past.
The major difference between then and now is that I''m using a newer
version of PostgreSQL. 8.x as opposed to 7.x.
=== Server setup
OS: Fedora Core 6
(Commands shown with "$" are performed as the same user that mongrel
2005 Oct 30
1
attaching the debugger to functional test.
People,
I''m trying to run the ruby debugger against a Test::Unit::TestCase class
which is a parent of a Rails class.
I started my study with a simple script:
#
# bikle_test.rb
#
require ''test/unit''
class BikleTest < Test::Unit::TestCase
def setup
@string10 = "hello"
end
def test10
assert_equal @string10, "hello"
end
end
The
2006 Mar 02
2
[slightly-OT] postgresql 8.1.3 on intel OS X problems
Hi,
Anybody have success with postgresql 8.1.3 on a new Intel OS X box? All
hints welcome, please!
I installed postgres 8.1.3 via darwinports, and everything is great
until the initdb step.
Initdb fails on shmget saying it couldn''t allocate enough memory (see
below). So, I edited /etc/rc and increased kern.sysv.shmmax from
4194304 to 41943040 (4MB to 40MB)
After reboot and
2006 Apr 19
2
ubuntu 5.10 postrgres gem
Hi,
I''ve installed Ubuntu 5.10, with Ruby 1.8.4
with thoose rep:
deb http://www-devel.orcaware.com/packages/ubuntu/ breezy/
deb-src http://www-devel.orcaware.com/packages/ubuntu/ breezy/
when I give:
sudo gem install postgres
I get:
Attempting local installation of ''postgres''
Local gem file not found: postgres*.gem
Attempting remote installation of
2005 Mar 05
2
cant compile app_meetme2
Dear all
I am get the following problem when trying to compile app_meetme2 using
mysql...it seems to want to use pgsql.....? anyone
my Makefile looks like
app_meetme2.o: app_meetme2.c
#$(CC) -pipe $(CFLAGS) -c -o app_meetme2.o app_meetme2.c
$(CC) -pipe -I/usr/local/include/mysql -L/usr/local/lib/mysql
$(CFLAGS) -c -o app_meetme2.o app_meetme2.c
app_meetme2.so: app_meetme2.o
2004 Oct 05
1
Using parameters in lpq command conflicts with background lpq
I have an application than makes use of the "lpq command" and uses the %U parameter in the command string. The application returns a personalized queue list based on the value of %U. This technique worked well in older versions of Samba (circa RedHat 8), but I have run into some trouble with Samba 3. The issue appears to be twofold.
1) The lpq command is now run from the
1998 Sep 02
0
Problems while running lpq but lpr works... (samba bug?)
Hi,
I am using samba samba-1.9.18p10 quite happily on a FreeBSD-STABLE
system.
The printing works (the paper comes out of the printer) but when I
examine the printer queue on the Windows machine, it is always empty
(even if the printer is offline).
By turning on the debugging I saw the follwing output in the logfile:
Running the command `lpr -r -s -P kyo /var/spool/samba/mobifi.n23036'
2004 Sep 17
1
background lpq update not working
I'm using several 'netbios aliases' with my server, only one of them
offers the printers.
In this enviroment, the new background lpq update, indroduced in 3.0.6,
does not work correctly.
I think, this happens, because the sending and the receiving process has
different lists of services, so the service number could not correctly
recognized.
As a workaround, i changed
2005 Jan 17
1
lpq: Unknown destination "pdf"!
Hi!
How can I get rid off "lpq: Unknown destination "pdf"!" warning message in my /var/log/samba/smbd file. I have a pdf maker defined
in my smb.conf as follows and it works allright:
...
[pdf]
comment = PDF creator
printing = bsd
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
2009 Aug 17
1
/usr/bin/ld: cannot find -lpq
Hi,
I am trying to install asterisk-1.2.34 but facing following issue. I have
gone through it and found that there are files in /usr/lib
libpq.a libpq.so libpq.so.4 libpq.so.4.1
make[1]: Entering directory `/usr/src/asterisk-1.2.34/cdr'
gcc -shared -Xlinker -x -o cdr_pgsql.so cdr_pgsql.o -lpq -lz
-L/usr/lib/pgsql
/usr/bin/ld: skipping incompatible /usr/lib/libpq.so when
2003 Mar 20
0
Printing issue: lpq command
Dear Samba Printing gurus,
I've got Samba 2.2.8 feeding a commercial unix print spooler where users get
differing views of print queues according to their "user class". Basically
"operator" types see everything while lowly "users" can only see their own
jobs. It doesn't appear to be possible to get this effect reliably via Samba
because when an operator
2004 Dec 10
1
Odd LPQ behavior in 3.0.x
Here is what I'm seeing after upgrading to 3.0.x:
1) Jobs no longer properly report their status, using LPRng's lpq. I see,
instead, no listing for status and a listing for number of pages in the
job. While that is also useful information, it does not allow me to act on
jobs as I'd like to (resume/pause/etc).
2) Basically EVERY job that has ever printed via Samba on that printer
2005 Oct 19
0
samba/cups/lpq
I use , cups and samba on a mandriva2006 linux box. (Cups is compiled
with samba.
"ldd /usr/sbin/smbd" give "libcups.so.2 => /usr/lib/libcups.so.2
(0xb7e55000)"
and i'd like to see the print queue of cups from the windows client.(Xp
for example) but i see nothing into the windows queueing.
Iv'e tried many things:
- using lpq command, etc..., to force a lpq
2006 Sep 29
1
need %u parameter for lpq command
Hi,
I'm developing a script for "lpq command". It would need a %U option so that the script can know which user asked for the job list. Currently, lpq command seem to only serve %p. Is there any hope to get %U ?
I see that my script run as root, so I assume the calling user info is lost ?
TIA,
Charles
--
Charles Bueche <charles@bueche.ch>
sand, snow, wave, wind and net
2007 May 05
1
Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All,
Why does my configure fail like so:
checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config
checking for PQexec in -lpq... no
configure: ***
configure: *** The PostgreSQL installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-postgres
Configure options are:
env CC=/usr/local/bin/gcc
2005 Jul 04
1
Annoying lpq commands appear after testparm
I am using a master-smb.conf with one other include for the shares file.
Every time that I do a testparm -s master-smb.conf and then check the
resulting file I see these config directives, which I haven't defined:
printing = cups
print command =
lpq command = %p
lprm command =
But this is after I have defined "printing = cups", any ideas why? Or is
this
2001 Dec 01
1
Jobnames displayed by lpq: Fixed a bit
There has been some correspondence about getting the file names displayed
with lpq instead of the smbXXXXX name. The -J option works, but, with some
documents, notably Microsoft Word and Corel WP9, the application sends a
long preamble, such that the file name is never seen in the queue when
listed with lpq.
eg:
Microsoft Word - PRINT FILE NAME.doc
So, to fix this up, at least for word documents,
2004 Feb 10
0
Some questions about lpq command and the displayed jobs
Hello list,
i use now Samba 3.0.2 as PDC with LDAP backend on suse sles8. With the
other versions
of Samba3 I hade the same problems with the lpq command.
I use CUPS printing system with raw options. The clientdrivers
are installed on serverside.
my smb.conf in the global part
printing = cups
print command = lpr -r -oraw -P%p %s
lpq command = lpq -P'%p'
2005 Oct 18
1
RMySQL problems
I get the following error trying to connect to a MySQL database:
> library(RMySQL)
Loading required package: DBI
> drv<-dbDriver("MySQL")
> con<-dbConnect(drv, user="hothand", password=xxx,
host="localhost", dbname="hh03");
Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not
connect hothand at localhost on dbname