Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
2 views

How to check disk health - 4 SA-SCSI disks working in RAID 10

I have a CENTOS 5.7 x86_64 server with an array of 4 300GB SA-SCSI disks working in RAID 10. How could I check their health? I suspect that there is a possible problem. Today I noticed the server ...
1
vote
2answers
63 views

How to “fresh-clean” OS on the server?

Is there any fast and reliable way to remove everything not related to OS from the server? In removing everything I mean: Completely delete all packages and it's dependencies Completely delete all ...
0
votes
1answer
25 views

Many duplicate binaries created in /usr/bin and /bin

I have a CentOS box that's been up for about a year. It's not got anything hugely important on it, and had a lot of PHP code that I cannot personally vouch for and is fairly old. I realise this is ...
1
vote
1answer
24 views

why does my python cron job time out?

I have a long cron job running a python script in CENTOS, but for some reason it seems to timeout or otherwise end without completion. the job runs fine when executed straight from bash, but seems to ...
0
votes
1answer
30 views

yum hangs and won't respond

I am running yum check-update and it freezes after a 2 lines of output: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile I'm not sure what is happening. The last things I ...
0
votes
1answer
39 views

CentOS 6 Unable To Install Audacious

I cannot seem to install Audacious or nearly any other program for that matter. I think the problem is with repository priorities? I Installed the priority plugin and set some values for repos but to ...
1
vote
1answer
72 views

“64-bit mode not compiled in” error while compiling Linux kernel

I am building 2.6.18 from CentOS source code. I'm at the last step to the build process in their instructions but seem to be getting an error that I can't understand. Instructions I'm following: ...
0
votes
1answer
33 views

issue with my path variable

my path variable seems to be a bit hosed. I recently modified my /etc/profile to add GRAILS_HOME and modify JAVA_HOME. the problem now (moved off of grails to lift for the time being) is that there is ...
0
votes
1answer
53 views

How to set Wireshark to log ONLY DNS requests?

This works: tethereal -i eth0 -w /root/mycapture.pcap but it captures every packet. I only need to capture DNS requests. Is this possible? The server is Linux. Other thing is: is it possible to ...
0
votes
3answers
115 views

Can't access Apache in my CentOS Virtualbox

I'm setting up a VirtualBox with CentOS so I can test out all my code, etc. on a Linux box instead of the Windows I use for development. I just got the SSH working (I SSH to localhost:2222 and it ...
1
vote
1answer
85 views

Can't seem to SSH into my CentOS Virtualbox?

I can't seem to SSH into my CentOS VirtualBox 4.0 running on Windows 7 64-bit. SSHD is running. I've forwarded port 2222 on localhost to the virtual machine (port 22). The network adapter is NAT ...
1
vote
0answers
74 views

Failed Dependencies while installing Snort

Okay. So first off. CentOS is obnoxious compared to Ubuntu. Just felt like saying it :-) So, the problem. Trying to install Snort on a CentOS 6 Server. Getting the following: error: Failed ...
1
vote
1answer
49 views

How to create snapshots of your server for backup in Cent OS 5

I'm making the move from VPS to Dedicate server. Unfortunately, most dedicated servers do not provide server backups like managed VPS's do and I really like the piece of mind of having a backup of all ...
0
votes
1answer
117 views

Install gcc 4.7 on CentOS

What would be the easiest way to install gcc 4.7 on a system with CentOS 6.2 ? The refault rpm package contains an older version of gcc.
0
votes
0answers
26 views

CentOS system time, crond time

I have a question about time setting in CentOS. I have updated my system time with: # yum install -y ntp # cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # ntpdate us.pool.ntp.org # date, Now ...
1
vote
1answer
85 views

How can I install perf, a linux peformance monitoring tool?

I am trying to install perf. I searched online that it is available through http://apt.ubuntu.com/p/linux-tools, but I need apt. I have yum installed, but do not have apt so I tried installing apt via ...
0
votes
1answer
34 views

Centos 5 how to allow users to connect to GNOME like in windows we have RDP

Does anyone can help me with any freeware software for Centos 5, users wants to connect to Centos 5 GUI GNOME from Windows machine. Any help on this would be highly appreciated. Thanks, Maneesh
1
vote
0answers
79 views

Setting default desktop in CentOS 6.2

In centos 4 and 5 I used to select desktop (KDE or Gnome) when I login and set if it's for this session only or permanent selection. In CentOS 6 I can also select desktop ... only after I enter my ...
1
vote
1answer
46 views

Transfer ONLY email accounts from one server to another

Okay. So the company I work with just transferred web servers. I have SSH access to both machines. Without making a FULL cpanel backup, is there a way I can transfer JUST the email accounts from the ...
0
votes
1answer
80 views

bash script to delete old files older than x days doesn't delete .zip files

This code does the trick on deleting files older than 10days But it doesn't delete the .zip files, any suggestions? find /testftp/* -type f -mtime +1 -exec rm {} \;
0
votes
1answer
88 views

How do I install hiphop-php in CentOS 6?

I've been trying to install hiphop-php on CentOS 6 with no luck. I found an .rpm for it but it fails dependency checks on boost which fails to install because it depends on curl which fails to ...
0
votes
1answer
65 views

Which version of Centos should be installed on a pc with i7 2600k cpu? [closed]

I have a pc which has a i7 2600k cpu. Should I install i386 or x86_64 centos on Virtualbox? and what are the differences between them?
0
votes
0answers
78 views

Installing Oracle11g into CentOS6.1 in VMWare 7

The check of packages failed. Some packages have wrong version. For example: libaio-0.3.105. I used rpm to check my system. I have libaio-0.3.107-10.el6.x84_64 installed. And some pacakge missed. For ...
0
votes
0answers
8 views

how to set a backup before update?

I just installed fresh CentOS and i found couple updates using yum check-updates. The questions are: 1. How can I do backups for all the files on each update? For example, rpm or udev. I tried ...
0
votes
0answers
82 views

Can't access to my VPS

I try to connect to my VPS but I can't, even if i use an another computer. But when I use a different connection (other IP) it works. So I was wondering, why my VPS blacklist my IP ? And where can I ...
2
votes
1answer
36 views

Delete old files x days and send email if its done

I have a script that works removing files x days and keep the folders. I'm trying to send an email once its done with the deletion. Any advice? Current script is below: #!/bin/bash find /testftp/* ...
0
votes
1answer
72 views

VirtualBox Under CentOS vboxdrv not loaded

I am a newcomer with linux. I have a little problem with linux. Whenever I try to open [start] virtual box, I get this error and do not know how to fix VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) The ...
0
votes
2answers
51 views

When installing Linux, what does remove all Linux partitions mean?

The Linux installation screen offers me the option to remove all Linux partitions and to create a default layout however what does this mean exactly? Does it mean that if I have Fedora installed, it ...
1
vote
0answers
64 views

Why do I get NT_STATUS_CONNECTION_REFUSED from net rpc shutdown?

When I use "net rpc shutdown -f -I xxx.xxx.xxx.xxx -U usr%pwrd" I receive the following error. "NT_STATUS_CONNECTION_REFUSED" I checked that the firewall is disabled and that I can telnet to port ...
0
votes
0answers
22 views

Set the from address on emails from cron/Set default from address for sendmail

As a normal user I can send email, either from the commandline or from PHP. But when a cron job has error output, sending of that email fails (I have a MAILTO=me@example.com at the top of the ...
0
votes
1answer
70 views

Sharing Eclipse using NFS - Issue?

I am sharing Eclipse with another gentlemen over a Network File System. Strangely, when he started using it, the make tool did not properly work. I suspect this is because the server cannot handle the ...
1
vote
1answer
57 views

Giving a user permission to the /home directory

I am using CentOS 5.x. I would like to give a user permission to write on the /home directory. Do I have to make it a sudoer? Or is there any other better way for that?
0
votes
1answer
55 views

What's different between Red Hat Enterprise Linux and CentOS?

When I do cat /etc/redhat-release, I got this. #CentOS release 5.5 (Final) Red Hat Enterprise Linux Server 5.5 (Tikanga) It looks Red Hat Enterprise Linus is originated from CentOS. Anyway I want ...
1
vote
4answers
140 views

bash script to delete old files older than x days with subdirectories

Hi I'm new to scripting and I'm trying to delete a ton of files older than x days Now I have a script to do that find /path/to/files* -mtime +10 -exec rm {} \; But this will also delete the ...
0
votes
1answer
54 views

How can I determine the MAC address for a NIC in CentOS without using ifconfig?

CentOS 5.5 One of my CenTOS systems recently booted with the following error: "Bringing up interface eth0: Device eth0 has difference MAC address than expected. ignoring." When I run ifconfig -a ...
0
votes
1answer
62 views

Error while installing python setuptools

I downloaded ez_Setup.py from here. I have python 2.6 on CentOS 6. When I do this: python ez_setup.py I keep getting this error: Downloading ...
1
vote
1answer
75 views

vncviewer connection refused (61)

I have a root access to VPS (centos 6). I have installed VNCServer using this guide line http://tournasdimitrios1.wordpress.com/2011/02/02/how-to-setup-vnc-server-on-centos-5-x-fedora-11/ Everything ...
1
vote
1answer
48 views

compatibility issue with Skype (2.2 beta) and centos6 (64bit)

I'm facing some difficulties in installing skype with centos6 (64bit), Every time I tried, after system reboot centos stuck in the loading screen, But without installing skype my Centos6(64bit) works ...
3
votes
1answer
162 views

/bin/su: Permission denied in CentOS can not set su - root

I'm trying to set myself as a root and once I type in su - root in the terminal it just give me an error saying /bin/su: Permission denied so I checked the permission in that file -rwsr-x--- 1 ...
0
votes
1answer
80 views

Linux expert command - where should I enter?

I need to enter "Linux expert" at the boot prompt. I've centOS6.2 DVD but I'm not sure where exactly should I enter this & when will I get the boot prompt? I put the DVD & rebooted & it ...
1
vote
2answers
673 views

Install CentOS 6.2 on external USB portable hard drive?

I've Windows XP installed on my laptop. And I've external 80 GB drive which I usually connect to my laptop through USB. I want to install CentOS 6.2 on this external drive & it should also boot ...
1
vote
0answers
116 views

CentOS 6.1 + Oracle Express 11g

I have installed CentOS 6.1 and Oracle. And then I closed the firewall, used the right Env Typed /etc/init.d/oracle-xe start and inited OK But, I can not use "get Started" (Firefox displayed: ...
0
votes
0answers
150 views

Does Centos 4.7 support NodeJs 0.6.6

Is it possible to install NodeJs 0.6.6 on Centos 4.7? I downloaded source code, extracted it, ran ./configure with no problems but when I execute make command I get this error: ...
0
votes
0answers
40 views

Hostname -i on CentOS 5.7

I use OpenVZ on my server (node). I moved few VPS to a new server (node). I've updated IPs, etc., but when I log onto a new VPS the result of "hostname -i" is still the old IP. Do I need to wait ...
2
votes
2answers
40 views

Parted Resize doesnt show up in mount

I used GParted to resize/move a partition on disk. The initial size was 50MB, but I shrunk my C:\ partition in windows, and then moved the start back 50GB This shows up in parted Model: ATA TOSHIBA ...
0
votes
1answer
98 views

External USB hard drive is read only but I want r/w

I recently formatted a hard drive as ext3 to get it to mount in CentOS 5. Now it automatically mounts when I connect it to the USB port, and mounts to /media/disk, but i am not able to write to it. ...
3
votes
2answers
153 views

Should I disable hyperthreading?

I will be maxing out a few boxes running some heavy CPU intensive processing. Each process only uses 1 thread, so I will run them in parallel. I'm using machines with 4 cores, so that's 8 with ...
0
votes
1answer
43 views

Does memory allocated to tmpfs free itself when needed by an application?

I have 8GB of RAM and 4GB is dedicated to the tmpfs on /dev/shm. There's nothing actually in /dev/shm, so I'm wondering, is this memory still available for applications to use? If I needed to use ...
1
vote
2answers
127 views

How to install CentOS 5.5?

This seems like a silly question, and I apologize if I'm overlooking something obvious. I can't figure out how to install CentOS 5.5 My experience in Linux thus far is mostly Debian-based distros ...
0
votes
2answers
193 views

how can i install CentOS 6 without the gui?

i just downloaded the centos 6 live cd and i tried installing it on virtually and i am never prompted to install centos with/without gui and its all automated. what happends is after i am booted into ...

1 2 3 4 5 8