1
vote
0answers
6 views

cron table mailx caused empty content

I'm using centos 7.0. The content of /etc/cron.hourly/mail.cron #!/bin/sh log=/var/log/mail.cron.log echo "`hostname` `date`" >> $log 2>&1 mailx -s "test mail" me@example.com < $log ...
0
votes
0answers
4 views

passsenger: Apache 2 Test Page shown instead of rails application

I have installed centos and rails using a tutorial The problem is, the browser shows "Apache 2 Test Page" instead of the rails site. Any idea how to troubleshoot this.
2
votes
0answers
23 views

Printer configurations on Linux: Providing privilege to normal users

I am on a CentOS machine. Everything is working fine, I can configure the printer with the GUI System->Administration->Printing. It asks for root password and then I can make the configurations. ...
0
votes
0answers
5 views

Configuring Apache with PHP-FPM, Apache failed to start

I followed this guide to configure PHP-FPM with Apache on my server but after I restart Apache successfully: [root@localhost vhost]# service httpd restart Stopping httpd: ...
1
vote
1answer
10 views

What is the purpose of usb0 ethernet device on Centos 6.5 machine?

My Centos 6.5 machine installed with 2 ethernet device (eth0 and eth1). But when I listed all ethernet device with ifconfig -a as root, in resulted list have another ethernet device usb0, as follow: ...
0
votes
0answers
55 views

CentOS 7.x iptables

I have manually edited the /etc/sysconfig/iptables file in my CentOs 7.x installation , I have two entries and two processes running at the respective ports. I am able to telnet/access port 2181 but ...
0
votes
0answers
25 views

Centos 6.5 is not starting xserver

I've got an issue with Centos 6.5 (with GUI) installed on Virtual Box. Everything was working fine until someday it's stopped starting. I noticed that it hangs out on Starting jexec services Starting ...
0
votes
0answers
15 views

How to set up Brazilian Portuguese Keyboard layout in CentOS 6.5?

I'm having a hard time to configure my keyboard in CentOS 6.5. My Keyboard is a standard US-International one and I'm Brazilian. In Windows, I can use language "Brazilian Portuguese" and Keyboard ...
0
votes
1answer
20 views

Make newly created or uploaded (via ftp) files belongs to a group by default

Each time you create a file or upload it via FTP, considering your user is "myuser", it's chwon would be "myuser" for user and "myuser" for group. So you have to manually execute chown command to ...
0
votes
0answers
40 views

Samba4 + Windows 7 + Linux Client

Server side: I have installed samba4 (4.1.9) on a centos server 6.5. Samba’s installation went smoothly. Clients: Windows: I have installed Windows 7 Enterprise Edition 64 bit with SP1, it joined ...
1
vote
0answers
27 views

Linux Box Internet Speed

I have encountered a weird problem with my Centos6 Server, currently I have install Centos6.4 on a 64bit support CPU with 8GB of RAM and 500GB HDD. Just went to check on the internet this morning and ...
1
vote
1answer
14 views

Why do I see the unicode character è when I type Alt-h in my xterm on centos?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type Alt-h (aka M-h). I want to use this key combo in tmux bindings but it doesn't work because tmux doesn't recognize utf8 ...
1
vote
0answers
29 views

Can't login to CentOS desktop as root via GUI prompt

I have CentOS 6.5 running on a VM in VirtualBox (Windows host). I had no problems logging in as root from the GUI prompt (clicking on Other and typing root, then my root password and getting the ...
0
votes
2answers
89 views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
0
votes
1answer
16 views

apache got internal error when access ldap module

I'm installed httpd 2.4, and the /etc/httpd/conf.d/ssl.conf like WSGIScriptAlias /wsgi_app /trac/cgi-bin/wsgi_app.py <Directory /trac/cgi-bin> Require all granted ...
0
votes
0answers
16 views

Am I using this command correctly? Can't understand why I get the error I am getting. Myqsl - Centos 6

So, I am trying to connect to a database through mysql ssh, but whenever I run the command Connect postfix@127.0.0.1 on postfix It returns with: ERROR 2005 (HY000): Unknown MySQL server host 'on' ...
0
votes
0answers
7 views

How to see the size of files on apache server?

On a VPS apache CENTOS 6.5 x86_64 virtuozzo – server Server space is disappearing on accounts that are untouched, or should be. I suspect hackers are uploading to the accounts in question. Space is ...
0
votes
1answer
35 views

New to Linux, cannot get my internet to connect in VMWare

I installed CentOS today and did a minimal install. I got everything set up and got Gnome installed but I simply cannot connect to the internet. I can ping my loopback address and everything looks ...
0
votes
1answer
26 views

How to give apache ownership rights when creating a new file? [Centos 6]

So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
-1
votes
1answer
24 views

Best way to duplicate Linux system drive

I'm upgrading a Centos server's core system harddrive from an IDE drive to a new SATA drive. The server already has 3 other SATA drives running being used as storage areas. What is the best process ...
2
votes
0answers
71 views

“screen is terminating” for non-root

When I try to run screen as a non-root user I get: screen [screen is terminating] immediately, though it works fine for root ls -alh /usr/bin/screen -rwxr-sr-x 1 root screen 465K Jun 9 20:30 ...
2
votes
1answer
26 views

IPSet with IP6Tables ERROR

Can someone please solve my headache and tell me how to fix this? [root@www ~]# ip6tables -I INPUT -m set --match-set blacklist6 src -J DROP ip6tables v1.4.7: Couldn't load match ...
0
votes
0answers
8 views

Using new Python on old CentOS, but only for certain services?

I am using Trac issue tracking system version 0.12 on CentOS 5.8. I am also using Agilo for Trac plugin. This plugin needs Python 2.5 and CentOS 5 comes with Python 2.4. Is it possible to install ...
0
votes
0answers
4 views

How can I specify what directories my overlay uses on a liveusb?

I'm using a Red Hat system (4.4.7-3) to generate a CentOS live USB/CD. I have figured out how to create an overlay as well as a home overlay; however, I cannot seem to grasp how to change the ...
0
votes
1answer
28 views

How to apply “set number” to vi on root?

I'm using vi on centos 6.5 and added "set number" script to /etc/bashrc in order to look line numbers whenever boot. It works well to show it on user login but not root. How to apply "set number" of ...
0
votes
0answers
26 views

How to rollback to previous settings status on Centos 6.5

I'm beginner on linux and using centos 6.5 on my machine. I tried to install a Graphic driver of NVIDIA GeForce 8600 GT on Centos 6.5 and rebooted. After rebooting, problem occurred. Gnome booting ...
-1
votes
0answers
26 views

Why is my server time 5 minutes behind?

When I type date into linux, my time is 5 minutes behind. How do I sync it up to the actual time? My phone, my computers, cnn.com and many other sources show the same time, which is what I want my ...
0
votes
1answer
45 views

Increase space of /var folder in centos

I want to increase the space of /var folder.The output of df -h is [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_livecd-lv_root 50G 33G ...
0
votes
1answer
22 views

PowerShell Send-MailMessage equivalent in Linux

How can I send email via our internal SMTP server from the Linux command line? Something like: sendmessage -server smtp.mycompany.net -subject "Alert aaagh!" -body "The boron control rods have ...
0
votes
1answer
53 views

File synchronization between two Linux servers

We have a two web servers running CentOS. We need to sync images that users uploaded. No servers should be needed to synchronize those, because we need to handle failover. Also, we need to do a ...
1
vote
1answer
34 views

Extend Existing Linux partition

I had a dual boot hard drive with Windows / Centos 6.5. I no longer needed Windows so I removed the /dev/sda1 and /dev/sda2 via fdisk. It now looks like: Device Boot Start End ...
0
votes
1answer
563 views

Making Google Chrome 35 work on CentOS 6.5

I am trying to install Google Chrome 35 on my CentOS 6.5 . After googleing for few hours I found that Google has decided not to support EL 6 release anymore. Due to which I get following error. ...
0
votes
0answers
16 views

multiuser centOS server with restricted access

I need to configure centOS server for multiple users. Every user must be restricted to homedir, have ssh access and be able to copy/move files. So i found a multiple solutions for this task: chroot ...
0
votes
2answers
68 views

/usr/bin/realpath not found in Centos 6.5

I'm trying to type 'realpath' in CentOS 6.5. But it seems not installed. I checked it is contained in coreutils (archlinux). I double check the coreutils package which provide by CentOS, it lack the ...
0
votes
2answers
35 views

Moving /tmp to a different mounted drive

I've mapped my MySQL datadir to a different (and bigger) disk with 900GB [root@web ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 40G 24G 14G 64% / tmpfs ...
1
vote
3answers
29 views

Add a sudoer non-interactively from command line

(On Centos through Docker) I know that I can add a sudoer using visudo. Is there a way to add a user to the sudoer list straight from the command line, so I don't have to do it interactively? I'm ...
0
votes
2answers
96 views

Is it possible to install CentOS 64-bit on a 32-bit machine?

Is it possible to install CentOS 64-bit on a 32-bit machine? Is it possible? If not, I would like to know why. Please explain.
0
votes
2answers
62 views

Apache 2.4 vhost not working

We have a new Centos server installed with Apache 2.4.9. I'm trying to get the vhost working. DNS resolves to the right machine, and I can see the default Apache page, so it's not a firewall issue and ...
1
vote
0answers
27 views

NTP Multicast configuration

I'm trying to get NTP multicast set up between a few computers. Right now I'm getting NTP multicast packets from a computer that I have neither access to nor information on (let's call that A) that is ...
0
votes
0answers
48 views

Enable mouse on Centos 6.5 minimal install

I installed Centos 6.5 on my Mac via Parallels VM. Minimal install. Did a yum groupinstall of xwindows, desktop, fonts. I typed startx to start Gnome. My mouse and keyboard are not working. Did I ...
1
vote
0answers
20 views

Block web browser FTP integration on CentOs 6

I'm switching over to a new provider and I can't remember what I did on my old server to block browser FTP log in. What I mean by browser log in, is that someone can go to a web browser and type ...
0
votes
2answers
36 views

Empty /var/log after running cron bash script

I wrote a little bash script and all of a sudden my /var/log folder is completely empty except for the log I created for the bash script. This is the script I'm running every hour with cron: ...
1
vote
1answer
13 views

Odd issue with OR operator in zsh

I'm seeing an odd issue with CentOS 6.4, zsh 4.3.10 (x86_64-redhat-linux-gnu). This is running two regular expressions on the same string. Neither expression passes the if conditional, but when I OR ...
1
vote
2answers
37 views

what does the astericks mean at end of ls -l -rwxr-xr-x 1 root root size date file*

Every file or link in my CentOS /usr/bin has an astericks at the end of it. None of them do on my local osX server. What does this mean? I have searched google and here specifically with no luck. ...
0
votes
0answers
10 views

CentOS ksoftirqd using CPU [duplicate]

I have a VirtualBox VM running CentOS 6.5 and "top" reports that ksoftirqd is using around 32% of CPU. The file /proc/interrupts reports: CPU0 0: 989646990 XT-PIC-XT ...
0
votes
0answers
7 views

Building rtmpdump on RHEL x86 without yum and no root rights

I have an ssh connection to a RHEL x86 machine, and I can't use yum and I don't have root rights. Is there a way to install rtmpdump anyhow? By looking at this tutorial, it seems that installing ...
0
votes
1answer
27 views

Limiting messages in Centos log file

I have a Centos 6.4 server. I wish to view httpd and PHP errors in /var/log/messages. The log shows a bunch of kernel messages which I don't want to view. How can I either configure syslog to not ...
0
votes
1answer
17 views

Deploy PAM system-auth file from Configuration Server (Spacewalk)

I have my pam.d system-auth file set up correctly on a laptop to set password complexity requirements. If the contents of the file are copied directly into the /etc/pam.d/system-auth location (or the ...
0
votes
0answers
66 views

Centos 6.4 Mounting RAID Drive

I already have 2 hdd on my dedicated and I just added 2 new RAID hdd on my current system. When I use hpacucli ctrl all show config command I can see my all drives like this: Smart Array P410 in ...
0
votes
1answer
24 views

Associate MIME Type with Shell Script?

I want to associate any file type with a .abc extension with the following shell script: #!/bin/bash echo arg 1 is: $1 The .abc type files just have text, but I want to ensure that opening a file ...