Questions tagged [centos5]
CentOS 5 is an obsolete, free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL.
805
questions
-3
votes
1
answer
194
views
Comand over SSH to CentOS and Ubuntu [closed]
I want to put a command over SSH to my CentOS server;
Are the comands for CentOS same with Ubuntu?
Are the following commands work for CentOS?
https://help.ubuntu.com/8.04/basic-commands/C/index....
0
votes
4
answers
174
views
New administration user's $PATH seriously differs from the root's
I'm administering a rented CentOS 5.6 Dedicated Machine as root like initially setup but I'm aware it's extremely bad practise, so I created an User named administrator, placed into groups ...
0
votes
2
answers
2k
views
Apache Delay in Requesting Web Pages During High Traffic
I have a server running CentOS 5, MySQL 5.1, and PHP 5.2. I have a problem that I'm not sure where to start in troubleshooting. It seems that during periods of high traffic, Apache will occasionally ...
1
vote
1
answer
229
views
Not sure how to handle routing with 2 NICs on 2 different subnets
We currently have 11 Dell PowerEdge servers running CentOS 5.6 in a cabinet at a colo facility. Our colo provider recently informed us that they want to move us to a new VLAN, and give us all new IPs ...
2
votes
5
answers
7k
views
How can see what processes makes my server slow?
All my websites on my server are extremely slow or not loading at all. Even server admin (Plesk) will not load some times.
There's been no changes to the sites for the last coupple of months.
How ...
3
votes
6
answers
4k
views
I think my server is being hacked. What should I do? [duplicate]
Possible Duplicate:
My server's been hacked EMERGENCY
I'm not a server admin and I have very little experience in "debuging" a server. But from looking at my log files, it looks as if I'm ...
0
votes
1
answer
938
views
Upgrading phpmyadmin 2.11.11.3 to 3.x on CentOS 5.6
With php 5.4 coming out, and the mysql extension being depreciated (and possibly becoming obsolete in php 6) I want to make sure I upgrade phpmyadmin, so my error logs aren't filled with depreciation ...
1
vote
1
answer
4k
views
Loading JSON in PHP53: ZVAL_DELREF in Unknown on line 0
I'm trying to loading JSON into the new-installed PHP5.3.1 on a CentOS server. Previously there was a PHP5.1 or near and due to the latest version of WordPress I had to upgrade the PHP.
I tried to ...
1
vote
1
answer
242
views
Centos 5.6 switching/migration from apache to lighttpd
I'm currently running Apache 2 with PHP 5.1.6 running as mod_php on a Centos 5.6 box.
I use .htaccess for mostly redirection.
I already have latest APC running apc.so.
I also have MySQL, etc.
Until ...
2
votes
3
answers
2k
views
arp table filling up
I have a CentOS 5 system which serves as an IPSec VPN connector between my network and a couple of remote networks. Lately it is running into this problem once or twice a day where its ARP cache gets ...
3
votes
4
answers
4k
views
APC (PHP Cache) Uptime 0 minutes, not caching
My goal is to implement APC for opcode cache for a drupal 6 production site.
I have so far tested APC with several php files with and without including other php files with include_once.
Also tried ...
2
votes
2
answers
7k
views
SIOCSIFFLAGS: No such file or directory
When I am starting wlan0 it shows me the following error:
SIOCSIFFLAGS: No such file or directory
I should install firmware, How to determine which firmware do I need?
How to determine Wifi card ...
0
votes
2
answers
5k
views
my.cnf values not applying - Optimizing mysql on centos Lamp
I have checked for other occurences of my.cnf and ive found only one occurence /etc/my.cnf.
I then went ahead to fix in my values eg query_cache_size etc.
after saving and literally rebooting, the ...
1
vote
2
answers
8k
views
problems with opendkim and postfix centos
Hi im having problems with opendkim signing mail. check my log. i fixed the permission issue by chowning that file. but still emails are not being signed. any clues? running on centos5 with postfix/...
0
votes
2
answers
200
views
CentOS LAMP Stack: Permissions and Network Access
So there are really two main issues I'm having. I've created a VM with VirtualBox, using Bridge for the network setup. The OS I chose is CentOS and everything has been smooth thus far.
I'm not at the ...
1
vote
1
answer
619
views
cron jobs for php executing differently
I have setup dkim on my server using opendkim(centos). when php executes mail command(on website eg forgot.php). it sends an email signed with DKIM. but i also setup a cron job to run mailcron.php ...
0
votes
1
answer
576
views
How to repair files from linux rescue
It seems that a lot of necessary system modules were uninstalled by mistake , so the original linux server doesn't function anymore and cannot be accessed through ssh or ftp. but I can access through ...
0
votes
2
answers
183
views
On my new subdomain, HTTPS is looking at the www root, not the subdomain root
I have full server control (WHM, CPanel, CentOS 5). I set up a sub domain in CPanel.
Now, a very odd problem to me. http://subdomain.site.com is properly going to its root path and displaying as ...
1
vote
2
answers
1k
views
apache error_log
I'm facing problem with apache. Following logs are showing in error_log file.
--15:01:26-- http://bandits.ucoz.hu/autorun.sh
Resolving bandits.ucoz.hu... 193.109.247.50
Connecting to bandits.ucoz.hu|...
1
vote
1
answer
1k
views
Centos 5 Apache 2.2 configure with mod_wsgi (missing apxs folder)
I have got a dedicated server and CENTOS 5,webmin and Apache 2.2 is already installed.
They installed Apache at /usr/libexec/webmin/apache/ and it works great right now. I can restart and configure ...
1
vote
2
answers
2k
views
Is it possible to upgrade from CentOS 5.6 to 6?
Is it possible to upgrade from CentOS 5.6 to 6 ?
0
votes
1
answer
393
views
resolv.conf cache behavior difference? Centos 5.6 vs AMZN Linux
Machine 1: Centos 5.6 AMI
Machine 2: Amazon Linux AMI Beta
I changed resolv.conf on both to get around an apparent DNS hiccup/lag last week, by appending 'nameserver 8.8.8.8' to the file.
The CentOS ...
0
votes
1
answer
567
views
Load balancing on outgoing direction on Centos server with multiple NICs
In my lab environment, I am doing a stress testing for a application running on 3 Centos 5.4 servers.All of the work of the application is recevie the data from network and make two copy on any other ...
1
vote
3
answers
1k
views
Apache not starting, nothing in log files despite being "debug" level
Our cloud hosting company decided today to upgrade all CentOS implementations to 2.6.39.2. Unfortunately this had an adverse affect on our Apache server, preventing it from starting with mod_ssl ...
14
votes
2
answers
50k
views
Upgrade CentOS 5.x to CentOS 6.x - tips and techniques
Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...
0
votes
1
answer
395
views
Apache 1.3 load increases until restart/graceful on CentOS/EC2. CPU usage climbs, and memcached access speed drops
When running a large mod_perl application on EC2, we've noticed that the CPU usage on the instance climbs gradually between restarts or graceful restarts.
Current setup: CentOS 5.4, m2.4xlarge ...
1
vote
1
answer
2k
views
'setuptool' utility for CentOS 5.5 is not showing all the options I'd expect
I'm trying to setup a server for the first time. I'm running CentOS 5.5. In the book that I'm going through called "The definitive Guide to CentOS", it says in the chapter about setting up the Apache ...
2
votes
2
answers
10k
views
"bash: setup:command not found" error on CentOS
I'm getting the folling error message when I try to use the 'setup' application on CentOS 5.5 to configure the Apache webserver.
bash: setup: command not found
However, when I tried to install it ...
0
votes
1
answer
320
views
why does my internet go down when running openvpn?
We are trying to put a openvpn server in our network. while we are testing, when the openvpn service is running, all other computers on the same network as the server lose internet connectivity. Any ...
3
votes
3
answers
6k
views
Centos 5 service command
My vendor send me a server with Centos5 installed. They have setup the machine to directly login with root account.
With the root account logined, i can run command like this:
service httpd restart
...
0
votes
1
answer
45
views
Getting PHP5 To install
It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade ...
1
vote
1
answer
626
views
Can you load more files (instead of csf.allow) in CSF? like *.conf in Apache?
Currently I keep all of the blocked IPs for my CSF firewall in a single "csf.deny" file which is getting difficult to maintain. In an attempt to organize things a bit more (since not ALL of the IP ...
2
votes
1
answer
767
views
Virtual box - How to add disks and move var, opt and home to them?
I created a CentOS 5.6 Guest OS Virtual Machine.
I made the first disk 10GB, I am rapidly outgrowing it.
It was suggested that I make disks for my /var, /opt and /home directories and move them so I ...
4
votes
1
answer
10k
views
CentOS 5.6 unexpected inconsistency how to repair?
This morning I found that my server was not responding and wasn't able to connect to it in anyway to do a safe reboot. I had to do pull the plug to reboot. Upon rebooting everything appeared to be ...
0
votes
2
answers
3k
views
Unable to access, make directories (and files) with ftp
I'm having trouble with my new server and accessing its directories.
I updated my proftpd.conf with:
DefaultRoot /
No I'm able to see the root directory of my server. But, trying to access some ...
6
votes
1
answer
17k
views
how to uninstall JDK on centos x64 linux based system
I tried installing JDK in my CentOS x64 web server, it looks like I have made a hash of things :(...
Now, how do I uninstall JDK 1.6.0_26 in Centos x64 linux?
Regards,
Arvind.
1
vote
2
answers
7k
views
How to install specific version of MySQL?
I installed from the repo, 5.0.77... including setup of PowerDNS (and the backend for MySQL). I tried setting up replication from my Master (which is MySQL 5.1.53) but it didn't work even though there ...
8
votes
2
answers
19k
views
rpm spec: conditional require based of distro version
I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on RHEL/CentOS5 I need to add one additional dependency.
...
1
vote
2
answers
2k
views
mod_rewrite and VirtualHosts: how to redirect 1 site, but keep the others?
I host 4 virtual hosts at a dedicated CentOS 5.6 server:
# rpm -qa|grep http
httpd-2.2.3-45.el5.centos.1
One of them is my Drupal 7.2 site and another was holding static texts and fotos belonging to ...
1
vote
3
answers
385
views
Help with user login on Centos 5.6
I added a user for the sole purpose of using SU for root. I did not allow the creation of a home directory when creating the user. So now when I login as this user I get the following:
Could not ...
2
votes
1
answer
2k
views
How to create user in Centos 5.6
I have a VPS with Centos 5.6 running on it. I have WHM gui running and create users but they have to be associated with domains. In a terminal can I create a user that is not associated with a domain?
0
votes
1
answer
447
views
Pre/Post deploy script to change file ownership?
We are running CentOS 5.6 on a dedicated server. I am planning on deploying our Magento store changes using BeanstalkApp (www.beanstalkapp.com) which offers pre and post deploy hooks.
My username for ...
2
votes
4
answers
12k
views
Cannot get nscd to run. DNS cache stale as a result
I'm trying to troubleshoot an issue on a MediaTemple server (running CentOS5) where the DNS cache has grown stale - I think because nscd has crashed. I've tried restarting nscd:
# service nscd ...
1
vote
1
answer
1k
views
sendmail: deny all, allow only matched recipients
Warning: Total Sendmail noob here.
Is there anyway to restrict sendmail so that it can only send mail to specific email addresses, either by list or pattern (preferred)
Ideally I'd like to be able ...
5
votes
2
answers
22k
views
How to auto-start MongoDB on CentOS reboot?
How do I setup MongoDB so that it will start back up automatically after a server reboot? This is on CentOS 5.5.
I start it with the following command, but if the server reboots, I have to login to ...
-3
votes
1
answer
2k
views
Is it possible to Web Browsing on CentOS Server? [closed]
i want to remote server for Web Browsing to restart my router is it possible?
if yes, could you tell me a solution ?
0
votes
2
answers
823
views
Failing to build ape server on centos
I'm trying to build an ape server on Centos 5.6 but getting the following message:
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
make: *** [modules] Error 1
How can I ...
0
votes
3
answers
4k
views
Cannot get CentOS 5 to update - Yum Errors
I'm used to Yum on CentOS 5 being a total pig and breaking every other week, but until now I've always been able to fix the problem by simply running:
yum clean all
And then updating normally.
Not ...
0
votes
2
answers
3k
views
vsftpd does not start [closed]
I installed VSFTPD on CentOS but when I try to start the service it fails. What can I do?
1
vote
1
answer
221
views
openvz node with only one vps
I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap).
I run:
vzsplit -n 1 -f vps1 -s 0
and have this setup:
Configuration file generated by ...