CentOS 5 Server :: Server Update Using Shell Commands?

Feb 22, 2009

Is there a way to run CentOS 5.2 update system using the shell, avoiding the GUI (I want to do it remotely using SSH?

View 1 Replies


Server :: Change The Owner Of The Mysql Database With Shell Commands?

Jun 19, 2010

i want to know how can i change the owner of the mysql data base with shell commands.

View 3 Replies View Related

Software :: Shell Script Commands To Automate Server Or Host Telnet Login Session?

Feb 7, 2010

finally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>

View 4 Replies View Related

CentOS 5 Server :: Can't Execute Some Commands?

May 22, 2009

I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)(/usr/share/pear:/usr/share/php) in System.php on line 459I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything.I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.comDoes anyone have any thoughts? If not the solution, does anyone have any suggestions on how to begin troubleshooting this?

View 2 Replies View Related

CentOS 5 Server :: Can't Run Any Bash Commands

Dec 21, 2009

Our CentOS 5 server had a weird issue last Friday. We couldn't run any bash commands, such as ls, vi. It said that it could not find /bin/ls. The only commands we can run are internal commands, such as ps, cd. After we reboot the server, everything is back.

I don't know what's wrong with it. Does anyone give me a explanation?

View 2 Replies View Related

CentOS 5 Server :: Login As Postgres User And Enter Commands?

Sep 10, 2010

I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.

Postgresql will not start now.

"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.

"su - postgres" = "no file or directory"

In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

how i can login as postgres user and enter these commands?

View 2 Replies View Related

CentOS 5 Server :: MySQL Shell Access Denied / Get It To Work?

Feb 20, 2011

I'm having a hard time to access MySQL from the local or remote shell.
If I try to access MySQL, using mysql -u root -pxxxx I get the error 1045 Access denied...

MySQL is running and I can access it, using phpmyadmin.

There must be something blocking shell access. Can anybody confirm and tell me how to check/configure for shell access?
I'm using ca preconfigured CenOS from PBX in a flash and it seems they did some security settings - but I can't find any further information.
I know I should probably post there, but the Mods didn't activate my account yet. And you know how it is if you try to figure something out. You won't stop.

View 1 Replies View Related

General :: Server Terminal Keyboard Shortcut "F5" To Run Commands Sudo Apt-get Update

Sep 10, 2010

I was wondering is there a way to bind say "F5" to the command sudo apt-get update so I can press one key to write this into the terminal?

View 1 Replies View Related

CentOS 5 Server :: FreeNX - Cannot Get Shell Prompt In GNOME Terminal Window

Jun 9, 2010

I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.

I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.


I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).

When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.

Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?

View 14 Replies View Related

Server :: Update CentOS 4.0 To 4.9?

Mar 22, 2011

I have tried updating my boxes to 4.9 Final issuing the command:

'yum update'

# CentOS-Base.repo
# This file uses a new mirrorlist system developed by the CentOS Team.


View 11 Replies View Related

CentOS 5 Server :: Update [PHP] To 5.2 From 5.1?

Oct 8, 2010

im using the guide found here [URL] . and it told me to add the lines

name=CentOS-5 Testing

View 3 Replies View Related

CentOS 5 Server :: Update Kernel On Centos 5.3?

May 21, 2009

I have centos 5.3 workin on mini itx atom 330. i have some problem with the network when i use Samba. when i move big files the network goes down. i wanna to install the new kernel on my centos to try to fix the network problem with the new drivers includes on the new kernel.

View 2 Replies View Related

Server :: Update PCRE On CentOS ?

Jul 3, 2011

I'm having trouble updating PCRE library on my web server. Even though pcretest -v show 6.6 it still showing PCRE 8.10 on my working devserver. But our live server shows PCRE 6.6

I'm not sure what I should be updating here. PHP, HTTPD or PCRE ?

View 1 Replies View Related

CentOS 5 Server :: FTP And SFTP Gone Away After Update?

Feb 15, 2009

I just updated my CentOS 5 installation to 5.2 using yum update command.

But soon after restart, I can't use FTP anymore.

I tried SFTP but it always ended with "out of memory" message.

And last way, I tried to uninstall ftp and replace it with vsftp but still cannot solved.

Now I don't know how to upload my files to this server :(

View 2 Replies View Related

CentOS 5 :: Yum Update Broke Server (5.5 > 5.6)

May 4, 2011

I have a RPS (server with iscsi storage) that worked fine ! I yum updated it yesterday in order to upgrade it to 5.6.

After upgrading, the server can't reboot at all ! I can't find anything in logs

When i boot it via a kvm, the load screen says :

kernel panic - not syncinc : VFS : Unable to mounr root fs on unknown-block (2,0)
Pid: 1, comm: swapper Not tainted #3

My kernel is on a netboot, it is 2.6.32, and i work on an ip failover.

The ipfailover continues to ping, but not the 'true' ip adresse

I assume it is a iscsi bug, but i don't know how to fix it. Or maybe it is something else.

screenshot here : [URL]

[Moderator edit: Insert link with img tags.]

View 8 Replies View Related

CentOS 5 Server :: Apache Dies After Update

Feb 3, 2009

I updated my CentOS 5 box recently. But after then my Apache can no longer work; every time I try to start apache, it says started OK but then dies immediately and no error message at all. When I tried 'apachectl restartI', it says apache not running. It has been running fine before the update. I've looked at /var/log/httpd.log but there is not any message about my problem.

View 14 Replies View Related

CentOS 5 Server :: Update Php To Testing Repo Php Via USB?

Dec 6, 2009

how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.

edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.

View 2 Replies View Related

CentOS 5 Server :: Yum Update Error Behind MS Proxy

May 5, 2010

I am attempting to use yum behind a MS Proxy. I am receiving the following error:

#yum list
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
http://mirror.centos.org/centos/5/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>

Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again I beleive the yum.conf is configured correctly:


View 3 Replies View Related

CentOS 5 Server :: How To Update Webserver Application?

Feb 26, 2011

I use VPS because when i was on share hosting. My website was hacked by hacker. Now i'm using VPS. I want to ask how to update webserver application such as Mysql, phpMyAdmin, lighttpd I use centOS 5 i386 and i use Kloxo Panel. I was already installed Mybb.

View 1 Replies View Related

CentOS 5 Server :: HTTPd Won't Start After Update To 5.6?

Jul 2, 2011

I just upgraded to CentOS 5.6 (been on 5.2 for ages....) and am getting the following error in the apache error_log file:[Sat Jul 02 13:50:25 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jul 02 13:50:25 2011] [error] SSL Library Error: -8187 Security library: invalid argumentsThe notice entry, I can understand, however the SSL error is halting apache from starting. It has been suggested that this might be a package mismatch issue. I'll be more than happy sharing the package list for this box on request.

View 2 Replies View Related

Server :: Yum Update PHP On CentOS - Missing Dependency Php-common?

Jul 21, 2009

I am trying to update PHP on a centos server by using


yum update php which results in the following...


Setting up Update Process
Setting up repositories
plesk 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00


Error: Missing Dependency: php-common = 5.2.9-1.el4.art is needed by package php-xml I think PHP was previously updated using the centosplus repository which may be causing this problem. yum install php-common results in a nothing to do error.

View 6 Replies View Related

CentOS 5 Server :: Update Local Yum Repository With Mirrors?

Apr 21, 2009

Recently i was able to setup a server which can work as a local yum repocitory in my envornment.However when i tried to update the packages in my repocitory using rsync from mirrors.kernel.org its giving a timeout error. The error i am getting is "rsync error: error in socket IO (code 10) at clientserver.c(107) [receiver=2.6.8]" I am having repocitory for centos 4.4 and 5.2(both 32 and 64 bit versions)

View 2 Replies View Related

CentOS 5 :: Server Only Detect 4 Cores After New Kernel Update?

Aug 28, 2009

I'm using Cpanel on my server, before upgrade to new kernel, i could see 8 cores on my i7 server, now i only see 4 cores, is there anything that i need to do to have another time the 8 cores?

View 2 Replies View Related

CentOS 5 Server :: Installing Mod_dav_svn Without Httpd Update

Sep 15, 2009

I have a VPS server installed with centos 5.3. The server has directadmin. Probably that when directadmin was installed, the httpd server of choice was apache 2.2.13.

My problem is that i whant to install mod_dav_svn trough yum but without updating the latest version of apache form yum repository. If i exclude the httpd package when doing yum install mod_dav mod_dav_svn i get a dependency error witch say that i nedd httpd-mmn installed. So, my question is, how can i use yum to install mod_dav_svn without updating the httpd.

View 3 Replies View Related

CentOS 5 Server :: Xen Guest Won't Boot After Update / Solution For This?

Dec 21, 2009

I'm experiencing some rather severe problems after updating my Centos 5.4 system (Virtual Xen guest). What happens is that when the system boots it complains about missing .so files which prevents about 50% of the services installed from running.
I'm suspecting that it has something to do with selinux for two reasons: 1. The first services to go down complains about the security context of some files, and 2. selinux was kinda the reason I decided to update in the first place as it was disabled when it shouldn't be (enabled in system-config-securitylevel, disabled when running sestatus).
The whole boot-sequence ends with alot of "INIT: Id 'X' respawning too fast: disabled for 5 minutes"-messages (including all runlevels) before it goes stale, and I can do nothing.
The server in question had undergone very little tinkering from my part, pretty much none at all, the only services installed after installation was apache, mysql and webmin.

CentOS 5.4 is installed on both the host and guest.
The guest runs on an lvm-partition.
I have two other vm's(also CentOS) running just fine, altough I'm a bit weary of updating them .

Attached are some screenshots of the boot-process.

I hope some one here can share some insight on this problem. It's making me pretty nervous seeing that our whole network is run by CentOS-installations (not that I'm certain that CentOS is the culprit).

View 3 Replies View Related

CentOS 5 Server :: Update Kernel In Xen Virtual Machine

Jun 20, 2010

I installed the Centos 5.5 with XEN and put 03 virtual machines (Centos 5.5 too). I did this correctly, but I have a problem. In the virtual machine, I need update the kernel. I used "yum update kernel" and this is downloaded correctly and the menu.lst file is updated too, but the kernel not ran. I ran "grub-install /dev/sda" or "grub-install /dev/xvda" and received a error return. I read the device.map file and i ran "grub-install /dev/sde" and received a error return too.

The errors:
[root@vm01 ~]# grub-install /dev/sda
/dev/sda: Not found or not a block device.
[root@vm01 ~]# grub-install /dev/sde
/dev/sda1 does not have any corresponding BIOS drive.
[root@vm01 ~]# grub-install /dev/xvda
/dev/xvda: Not found or not a block device.

View 7 Replies View Related

CentOS 5 Server :: Ddns Update With Dhcp Don't Work?

Jul 27, 2010

i've installed bind and dhcp. I'd like to update dns automatically by dhcp. For the reverse-lookup-zone everything works fine. But for the forward-lookup-zone there is still the message denied. But i cannot see a mistake.

# DHCP Server Configuration file.


View 8 Replies View Related

CentOS 5 Server :: Ssh Connection - Was Working - After Update - Stopped

Oct 1, 2010

I have openssh running it was working last week then an update was done and now ssh does not work. removed the updates and the problem still exists.

Its CentOS 5.5 with all the latest updates for 64 bit!

Issue if as follows:

Connect locally to the loop back ip or remote ip the connection is disconnect right after the correct password is entered.

Here are copies of the log, sshd config.

sshd config:

View 7 Replies View Related

CentOS 5 :: Someone Who Switched A 5.5 Lamp Server To 5.6 Simply With Yum Update?

Apr 9, 2011

as title, is there someone who switched a 5.5 lamp server to 5.6 simply with a yum update?Is it a safe and painless procedure?

View 7 Replies View Related

CentOS 5 Server :: Automation Of Ftp Server \ Configure A FTP Server Where Upload And Download Files?

Jan 8, 2011

i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)

View 5 Replies View Related

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