CentOS 5 Server :: Yum Command Not Working On System / What To Do?
Jul 8, 2009
Yum command is not working on my system today!
when i write any commands using yum, such as yum check-update or
yum install some package it shows the following code...
shall add something to my repository?
View 2 Replies
ADVERTISEMENT
Oct 5, 2009
I'm working in a little company and 2 weeks ago one of our server had a hard disk failure (yes it was a seagate 11) and after passed two days without sleep trying to recover everything (and we did it!!) we took the decision now to use in some of our server a raid sw, so if one HD fail we can continue with our system without losing nothing. Yes I know normally you have to take all the precautions before so this things never happen, but you know I thing if it never arrives you, you always think than you're lucky and it's never going to happen to you but one day you discover reality.
So now this server is working with a Centos and the default HD partitions one boot partition and the LVM. I'm reading everything I'm finding about raid sw and lvm but I don't find if it's possible to create now with the system working a raid sw without having to reinstall all the system. Is it possible to do it ? If not what are my options to make a system backup before reinstalling everything?
View 1 Replies
View Related
May 7, 2010
I have a problem with the system backup. I need to create a system image using the command "tar", but my server has physical disks with LVM and I am executing "linux rescue" for recovering the linux image. After restoring the image on the new server reports "kernel panic", this is caused because the new server where I restored the image doesn't have LVM disks.
View 2 Replies
View Related
Feb 22, 2011
I want to load a second instance of squid after reboot. For this I use this sentence "/usr/sbin/squid-f/etc/squid/squid-2.conf"vi /etc/rc.d/rc.local
View 1 Replies
View Related
Jul 14, 2010
Anyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.
View 5 Replies
View Related
Mar 3, 2011
For example, what I have now as a root user on CentOS 5.5:
# setsebool
bash: setsebool: command not found
I need to enter /usr/sbin/setsebool to get it working
The same is with some other commands:
# service httpd restart
bash: service: command not found
And so on. I know, that I need to add path somewhere, as I did it before on FreeBSD. But I don't know where?
View 2 Replies
View Related
Apr 20, 2011
basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.
View 1 Replies
View Related
Jun 30, 2010
Whilst I have used GUI-based Linux distros for the last few years, I am now struggling somewhat when it comes to setting up a server from the command line. All the howto's I've read so far tell you how to set up certain things, but I don't know what I actually need to set up.Rather than asking the same questions all over again on a forum like this, and generally being a bit of a noob, I wonder if there's a resource somewhere that someone could direct me to in order to know what I need to do to set up a fileserver.
The hardware is all done, and I will probably set up a router distro like IpCop to manage the network, but I'm rather lost as to what packages I need, and how to know what the server is/isn't doing.I've used plenty of command lines in the past (ms dos, amiga dos, BASIC programming etc), just not a linux command line. All I've ever done is mount a few drives, use nmap and started x
View 1 Replies
View Related
Mar 30, 2011
I have some trouble with my hp workstation xw4400 with an ATI FireGL 3300 and the X-Server. There was no problem with the graphical install routine and the graphical boot works fine. But when the system changes into the login-screen, then it results in a black screen and a more or less frozen system.
View 3 Replies
View Related
Mar 29, 2009
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:
a) do this
b) do that
View 4 Replies
View Related
Mar 27, 2009
first of all, ill provide you with the package name i got [URL]...i went to /usr/src/redhat/SOURCES/bwbar-1.2.2 did ./configure ; make
then i get this problem : [root@server bwbar-1.2.2]# ./bwbar ./bwbar: /usr/local/lib/libpng12.so.0: no version information available (required by ./bwbar) i have installed libpng & libpng-devel
[Code]...
after looking around a bit i thought it would be better to get the sources from kernel.org directly and try to compile that one, but then i found it to have the exact same error. would be very nice if someone could direct me to a solution for this. i have the bwbar already installed on another server which runs CENTOS 4 , i installed it there AGES ago , so i dont really remember what was my method back then.
the CENTOS 5 server dose not like me installing bwbar on it for some reason. maybe its bwbar's fault?, im no coder so i hope anyone that got a clue could check this out for me.
View 5 Replies
View Related
Mar 31, 2010
I installed the latest version of Centos 5.4.It came with Xen version 3.0.2 I think.I am running it on a Dell R510. It supports hardware virtualization.I was able to virtualize Windows XP and Windows 2003 server on it by selecting the install from DVD option.I was having problems trying to get a PCI DekTek card seen by the virtualized Windows domains so I tried to upgrade XEN to 3.4.2.I used the repos available from Gitmo and it went easy.
The only problem is now that when I try to create a "New virtual host" it only allows me to use HTTP, FTP option and not the iso or DVD option. They are greyed out. I was wondering if anyone has had this problem and might know a work around for the Xen 3.4.2 problem. Perhaps a better location for the kernel or something.
View 2 Replies
View Related
Sep 4, 2009
I have been setup a PDC with samba+ldap, is working, smbldap-tools working, I can create users, add machines, etc, really cool.Now I have seen MDS from Mandriva, cool tool to handle my network, I try to setup MDS, but looks like something is not good. I have follow the instructions from their site, I access the web page, but went I input my username + password my browser wait for ever and never receive any answer. It suppose that u have input the LDAP username and password from the admin. I had run the mmc-agent daemon as stand alone to see what is doing, but I see any issue:
/usr/local/sbin/mmc-agent -d
mmc-agent 2.3.2 starting...
Using Python 2.4.3 (#1, Jul 27 2009, 17:57:39)
[code]....
View 3 Replies
View Related
Jun 17, 2011
I've got Cent 5.6 using centos-ds.x86_64 8.1.0-1.el5.centos.2 installed via yum.
I turned on the memberof plugin, here's the section from dse.ldif:
I'm currently messing with the value on memberofgroupattr. The only thing that seems to do anything is with it set the way above, in the error log I get:
So if I'm understanding, it's trying to mod the user entry and the attribute isn't allowed.
Setting the memberofgroupattr to anything else gets me nothing noticeable. ldapsearch isn't showing memberof:
I've run the fixup-memberof.pl in /usr/lib64/dirsrv/slapd-hostname and I get:
I'm using ldapadmin from a Windows box to assign/delete people from groups. What I'm a little confused on is the difference between a group and a groupofuniquenames. I also see a difference when using the web gui (directory server gateway) in users. The gateway creates and entry while in ldapadmin I'm creating users. Not sure how that factors but the memberofgroupattr relies on what object class it is and I'm obviously trying the wrong things or something is busted elsewhere.
The error log isn't showing any other errors.
I can restart dirsrv just fine, nothing funny in the log when I do that:
View 1 Replies
View Related
Dec 2, 2010
I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.
I have installed dhcpd and this is how my dhcpd.conf file looks like.
Code:
ifconfig looks like this
Code:
When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.
View 4 Replies
View Related
Feb 25, 2009
I have a weird performance issue with a centos 5 running a nfs server and a rh8 client. I think the fact that it is rh8 client should be downplayed. It is just that with rh8 client the performance degradation seems more clear. See test details below OS in server is Centos 5 x86_64 kernel 2.6.18-92.1.22.el5
1Gb connection between machines File to test over NFS is a 1GB file. First of all I wanted to measure how the network alone performs while using NFS. So in the server side I run a "cat" command on the 1GB file to /dev/null. Please note that the disk read speed is about 98MBs. At this point the file system has the 1GB file cached in memory. In the client side a "cat" on the same file gives me a speed of about 113MBs. It seems then that the bottleneck in this instance is the network and it is very close to nominal speed. So the network performance is really good. (BTW I know that the server got that file from cache because a vmstat or iostat shows no disk activity.)
The second test is reading from disk with no caching involve. In the server I flushed the 1GB file from the memory. For instance by reading another 5GB file and I repeat the same thing as above in the client (a cat on the 1GB file). Now, the server has to go to disk.(vmstat or iostat shows the disk activity). However the performance, now, is about 20MBs, I was expecting something closer so 90MBs. (since the reading speed in the server in the first test showed 98MBs).
This second test was repeated for ext2, ext3, xfs with no significant differences. A similar test using a RH8 NFS server and client gets me close to 60MBs for a 1GB file not cache by the file system in the serverSince network speeds and disk read speeds are not the bottlenecks ... what or where is the limiting factor then?
View 4 Replies
View Related
Aug 31, 2009
OS: CentOS 5.3
vsftpd ver: vsftpd-2.0.5-12.el5_3.1
I installed vsftpd server in one of my servers using "yum install vsftpd" command. NFS server is running in the other server and mounted as "/data" in this FTP server. root in FTP server has also root authority in NFS server. All the files and sub-folders under "/data" in FTP server have 755 or 766 mode. Even I modified vsftpd setting to allow root login.
When I login as root to FTP server with FileZilla client, I can see all the file list in root home directory and move to /data directory. I can download any file in a local HDD but I can not download any file in /data directory.
View 1 Replies
View Related
Aug 10, 2010
I run a webserver with centos 5 and like to change hardware. I run a 1u supermicro 6014t server with 4 *500gb raid 6 and like to downgrade to a smaler but more efficient server. The problem is this. I'dd like to transfer all the content and the whole OS to the new system, but how do I do that
View 1 Replies
View Related
May 27, 2011
My Question is I have installed the ssh key authentication in Server A. User can connect this using key file via SSH. without authentication user can't connect this system via SSH. Now I am trying to copy the file from Server B through SCP command. But it is not working. While I am trying use this command from Server B I am getting below error "ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection timed out lost connection". xxx.xxx.xxx.xxx is Server A. SSH is enabled in both server A,B.
why SCP command is not working?
View 1 Replies
View Related
Oct 23, 2010
I am using vicidialnow 1.2 VERSION: 2.0.4-122 and BUILD: 81011-0855 (CEntos Based Dialer). In all the way, it is working fine. I want to give the access of command /usr/sbin/mtr to a Normal System USer, which is not working according to my wish. I have make the entry in as sudo or make the soft link of /usr/sbin/mtr to /bin. But all in vain. And i am not in the condition to give the root access to the user.
View 4 Replies
View Related
Jul 31, 2009
I have Centos 5.3 on our server When I log-in in webmin I have a message "Warning - Your system is actually running CentOS Linux version 5.3." In the next line I have a button "Update Detected Operating System" My question is Do I need to click the link and update Detected operating system? If I do, is it going to change any configuration on our server?
View 2 Replies
View Related
Apr 19, 2010
installing `yum` in my VPS Centos 5.3 (Final release) I need `yum` because I want to install Japanese fonts in my sever. What is the command for installing Japanese fonts in my VPS Centos 5.3 server
View 2 Replies
View Related
Feb 24, 2009
I'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.
How do I make a simple printer on my network talk to my centOS box?
Here's the printer.conf from a Solaris machine that works:
raphael:
:bsdaddr=igppps1,raphael,Solaris:
And the printers.conf from the CentOS box:
lumina# more printers.conf
# Printer configuration file for CUPS v1.2.4
[Code].....
View 10 Replies
View Related
Dec 16, 2009
i have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies
View Related
May 25, 2010
I am trying to figure out why yum on my server isn't working.Whenever I run a yum update it fails with a segmentation fault.
View 19 Replies
View Related
Oct 29, 2010
i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.
View 1 Replies
View Related
Mar 28, 2009
I have recently installed MySQL Server on my CentOS box.
CentOS 5 MySQL 5.0.45 (installed using 'yum install mysql-server') I can start the daemon without error by issueing the following command: service mysqld start
The problem is that I want to use a number of the command line options available to mysqld, such as --verbose and When I issue '/etc/init.d/mysqld --verbose --help' I get the following output:
[Code]...
View 1 Replies
View Related
Feb 14, 2011
I set up a L2TP/IPsec VPN server using xl2tpd and racoon on CentOS 5.5.
Now clients can successfully dial up to the server, but I can't find a way to know who connects to my server.
Is there any method or command to show l2tp client's information, such as his IP address, username.
View 2 Replies
View Related
Jul 29, 2011
i am trying to run bind in centos 6 and bind keeps giving me errors every time i check all of the configurations. the named.conf file works fine but the zone files keep giving me errors heres the contents of my named.conf file
Code:
options {
directory "/var/named";
listen-on port 53 { any; };
allow-query { any; };
[Code]....
View 4 Replies
View Related
Apr 30, 2009
I have some problem getting masquerade works, but no luck. I created a cronjob that do a backup which will notify me by email. I was able to received the email with from "root@domain.mydomain.com" I want to change this to root@mydomain.com, I tried do the masquerade and it does not work.
View 6 Replies
View Related