Chattr On A CentOS Server

Nov 9, 2009

Just wondering if there is a list / guide on what files should be set to either chattr +i or chattr +a?

You could go a little 'crazy' and chattr +i all your major binaries......however my only issue with this is that yum updates will fail until you manually chattr -i and update.
what not to chattr +i or chattr +a?

View 7 Replies


ADVERTISEMENT

Exim Fails / Chattr Errors

Apr 3, 2007

I operate a small vps account that I tinker with for personal use (I host a few friends web forums).

I am a novice at Linux and trying to learn by reading and extensive Google searches but I have been stuck for several days and I hope you can help.

Exim started failing immediately upon restart after upgrades were installed. I believe it is because it won't fully install due to chattr errors I get when I try to upgrade my server.

I am running CentOS 4.4 and I just installed the latest CURRENT build of Cpanel in an attempt to fix my problems.

I have been tinkering, and fixed a few things but nothing I do fixes Exim. When I run the upgrade scripts or I use Yum, or I use cpanel.

I am logged in through SSH as root, or logged in to WHM or Virtuozzo when I perform any actions.

service cpanel status shows:

cpsrvd dead but pid file exists
entropychat is stopped
melange is stopped
stunnel is stopped
interchange is stopped
qrunner is stopped

When Exim 4.63 is installing/upgrading (I see message elsewhere too), etc I repeatedly get:

chattr: Inappropriate ioctl for device while reading flags on /etc/aliases
chattr: Inappropriate ioctl for device while reading flags on /etc/antivirus.exi m
chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.dis t
chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.mai lman2.dist
chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.mai lman2.exiscan.dist
chattr: Inappropriate ioctl for device while reading flags on /etc/exim.pl
chattr: Inappropriate ioctl for device while reading flags on /etc/exim/perl/Dig est/Perl/MD5.pm
chattr: Inappropriate ioctl for device while reading flags on /etc/eximrejects
chattr: Inappropriate ioctl for device while reading flags on /etc/init.d/antire layd
chattr: Inappropriate ioctl for device while reading flags on /etc/init.d/exim
chattr: Inappropriate ioctl for device while reading flags on /etc/localaliases
chattr: Inappropriate ioctl for device while reading flags on /etc/localdomains
chattr: Inappropriate ioctl for device while reading flags on /etc/logrotate.d
chattr: Inappropriate ioctl for device while reading flags on /etc/logrotate.d/e xim
chattr: Inappropriate ioctl for device while reading flags on /etc/pam.d/exim
chattr: Inappropriate ioctl for device while reading flags on /etc/secondarymx
chattr: Inappropriate ioctl for device while reading flags on /etc/spammers
chattr: Inappropriate ioctl for device while reading flags on /etc/valiases
chattr: Inappropriate ioctl for device while reading flags on /etc/vfilters
chattr: Inappropriate ioctl for device while reading flags on /usr/lib
chattr: Inappropriate ioctl for device while reading flags on /usr/lib/sendmail
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/antirela yd
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exicyclo g
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exigrep
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_che ckaccess
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_dbm build
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_dum pdb
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_fix db
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_loc k
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_tid ydb
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/eximstat s
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exinext
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiqgrep
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiqsumm
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiwhat
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/runq
chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/sendmail
chattr: Inappropriate ioctl for device while reading flags on /usr/share/doc/exi m-4.63
chattr: Inappropriate ioctl for device while reading flags on /usr/share/doc/exi m-4.63/README

Exim starts up - but then fails:

Apr 3 07:35:30 server exim: clamd shutdown succeeded
Apr 3 07:35:30 server exim: exim shutdown succeeded
Apr 3 07:35:30 server exim: antirelayd shutdown succeeded
Apr 3 07:35:30 server exim: spamd shutdown succeeded
Apr 3 07:35:31 server exim: clamd startup succeeded
Apr 3 07:35:31 server exim: exim startup succeeded
Apr 3 07:35:31 server exim: exim startup succeeded
Apr 3 07:35:31 server exim: antirelayd startup succeeded
Apr 3 07:35:33 server exim: spamd startup succeeded
exim has failed, please contact the sysadmin.

I understand that this is a permissions problem but I can't figure out how to fix it?

I've done alot of searches on Google, but found vagues answers I just didn.t understand.

View 0 Replies View Related

CentOS Server

May 4, 2009

I have a server with serverbeach and I have WHm and cpanel installed but I have no clue how to install any other programs on my server.

I wanted to install FFMPEG and a few other things but I do not know how to remote in or anything like that.

I am on Windows XP and I have full root access to my server (its dedicated).

Any help would rock because I am pretty new to Linux

I have no clue how to get to the command prompt or some kind of remote desktop and i am pretty sure its centOS5

View 6 Replies View Related

How To Add IP Addresses To CentOS Server?

May 8, 2007

How to add an IP adress to CentOS server?

I can't find 'how to"

How can I add secondary adress using SSH?

What command?

View 1 Replies View Related

Configure CentOS For Web Server

May 23, 2009

im using Vmware

i want install centOS ( vps ), Im try to install text mod , before start install centOS ( Blue Screen ) ask about install some package ! like,

Editors, Text Based Internet, Server Configuration Tools....

i want know for web server ! which package must checked ?

View 8 Replies View Related

Why CentOS/cPanel Server Went Down

Jul 14, 2009

What are the ways to find out why a CentOS 5.3 server running cPanel suddenly went offline.

I ran "last reboot -n 10" and "last" and grepped for shutdown calls, but nothing. /var/log/messages.1 reveals nothing as well.

View 10 Replies View Related

Installing CentOS 5.2 On New Server

Jul 4, 2008

I decided to go with Cent OS after reading about it in the forums here, but I've had nothing but problems trying to install it. I first tried to do a net install but the installation took nearly an entire day because it would keep popping up messages about corrupt files when downloading the package files. Eventually it just gave up or rebooted because I came in in the morning to find it at a message saying "No OS installed". I then burned all 7 installation disks and tried that way, still got a few of the corrupt file messages (but far fewer than the previous time) and made it through the installation only to still have it say "no os installed" again after the reboot. I thought maybe it had something to do with the fact that I was not installing a boot loader (there is no other OS installed anyways) but when I tried to reinstall a third time, this time with the boot loader, it now says that the CD drive (USB) is already mounted on tty2 and I can't even start the installation? WTH!

The server is a Dell PowerEdge R300 with two Intel Core 2 Duo 64-bit processors. I'm using the x86_64 ISOs from the Centos.org mirrors.

View 1 Replies View Related

Starting A VPN Server On Centos 4

Jun 23, 2008

I want to know how can I setup a VPN server on a centos 4 server through ssh?

not willing to sell vpn accounts, just for personal use.

I've searched a lot, but mostly centos was not listed, and the tutorials were so complicated.

View 3 Replies View Related

Server With RHEL4 Or Centos 4.4

May 21, 2007

i have a problem with all my server with RHEL4 or Centos 4.4, when u upload small files on the server the system report a different size, this is a little example

> drwxr-xr-x 2 user user 4096 May 10 11:11 ./
> drwxr-x--- 12 user nobody 4096 May 10 11:16 ../
> -rw-r--r-- 1 user user 7514 May 10 11:11 cred.js

total is about 7+4+4= 15kb

but when i do du -h in the folder

root@ares [/home/user/www/]# du -h
20K

where are this 5kb of difference? i have note that this happend when a site have small files inside, example when u install joomla about 7mb on my server it is 18Mb, the server size block is set to 4kb

View 5 Replies View Related

CentOS-based Server

Oct 24, 2007

I have setup a CentOS 4.5 on a server with no fancy options enabled.

The only thing I have is the ssh service running on port 22.

The server comes up fine but is inaccessible until I login into the console and pings an external IP or domain.

Once I have done this, I am able to remotely login into the server via ssh.
And then few minutes after, the server becomes unavailable again until I do the same routine...ping an external IP or domain.

View 3 Replies View Related

Vpopmail Installation In Centos 5 Server

Apr 24, 2009

We like to create the mail accounts through php scripts in mywebsite.com website. So we request you to setup the Qmail with Vpopmail server in our server. As we have the following packages are already installed.

1. Qmail
2. Courier POP/IMAP
3. Horde Webmail client

Please install the vpopmail in the ourserver and configure these four packages to create the mail accounts via php script. So that we can use vaddsuer command in php to create the mail ids annd also imap_open commands to access the mails.

Our server is configured with Plesk control panel.

The installation is very urgent, as our website is going live sooner.

I will make the decision sooner and let us know the cost, as it will be given to the provider sooner.

View 0 Replies View Related

How Can I Install Openvpn In Centos Server

Sep 7, 2007

I want to make vpn server beside hosting server .

how can i install openvpn in centos server?

View 7 Replies View Related

Ubuntu Server Edition Compared To CentOS

Aug 23, 2008

I asked this question before in the past and I still have to ask it: has anyone used both Ubuntu Server Edition and CentOS? I would like to compare both operating system, in terms of speed, performance, security, and stability.

I have decided to build my new server and use Ubuntu Server Edition 64-bit operating system after using CentOS 64-bit operating system for a bit over a year now.

The reason why I have chosen to use Ubuntu Server Edition is because of the operating system's fabulous reputation among desktop PC users, and its large and helpful support community.

Support is what I need most, and Ubuntu seems to have it. I also am not the best with Linux yet, so it will definitely be needed. Ubuntu also seems to update its software faster than other operating systems.

I hope my decision to switch from CentOS 64-bit to Ubuntu Server Edition 64-bit will not be in vain.

Can anyone compare these two 64-bit operating systems and possibly link me to some reviews, comparisons, and/or benchmark results?

View 3 Replies View Related

Trace And Record Server Load On Centos ?

Jul 30, 2009

i want to ask any any setting or script can help medo the purpose?

i hope i can set a cron to trace server load every five minutes,

and help me record the load number on a log file,

by the way,

i can trace the past load of my server when i need the data.

View 2 Replies View Related

VPS With CentOS, LXAdmin, And FTP Server Root Access

Feb 26, 2009

I've just signed up for my first VPS with CMBHosting and the person in charge, Chetan Bakhru, seems like a genuinely nice, friendly and helpful person. In other words this new service look promising at the moment.

However ...

When I signed up I selected his CentOS/LXAdmin plan because I figured that with a pre-installed control panel like LXAdmin I could avoid as much ssh as possible and simply get "up and running" more quickly. Plus I have some experience managing my own CentOS development machine, and I know that a special software package I plan to install runs on CentOS "out of the box" -- so I was expecting good things from this new VPS.

But when my account was created LXAdmin did NOT create an FTP admin account for me with root access to my VPS!

Instead it created an account that drops me into web server's document root folder, and this is far too limiting for me. I really need FTP root server access -- and I'm surprised that LXAdmin did not provide this access by default.

Not only that, but it appears that I cannot create a new FTP account that has any deeper access than the existing admin account!

Does anyone with LXAdmin experience know if this is the way LXAdmin normally works by default? Or is this perhaps a special configuration created by my new VPS host?

View 5 Replies View Related

Run .net Files On A Server Running Centos With Cpanel?

Jul 6, 2009

if it is possible to run .net files on a server running centos with cpanel

View 2 Replies View Related

Vpopmail Installation On Centos 5 Dedicated Server

Apr 24, 2009

We like to create the mail accounts through php scripts in mywebsite.com website. So we request you to setup the Qmail with Vpopmail server in our server. As we have the following packages are already installed.

1. Qmail

2. Courier POP/IMAP

3. Horde Webmail client

providers who install the vpopmail in the our server and configure these four packages to create the mail accounts via php script. So that we can use vaddsuer command in php to create the mail ids and also imap_open commands to access the mails.

We will take the decision sooner since we need to live the website shortly.

Our server is configured by plesk control panel.

View 2 Replies View Related

Install Htop On CPanel CentOS Server

Jun 25, 2008

I found htop much more easier to understand than top and would like to install it on my cPanel CentOS server. I tried executing following command from root shell:

yum install htop

and got following output:

..................Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: htop
Nothing to do

Not sure if htop is available for CentOS cpanel servers? If so how can I install it?

View 4 Replies View Related

How To Setup Virtual Private Server (VPS) On CentOS?

Jan 16, 2008

How can I setup VPS's on my new server?, I want something which is free, can anyone give me some software? for centos

View 5 Replies View Related

Remotely Install Centos On A Dedicated Server

Apr 19, 2008

Is it possible to Remotely Install Centos on a dedicated server?

View 5 Replies View Related

How To Determine Port Speed On CentOS Server

Jun 3, 2008

How can I detect port speed on my CentOS server ? I need to know it's 10Mbit/s or 100Mbit/s

View 6 Replies View Related

Howto Add IP Permanently To Your Dedicated CentOS Server

Aug 11, 2007

Any straight up easy way. So they stay permanent?

Can I simply use system-config-network and add each IP one at a time.

View 6 Replies View Related

3ware 9550sx With Centos 4.4 (Existing Server)

Jan 19, 2007

I'm planning to run RAID 1 on my PowerEdge 860 server running CentOS 4.4 (320gb x 2 SATA II).

After doing much research, I've decided to go with 3ware 9550sx.

I have some questions regarding installing the 3ware on an existing system with an OS already installed - How do I go about doing it?

I've read that CentOS 4.4 already has the drivers for it.. Do I just configure the RAID config during the boot up?

Is this an overkill for my PE Pentium D 2.8GHZ ?

View 6 Replies View Related

Apache :: CentOS - Measuring Performance Of Server

Feb 25, 2015

I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.

Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output

ab -n 10000 http://127.0.0.1/1.php

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35

With Concurrent connections

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216

How to configure the Apache so the request time decreas to low ms ???

In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.

View 1 Replies View Related

Plesk 12.x / Linux :: How To Protect VPS Server Centos 6 64 Bit

Jul 4, 2014

how to protect Linux Server from Ddos Attack (Botnet, Loic)

View 2 Replies View Related

Windows 2003 Server Versus CentOS Or Any Free OSs

Apr 3, 2009

Almost all dedicated server providers offer windows 2003 server free. Any suggestions to choose one way or the other?

Any major limitations either of these cases? I never worked on linux before, have basic experience on unix though.

Please compare reliability, resources (if problems) in terms of cost, extendability, etc.,

Does cPanel support windows?

I am thinking of limestone 8gb Q9300 server (64bit) with their 30% off deal.

View 14 Replies View Related

Can I Have Mix Windows And Linux VPSs On The Same Server Running CentOS

Feb 15, 2009

if i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.

The main server will be running CentOS with HyperVM.

View 8 Replies View Related

Fresh Centos Server Install But Cannot Connect To The Internet

Aug 11, 2009

The setup:

2wire BT router (Firmware 6.1.1)
1 Server (Dell) Hardware with NICs (Server is connected to router via Ethernet Cable)
5 Static Ip addresses purchased from BT
Server OS is Centos 5.2

All laptops (5) are able to connect to the net wirelessly. I just did a standard installation of the Centos following [url]

I then tried
Code:
yum update
but it times out. I have no remote access to the server. I can only connect when i am on the router. I have seached, read and tried so many sites and commands but it just is not working. I have had this problem for about a 6 days.

Its a long story but basically this server setup has become a nemesis.

I don't mind providing remote access to the server and router admin page if needed. I am in London btw.

View 1 Replies View Related

Backup My Remote Dedicated Server With Centos Installed Over Ssh

Jul 5, 2009

i have a dedicated server with rapidswitch. Few days back all my websites stopped working, due to some reason which i was not able to solve.

NOw, i want to backup all the files stored on my server. Each and every file including the database and every file there on my server.

I tried to log in through ssh on filezilla but i was not able to find out all the folders.

I have putty and could login over ssh , but i don't know the commands to backup.

Could, you guys tell me how to get all those files on my local computer.

i also have cpanel/whm installed and that is working.

View 4 Replies View Related

Whats The Latest Stable Kernel For Centos OS 5 Server

Oct 15, 2007

Can someone tell me which one is the latest stable kernel version available for centos 5 that should be running on the server?

Is
2.6.21.5-JS-grsec #1 SMP Thu Jul 12 20:38:34 CST 2007 i686 athlon i386 GNU/Linux.

Outdated?

View 3 Replies View Related

Plesk 12.x / Linux :: How To Install CentOS 7 On 1&1 Virtual Server

Apr 1, 2015

I want to update CentOS from:

Code:
Version Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6
OS CentOS 6.6 (Final)
to CentOS 7.

What steps I need to do to install CentOS 7?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved