CentOS 5 :: RPM-BUILD: Installing Set Of Third Party RPM's From Primary RPM?
Dec 24, 2010
I built an RPM, which will copy set of files,executes scripts and install's third party rpms. but the thirdparty rpm's are not getting installed and throws the below warning warning: cannot get shared lock on /var/lib/rpm/Packages From my analysis, i understood that the primary rpm holds a lock and its unable to install the rpms packaged inside.
View 1 Replies
ADVERTISEMENT
Aug 12, 2010
am creating a perl third party package and using in my other program. If i install the package with standard 4 commands ie.,
1)perl Makefile.PL
2)make
3)make test
4)make install
package has not installed properly. If i try to copy the package to the threads generated by perl -V command, then am able to get install the package, but i want to install the package by the standard 4 commands. I am using 36 bits OS , perl version is v5.8.5 and OS am using is "Red Hat Enterprise Linux AS release 4 (Nahant Update 6)".
View 3 Replies
View Related
Jul 28, 2010
I'm installing GLIBC 2.7 (required by some 3rd party software) on a RHEL 4 system as root and am getting the following error during the make:
gcc ../sysdeps/x86_64/mempcpy.S -c -I../include -I/tmp/gnu/ob27/string -I/tmp/gnu/ob27 -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -
[code]....
View 5 Replies
View Related
May 20, 2010
how to add third party repository in CentOS?
View 2 Replies
View Related
Jun 10, 2010
I have 3rd party software that I need to install. It is called VNMRJ. It is packed as one .tar. I extracted the .tar to the desktop (under root) and want to start the installation. However, during the installation process, all .tar files included the the package (sub directories) can't be extracted by the installation routine. For every .tar I get the error
tar: /root/Desktop/vnmrj21b_inova_01106/code/common/com.tar: Cannot open: Permission denied
Installation of VNMR failed
tar: Error is not recoverable: exiting now
DONE: 112 KB
View 5 Replies
View Related
Aug 2, 2009
I get this error:
Error: requested datatype primary not available
# rpm -q centos-release
centos-release-5-3.el5.centos.1
None of the following actions fixed the error.
# yum clean all
# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb
[Code]....
View 5 Replies
View Related
Aug 24, 2009
I have setup Ubuntu servers as LAMP machines but that's pretty much it.
I need to work on an existing CentOS server that I will see for the first time tomorrow. I am told that, as of right now, it is "just serving the internet." The goal is to set it up to be a primary domain controller by which I mean:
1) A user should be able to login to the server from any of the workstations and then see their server stored documents
2) The clients will be a mixed bag of Linux, Windows and Mac machines
I could use a push in the right direction as to what I need to do to get this all setup. I know how to setup users and home folders (I use webmin typically and I understand that there is a version for CentOS) but clearly there is more that I need to do. I am really curious as to how I would map the necessary drives on the client machines upon login and have the users have automatic access to their data regardless of the client machine they log in to.
View 4 Replies
View Related
May 11, 2011
I'm wondering why we can't received email when our primary DNS went down. We have slave DNS but don't know why we can't receive emails. Internet is working properly. The mail file in /etc/configuration on slave dns are there & the zone file is added. I edited the mail zone file to see if it works & restarted the named service. But still we can't received emails using the slave DNS. Do I need to reboot the server?
View 12 Replies
View Related
May 7, 2009
Centos 5.3 How can I change the primary nic from eth1 to eth0? My board has 2 nic's and I'm having license issues with cpanel
View 2 Replies
View Related
May 24, 2010
I want to set up an installation server for CentOS 5.5, using PXE for boot, kickstart for package selection (one for server), and NFS for share all files needed.I've succesfully completed a fresh installation of CentOS5 from the DVD for one of my servers (virgil), and I've copied the anaconda-ks.cfg generated by the installer to my install server (beatrix).
Next, I've properly configured the /etc/dhcpd.conf , the /tftpboot/pxelinux.cfg/<IP_CODED> and the /etc/exports for NFS sharing on beatrix.Then, I've copied all the first DVD of CentOS5 content in this folder on beatrix: /opt/CentOS_install I've tried to start virgil from ethernet, and all has gone ok, with the kickstart and so on! But I've decided to apply the updates (new kernel, sudo, xorg, ...), so I've deleted the old rpms from /opt/CentOS_install/CentOS and copied the new ones (downloaded from http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/). So, I've launched the following commands to recreate the repodata:
root@beatrix:/opt/CentOS_install/ # mv repodata/comps.xml CentOS/
root@beatrix:/opt/CentOS_install/ # rm -fr repodata
root@beatrix:/opt/CentOS_install/ # createrepo -p -o /opt/CentOS_install/ -g comps.xml /opt/CentOS_install/CentOS
But when I try to reinstall virgil, an error message appears, telling me that a package (perl-DBI-...) isn't present in the media.After some debugging, I've noticed that in the /opt/CentOS_install/repodata/primary.xml.gz there isn't the correct path for the rpms. If you look at the original primary.xml, the "path" is like:path="CentOS/abcxyz.rpm" while in the generated file (with createrepo) the path is:
path="abcxyz.rpm".How can I recreate the repodata with the correct path information?
View 6 Replies
View Related
Jul 27, 2011
For starters, I apologize if this turns out to be a double post. My windows laptop hiccupped in the middle...
So I had a Linux box with two drives running happily for years. Both drives were in the same logical volume, and the second had a file system on it.
The the boot drive croaked. I replaced it and reinstalled CENTOS (making sure, of course, to be careful to use the new drive). The I put the second drive back into the volume group (and that's it).
I'm assuming I probably need to create a new logical volume, because that's how it was before, but I really really don't want to format it.
Am I missing a step or am I screwed?
Fsck -l showed the following output both before and after I put the drive in the volume group. code...
View 9 Replies
View Related
Jun 21, 2010
I'm having a little trouble with ClamAV. Everytime someone sends me an email I get this error in my Webmin Mail Log. Now the mail works and it goes to the quarantine or to the user mail box but this error fills up my mail log and I'm assuming it is not using ClamAV virus definitions to scan the mail? How would I get rid of this error?
I checked in my /etc/clamd.conf and I have AllowSupplementaryGroups yes. What can be causing this error?
I am using ClamAV 0.96.1
Spamassassin 3.3.12
PostFix 2.3.3
CentOS 5.5
Jun 21 09:57:53 localhost amavis[10714]: (10714-03) ask_av (ClamAV-clamd) FAILED - unexpected result: /var/amavisd/tmp/amavis-20100621T090618-10714/parts:
lstat() failed: Permission denied. ERROR
Jun 21 09:57:53 localhost amavis[10714]: (10714-03) WARN: all primary virus scanners failed, considering backups
Jun 21 09:58:01 localhost amavis[10714]: (10714-03) SPAM, <lovelovedsert12@yahoo.com> -> <acruel@email.com>, Yes, hits=20.638 tag=6 tag2=7 kill=7
tests=DKIM_ADSP_CUSTOM_MED=0.001, DRUGS_ERECTILE=2.221, FORGED_YAHOO_RCVD=1.022, FREEMAIL_ENVFROM_END_DIGIT=2.223, FREEMAIL_FROM=0.001,
FREEMAIL_REPLYTO=2.775, FREEMAIL_REPLYTO_END_DIGIT=0.98, FSL_HELO_NON_FQDN_1=0.001, HELO_NO_DOMAIN=0.001, INVALID_DATE=0.432, MISSING_MID=0.14,
NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_BRBL_LASTEXT=1.644, RCVD_IN_BSRN=2.5, RCVD_IN_RELAYS_ORDB=3, RDNS_NONE=1.274, TVD_RCVD_SINGLE=1.213,
T_TO_NO_BRKTS_FREEMAIL=0.01, quarantine spam-9665 (maia-spam-quarantine)
Jun 21 09:58:01 localhost amavis[10714]: (10714-03) Blocked SPAM, [212.96.9.34] [212.96.9.34] <lovelovedsert12@yahoo.com> -> <acruel@email.com>, Hits: 20.638, 8508ms
View 2 Replies
View Related
May 10, 2011
I have several CentOS 5.5 machines running on my network; yum works just fine for them. I used the 5.5 cds to install them. I decided to grab the DVD of 5.6 and build a new machine. Can't run yum.
http://mirrors.finalasp.com/CentOS/5.6/updates/x86_64/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
[code]....
View 11 Replies
View Related
Apr 16, 2011
I want to start some C++ development on my 3 year old, un-updated 8.04 ubuntu desktop machine. I tried,sudo apt-get install build-essentialand got,
Code:
sudo apt-get install build-essential
Reading package lists... Done
[code].....
View 2 Replies
View Related
Apr 19, 2011
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
[code]....
View 2 Replies
View Related
Apr 16, 2011
I want to start some C++ development on my 3 year old, un-updated 8.04 ubuntu desktop machine. I tried:
sudo apt-get install build-essential
and got,
Code:
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help resolve the situation:
The following packages have unmet dependencies:
libc6-i386: Breaks: ia32-libs (< 20090804) but 2.2ubuntu11 is to be installed
Breaks: lib32asound2 (< 1.0.20-3) but 1.0.15-3ubuntu4 is to be installed
E: Broken packages
I thought apt would automatically install the package dependencies. I don't really want to update the entire installation as I have a lot of network services installed and running which I don't want to risk breaking. They aren't exposed to the internet and don't pose a security risk. So is there any way to get apt to install the dependencies for build-essential?
View 2 Replies
View Related
Mar 27, 2010
I'm having headaches about not being able to install build-essential on my 9.10. I don't have an internet connection and no CDrom. [URL]. So that solves it if you have a CD drive... What to do if a poor fella (like me) was to have a system with no CD drive? I installed from USB PENDRIVE and I suppose there have to be some command corresponding to apt-cdrom but for the USB drive but I can't find one.
View 3 Replies
View Related
Apr 15, 2011
alright I have seen some threads on this but they are all old and seem to predate the "wisdom" of the "all" architecture on all the bloody ubuntu packages.
I went to the tomcat website which doesn't even have deb packages. Then I thought to search the ubuntu package repository, nothing seems to have i386 packages for me to install and then get the libs with getlibs. I HAVE to have a 32bit version of tomcat to run orkweb so I can record my phone calls on my voip line.
what would be really great is if anyone has or knows how to build a 64-bit war file for orktrack and orkweb since I have the source code
View 1 Replies
View Related
Jul 22, 2010
I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".
View 3 Replies
View Related
Apr 23, 2009
I am pretty new to linux and trying to figure things out as I go. I have two linux installs, one is Fedora 10 and the other is CentOS 5.3I have an application that when I compile gives this error:gtk-builder-convert: command not foundI have done some research on these forums and other places, and I think (although not 100% sure), that my problem is that this command is not available until GTK 2.12 or higher.From what I can tell, CentOS has 2.10.Am I on the right track that I somehow need to update my GTK to 2.12 or better? I noticed on gtk.org the latest release is 2.16. However, its seems no package is available for CentOS? Am I out of luck or is there an option to get this updated? On my fedora install, this works fine and I noticed in the getting started forum it says that sometimes Fedora packages will work, is that a safe option?
View 2 Replies
View Related
Feb 16, 2010
I need to install latest xen 3.4.2 to my centOS. I have:
* xen 3.4.2
* Linux 2.6.18 with Xen 3.4.x support source tarball, updated for Xen 3.4.2
* CentOS kernel-2.6.18-164.11.1.el5
Linux 2.6.18 with Xen 3.4.x have old cciss and scsi drivers. It don't support my hardware.
CentOS kernel-2.6.18-164.11.1.el5 works normaly, but was not compiled with xen 3.4.2.
How can I patch Linux 2.6.18 kernel or upgade CentOS kernel to the latest xen?
View 9 Replies
View Related
Aug 28, 2009
Is there any way of getting the build logs of the CentOS packages? I'm dealing with a possible build problem in CentOS's Samba similar to [URL], so it would be very useful to have the build logs available to check for such dependency problems, etc.
View 6 Replies
View Related
Mar 18, 2010
I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it:
1. Set Up an RPM Build Environment as its is explained in [URL]
2. Then follow the instructions in [URL]
3. When I try to install the kernel source rpm I get the following error:
[matias@Centos ~]$ rpm -i [URL
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root . . .
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read
View 8 Replies
View Related
Jul 19, 2011
I am trying to build rpm for openssh 5.8p1 on centos 5.6 (32 bit) as i have not found rpm for i386 online. i followed the below mentioned steps but when i apply command rpmbuild -bb openssh.spec it gives this error at the end:
configure error: Pam Headers not found
error: Bad exit status from /var/tmp/rpm-tmp.18348 (%build)
if there is any rpm availble online or to sort out this build problem,Following steps i followed to build rpm. wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz
tar -xvzf openssh-5.8p1.tar.gz[code]......
Now if you go back into /usr/src/redhat/RPMS/<arch> , you should see three RPMs. Go ahead and install them:rpm -Uvh *.rpm
View 5 Replies
View Related
Apr 25, 2009
I have a problem with the VMware Workstation 6.5.2 build-156735 on CentOS 5.3. When I start a VM then, after 10-20 minutes the machine and VMware Workstation freeze. The mysterious thing was, after the freeze a large of folders from my two partitons were lost. ( I have two partitons on a NVIDIA Raid,configured with dmraid.) But the partitons still here, I can see them and they are mounted. Its very mysterious.
I have installed the VM's to a folder on my raid. When I killed the processes and restart VMware Workstation I cant start a VM.
VMware says that CentOS 5.3 are supported for the VMware Workstation 6.5.2 build-156735.
View 6 Replies
View Related
Jun 5, 2010
I'm trying to install a BCM 4312 wireless driver following the Centos howto. Howtos>Laptops>Witeless>Broadcom
On step 3, compiling ... module.I get No rule to make target `build' Stop.When I go to the /lib/modules/2.6.18.194.3.1.el5 directory, the Build file link is broken.If i go to the link source /usr/src/kernels/2.6 ...x86_64 does not exist. The /kernels folder is empty.I think I need to reinstall the identified kernel in that directory and reestablish a link to it. but am not savy enough to do that on my own.
View 10 Replies
View Related
Jun 7, 2010
I have tried building the minimal & desktop Centos 5 live CDs to no avail.Depending on the build environment, they either do not build at all (Centos 5, i386) or they build but kernel panic when I boot them (Fedora 12).I've tried various tweaks to the provided kickstart files but I have not had any success.It is important to note that I have written some very impressive (according to others) Fedora kickstart builds so I am at a loss why the stock Centos files fail.
Can anyone point me in the right direction?I suspect it has something to do with the livecd-tools or syslinux versions but all of the versions I have tried it with make no difference.
View 6 Replies
View Related
Jun 21, 2010
Im trying to make a webserver at home. I have a static IP Address of my ISP (o2) I have built a server ( 2.8 p4HT, 2GB Ram, 500GB HDD) Just to test... But, i dont know what to do in the IP Address settings for the IPv4 ( I think thats what it is) Do i put my static IP address in my ISP gave me, or the local IP of the server ( Wich is 192.168.1.72) Im realy confused. Ive tried everything i can think of, Reinstalled the os about 40 times up to now...
View 1 Replies
View Related
Nov 9, 2010
I've been trying to use tracepoints on a newly installed Centos5.5 download, and crash when I call register_trace_sched_switch, which maps to tracepoint_probe_register(sched_switch, my_func) in tracepoint. h/DO_TRACE, where my_func is the function I want called back on a thread switch. I'm trying to do this from an installable module.So I downloaded the sources for 5.5 (current, 2.6.18-194), with the intention of kprinting my way through the above problem.Unlike the downloaded kernel, which is an "ELF 64-bit LSB shared object" (I'm building for an Intel Atom), when I build using "make" in my rpmbuild/BUILD/kernel-26..18/linux-2.6.18.x86-64/ directory, I get an "ELF 64-bit LSB executable". When I try to boot it, I get the complaint "Error 13: Invalid or unsupported executable format".
The closest thing I could find on the web, was a suggestion, for some powerpc system, to use the "ELF executable" format instead of "ELF shared object", the opposite of my issue, and that such could be forced by using a CONFIG-RELOCATABLE manifest.I couldn't find any .config manifest that looked likely to produce the result I want.
View 1 Replies
View Related
Jun 15, 2011
We have an appliance with image being installed from CD/DVD installation
This appliance image is based on CentOS 4.7 kernel/installer/etc. Everything works fine, we ship this product for about 2 years. Recently I had to move it (port everything) to CentOS 5.5 Everything went fine and it works fine except one minor thing )) We can't install it from CD/DVD image yet. Actually it start fine, finds kickstart file, creates partitions correctly, copies install image to harddrive, but fails the next step when it tries to install RPM's
The message we get:
Quote:
the file termcap-5.5-1.20060701.1.noarch.rpm cannot be opened. This is due to a missing file, a corrupt package or corrupt media. Please verify your installation source. If you exit your system will be left in an inconsistent state that will likely require re-installation"
View 2 Replies
View Related