06-21-2009
The download of the auditfile worked just now. Did you try a different mirror, such as
http://www.xx.freebsd.org/ports/auditfile.tbz where xx is the country code of the country you are based in or are near? Else try the ftp mirrors. Hope this helps
9 More Discussions You Might Find Interesting
1. Ubuntu
W: GPG error: http://archive.canonical.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic Release: Unknown error executing gpgv
W: GPG error: http://us.archive.ubuntu.com karmic-updates Release: Unknown error executing gpgv
W: GPG error:... (17 Replies)
Discussion started by: CRGreathouse
17 Replies
2. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
3. SuSE
Hi,
In SUSE linux, it looks like that I can update the package using YAST or install the package from source. So, which way works better? Also, if i install the package of new version. Do i need to remove/delete the old version package, or I just need to change my environments and keep the old... (0 Replies)
Discussion started by: jianma
0 Replies
4. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
5. Emergency UNIX and Linux Support
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
6. Red Hat
For Suppose, I have installed a package having files file1, file2 and file3. After installation, I removed the file "file3".
But "rpm -qf file3" is giving the package name, even file3 was not there. And also "rpm -ql package" is also displaying all 3 files.
How can i update rpm database about... (6 Replies)
Discussion started by: snreddy_gopu
6 Replies
7. UNIX for Advanced & Expert Users
i recently run on a centos server and this replaced the current config files with a new one.
this happened with but i think it can happen with other packages as well.
please advise how such issues can be prevented from happening again. (4 Replies)
Discussion started by: coolatt
4 Replies
8. Solaris
Hi,
I have a sun solaris 10 server. I have been asked to see what is currently installed ldap package and check if we can update it or not. I have found the installed package but i am not sure how to look i can update it or not on current OS version
thanks (1 Reply)
Discussion started by: aiqbal
1 Replies
9. Linux
I am trying to update an openssl package on my node.
# yum update openssl-1.0.1e-60.el7.x86_64
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
baseline_prd_channel ... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
dbm(3) Library Functions Manual dbm(3)
NAME
dbminit, fetch, store, delete, firstkey, nextkey, forder - Database subroutines
LIBRARY
DBM Library (libdbm.a)
SYNOPSIS
#include <dbm.h>
typedef struct {
char *dptr;
int dsize; } datum;
int dbminit(
char *file );
datum fetch(
datum key );
int store(
datum key,
datum content );
int delete(
datum key );
datum firstkey( void );
datum nextkey(
datum key );
long forder(
datum key );
PARAMETERS
Specifies the database file. Specifies the key. Specifies a value associated with the key parameter.
DESCRIPTION
The dbminit(), fetch(), store(), delete(), firstkey(), nextkey(), and forder() functions maintain key/content pairs in a database. They
are obtained with the -ldbm loader option. The dbm library is provided only for backwards compatibility, having been obsoleted by the ndbm
functions in libc. See the manual page for ndbm for more information.
The dbminit(), fetch(), store(), delete(), firstkey(), nextkey(), and forder() functions handle very large databases (up to a billion
blocks) and access a keyed item in one or two file system accesses. Arbitrary binary data, as well as normal ASCII strings, are allowed.
The database is stored in two files. One file is a directory containing a bit map and has .dir as its suffix. The second file contains
all data and has .pag as its suffix.
Before a database can be accessed, it must be opened by the dbminit() function. At the time that dbminit() is called, the file.dir and
file.pag files must exist. (An empty database is created by creating zero-length .dir and .pag files.)
Once open, the data stored under a key is accessed by the fetch() function and data is placed under a key by the store() function. A key
(and its associated contents) is deleted by the delete() function. A linear pass through all keys in a database may be made by use of the
firstkey() and nextkey() functions. The firstkey() function returns the first key in the database. With any key, the nextkey() function
returns the next key in the database. The following code traverses the database: for (key = firstkey(); key.dptr != NULL; key = nex-
tkey(key))
RETURN VALUES
Upon successful completion, the functions that return an int return 0 (zero). Otherwise, a negative number is returned. The functions
that return a datum indicate errors with a null (0) dptr .
RELATED INFORMATION
Functions: ndbm(3) delim off
dbm(3)