0
votes
0answers
21 views

htop NI value? VPS always crash [on hold]

I have a problem with my vps. It always crash, run out of memory and I'm getting internal service error many times while refreshing or surfing static html pages. I'm the only user and have no visits. ...
-2
votes
1answer
23 views

Command-line access to javascript in CentOS? [closed]

I'd like to get command-line access to a javascript runtime -- just something that I can type simple javascript statements at, and get results printed back at me. Something like php -a, or even a ...
0
votes
1answer
155 views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
-2
votes
1answer
58 views

How to show the actual username instead of nobody in Linux?

I'm trying to find the memory usage for each account on my VPS. I use the "top" command to achieve that but the problem is that it is not showing the actual username for each account. I have four ...
1
vote
2answers
112 views

Why would some folders be invisible on the command line?

I have a webserver which I log into over SSH. Recently, and I don't know what changed to cause this, any directory or symlink named "system" became invisible. After SSHing into the server on the ...
0
votes
0answers
36 views

Installing the Apple Root Certificate Authority on CentOS CLI

I could be barking up the wrong tree here, but I'm looking for help on installing Apple's Root certificate (http://www.apple.com/certificateauthority/) on a CentOS server via the command line - which ...
-2
votes
1answer
3k views

Cannot find a valid baseurl for any repo in centos 6.4

when I want to install any repo I found this error Error: Cannot find a valid baseurl for repo: rpmfusion-free I'm using centos 6.4 I tried to check other packages I found the same error ... so ...
0
votes
2answers
79 views

Timezone inaccuracy

we've been having an issue getting time synced across our Litespeed web cluster, that being that the system time (we're using CentOS) appears to be thinking that the current time for EST (Being the ...
0
votes
1answer
407 views

Disable LDAP service in CentOS 6.3

What command needed to disable LDAP service in CentOS 6.3. I tried: authconfig --disableldap but it doesn't work. I am trying to run ISC-DHCP in my machine but it always shows Not searching ...
-1
votes
1answer
76 views

CentOS 6, FTP settings lost after single user mode

I recently put my server into single user mode with init 1. After I did that, I ran telinit 3, to try and get out of single user mode. It seemed to do the trick, however, now I cannot get back in with ...
-1
votes
1answer
231 views

Edit a file on CentOS 6.3 Minimal [closed]

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how 'minimal' the setup is... Don't have network connectivity. From what I searched on google, I need to edit the file ...
0
votes
5answers
132 views

Determining the version of a packaged process on linux

It's easy to know which version of a package is installed on a linux distro: package-manager info <packagename> i.e.: yum info ntp However, is there a 'linux convention' sort of way to ...
1
vote
3answers
500 views

How can I add myself to apache group?

I'm running my CentOS server on my Xserver and what happen is that when I want to upgrade my Wordpress escpecially for now to Wordpress 3.3.2 the problem is that I got Warning: ...
8
votes
1answer
944 views

PHP on command line displays “Out of Memory”, no file name, line number or memory value

I originally posted this at http://stackoverflow.com/questions/9665189/php-on-command-line-displays-out-of-memory but was advised to post here instead. This is not the normal fatal error when you run ...
2
votes
6answers
10k views

How to install VMWare ESXi CLI on CentOS 6.0?

I'm trying to install VMware-vSphere-CLI-5.0.0-422456.x86_64 onto CentOS 6.0 64bit, but the installer complains: CPAN not able to install following Perl modules on the system. These must be ...
0
votes
0answers
485 views

Cloning Git repo from server to local machine - is my user level to blame?

Server: CentOS 5.7 Local machine: Macbook Pro, regular terminal client Command issued: git clone --bare ssh://myuser@xxx.xxx.xxx.xxx/home/projectname/public_html ~/gitrepos/projectname.git ...
0
votes
4answers
12k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
1
vote
1answer
544 views

What's the best way to upgrade to centos 6

We have a CentOS 5 system with a few programs php, apache etc. It's our local office server as well so we want to keep downtime to a minimum. What's the best way to upgrade to CentOS 6. I also just ...
0
votes
1answer
310 views

How to find out the log file name that a currently running process is writing to?

We've setup a cron-based invocation of a Java program every minute. This Java program invocation is written in a shell script and is setup as cron job. Each invoked Java program is directed to its ...
2
votes
2answers
3k views

What is Linux process 'SMBD' running on my server?

I am trying to figure out how to clean up my server, better monitor its processes and memories, and more. I came across the 'top' command and see several instances of 'smbd' and 'sshd'. I assume the ...
0
votes
2answers
1k views

Tutorial for installing and configuring a mailserver on CentOS [closed]

Anybody know of a good howto/tutorial/walkthrough on installing and configuring a mail server on CentOS using the commandline? I just got myself a fresh VPS. Last year I used a nice tutorial which ...
0
votes
4answers
556 views

How can I get a list of Programs doing Disk IO?

I have a server (running CentOS 5) and I need to figure out which programs (MySQL, Apache, etc) are doing the most Disk I/O? Is there a command that will allow me to calculate an average over time?
2
votes
3answers
2k views

How do I back-up a MySQL database from the command-line in CentOS?

I need to make a back-up of a database on CentOS 5.5, running MySQL server from the command line. Basically I need to export everything in it.
0
votes
2answers
565 views

Problems Using WGET to transfer files from an FTP Server

I make use of wget to get files from an FTP server. I do this: wget ftp://username:Password@XXX.XXX.XX.XX/public_html/images/audiothumbs/* . After I download about a 1600 files, I get this error: ...
1
vote
3answers
375 views

Command line PHP script no longer working

A previously working command line PHP script has stopped working - when i run it now it returns this error: [root@server dir]# ./custom.php Extension './custom.php' not present. If i run the script ...
0
votes
4answers
306 views

SSH running two commands at once?

So I want to run Apache benchmark but while it's running, I need to run htop to see the memory and CPU usage. How can I do that? Putty (My ssh client) won't let me type in a command until ab is done ...
0
votes
2answers
278 views

Howto directory autocompletion on server (centos) non root user account?

is there any chance of having the autocompletion feature of the root account for a normal user account. For example, I created a regular user with sudo capabilities. When I want to do a apache error ...
2
votes
2answers
145 views

SED Find&Replace with “OR”

After a bit of googling / research on my own i haven't found a definitive answer, I'm looking to search the entire /var/www/html/ folder for occurances of "127.0.0.1" and replace them with a server ...
0
votes
3answers
2k views

CentOS 5 Start a PHP Script on startup

We have a CentOS 5 VPS over at slicehost. I have a couple of PHP scripts that operate email and stuff. I need a way to start these php scripts automatically on machine's reboots/startups and have ...