So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.
when we do enter on a folder it take some time for loading the folder depending on the no of entries in the folder . If the folder has more entries it take more time to load and if less no of entries then correspondingly less time . the delay in loading the folder varies due to reading of the folder entries in advance . SO what i want to know is that what is the MAX no of entries read in advance while opening a folder in linux and also how can we calculate this
I recently setup a software RAID1 with two hard drives for testing. I manually unplugged one hard drive to test redundancy and it was fine. I then did the same to the second and plugged back in the first and it was fine. But when I plugged both back in it is only loading one of the mirrors instead of both. I am guessing when the mirror (failed), at least as far as the system knew it removed it from the load sequence to prevent data corruption... how do I go about re-enabling it?.
cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1]
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
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?
1. I can connect to my slack 13 laptop via PuTTY on my GF's windows laptop. Can I actually copy things from my laptop to her machine using 'scp', or is PuTTY just used for browsing my linux filesystem on a windows machine? Google has been telling me about some software called 'WinSCP', which can copy files over, but I was just wandering if i can do this anyway using PuTTY?
2. The first time i did connect to my laptop from my GF's laptop (and also my ubuntu desktop) I get the warning about the host key is not cached in client machine("the server's rsa2 key fingerprint is: ssh-rsa XXXX xx:xx:xx:xx:xx:xx: etc etc). I understand why this happens, but I have no idea where to find this value on my host laptop. I can find the actual key, but not the fingerprint (i.e. the xx:xx:xx:xx:xx:xx:xx" etc). i blindly typed "yes" to get SSH working?
3. When i connect from the internet (rather than over my home network) will i need some kind of 'shell login account' to do this cuz i dont have a static IP. ie i'd like to do 'ssh tom@myAccount.com' rather than 'tom@123.432.32.23'? Where or how can i make this happen?
browsers consistently hanging and not fully loading web pages. this happens in all the browsers i have tried. Opera and Chromium and Firefox. This only happens in Ubuntu. All the other computer in this house load fine and this windows side of this computer loads the pages the right way. At this point i don't know what to do but keep hitting stop and reload and few time till the page loads. can anyone help with this? Also I have tried to clear the cashes. One question where do the temporary Internet files go so I can manually clean that folder out. And also Firefox isn't to bad and the other browsers I just don't like it that much as I like the opera.
I'm trying to recover files from a desktop PC which has 4 HD running on a RAID (0+1) set-up. Now it would appear that either Vista Raid has failed (which I think will be the issue) or one or more of the HD partions has become corrupt. So, I have installed Ubuntu Live on USB and have succesfully booted; however, Ubuntu does not appearing to be loading as it is stuck on "loading essential drivers".
I ask question about my iPhone 3GS here because it run in linux too.I think it's Debian.it if u happen to know the answer. I want to keep cache downloaded from Cydia for reinstalling later.
Has anyone had issues installing Drupal on centos. I have copied my files into a virtual host container but cannot access the site. When I place a phpinfo file into the folder and browes to it I see that Virtual Directory Support is "Disabled" However how did the php page get shown from the same virtual directory mm I may have asked to soon.Installing Drupal on CentOS 5/Red Hat/Fedora http://drupal.org/node/32773
I am having a problem during a fresh install of CentOS 5.3 on an IBM Intellistation Z Pro 6221. I have tested the installation media (CDs). The install runs normally until I am asked to specify the appropriate keyboard.I take the default (English) and hit next. The keyboard and mouse keys become unresponsive though the mouse pointer moves. I can go no further than this. This behavior is the same whether I install in text mode or graphic mode. I have tried the noprobe installation option without success. The box I am doing the install on dual boots fine between Windows XP and CentOS 4.7 currently.Does anyone have an idea of what the problem may be?
I've a folder named "lynx" in my desktop . It contains ebooks - pdfs,chms etc . The problem is sometimes when i open the folder in nautilus , the folder keep loading forever and sometimes it shows two or three files and keep on loading . But at some other times , folder contents are displayed just as any other folder(i.e normal ).
I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.
this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.
The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.
I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.
I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.
have the latest Vbox installed on CentOS 5.4, i have a XP home VM & Server 2003 VM set up. Im using the T1000 Emulated network driver and only getting 100-150mbps throughput when checked with QCheck. I tried the virtio-net (paravirtualized) drivers and only getting 50-90mbps using it, which i found odd. Is there any way i can increase the througput to my VMs? I seen some people on forums talking about getting 300-350mbps, but im no where close to that. When i check throughput to the host (CentOS) i get at least 800 mbps.
I had dual boot Win Xp and CentOs Linux. I have small harddisk and needed more space, so I removed CentOS linux with partition manager and rebooted. Now I can not boot my XP. All I can see is GRUB prompt. Keyboard do not respond except CTRL ALT DEL. I know I have to fixmbr. But I can not boot from my bootable XP CD. I can boot from CentOS linux DVD and enter into linux rescue mode. From that I typed "grub" entered into grub. Then I tried
I've got a server running CentOS 5.5. I used the automated iptables config tool included in the operating system to allow traffic for vsftpd, Apache and UnrealIRCd. When I send large files to FTP, even from the local network, it works fine for a while and then completely times out... on everything. IRC disconnects, FTP can't find it and when I try to ping it I get "Reply from 10.1.10.134: Destination host unreachable" where ..134 is the host address for the Win7 box I'm pinging from. This is especially frustrating as it's a headless server, and as I can't SSH into it to reboot I'm forced to resort to the reset switch on the front, which I really don't like doing.
Edit: the timeouts are global, across all machines both on the local network and users connecting in from outside.
1st of all, I use my centos mainly as a desktop PC. It started about a few weeks ago when i did a yum update and there was a huge number of files to update. I think it was since then (really not sure) that my gnome panel kept crashing. There was a bug report text but no bug number. Changing new user profile, gnome panel hung as well. Memory status: size: 83812352 vsize: 0 resident: 83812352 share: 0 rss: 13332480 rss_rlim: 0 CPU usage: start_time: 1303788595 rtime: 0 utime: 86 stime: 0 cutime:66 cstime: 0 timeout: 20 it_real_value: 0 frequency: 1
Backtrace was generated from '/usr/bin/gnome-panel' [Thread debugging using libthread_db enabled] 0x00e7f402 in __kernel_vsyscall () #0 0x00e7f402 in __kernel_vsyscall () #1 0x002c0bc3 in __waitpid_nocancel () from /lib/i686/nosegneg/libpthread.so.0 #2 0x05da6c26 in ?? () from /usr/lib/libgnomeui-2.so.0 #3 <signal handler called> #4 0x00e7f402 in __kernel_vsyscall () #5 0x0014c040 in raise () from /lib/i686/nosegneg/libc.so.6 ..... No symbol table info available. A debugging session is active. Inferior 1 [process 4295] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal]
i want install goldendict and source downloaded and i want compile it. for compile i need this packages :
Building under Linux: Make sure you have those dependency packages installed: libvorbis-dev, zlib1g-dev, libhunspell-dev, x11proto-record-dev, qt4-qmake, libqt4-dev, g++, libxtst-dev, libphonon-dev. They can be named slightly different in different distributions
Alright this works fine to pull the directories/files in the /var/Store/2010/ directory.
But when you click on of the links it tries to http://'serveradress'/$filename
note that $filename in the url is the filename clicked on so the php script is working. but I need it to change to that dir so that you can see the folder/files there and work your way up/down/side wise thru the folder tree to where you need to go. Not try and pop it as a direct url which doesn't work.
I have installed CentOS 5.4 machine named test.example.com (192.168.1.1)File /etc/hosts contains:127.0.0.1 test.example.com test localhost.localdomain localhostI have read that the loopback addres should not be assigned to host name,only to localhost and the host name should be assigned to 192.168.1.1, like this:127.0.0.1 localhost.localdomain localhost192.168.1.1 test.example.com testIs there any reason why it should be one or another way?
I have a server, running Centos 5 and it is working fine. Now I want to have another server (server2), mirror of my current server (server 1) if any time my (sever 1) stopped responding, (server 2) should start working until I fix server 1.
I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:
/server/rpmrepo/centos/5] # ls centosplus extras os updates
I have create a LVM volume in mirror 1 method, with two hard drives, In that one disk is get failed. How can I manage the data availability and also what I need to do next?
I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.
I recently moved my site to a new server (Apache 2, PHP5, MySQL5). The site is an Invision based forum. Every few posts / topics it just hangs. The data has been written because if you stop and reload, the post / thread is there. I thought it was a write issue initially, but nope. So, the data is written but the page load never completes. It doesn't leave the page where the data has been input.
Whats the best way to trouble shoot this issue? The only thing I have done recently is reduce my MySQL timeouts, but I can't see that being an issue as the values are still big enough and there are no mentions of timeouts in the MySQL log. (For the record there is nothing in PHP's error log either)
I have checked my server-status. It all looked ok, but I have a suspicion I was hitting my ServerLimit, so I doubled that. Also enabled my Keepalives. Will keep an eye on it.
Some additional info;
1. Apache is throwing seg faults, but enabling core dumps does not produce them.
2. I have tried disabling the modules in apache but it just stops things from working.
3. I fear it may actually be DNS related. If I watch Live Headers in Firefox, absolutely nothing happens during this 'hanging' period. After that, the responses come back fairly promptly.
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.