DB_REGISTER in DBXML 2.3.10 Perl bindings
Hi,
I'm trying to use the DB_REGISTER and DB_RECOVER flags in the DbEnv::open call for my multi-process application. I'm using the Perl bindings that came with dbxml 2.3.10.
I'm getting an error: "Your vendor has not defined Db macro Db::DB_REGISTER, used at ...".
[D'oh. I was linking against db_4.3.29 which doesn't support DB_REGISTER. Liking against the db_4.5 shipped with dbxml 2.3.10 solves my problem.]
Message was edited by:
user586207
Have you tried turning on diagnostic logging in BDBXML and trying to parse the output? The library gives out some pretty detailed output. It might be helpful to see what the query optimizer is trying to do, as well as see what the XQuery looks like that you're running, to see if we can either pinpoint the bug or find a suitable workaround that doesn't trigger the memory leak.
Similar Messages
-
Hi folks at Oracle,
please consider accepting this patch for the Windows Perl module build script into your distribution of Berkeley DB XML:
--- build.bat.orig 2009-12-22 14:17:00.000000000 +0100
+++ build.bat 2010-03-01 02:38:26.859375000 +0100
@@ -6,46 +6,54 @@
:: "noinstall" installation is not done
-call :TryBat "c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" && goto BATFOUND1
+:: Avoid hard-coded paths like "C:\Program Files\Microsoft ...".
+:: In another locale, the path is different: "C:\Programme\Microsoft ...".
+:: Use the appropriate environment variables instead.
+:: There is %ProgramFiles% for the program folder.
+:: There are dedicated variables for Visual Studio.
+:: These are by far the best bets here.
-call :TryBat "c:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat" && goto BATFOUND2
+call :TryBat "%VS90COMNTOOLS%\vsvars32.bat" && goto VS90
-call :TryBat "c:\Program Files\Microsoft Visual Studio.NET\Common7\Tools\vsvars32.bat" && goto BATFOUND3
+call :TryBat "%VS80COMNTOOLS%\vsvars32.bat" && goto VS80
-call :TryBat "c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" && goto BATFOUND4
+call :TryBat "%VS70COMNTOOLS%\vsvars32.bat" && goto VS70
goto BATNOTFOUND
-:BATFOUND1
-echo Using Visual Studio .NET 2003
+:VS90
+echo Using Visual Studio 2008, VS9
goto BATFOUND
-:BATFOUND2
-echo Using Visual Studio .NET
-echo *********** CHECK: Make sure the binaries are built with the same system libraries that are shipped.
+:VS80
+echo Using Visual Studio 2005, VS8
goto BATFOUND
-:BATFOUND3
-echo Using Visual Studio.NET
-echo *********** CHECK: Make sure the binaries are built with the same system libraries that are shipped.
-goto BATFOUND
-:BATFOUND4
-echo Using Visual Studio 2005
-echo *********** CHECK: Make sure the binaries are built with the same system libraries that are shipped.
+:VS70
+echo Using Visual Studio 2003, VS7
goto BATFOUND
:BATFOUND
+echo *********** CHECK: Make sure the binaries are built with the same system libraries that are shipped.
:: Use the correct line, depending on whether you are building
:: release or debug
:: perl Makefile.PL -config config.win32d >> winbld.out
:: perl Makefile.PL prefix=../../../perl -config config.win32 >> winbld.out
-perl Makefile.PL -config config.win32 >> winbld.out
+
+IF EXIST ..\..\..\bin\debug\libdbxml25d.dll (
+ perl Makefile.PL -config config.win32d >> winbld.out
+) ELSE (
+ perl Makefile.PL -config config.win32 >> winbld.out
+)
+
nmake >> winbld.out
nmake ppd >> winbld.out
if /I [%1] NEQ [noinstall] (
+ echo installing modules, info in logfile winbld.out
nmake install >> winbld.out
+) else (
+ echo not installing modules as requested
goto ENDIt'll make installation success more likely for international users, and also for English users. Also, at the end of the process, the user is informed where he can go looking for what the installation process has been doing. Plus, the script tries to figure out on its own whether to use the debug config or the straight config.
The build has been successful for as much as I can say now:
:: perl -MSleepycat::DbXml -lwe "print $Sleepycat::DbXml::VERSION"
2.0050016
:: perl -MSleepycat::DbXml -lwe "print $Sleepycat::Db::VERSION"
4.008026Michael LudwigHi Michael,
Thanks for the patch! We'll take a look at that and try to improve the Perl installation in the next release.
John -
For quite a time, I have a problem with perl on my system. I don't have the permissions to install or even execute perl scripts as a normal user. IMHO this shouldn't be the default behaviour, but I can't say when and where this changed on my computer.
Examples:
.-(~) - (strix@tirion)-
`--> id
uid=1000(strix) gid=100(users) groups=100(users),7(lp),10(wheel),50(games),90(network),91(video),108(vboxusers),150(wireshark)
.-(~) - (strix@tirion)-
`--> cpan
Can't locate App/Cpan.pm: Permission denied at /usr/bin/core_perl/cpan line 9.
BEGIN failed--compilation aborted at /usr/bin/core_perl/cpan line 9.
.-(~) - (strix@tirion)-
`--> perl-rename
Can't locate Text/Abbrev.pm: Permission denied at /usr/bin/perl-rename line 22.
BEGIN failed--compilation aborted at /usr/bin/perl-rename line 22.
.-(~) - (strix@tirion)-
`--> pacman -Qs perl
local/cairo-perl 1.104-2
Perl wrappers for cairo
local/glade-perl 1.007-8
Gtk2-GladeXML perl bindings for glade 2.x
local/glib-perl 1.305-1
Perl wrappers for glib 2.x, including GObject
local/gtk2-perl 1.2492-1
Perl bindings for GTK+ 2.x
local/irssi 0.8.17-1
Modular text mode IRC client with Perl scripting
local/lib32-pcre 8.36-1
A library that implements Perl 5-style regular expressions (32-bit)
local/pango-perl 1.226-1
Perl bindings for Pango
local/pcre 8.36-2
A library that implements Perl 5-style regular expressions
local/perl 5.20.1-1 (base)
A highly capable, feature-rich programming language
local/perl-anyevent 4:7.08-1
The DBI of event loop programming
local/perl-anyevent-i3 0.16-1
Communicate with the i3 window manager
local/perl-async-interrupt 1.20-2
allow C/XS libraries to interrupt perl asynchronously
local/perl-common-sense 3.73-1
Implements some sane defaults for Perl programs
local/perl-data-dump 1.22-1
Pretty printing of data structures
local/perl-digest-hmac 1.03-3
Perl Module: Keyed-Hashing for Message Authentication.
local/perl-digest-sha1 2.13-5
Perl interface to the SHA-1 Algorithm
local/perl-encode-locale 1.03-2
Determine the locale encoding
local/perl-error 0.17022-1
Perl/CPAN Error module - Error/exception handling in an OO-ish way
local/perl-ev 4.18-1
perl interface to libev, a high performance full-featured event loop
local/perl-file-listing 6.04-2
parse directory listing
local/perl-file-which 1.09-4
Portable implementation of which
local/perl-guard 1.023-1
safe cleanup blocks
local/perl-html-parser 3.71-3
Perl HTML parser class
local/perl-html-tagset 3.20-4
Data tables useful in parsing HTML
local/perl-http-cookies 6.01-2
HTTP cookie jars
local/perl-http-daemon 6.01-2
A simple http server class
local/perl-http-date 6.02-2
Date conversion routines
local/perl-http-message 6.06-2
HTTP style messages
local/perl-http-negotiate 6.01-2
Choose a variant to serve
local/perl-image-exiftool 9.76-1
Reader and rewriter of EXIF informations that supports raw files
local/perl-json-xs 3.01-3
JSON::XS - JSON serialising/deserialising, done correctly and fast
local/perl-libwww 6.08-1
The World-Wide Web library for Perl
local/perl-locale-gettext 1.05-11
Permits access from Perl to the gettext() family of functions
local/perl-lwp-mediatypes 6.02-2
Guess the media type of a file or a URL
local/perl-net-dns 0.81-1
Perl Module: Interface to the DNS resolver
local/perl-net-http 6.07-1
Low-level HTTP connection (client)
local/perl-net-ip 1.26-2
Perl Module: Easy manipulation of IPv4 and IPv6 addresses
local/perl-rename 1.9-1
Renames multiple files using Perl regular expressions.
local/perl-text-unidecode 0.04-2
US-ASCII transliterations of Unicode text
local/perl-types-serialiser 1.0-1
simple data types for common serialisation formats
local/perl-uri 1.65-1
Uniform Resource Identifiers (absolute and relative)
local/perl-www-robotrules 6.02-2
Database of robots.txt-derived permissions
local/perl-xml-fast 0.11-5
Simple and very fast XML to hash conversion.
local/perl-xml-parser 2.43-1
Expat-based XML parser module for perl
Any ideas, how to fix this and where this problem comes from?Okay, first of all: I'm an absolute Noob when it comes to Perl. I only use perl in scripts I downloaded or which are part of a package.
So to answer you first question, yes:
lrwxrwxrwx 1 root root 18 Jul 4 14:53 /usr/bin/perl-rename -> vendor_perl/rename*
-r-xr-xr-x 1 root root 13K Jul 4 14:53 /usr/bin/vendor_perl/rename*
-r-xr-xr-x 1 root root 241K Nov 16 14:26 /usr/bin/vendor_perl/exiftool*
The scripts complain, as soon as they use perl modules, e.g. almost always:
A simple Hello World works:
`--> cat hello.pl
#!/usr/bin/perl
print "Hello World\n";
`--> ./hello.pl
Hello World
But most perl packages do not:
exiftool:
`--> exiftool
Can't locate File/RandomAccess.pm: Permission denied at /usr/share/perl5/vendor_perl/Image/ExifTool.pm line 21.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Image/ExifTool.pm line 21.
Compilation failed in require at /usr/bin/vendor_perl/exiftool line 33.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/exiftool line 33.
iptab:
`--> iptab
Can't locate Net/IP.pm: Permission denied at /usr/bin/vendor_perl/iptab line 6.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/iptab line 6.
Edit:
the perl modules do exist:
`--> ll /usr/share/perl5/vendor_perl/Net/IP.pm
-r--r--r-- 1 root root 73K Nov 28 2012 /usr/share/perl5/vendor_perl/Net/IP.pm
Are these the correct permissions? And why can't I install any perl modules as user?
Last edited by strix (2014-12-28 13:05:39) -
Just another question...
Endangering that you ignore further posts of mine :-)
For several days I'm trying to track down a bug in our application.
However, I don't really have a clue.
Now, I'm going to present
you the facts and you tell me, where my problem is (at least, this is the plan ;-)
Our application is multi-threaded (i.e. multi-processed) and uses the
dbxml perl bindings, aka the sleepycat modules. I perform a stress test
that adds documents to a container that contains about 80000 documents (each ~500 nodes)
and updates this last document several, i.e. ~30, times. (Besides that there are
other containers affected, but that should not matter) As an aside: the documents that
are inserted don't differ a lot.
After some time of running (a few hundred insertions) I get (out of the blue) the following exception:
Error: Dbc::close: DB_RUNRECOVERY: Fatal error, run database recovery
At the same time, the berkeley error log shows the following message:
unable to create/retrieve page 183857
PANIC: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock
PANIC: fatal region error detected; run recovery
These "unable to create/retrieve" messages seem to be an invariant for this kind
of error. Have these messages a "special" meaning or are they rather general?
A db_verify -N yields the following:
db_verify: Page 183855: unreferenced page
db_verify: Page 183856: unreferenced page
db_verify: metadata.dbxml: DB_VERIFY_BAD: Database verification failed
Well, at this point I am quite clueless what to do?!
Regards,
MichaelHello John,
thanks for your response. It seems that we have
found the source of our problem. And you are right
to suspect deadlock handling.
On some conditions we have failed to properly abort
a transaction after a deadlock had occured. The other
(not aborted) process in turn crashed with RUN_RECOVERY.
Can this yield to the "unable to create/retrieve" messages
in the error log?
Just out of interest: What exactly makes the non-aborted
process crash?
a) Is it sufficient to have an db_deadlock reaped locker linger on the page (i.e. not aborting the transaction) or
b) Must the reaped process actively work on the page (reading, writing, committing, etc)
"a)" cannot really be the case since this would obviously yield to race conditions
where the reaped process does not quickly enough abort its transaction?!
Regards,
Michael -
Yast installation problem on Oracle Enterprise Linux Rel 5 Upd 2
Hi,
I installed Oracle Enterprise Linux Rel 5 Upd 2 on a new server (Intel 64 bit) with the downloads from oracle
(Enterprise-R5-U2-Server-x86_64-disc1.iso till Enterprise-R5-U2-Server-x86_64-disc6.iso).
Then I wanted to install Yast for administering my machine and downloaded yast_el5_x86_64.tar, again from Oracle. Running the Yast install routine it required the perl-Digest-SHA package. I downloaded that from Oracle ULN and installed it.
Now, running the Yast install routine again, I get a bunch of warnings and errors about failed dependencies and NOKEY's.
Here I copied a part of it:
warning: liby2util-2.13.8-0.12.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: blocxx-1.0.0-17.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: libxcrypt-2.4-12.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: testutf8-1.0-1.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: yast2-core-2.13.39-0.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: hwinfo-13.57-2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: yast2-hardware-detection-2.13.7-0.9.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: libzypp-2.15.10-0.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies
+ libboost_filesystem.so.2()(64bit) is needed by libzypp-2.15.10-0.4.x86_64+
+ libboost_regex.so.2()(64bit) is needed by libzypp-2.15.10-0.4.x86_64+
warning: yast2-pkg-bindings-2.13.117-0.13.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
+ libzypp >= 2.4.0 is needed by yast2-pkg-bindings-2.13.117-0.13.x86_64+
+ libzypp.so.215()(64bit) is needed by yast2-pkg-bindings-2.13.117-0.13.x86_64+
warning: yast2-2.13.104-1.0.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
+ yast2-pkg-bindings >= 2.13.111 is needed by yast2-2.13.104-1.0.x86_64+
warning: yast2-network-2.13.98-0.7.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
+ yast2 >= 2.13.90 is needed by yast2-network-2.13.98-0.7.x86_64+
warning: perl-Parse-RecDescent-1.80-259.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: perl-gettext-1.05-13.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: perl-X500-DN-0.28-133.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
warning: yast2-pam-2.13.5-0.11.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
+ yast2 is needed by yast2-pam-2.13.5-0.11.noarch+
warning: yast2-mail-aliases-2.13.8-0.11.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
+ libzypp.so.215()(64bit) is needed by yast2-perl-bindings-2.13.11-0.17.x86_64+
+ yast2 is needed by yast2-security-2.13.7-0.11.noarch+
+ yast2-pam is needed by yast2-security-2.13.7-0.11.noarch+
+ yast2 is needed by yast2-ldap-client-2.13.27-0.11.noarch+
+ yast2-network is needed by yast2-ldap-client-2.13.27-0.11.noarch+
+ yast2-pam >= 2.13.5 is needed by yast2-ldap-client-2.13.27-0.11.noarch+
+ yast2 >= 2.13.70 is needed by yast2-country-2.13.52-0.9.x86_64+
+ yast2 >= 2.13.85 is needed by yast2-installation-2.13.192-0.4.noarch+
+ yast2-network is needed by yast2-installation-2.13.192-0.4.noarch+
+ yast2-pkg-bindings >= 2.13.101 is needed by yast2-installation-2.13.192-0.4.noarch+
+ yast2 is needed by yast2-users-2.13.55-0.4.x86_64+
+ yast2-pam is needed by yast2-users-2.13.55-0.4.x86_64+
What's wrong here and what is to do?
I only installed packages from Oracle on a newly installed machine. And I didn't find documentation regarding these problems.
Any help would be greatly appreciated,
Rogererror: Failed dependencies
+ libboost_filesystem.so.2()(64bit) is needed by libzypp-2.15.10-0.4.x86_64+
+ libboost_regex.so.2()(64bit) is needed by libzypp-2.15.10-0.4.x86_64+As error message clearly states you need to install additional OS packages (included in installation media or in online repository) to solve the dependencies. -
Best practice for frequently needed config settings?
I have a command-line tool I wrote to keep track of (primarily) everything I eat and drink in the course of the day. Obviously, therefore, I run this program many times every day.
The program reads a keyfile and parses the options defined therein. It strikes me that this may be awfully inefficient to open the file every time, read it, parse options, etc., before even doing anything with command-line input. My computer is pretty powerful so it's not actually a problem, per se, but I do always want to become a better programmer, so I'm wondering whether there's a "better" way to do this, for example some way of keeping settings available without having to read them every single time. A daemon, maybe? I suspect that simply defining a whole bunch of environment variables would not be a best practice.
The program is written in Perl, but I have no objection to porting it to something else; Perl just happens to be very easy to use for handling a lot of text, as the program relies heavily on regexes. I don't think the actual code of the thing is important to my question, but if you're curious, it's at my github. (Keep in mind I'm strictly an amateur, so there are probably some pretty silly things in my code.)
Thanks for any input and ideas.There are some ways around this, but it really depends on the type of data.
Options I can think of are the following:
1) read a file at every startup as you are already doing. This is extremely common - look around at the tools you have installed, many of them have an rc file. You can always strive to make this reading more efficient, but under most circumstances reading a file at startup is perfectly legitimate.
2) run in the background or as a daemon which you also note.
3) similar to #1, save the data in a file, but instead of parsing it each time save it instead as a binary. If you're data can all be stored in some nice data structure in the code, in most languages you can just write the block of memory occuppied by that data structure to a file, then on startup you just transfer the contents of the file to a block of allocated memory. This is quiet do-able - but for a vast majority of situations this would be a bad approach (IMHO). The data have to be structured in such a way they will occupy one continuous memory block, and depending on the size of the data block this in itself may be impractical or impossible. Also, you'd need a good amount of error checking or you'd simply have to "trust" that nothing could ever go wrong in your binary file.
So, all in all, I'd say go with #1, but spend time tuning your file read/write proceedures to be efficient. Sometimes a lexer (gnu flex) is good for this, but often times it is also overkill and a well written series of if(strncmp(...)) statements will be better*.
Bear in mind though, this is from another amateur. I c ode for fun - and some of my code has found use - but it is far from my day job.
edit: *note - that is a C example, and flex library is easily used in C. I'd be surprised if there are not perl bindings for flex, but I very rarely use perl. As an after thought, I'd be surprised if flex is even all that useful in perl, given perl's built-in regex abilites. After-after-thought, I would not be surprised if perl itself were built on some version of flex.
edit2: also, I doubt environment variables would be a good way to go. That seems to require more system calls and more overhead than just reading from a config file. Environment variables are a handy way for several programs to be able to access/change the same setting - but for a single program they don't make much sense to me.
Last edited by Trilby (2012-07-01 15:34:43) -
Oracle EM 12c - Host Administration problems
Hello,
I'm trying to do certain administrative tasks on a host target. However, when for instance, I klick to "Host" -> "Administration" -> "Services", I get:
"Required Installations
To administer a host through Enterprise Manager, you will need to install the following scripts. Follow the steps below and click 'Finish' button when you are done."
Same goes for "Host" -> "Administration" -> "NFS Client" or "Host" -> "Administration" -> "Host Lookup Table" or other administrative tasks.
My target host is an OL 6 VM, on which I installed YAST, according to the initial error message and some notes I've found so far. However, apart from getting passed the initial message that I had to install YAST, it really didn't accomplish much.
Any help appreciated,
MikeHi,
thanks for your help. I uninstalled yast/yast2 and executed the script you pointed me to. The script executed with some warnings but installed the missing components as far as I can tell:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[root@oracle2go yast2_beta]# ./yast2-install-x86_64.sh install
Loaded plugins: refresh-packagekit, security
el5_latest | 1.4 kB 00:00
public_ol6_UEK_latest | 1.2 kB 00:00
public_ol6_UEK_latest/primary | 10 MB 00:15
public_ol6_UEK_latest 225/225
public_ol6_latest | 1.4 kB 00:00
public_ol6_latest/primary | 32 MB 00:47
public_ol6_latest 22260/22260
Setting up Install Process
blocxx-1.0.0-17.2.x86_64.rpm | 241 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/blocxx-1.0.0-17.2.x86_64.rpm: blocxx-1.0.0-17.2.x86_64
/var/tmp/yum-root-ug2VVj/blocxx-1.0.0-17.2.x86_64.rpm: does not update installed package.
hwinfo-13.57-2.x86_64.rpm | 584 kB 00:02
Examining /var/tmp/yum-root-ug2VVj/hwinfo-13.57-2.x86_64.rpm: hwinfo-13.57-2.x86_64
/var/tmp/yum-root-ug2VVj/hwinfo-13.57-2.x86_64.rpm: does not update installed package.
libxcrypt-2.4-12.2.x86_64.rpm | 32 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/libxcrypt-2.4-12.2.x86_64.rpm: libxcrypt-2.4-12.2.x86_64
/var/tmp/yum-root-ug2VVj/libxcrypt-2.4-12.2.x86_64.rpm: does not update installed package.
liby2util-2.13.8-0.12.x86_64.rpm | 165 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/liby2util-2.13.8-0.12.x86_64.rpm: liby2util-2.13.8-0.12.x86_64
/var/tmp/yum-root-ug2VVj/liby2util-2.13.8-0.12.x86_64.rpm: does not update installed package.
libzypp-2.15.10-0.4.x86_64.rpm | 1.9 MB 00:05
Examining /var/tmp/yum-root-ug2VVj/libzypp-2.15.10-0.4.x86_64.rpm: libzypp-2.15.10-0.4.x86_64
/var/tmp/yum-root-ug2VVj/libzypp-2.15.10-0.4.x86_64.rpm: does not update installed package.
perl-gettext-1.05-13.2.x86_64.rpm | 19 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/perl-gettext-1.05-13.2.x86_64.rpm: perl-gettext-1.05-13.2.x86_64
/var/tmp/yum-root-ug2VVj/perl-gettext-1.05-13.2.x86_64.rpm: does not update installed package.
perl-X500-DN-0.28-133.2.x86_64.rpm | 14 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/perl-X500-DN-0.28-133.2.x86_64.rpm: perl-X500-DN-0.28-133.2.x86_64
/var/tmp/yum-root-ug2VVj/perl-X500-DN-0.28-133.2.x86_64.rpm: does not update installed package.
testutf8-1.0-1.2.x86_64.rpm | 4.9 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/testutf8-1.0-1.2.x86_64.rpm: testutf8-1.0-1.2.x86_64
/var/tmp/yum-root-ug2VVj/testutf8-1.0-1.2.x86_64.rpm: does not update installed package.
yast2-2.13.105-1.0.x86_64.rpm | 593 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-2.13.105-1.0.x86_64.rpm: yast2-2.13.105-1.0.x86_64
Marking /var/tmp/yum-root-ug2VVj/yast2-2.13.105-1.0.x86_64.rpm to be installed
yast2-all-2.0-1.noarch.rpm | 10 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-all-2.0-1.noarch.rpm: yast2-all-2.0-1.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-all-2.0-1.noarch.rpm to be installed
yast2-core-2.13.39-0.3.x86_64.rpm | 1.1 MB 00:03
Examining /var/tmp/yum-root-ug2VVj/yast2-core-2.13.39-0.3.x86_64.rpm: yast2-core-2.13.39-0.3.x86_64
/var/tmp/yum-root-ug2VVj/yast2-core-2.13.39-0.3.x86_64.rpm: does not update installed package.
yast2-country-2.13.52-0.9.x86_64.rpm | 134 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-country-2.13.52-0.9.x86_64.rpm: yast2-country-2.13.52-0.9.x86_64
Marking /var/tmp/yum-root-ug2VVj/yast2-country-2.13.52-0.9.x86_64.rpm to be installed
yast2-EM-1.9.5-0.8.noarch.rpm | 24 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-EM-1.9.5-0.8.noarch.rpm: yast2-EM-1.9.5-0.8.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-EM-1.9.5-0.8.noarch.rpm to be installed
yast2-hardware-detection-2.13.7-0.9.x86_64.rpm | 98 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-hardware-detection-2.13.7-0.9.x86_64.rpm: yast2-hardware-detection-2.13.7-0.9.x86_64
/var/tmp/yum-root-ug2VVj/yast2-hardware-detection-2.13.7-0.9.x86_64.rpm: does not update installed package.
yast2-installation-2.13.192-0.4.noarch.rpm | 326 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-installation-2.13.192-0.4.noarch.rpm: yast2-installation-2.13.192-0.4.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-installation-2.13.192-0.4.noarch.rpm to be installed
yast2-ldap-client-2.13.27-0.11.noarch.rpm | 104 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-ldap-client-2.13.27-0.11.noarch.rpm: yast2-ldap-client-2.13.27-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-ldap-client-2.13.27-0.11.noarch.rpm to be installed
yast2-mail-2.13.8-0.11.noarch.rpm | 73 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-mail-2.13.8-0.11.noarch.rpm: yast2-mail-2.13.8-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-mail-2.13.8-0.11.noarch.rpm to be installed
yast2-mail-aliases-2.13.8-0.11.noarch.rpm | 25 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-mail-aliases-2.13.8-0.11.noarch.rpm: yast2-mail-aliases-2.13.8-0.11.noarch
/var/tmp/yum-root-ug2VVj/yast2-mail-aliases-2.13.8-0.11.noarch.rpm: does not update installed package.
yast2-ncurses-2.13.66-0.12.x86_64.rpm | 467 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-ncurses-2.13.66-0.12.x86_64.rpm: yast2-ncurses-2.13.66-0.12.x86_64
/var/tmp/yum-root-ug2VVj/yast2-ncurses-2.13.66-0.12.x86_64.rpm: does not update installed package.
yast2-network-2.13.98-0.7.x86_64.rpm | 327 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-network-2.13.98-0.7.x86_64.rpm: yast2-network-2.13.98-0.7.x86_64
Marking /var/tmp/yum-root-ug2VVj/yast2-network-2.13.98-0.7.x86_64.rpm to be installed
yast2-nfs-client-2.13.4-0.11.noarch.rpm | 108 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-nfs-client-2.13.4-0.11.noarch.rpm: yast2-nfs-client-2.13.4-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-nfs-client-2.13.4-0.11.noarch.rpm to be installed
yast2-pam-2.13.5-0.11.noarch.rpm | 34 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-pam-2.13.5-0.11.noarch.rpm: yast2-pam-2.13.5-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-pam-2.13.5-0.11.noarch.rpm to be installed
yast2-perl-bindings-2.13.11-0.17.x86_64.rpm | 105 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-perl-bindings-2.13.11-0.17.x86_64.rpm: yast2-perl-bindings-2.13.11-0.17.x86_64
/var/tmp/yum-root-ug2VVj/yast2-perl-bindings-2.13.11-0.17.x86_64.rpm: does not update installed package.
yast2-pkg-bindings-2.13.117-0.13.x86_64.rpm | 424 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-pkg-bindings-2.13.117-0.13.x86_64.rpm: yast2-pkg-bindings-2.13.117-0.13.x86_64
/var/tmp/yum-root-ug2VVj/yast2-pkg-bindings-2.13.117-0.13.x86_64.rpm: does not update installed package.
yast2-runlevel-2.13.11-0.11.noarch.rpm | 70 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-runlevel-2.13.11-0.11.noarch.rpm: yast2-runlevel-2.13.11-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-runlevel-2.13.11-0.11.noarch.rpm to be installed
yast2-security-2.13.7-0.11.noarch.rpm | 50 kB 00:00
Examining /var/tmp/yum-root-ug2VVj/yast2-security-2.13.7-0.11.noarch.rpm: yast2-security-2.13.7-0.11.noarch
Marking /var/tmp/yum-root-ug2VVj/yast2-security-2.13.7-0.11.noarch.rpm to be installed
yast2-users-2.13.55-0.4.x86_64.rpm | 220 kB 00:01
Examining /var/tmp/yum-root-ug2VVj/yast2-users-2.13.55-0.4.x86_64.rpm: yast2-users-2.13.55-0.4.x86_64
Marking /var/tmp/yum-root-ug2VVj/yast2-users-2.13.55-0.4.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package yast2.x86_64 0:2.13.105-1.0 will be installed
---> Package yast2-EM.noarch 0:1.9.5-0.8 will be installed
---> Package yast2-all.noarch 0:2.0-1 will be installed
---> Package yast2-country.x86_64 0:2.13.52-0.9 will be installed
---> Package yast2-installation.noarch 0:2.13.192-0.4 will be installed
---> Package yast2-ldap-client.noarch 0:2.13.27-0.11 will be installed
---> Package yast2-mail.noarch 0:2.13.8-0.11 will be installed
---> Package yast2-network.x86_64 0:2.13.98-0.7 will be installed
---> Package yast2-nfs-client.noarch 0:2.13.4-0.11 will be installed
---> Package yast2-pam.noarch 0:2.13.5-0.11 will be installed
---> Package yast2-runlevel.noarch 0:2.13.11-0.11 will be installed
---> Package yast2-security.noarch 0:2.13.7-0.11 will be installed
---> Package yast2-users.x86_64 0:2.13.55-0.4 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
yast2 x86_64 2.13.105-1.0 /yast2-2.13.105-1.0.x86_64 2.3 M
yast2-EM noarch 1.9.5-0.8 /yast2-EM-1.9.5-0.8.noarch 95 k
yast2-all noarch 2.0-1 /yast2-all-2.0-1.noarch 36 k
yast2-country x86_64 2.13.52-0.9 /yast2-country-2.13.52-0.9.x86_64 594 k
yast2-installation
noarch 2.13.192-0.4 /yast2-installation-2.13.192-0.4.noarch
1.0 M
yast2-ldap-client
noarch 2.13.27-0.11 /yast2-ldap-client-2.13.27-0.11.noarch
510 k
yast2-mail noarch 2.13.8-0.11 /yast2-mail-2.13.8-0.11.noarch 353 k
yast2-network x86_64 2.13.98-0.7 /yast2-network-2.13.98-0.7.x86_64 1.6 M
yast2-nfs-client
noarch 2.13.4-0.11 /yast2-nfs-client-2.13.4-0.11.noarch 254 k
yast2-pam noarch 2.13.5-0.11 /yast2-pam-2.13.5-0.11.noarch 146 k
yast2-runlevel noarch 2.13.11-0.11 /yast2-runlevel-2.13.11-0.11.noarch 308 k
yast2-security noarch 2.13.7-0.11 /yast2-security-2.13.7-0.11.noarch 207 k
yast2-users x86_64 2.13.55-0.4 /yast2-users-2.13.55-0.4.x86_64 960 k
Transaction Summary
================================================================================
Install 13 Package(s)
Total size: 8.3 M
Installed size: 8.3 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : yast2-2.13.105-1.0.x86_64 1/13
Installing : yast2-pam-2.13.5-0.11.noarch 2/13
Installing : yast2-network-2.13.98-0.7.x86_64 3/13
Installing : yast2-ldap-client-2.13.27-0.11.noarch 4/13
Installing : yast2-security-2.13.7-0.11.noarch 5/13
Installing : yast2-users-2.13.55-0.4.x86_64 6/13
Installing : yast2-country-2.13.52-0.9.x86_64 7/13
Installing : yast2-installation-2.13.192-0.4.noarch 8/13
Installing : yast2-nfs-client-2.13.4-0.11.noarch 9/13
Installing : yast2-runlevel-2.13.11-0.11.noarch 10/13
Installing : yast2-EM-1.9.5-0.8.noarch 11/13
Installing : yast2-all-2.0-1.noarch 12/13
Installing : yast2-mail-2.13.8-0.11.noarch 13/13
Verifying : yast2-installation-2.13.192-0.4.noarch 1/13
Verifying : yast2-users-2.13.55-0.4.x86_64 2/13
Verifying : yast2-nfs-client-2.13.4-0.11.noarch 3/13
Verifying : yast2-runlevel-2.13.11-0.11.noarch 4/13
Verifying : yast2-country-2.13.52-0.9.x86_64 5/13
Verifying : yast2-all-2.0-1.noarch 6/13
Verifying : yast2-mail-2.13.8-0.11.noarch 7/13
Verifying : yast2-network-2.13.98-0.7.x86_64 8/13
Verifying : yast2-ldap-client-2.13.27-0.11.noarch 9/13
Verifying : yast2-EM-1.9.5-0.8.noarch 10/13
Verifying : yast2-2.13.105-1.0.x86_64 11/13
Verifying : yast2-security-2.13.7-0.11.noarch 12/13
Verifying : yast2-pam-2.13.5-0.11.noarch 13/13
Installed:
yast2.x86_64 0:2.13.105-1.0
yast2-EM.noarch 0:1.9.5-0.8
yast2-all.noarch 0:2.0-1
yast2-country.x86_64 0:2.13.52-0.9
yast2-installation.noarch 0:2.13.192-0.4
yast2-ldap-client.noarch 0:2.13.27-0.11
yast2-mail.noarch 0:2.13.8-0.11
yast2-network.x86_64 0:2.13.98-0.7
yast2-nfs-client.noarch 0:2.13.4-0.11
yast2-pam.noarch 0:2.13.5-0.11
yast2-runlevel.noarch 0:2.13.11-0.11
yast2-security.noarch 0:2.13.7-0.11
yast2-users.x86_64 0:2.13.55-0.4
Complete!
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
However, even after a reboot of the target host ol6 VM, I got the same error message.
Any help appreciated,
Mike -
Analog Yast command in Enterprise linux.
Hi all,I now installed oracle Enterprise linux. Before i had Suse linux and there i configuring linux with yast,
but in oracle Enterprise linux yast command do not work.What command is analog "Yast" in Enterprise linux?[it may require|http://dag.wieers.com/rpm/packages/perl-Digest-SHA1/]
[root@localhost yast_el5_x86_64]# ./install.sh
Now checking the necessary rpms...........
Checking dbus ....... found
Checking hal ....... found
Checking perl ....... found
Checking coreutils ....... found
Checking curl ....... found
Checking unzip ....... found
Checking tar ....... found
Checking gzip ....... found
Checking glibc-common ....... found
Checking initscripts ....... found
Checking cracklib ....... found
Checking perl-Digest-SHA1 ....... found
Checking boost ....... found
Now checking the necessary tools...........
Checking /bin/bash ....... found
Checking /bin/ln ....... found
Checking /bin/mktemp ....... found
Checking /bin/rm ....... found
Checking /bin/sed ....... found
Checking /bin/sh ....... found
Checking /sbin/ldconfig ....... found
Checking /usr/bin/env ....... found
Checking /usr/bin/find ....... found
Checking /usr/bin/host ....... found
Checking /usr/bin/perl ....... found
Checking /usr/bin/python ....... found
Checking /usr/bin/xargs ....... found
Checking /usr/sbin/lsof ....... found
Environment is OK. Now begin installing yast.........
Preparing... ########################################### [100%]
1:liby2util ########################################### [100%]
Preparing... ########################################### [100%]
1:blocxx ########################################### [100%]
Preparing... ########################################### [100%]
1:libxcrypt ########################################### [100%]
Preparing... ########################################### [100%]
1:testutf8 ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-core ########################################### [100%]
Preparing... ########################################### [100%]
1:hwinfo ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-hardware-detectio########################################### [100%]
Preparing... ########################################### [100%]
1:libzypp ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-pkg-bindings ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2 ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-network ########################################### [100%]
Preparing... ########################################### [100%]
1:perl-Parse-RecDescent ########################################### [100%]
Preparing... ########################################### [100%]
1:perl-gettext ########################################### [100%]
Preparing... ########################################### [100%]
1:perl-X500-DN ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-pam ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-perl-bindings ########################################### [ 14%]
2:yast2-mail-aliases ########################################### [ 29%]
3:yast2-ldap-client ########################################### [ 43%]
4:yast2-security ########################################### [ 57%]
5:yast2-country ########################################### [ 71%]
6:yast2-installation ########################################### [ 86%]
7:yast2-users ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-nfs-client ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-runlevel ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-ncurses ########################################### [100%]
Preparing... ########################################### [100%]
1:yast2-EM ########################################### [100%]
Finished. Use /sbin/yast or /sbin/yast2 to start it -
[Moved]octave 8 bit pixels
I installed octave from the repos but when I use the imread function I get the following:
warning: your version of GraphicsMagick limits images to 8 bits per pixel
I can't be restricted to 8 bits per pixel and from what I have read the default is 16, so I am not sure why the version of GraphicsMagick in the repos is compiled using 8. I tried to recompile both GraphicsMagick and Octave by slightly modifying the PKGBUILD I downloaded from the x86_64 extra repository. The only change is that I added --with-quantum-depth=32. PKGBUILDS shown below.
Both compile using makepkg and install via pacman but when octave compiles I get the following warning:
configure: WARNING: GraphicsMagick++ library not found. The function for reading image files will not be fully functional.
And when I fire up the installation of octave and attempt to use imread I get
error: imread: invalid image file: imread: image reading capabilities were disabled when Octave was compiled
Any ideas?
PKGBUILD for GraphicsMagick
# $Id$
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Maintainer: Gaetan Bisson <[email protected]>
# Contributor: Jaroslav Lichtblau <[email protected]>
# Contributor: Anton Leontiev <[email protected]>
pkgname=graphicsmagick
pkgver=1.3.13
pkgrel=1
pkgdesc='Image processing system'
url='http://www.graphicsmagick.org/'
arch=('i686' 'x86_64')
license=('MIT')
makedepends=('perl')
depends=('bzip2' 'freetype2' 'ghostscript' 'jasper' 'lcms2' 'xz'
'libtiff' 'libwmf' 'libsm' 'libxml2' 'libltdl')
options=('!libtool')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/GraphicsMagick-${pkgver}.tar.xz")
sha1sums=('b85b21785bb072fd795f7fc6ac902cffae4e96e6')
build() {
cd "${srcdir}/GraphicsMagick-$pkgver"
./configure \
--prefix=/usr \
--with-perl \
--enable-shared \
--disable-static \
--with-gs-font-dir=/usr/share/fonts/Type1 \
--with-quantum-depth=32 \
make
package() {
cd "${srcdir}/GraphicsMagick-$pkgver"
make DESTDIR="${pkgdir}" install
# Install MIT license
install -Dm644 "Copyright.txt" "${pkgdir}/usr/share/licenses/$pkgname/Copyright.txt"
# Install perl bindings
# The patching was introduced in order to build perl module without installing package itself and
# not to introduce unnecessary path into LD_RUN_PATH
cd PerlMagick
sed -i -e "s:'LDDLFLAGS' => \"\(.*\)\":'LDDLFLAGS' => \"-L${pkgdir}/usr/lib \1\":" Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor PREFIX=/usr DESTDIR="${pkgdir}"
sed -i -e "s/LDLOADLIBS =/LDLOADLIBS = -lGraphicsMagick/" Makefile
make
make install
# Remove perllocal.pod and .packlist
rm -rf "${pkgdir}/usr/lib/perl5/core_perl"
rm "${pkgdir}/usr/lib/perl5/vendor_perl/auto/Graphics/Magick/.packlist"
PKGBUILD for Octave
# $Id$
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : shining <shiningxc.at.gmail.com>
# Contributor : cyberdune <[email protected]>
pkgname=octave
pkgver=3.4.3
pkgrel=1
pkgdesc="A high-level language, primarily intended for numerical computations."
arch=('i686' 'x86_64')
url="http://www.octave.org"
license=('GPL')
depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull')
makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'umfpack' 'texlive-core' 'fltk')
optdepends=('texinfo: for help-support in octave'
'gnuplot: alternative plotting'
'umfpack: LU decomposition of some large sparse matrices'
'fltk: alternative plotting')
source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2")
options=('!emptydirs')
install=octave.install
sha1sums=('fe622c28a38f8730c59e46211bc7b18e7f51a679')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# http://www.nabble.com/Random-rounding-errors-td16010966.html
FFLAGS="-O -ffloat-store" \
./configure --prefix=/usr --libexecdir=/usr/lib \
--enable-shared --disable-static --with-quantum-depth=32 \
--with-magick=GraphicsMagick
LANG=C make
package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
# add octave library path to ld.so.conf.d
install -d ${pkgdir}/etc/ld.so.conf.d
echo "/usr/lib/${pkgname}-${pkgver}" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
Last edited by scarypezsanta (2012-01-06 19:13:40)Hello,
I think for greyscale, the RBG colors are all equal, and vary between 0 and 255. That is, 0,0,0 corresponds to black and 255, 255, 255 correponds to black... where 127, 127, 127 would be some intermediate shade of grey. You can use RGB to Color.vi to build an array of colors which correspond to these greyscale colors to use for your color table input. Attached is a screenshot of the code which you can build very quickly in your version of LabVIEW!
Best Regards,
JLS
Best,
JLS
Sixclear
Attachments:
Generate Greyscale Color Table Array.bmp 114 KB -
Unable to use public-yum for R installation
Dear experts,
I am trying to install R-core for Oracle Enterprise Linux 5 update 6 in order to deploy a R server on it. According to the installation manual I should be using Oracle's public yum server to download and install R (http://docs.oracle.com/cd/E27988_01/doc/doc.112/e26499/install.htm#BABDFEDA).
However following the guide, setting up yum repository and everything is working fine, when I key in "yum install R.x86_64" it returns there is no such package. I scanned the public yum folders and found no R rpms. May I know where should I get the rpms or where should I point the yum to look for the R packages?
Thanks.
Cheers,
PhilipHi,
It still shows the No package found error.
I ran yum list and there isn't any R/R-core packages available.
Below is the output of ls /etc/yum.repos.d/ and yum list (I extract the el5_addons one to keep the post short as it seems unable to upload the entire list as attachment here)
=================
ls /etc/yum.repos.d/public-yum-el5.repo
public-yum-el5.repo.old
public-yum-el5.repo.old2
The old and old2 files are just identical backup.
=================
root@localhost yum.repos.d>yum list | grep el5_addons
Bad id for repo: EL5.6 DVD, byte = 5
This system is not registered with ULN.
ULN support will be disabled.
Django.noarch 1.0.2-2.el5 el5_addons
VirtualBox-3.2.i386 3.2.12_68302_rhel5-1 el5_addons
VirtualBox-4.0.i386 4.0.16_75491_rhel5-1 el5_addons
VirtualBox-4.1.i386 4.1.22_80657_el5-1 el5_addons
VirtualBox-4.2.i386 4.2.4_81684_el5-1 el5_addons
blocxx.i386 1.0.0-17.2 el5_addons
hwinfo.i386 13.57-2 el5_addons
jta.noarch 2.6-1 el5_addons
kernel-uek-headers.i686 2.6.32-300.39.1.el5uek el5_addons
kmod-ovmapi-uek.i686 1.0.0-27.300.uek5 el5_addons
libovmapi.i386 3.0-6.el5 el5_addons
libovmapi-devel.i386 3.0-6.el5 el5_addons
libxcrypt.i386 2.4-12.2 el5_addons
liby2util.i386 2.13.8-0.12 el5_addons
libzypp.i386 2.15.10-0.4 el5_addons
ol-template-config.noarch 1.1.0-9.el5 el5_addons
ovm-template-config.noarch 3.0-68.el5 el5_addons
ovm-template-config-authentication.noarch 3.0-68.el5 el5_addons
ovm-template-config-datetime.noarch 3.0-68.el5 el5_addons
ovm-template-config-firewall.noarch 3.0-68.el5 el5_addons
ovm-template-config-network.noarch 3.0-68.el5 el5_addons
ovm-template-config-selinux.noarch 3.0-68.el5 el5_addons
ovm-template-config-ssh.noarch 3.0-68.el5 el5_addons
ovm-template-config-system.noarch 3.0-68.el5 el5_addons
ovm-template-config-user.noarch 3.0-68.el5 el5_addons
ovmd.i386 3.0-27.el5 el5_addons
perl-Parse-RecDescent.i386 1.80-259.2 el5_addons
perl-X500-DN.i386 0.28-133.2 el5_addons
perl-gettext.i386 1.05-13.2 el5_addons
python-ZSI.noarch 2.1-a1.el5 el5_addons
python-sqlite2.i386 1:2.3.3-2.el5 el5_addons
testutf8.i386 1.0-1.2 el5_addons
tightvnc-java.noarch 1.3.9-4 el5_addons
uln-yum-proxy.noarch 0.0.3-1.el5 el5_addons
xenstoreprovider.i386 3.0-9.el5 el5_addons
yast2.i386 2.13.104-1.0 el5_addons
yast2-EM.noarch 1.9.5-0.2 el5_addons
yast2-all.noarch 2.0-1 el5_addons
yast2-core.i386 2.13.39-0.3 el5_addons
yast2-country.i386 2.13.52-0.9 el5_addons
yast2-hardware-detection.i386 2.13.7-0.9 el5_addons
yast2-installation.noarch 2.13.192-0.4 el5_addons
yast2-ldap-client.noarch 2.13.27-0.11 el5_addons
yast2-mail-aliases.noarch 2.13.8-0.11 el5_addons
yast2-ncurses.i386 2.13.66-0.12 el5_addons
yast2-network.i386 2.13.98-0.7 el5_addons
yast2-nfs-client.noarch 2.13.4-0.11 el5_addons
yast2-pam.noarch 2.13.5-0.11 el5_addons
yast2-perl-bindings.i386 2.13.11-0.17 el5_addons
yast2-pkg-bindings.i386 2.13.117-0.13 el5_addons
yast2-runlevel.noarch 2.13.11-0.11 el5_addons
yast2-security.noarch 2.13.7-0.11 el5_addons
yast2-users.i386 2.13.55-0.4 el5_addons
yum-arch.noarch 2.2.2-2.el5 el5_addons
zend-server-repo.noarch 4.1-1.el5 el5_addons
Does anything seem wrong in my process?
Thanks.
Cheers,
Philip -
SP2 NLSBS evaluation.. can't seem to gt it!
I ran SPident.. to check my installation. Red carpet has been run and
reports no further updates available. A whole load of patches etc have
already been installed. I tried to download SP2, but got a "you do not
have sufficient rights" number!
omar@linux:~> SPident -vv
Summary (using 1087 packages)
Product/ServicePack conflict match update (shipped)
SLES-9-i386 0 0% 439 40.4% 69 (1486 29.5%)
SLES-9-i386-SP1 66 13.7% 194 17.8% 47 (481 40.3%)
- a2ps 4.13-1046.1 < 4.13-1046.4
- arts 1.2.1-35.1 < 1.2.1-35.4
- autoyast2 2.9.45-0.2 < 2.9.50-0.2
- autoyast2-installation 2.9.45-0.2 < 2.9.50-0.2
- bash 2.05b-305.6 < 2.05b-305.9
- bind-utils 9.2.3-76.9 < 9.2.3-76.14
- cups 1.1.20-108.3 < 1.1.20-108.15
- cups-client 1.1.20-108.3 < 1.1.20-108.15
- cups-libs 1.1.20-108.3 < 1.1.20-108.15
- cyrus-sasl 2.1.18-33.1 < 2.1.18-33.4
- foomatic-filters 3.0.1-41.1 < 3.0.1-41.9
- gdk-pixbuf 0.22.0-62.1 < 0.22.0-62.7
- glib 1.2.10-586.1 < 1.2.10-586.2
- gpg 1.2.4-68.1 < 1.2.4-68.4
- heimdal-lib 0.6.1rc3-55.3 < 0.6.1rc3-55.9
- heimdal-tools 0.6.1rc3-55.3 < 0.6.1rc3-55.9
- imlib 1.9.14-180.1 < 1.9.14-180.11
- iproute2 2.4.7-866.5 < 2.4.7-866.8
- jfsutils 1.1.6-1.2 < 1.1.7-1.2
- libacl 2.2.21-54.1 < 2.2.21-54.4
- libattr 2.4.12-56.1 < 2.4.16-1.2
- libpng 1.2.5-182.4 < 1.2.5-182.10
- libxml 1.8.17-366.1 < 1.8.17-366.4
- libxml2 2.6.7-28.1 < 2.6.7-28.7
- liby2util 2.9.24-0.2 < 2.9.26-0.3
- net-snmp 5.1-80.3 < 5.1-80.11
- net-tools 1.60-543.3 < 1.60-543.8
- openmotif-libs 2.2.2-519.1 < 2.2.2-519.4
- openssh 3.8p1-37.9 < 3.8p1-37.12
- openssh-askpass 3.8p1-37.9 < 3.8p1-37.12
- openssl 0.9.7d-15.10 < 0.9.7d-15.13
- perl-Archive-Zip 1.09-27.1 < 1.14-0.2
- python 2.3.3-88.1 < 2.3.3-88.6
- qt3 3.3.1-36.13 < 3.3.1-36.19
- rcd 2.0.2-31.3 < 2.4.4-1.2
- readline 4.3-306.5 < 4.3-306.8
- red-carpet 2.2.2-23.2 < 2.4.4-1.2
- resmgr 0.9.8-47.3 < 0.9.8-47.6
- rug 2.0.2-30.1 < 2.4.4-1.3
- scsi 1.7_2.34_1.06_0.11-9.9 < 1.7_2.34_1.06_0.11-9.12
- submount 0.9-33.3 < 0.9-33.6
- unixODBC 2.2.8-58.4 < 2.2.8-58.7
- yast2-boot-server 2.9.0-8.1 < 2.9.0-8.2
- yast2-control-center 2.9.11-7.1 < 2.9.14-0.2
- yast2-country 2.9.24-0.2 < 2.9.28-0.2
- yast2-heartbeat 2.9.3-0.2 < 2.9.3-0.3
- yast2-ipsec 2.9.13-1.2 < 2.9.14-0.5
- yast2-ldap 2.9.15-1.2 < 2.9.15-1.3
- yast2-mail-aliases 2.9.16-0.2 < 2.9.16-0.3
- yast2-mouse 2.9.11-4.1 < 2.9.11-4.2
- yast2-nfs-client 2.9.11-23.1 < 2.9.11-23.2
- yast2-online-update 2.9.12-0.3 < 2.9.18-0.2
- yast2-perl-bindings 2.9.34-1.2 < 2.9.34-1.4
- yast2-phone-services 2.9.5-21.1 < 2.9.5-21.2
- yast2-power-management 2.9.10-1.2 < 2.9.10-1.3
- yast2-profile-manager 2.9.9-0.2 < 2.9.9-0.3
- yast2-qt 2.9.24-0.3 < 2.9.25-0.2
- yast2-runlevel 2.9.15-0.2 < 2.9.15-0.3
- yast2-slp 2.9.11-0.2 < 2.9.11-0.3
- yast2-support 2.9.4-0.2 < 2.9.4-0.5
- yast2-tftp-server 2.9.4-23.1 < 2.9.4-23.2
- yast2-theme-SuSELinux 2.9.13-0.4 < 2.9.13-0.5
- yast2-transfer 2.9.3-0.2 < 2.9.3-0.3
- yast2-x11 2.9.11-0.2 < 2.9.11-0.3
- yast2-xml 2.9.8-19.1 < 2.9.8-19.2
- yast2-you-server 2.9.12-0.2 < 2.9.12-0.3
SLES-9-i386-SP2 70 10.8% 501 46.1% 59 (647 77.4%)
- a2ps 4.13-1046.1 < 4.13-1046.4
- arts 1.2.1-35.1 < 1.2.1-35.4
- autoyast2 2.9.45-0.2 < 2.9.53-0.2
- autoyast2-installation 2.9.45-0.2 < 2.9.53-0.2
- bash 2.05b-305.6 < 2.05b-305.9
- bind-utils 9.2.3-76.9 < 9.2.3-76.14
- cups 1.1.20-108.3 < 1.1.20-108.22
- cups-client 1.1.20-108.3 < 1.1.20-108.22
- cups-libs 1.1.20-108.3 < 1.1.20-108.22
- cyrus-sasl 2.1.18-33.1 < 2.1.18-33.8
- foomatic-filters 3.0.1-41.1 < 3.0.1-41.9
- gdk-pixbuf 0.22.0-62.1 < 0.22.0-62.7
- glib 1.2.10-586.1 < 1.2.10-586.2
- gpg 1.2.4-68.1 < 1.2.4-68.7
- gtk2 2.2.4-125.1 < 2.2.4-125.4
- heimdal-lib 0.6.1rc3-55.3 < 0.6.1rc3-55.15
- heimdal-tools 0.6.1rc3-55.3 < 0.6.1rc3-55.9
- imlib 1.9.14-180.1 < 1.9.14-180.11
- iproute2 2.4.7-866.5 < 2.4.7-866.11
- jfsutils 1.1.6-1.2 < 1.1.7-1.2
- libacl 2.2.21-54.1 < 2.2.21-54.4
- libattr 2.4.12-56.1 < 2.4.16-1.2
- libpng 1.2.5-182.4 < 1.2.5-182.10
- libxml 1.8.17-366.1 < 1.8.17-366.4
- libxml2 2.6.7-28.1 < 2.6.7-28.7
- liby2util 2.9.24-0.2 < 2.9.26-0.3
- mutt 1.5.6i-64.3 < 1.5.6i-64.6
- net-snmp 5.1-80.3 < 5.1-80.16
- net-tools 1.60-543.3 < 1.60-543.8
- openmotif-libs 2.2.2-519.1 < 2.2.2-519.4
- openssh 3.8p1-37.9 < 3.8p1-37.17
- openssh-askpass 3.8p1-37.9 < 3.8p1-37.12
- openssl 0.9.7d-15.10 < 0.9.7d-15.13
- perl 5.8.3-32.1 < 5.8.3-32.4
- perl-Archive-Zip 1.09-27.1 < 1.14-0.2
- python 2.3.3-88.1 < 2.3.3-88.9
- qt3 3.3.1-36.13 < 3.3.1-36.19
- rcd 2.0.2-31.3 < 2.4.4-1.2
- readline 4.3-306.5 < 4.3-306.8
- red-carpet 2.2.2-23.2 < 2.4.4-1.2
- resmgr 0.9.8-47.3 < 0.9.8-47.6
- rug 2.0.2-30.1 < 2.4.4-1.3
- scsi 1.7_2.34_1.06_0.11-9.9 < 1.7_2.34_1.06_0.11-9.12
- sles-release 9-82.11 < 9-82.13
- submount 0.9-33.3 < 0.9-33.6
- unixODBC 2.2.8-58.4 < 2.2.8-58.7
- yast2-boot-server 2.9.0-8.1 < 2.9.0-8.2
- yast2-control-center 2.9.11-7.1 < 2.9.14-0.2
- yast2-country 2.9.24-0.2 < 2.9.28-0.2
- yast2-heartbeat 2.9.3-0.2 < 2.9.3-0.3
- yast2-ipsec 2.9.13-1.2 < 2.9.14-0.5
- yast2-ldap 2.9.15-1.2 < 2.9.15-1.3
- yast2-mail-aliases 2.9.16-0.2 < 2.9.16-0.3
- yast2-mouse 2.9.11-4.1 < 2.9.11-4.2
- yast2-nfs-client 2.9.11-23.1 < 2.9.11-23.2
- yast2-online-update 2.9.12-0.3 < 2.9.18-0.2
- yast2-perl-bindings 2.9.34-1.2 < 2.9.34-1.4
- yast2-phone-services 2.9.5-21.1 < 2.9.5-21.2
- yast2-power-management 2.9.10-1.2 < 2.9.10-1.3
- yast2-profile-manager 2.9.9-0.2 < 2.9.9-0.3
- yast2-qt 2.9.24-0.3 < 2.9.25-0.2
- yast2-runlevel 2.9.15-0.2 < 2.9.15-0.3
- yast2-slp 2.9.11-0.2 < 2.9.11-0.3
- yast2-support 2.9.4-0.2 < 2.9.4-0.5
- yast2-tftp-server 2.9.4-23.1 < 2.9.4-23.2
- yast2-theme-SuSELinux 2.9.13-0.4 < 2.9.13-0.5
- yast2-transfer 2.9.3-0.2 < 2.9.3-0.3
- yast2-x11 2.9.11-0.2 < 2.9.11-0.3
- yast2-xml 2.9.8-19.1 < 2.9.8-19.2
- yast2-you-server 2.9.12-0.2 < 2.9.12-0.3
Unknown 147 13.5%
Legend for Package Details:
- conflicting package (found < expected)
CONCLUSION: System is NOT up-to-date!
found SLES-9-i386 + "online updates"
expected SLES-9-i386-SP2
HELP!> I'll check what is in the channel for NLSBS and see if it should be able
> to get to SP2 right now. Some of the products delay putting an SP in the
> channel as the SP might break current functionality.
>
> Aaron
Thanks Aaron -
Are there any guides out there for someone who knows how to use
Linux, but not Oracle and how to write CGI's to access an Oracle
database? I have written CGI programs within Visual Basic for NT
before (yuk) and understand CGI programming concepts, but would
like to check out Oracle under Linux and Apache (unfortunately,
everyone at work is thinking NT/SQL Server).
Is there some sample C or C++ source code out there to get people
started? Are there PERL bindings to access an Oracle database?
In general, how to those wishing to re-claim their database-souls
get started with Oracle under Linux?
Thanks
nullMarc Fearby (guest) wrote:
: Are there any guides out there for someone who knows how to use
: Linux, but not Oracle and how to write CGI's to access an
Oracle
: database? I have written CGI programs within Visual Basic for
NT
: before (yuk) and understand CGI programming concepts, but would
: like to check out Oracle under Linux and Apache (unfortunately,
: everyone at work is thinking NT/SQL Server).
: Is there some sample C or C++ source code out there to get
people
: started? Are there PERL bindings to access an Oracle database?
: In general, how to those wishing to re-claim their
database-souls
: get started with Oracle under Linux?
: Thanks
You need to install the Perl modules DBI and the Oracle DBD. They
are available from any CPAN site (you can find one near you from
http://www.perl.com/). These two modules contain a wealth of
information as to how to get started with Perl CGI and
Oracle/Linux. Just try "perldoc DBI" and/or "perldoc Oracle"
after installing the modules.
Robert XU
null -
How to use a Certificate authentication to connect to a ONTAP 8.3 Cluster in Posh?
Hi All, I've configured my Cluster Vserver to be able to authenticate via a self signed certificate. I'm able to use Perl NMSDK to connect and it works good. I want to use Powershell cmdlets for this. How can I do this? I've tried Connect-NcCluster but I don't see any option to specify a certificate there. I'm also open to use NMSDK for Posh if someone can guide how to use it. I've tried that too but I can't get it working. Can anyone help? sinhaa
Hi Sinhaa - You've discovered the key difference between the Perl API bindings in the NMSDK and the PowerShell toolkit. The NMSDK, and with the Perl bindings in particular, easily exposes the entire SDK from basic connection methods, the lowlevel XML building mechanisms, and a single function wrapper around each individual ZAPI function call that handles both the XML building from and recoveyr into convenient Perl data structures. The entire API is accessible including higher privilege level options and commands. The PowerShell toolkit is much more a convenience wrapper around common functions for those in a Windows environment. It doesn't expose the entire API, it doesn't expose all the parameters of the APIs that it does wrap (for instance, you can't access or use options only available in Advanced or Diagnostic mode), and security is somewhat Windows centric in that it uses a saved credential model similar to other Windows systems. As my company tends to be more Windows centric the PowerShell toolkit tends to be the default utility used for most automation, but I drop to the Perl NMSDK bindings for almost everything I do of substance because I need the abilities it provides. I've asked through many channels for the PowerShell toolkit to at least add Advanced mode privilige options for a number of the cmdlets it provides. Haven't yet seen any indication that those will be forthcoming. Bob
-
NetApp Manageability (NM) SDK 5.4 - Introduction and Download Information
The NetApp Manageability SDK provides resources to develop applications that monitor and manage NetApp storage systems. SDK Help provides information about core APIs, which provide infrastructure to invoke Data ONTAP® APIs, OnCommand Unified Manager [DataFabric Manager] APIs . The NetApp Manageability SDK 5.4 supports API Bindings for both Data ONTAP® APIs and OnCommand® Unified Manager APIs. The API Bindings libraries contain interfaces to establish a connection with either the Data ONTAP server or the Unified Manager [DataFabric Manager] server. By using these libraries, you can create applications to access and manage clustered Data ONTAP or OnCommand Unified Manager. NetApp Manageability SDK 5.4 API Bindings includes the following new feature:API Bindings for Data ONTAP 8.2.3 and 8.3.1 NetApp Manageability SDK 5.4 API Bindings are available free of cost to customers and partners. You must accept the End User License Agreement at the time of downloading the NetApp Manageability SDK 5.4 API Bindings. Download Information: NMSDK is available free-of-charge through the NetApp Support site. To access NMSDK, partners and customers need to sign-up for it. Create a NetApp Support Site login, if you do not have one.
http://mysupport.netapp.com Download NMSDK package. You can find the zip file at the following location on the NetApp Support Site:
http://mysupport.netapp.com/NOW/cgi-bin/software Documentation is available at the following location on the NetApp Support Site:
https://mysupport.netapp.com/documentation/productsatoz/index.htmlSince the Perl bindings to the XML API is mapped in the OntapClusterAPI.pm library file, this is one correction you can make yourself. In OntapClusterAPI.pm, each entity - APIs, Types, etc. - is described as a hash. The "service-processor-info" type is defined on line 67693 of the SDK 5.4 version. In the "fields" key, I added an appropriate entry to define "ipmi-version" as follows: 'service-processor-info' => { 'category' => 'service-processor',
'fields' => {
'device-revision' => {
'type' => 'string',
'flags' => 4,
'scope' => [],
'firmware-version' => {
'type' => 'string',
'flags' => 4,
'scope' => [],
},## more fields here - skipped for brevity },}, Add an entry in the 'fields' key as: 'ipmi-version' => {
'type' => 'string',
'flags' => 4,
'scope' => [],
}, And now the API call will work because the Perl binding will understand everything coming back from the ZAPI call... C:\work\test>ipmi.pl
$VAR1 = {
'attributes' => {
'service-processor-info' => {
'firmware-version' => '1.4.1P3',
'type' => 'sp',
'ip-address' => {
'ip-address' => [
'XXX.XXX.XXX.XXX'
'part-num' => 'Not Applicable',
'device-revision' => 'Not Applicable',
'is-ip-configured' => 'true',
'is-autoupdate-enabled' => 'true',
'ipmi-version' => '2.0',
'status' => 'online',
'node' => 'xxxxxxxxx',
'mac-address' => '00:11:22:33:44:55',
'serial-num' => 'Not Applicable'
Yes, you may notice, I eschew the PowerShell toolkit in favor of Perl even though I typically use a Windows scripting box. The Perl API bindings are way more expressive and convenient than is the PowerShell toolkit, espeically when accessing Advanced or Diagnositic level ZAPIs. Hope this helps you! Bob -
Perl unit tests fail for dbxml-2.5.16
Hi,
I installed the berkeley db xml version 2.5.16 but while attempting to install perl, I came across the following errors when I run 'make test'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/btree.t .. 1/35 # Check simple env works with a hash.
# cursors
t/btree.t .. ok
t/dbt.t .... ok
t/txn.t .... # transaction - commit works
t/txn.t .... 1/28 # transaction - abort works
t/txn.t .... ok
All tests successful.
Files=3, Tests=73, 1 wallclock secs ( 0.03 usr 0.05 sys + 0.16 cusr 0.17 csys = 0.41 CPU)
Result: PASS
make[1]: Leaving directory `/home/emulo/Downloads/install/dbxml-2.5.16/dbxml/src/perl/Db'
make[1]: Entering directory `/home/emulo/Downloads/install/dbxml-2.5.16/dbxml/src/perl/DbXml'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/XmlContainerConfig.t ..... 1/28 BDB XML: illegal flag combination specified to DB->open
XmlException=SCALAR(0x85c0fb4)# Looks like you planned 28 tests but ran 25.
# Looks like your test exited with 2 just after 25.
t/XmlContainerConfig.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/28 subtests
t/XmlDocument.t ............ ok
t/XmlEvent.t ............... ok
t/XmlIndexLookup.t ......... ok
t/XmlIndexSpecification.t .. ok
t/XmlManager.t ............. 1/92 failed
Error: The flags DB_READ_UNCOMMITTED and DB_TXN_NOT_DURABLE cannot be used directly, you must set these flags using XmlContainerConfig.setReadUncommitted and XmlContainerConfig.setTransactionNotDurable. in t/XmlManager.t, line 367
# Looks like you planned 92 tests but ran 53.
# Looks like your test exited with -1 just after 53.
t/XmlManager.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 39/92 subtests
t/XmlQueryContext.t ........ ok
t/XmlResults.t ............. ok
t/XmlValue.t ............... ok
Test Summary Report
t/XmlContainerConfig.t (Wstat: 512 Tests: 25 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 28 tests but ran 25.
t/XmlManager.t (Wstat: 65280 Tests: 53 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 92 tests but ran 53.
Files=9, Tests=535, 5 wallclock secs ( 0.11 usr 0.15 sys + 1.04 cusr 1.51 csys = 2.81 CPU)
Result: FAIL
Failed 2/9 test programs. 0/535 subtests failed.
Any idea what could be causing this?
Edited by: 902499 on Jul 5, 2012 12:59 AMHi Michael,
Thanks for the patch! We'll take a look at that and try to improve the Perl installation in the next release.
John
Maybe you are looking for
-
How to find square root, log recursively???
I need to find the square root of a number entered recursively and log as well. Your help would be greatly appreciated. Thanks in advance! import java.io.*; /**Class provides recursive versions * of simple arithmetic operations. public class Ops2
-
i liked ios 5 better but still had problems but now since i updated to ios 6 on both my pc itunes and ipod touch 4 my music library glithches freezes skips crashes sticks repeats when i play my music and it's unbearable especially since i'm a huge ad
-
Custom Report with Problems and incidents
I'm trying to create a custom report of all problems and related incidents. I can query the problemDimvw table, but I need some assistance linking to the incidents. Anyone have a query or point me in a direction to join the necessary tables? What
-
I was trying to make sure that all my Apple software was uninstalled, and I still can't remove C:\Program Files\iPod\. I went to the Task Manager and it is not listed in the Processes tab. What do I do now?
-
How do you remove iOS8 update. How do you avoid using iCloud
How do I remove iOS 8 update? it is locking up my phone because I do not want iCloud.