1
vote
0answers
13 views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
0
votes
0answers
24 views

Ext3 file system became read-only and server reboots spontaneoulsy

We noticed ext3 file system in our CentOS 4.9 server became read-only. We got the following error in dmesg: EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will ...
0
votes
0answers
27 views
+50

How to expand an iSCSI lun with targetcli on CentOS7?

I have a CentOS 7 machine with iSCSI configured. see ls output from targetcli below. I want to add disk02 to lun0 so that to the iSCSI client can see a total 869.16GB instead of 392.2GB Question: Is ...
0
votes
2answers
81 views

Where / How to install CentOS 7 for 32 bit system?

I have windows 7 with 32 bit system, and previously I used CentOS-6.5-i386-minimal to run centos on my virtual box, but now I would like to run CentOS 7 and it seems (if I am not mistaken) that there ...
1
vote
1answer
22 views

is asus Q87T motherboard compatible with Redhad Linux?

is ASUS Q87T motherboard compatible with RedHat Linux ?? I can't get answer both the two links below: http://www.asus.com/Motherboards/Q87T/specifications/ ...
0
votes
1answer
9 views

Veritus volume manager perl not avaliable

I am trying to install veritas volume manager on Centos 6.5 while running the script its throwing me Cannot find perl to execute
0
votes
1answer
46 views

service command does not work in centos 7

I used to use service command for restarting, reloading, and checking status of service on centos 6.5 like below: $ sudo service nginx restart OK $ sudo service nginx status ...
0
votes
2answers
36 views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
0
votes
3answers
41 views

Change login user account when accessing server through Putty

I am a very new systems administrator. I have been hired in as a junior and came from a Windows administration back ground. I have about one month of Linux experience. I have a lot of resources that ...
2
votes
1answer
31 views

Yum installation of package specific modules

I was playing around with texlive package recently and found out that there is a way to install tex style packages with yum install 'tex(package.sty)' command. I've never seen package name was ...
0
votes
1answer
37 views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
2answers
65 views

What is the difference between installing software as root versus user?

I just installed CentOS 7 with Gnome desktop. In doing so, I created a root password, and added a user. Now I am logged in as the user. I like to install MariaDB server, PHP, and other software. To ...
2
votes
3answers
183 views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
2
votes
1answer
69 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
0
votes
2answers
80 views

CONFIG_LOCALVERSION (CentOS 6.5)

I am in /boot as "root". I edit config-2.6.32-431.el6.x86_46 and added my name to CONFIG_LOCALVERSION="John" But when I type uname -r is just shows the version, but not my name at the end. Am I ...
2
votes
2answers
44 views

Where to turn first when out of free space on Cent OS Web Server?

I am a very new Systems Administrator. I have a Windows background and am now a Jr. Systems Admin working with Cent OS 5. Our web server runs Cent OS 5 and uses PHP/MySQL for our web applications. ...
-1
votes
1answer
393 views

What multimedia support should I use in centOS 7

I have recently installed Cent OS7. Its looks very nice at first. But soon realized it has a horrible multimedia support. Its own player cannot install the codecs it requires, which was much easier in ...
2
votes
1answer
30 views

autofs does not prompt for password when needed

I am trying to setup an automount point using autofs to mount a samba fileshare. I am using the following syntax in my auto.misc file mydir -fstype=cifs,rw,user=myusername ...
3
votes
0answers
43 views

How to get gnome to run /etc/gdm/PostSession/Default when using XRDP w/ VNC

I use Microsoft's Remote Desktop Client (mstsc.exe) to connect to a linux server with GNOME as my desktop. I've set up /etc/gdm/PostSession/Default to execute some steps on cleanup - which works when ...
0
votes
0answers
227 views

What are the steps needed to get Redhat/Centos 7 to boot from an mdadm RAID?

I've spent a day on this. Figured it was time to ask. In the end I couldn't get around "Bad magic number in super-block ..." On an average install, my sda exits setup as an EFI. I'm cool with that ...
2
votes
2answers
384 views

find: File system loop detected

When I try to find a file using find -name "filename" I get an error that says: ./var/named/chroot/var/named' is part of the same file system loop as `./var/named' I ran the ls -ldi ...
-1
votes
1answer
33 views

How to diagnose the problem when Apache at random times shows “Not Found” on the web?

Suppose I reload my web site 100 times by holding down Ctrl+R on my keyboard. I notice once in a while Apache throws out a Not Found error message. If I refresh again, everything works normal ...
-1
votes
1answer
24 views

How to edit all Apache's error codes DIRECTLY instead of using httpd.conf?

When a page does not exist.. this is what i see on the web : Not Found The requested URL /test was not found on this server. i know about : ErrorDocument 404 /test.html but i rather not use ...
1
vote
2answers
47 views

make an application startup automatically

I'm new to linux. Here I have an application deployed to linux, I want the app to startup automatically when the linux start up. I'm using an command like 'sudo ./start' to start the application. How ...
4
votes
3answers
495 views

How to disable beep sound in Linux CentOS 7 command line? [duplicate]

I just installed the basic Linux CentOS 7 (no desktop) and am experimenting with the system. Every time I make a mistake (entering things that the command line doesn't like), the computer beeps and ...
0
votes
0answers
14 views

How to use scanner drivers api in Linux shell script

Usually when scanning any page using Canon DR- 2050C scanner in windows it rotates vertical text paged to horizontal automatically for the easy reading of the user. In Linux we are manually scanning ...
0
votes
0answers
7 views

How to increase horizontal and vertical default spacing between icons on desktop at EL6

I have installed centos 6.5, by default icons are appearing very near to each other on desktop. From where I can increase space between them? Any clue? Which file is recommended to modify manually, ...
3
votes
3answers
602 views

How to get memory used(RAM used) using linux command?

I am trying to retrieve memory used(RAM) in percentage using linux command. My cpanel shows Memory Used which I need to display on a particular webpage. From forums, I found out that correct memory ...
0
votes
1answer
37 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
-1
votes
1answer
39 views

How to use partial IP address in /etc/sysconfig/iptables for the “-s” flag?

in this example it is a full ip ip is: 1.1.1.1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -s 1.1.1.1 -j ACCEPT but suppose i want to allow any ip that simply starts with: 1.1. ...
3
votes
1answer
239 views

Wireless is not working on Lenovo ThinkPad X201 with CentOs 6.5

I am having trouble with wireless connection on my Thinkpad X201 laptop. I installed CentOs 6.5 Minimal. The Wired (cable) internet works perfect. But wireless is not detected. I looked at following ...
0
votes
0answers
143 views

Installing CentOs 6 with Direct Admin

I'm trying to install CentOS with a Direct Admin package. I have done it almost 10 already times but this time I can't get it to work. I've written down all of my steps here: Give root password: ...
1
vote
0answers
98 views

Set persistent permissions for /var/log/boot.log

Every time I reboot my CentOS 6.5 computer, it writes the boot log to /var/log/boot.log. The permissions on this file are always 644 after a reboot. I want the permissions to be 600. When I change the ...
6
votes
1answer
54 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
1
vote
1answer
63 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
0
votes
1answer
425 views

Why does sendmail's status keep changing to “dead but subsys locked”?

Every day I get the output of sudo service --status-all emailed to me using crond. The server is a CentOS 6.5 web server which I use to host a few WordPress websites. Occasionally sendmail will change ...
0
votes
0answers
42 views

Error on building and installing memcached php extension

I have problems to run make on the latest memcached PHP extension, on CentOS 6.5: pecl download memcached tar zxvf memcached-2.2.0.tgz cd memcached-2.2.0/ phpize ./configure ...
3
votes
1answer
48 views

Common subroutines in RPM

I have some common code that I would like to execute in the %pre and %post section of my rpm spec file. When I place a subroutine in the %pre section, I need to add the same subroutine to the %post ...
0
votes
0answers
118 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
1answer
310 views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
0
votes
1answer
213 views

autorun a linux program on startup from a non-root user in centOS 6 64bit

I have a software that needs to be run via specific user "non-root" hence its home directory is /home/non-root/, I have to emphasize that the program must not be run via root and must only run after ...
1
vote
3answers
2k views

PPTP VPN in CentOS 7

I recently installed CentOS 7 (Gnome), but I realized that there are no options for setting up a PPTP VPN client. I tried to install networkmanager-pptp-gnome, but unfortunately it's not available in ...
3
votes
3answers
106 views

Chrooted SFTP user write permissions

I have a setup with sftp only users: Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no I get the following message in my secure.log: fatal: bad ...
0
votes
0answers
21 views

PlayOnLinux(POL) Excel 2007 can not open more than one spreadsheet

I have Installed CentOS 6.5 - i386 and PlayOnLinux 4.1. On that MS Office 2007 is installed. Word 2007 is able to open more than one document simultaneously and also possible to perform Cut, Copy and ...
1
vote
2answers
74 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
0
votes
2answers
78 views

Copy over existing files without confirmation?

I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination folder I get this ...
1
vote
0answers
30 views

TPM passwordless boot

I'm trying to create device with CentOS6, encrypted disk (with LUKS), TPM module and TrustedGRUB to boot securely and without interaction. I'm following instructions from ...
4
votes
1answer
2k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
1answer
511 views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar ...
0
votes
0answers
16 views

how to find where buffers/cache are and how to clean them up? [duplicate]

I want to create 20gb ram disk for ANSYS to work in yet on free -g I see: And personally I have not created any ram drives yet. So I wonder how to maximize avaliable ram: how to locate what is using ...