Questions tagged [centos6.2]

65 questions
1
vote
1 answer

can not connect mysql with php script

I am new install centos6.2. in ssh part, I could access mysql with: >mysql -u root -p >se659;m then I could see mysql> and I could use any mysql command like: show databases;, show columns from tableName,etc. But when I use php code to connect…
cj333
  • 109
  • 11
1
vote
1 answer

Service modules_dep on CentOS 6.3

I'm trying to determine the minimum services for correct server operation and I am getting annoyed by the modules_dep daemon. What is this service used for? Thank you in advance EDIT: ps ax output PID TTY STAT TIME COMMAND 1 ? Ss …
1
vote
4 answers

Possible to host CentOS netinstall files on a local HTTP/FTP?

I'm running XenServer on an Dell R610 and am running into a catch-22. During install from DVD, CentOS can't find the DVD package catalogue. It's a reported error for some, XenServer + CentOS6 + DVD install in some hardware configurations = failed…
dubmojo
  • 203
  • 2
  • 12
1
vote
2 answers

Create a 2GB ram disk results in error

I'm trying to crete a ramdisk of 2gb in centOS 6.2 and the error I get is the following. Any help would be greatly appreciated. [root@ssb1 ~]# mkfs -q /dev/ram0 2147483648 mkfs.ext2: Filesystem larger than apparent device size. Proceed anyway?…
egorgry
  • 2,871
  • 2
  • 23
  • 21
1
vote
3 answers

Why can't I run virtualenv without root?

I'm trying to run virtual env and all the documentation says I don't need to run it as root (and probably shouldn't). If I run it as root, everything works. If I run it without root, I get: [stats@crunch ~]$ virtualenv env Traceback (most recent…
James
  • 11
  • 2
1
vote
1 answer

CentOS 6.2 Installation issue: insufficient memory to config kdump

I have a problem running CentOS after fresh installation of v6.2. It showed me "insufficient memory to config kdump" error (I have < 4Gb RAM) and then screen became black with some "noise" in it, blinking several times and rebooted and then same on…
Pavel Dubinin
  • 111
  • 1
  • 4
1
vote
1 answer

OpenLDAP on CentOS 6.2 (@ localhost)

I'm trying to configure openldap on CentOS 6.2, I'm just testing openldap on my server at home, so I don't have any DNS server and stuff like that. I already installed openldap using the following configuration: Country Name (2 letter code)…
mckain
  • 51
  • 6
1
vote
2 answers

dhclient requests filling memory?

Dammit Jim, I'm a web developer, not a sys admin. With that out of the way, my client's has a CentOS server (6.2) that is only serving a single Magento site (and the associated MySQL server) and it is frequently running out of memory, despite the…
shanethehat
  • 143
  • 9
1
vote
1 answer

NFS mounted userdir in httpd on CentOS

I am using httpd server on CentOS (with SELinux enabled). I want to use UserDir (public_html) If I create the user on local system it works but when I give the path on NFS shared system it gives 404 error. I am using this directive:
chinmayv
  • 25
  • 5
1
vote
0 answers

SAMBA CUPS Samsung ML-191x two printers exact model both wont distinguish which is connected on which port

I have installed a version of Cent0S 6.02 with SAMBA and CUPS 1.4.8 installed, I have two Samsung ML-191x that I need to install in the server so anyone can access the, both printer, if installed separately work very well everone can print to them…
Samuel Lopez
  • 111
  • 4
1
vote
1 answer

CentOS 6.2 - I can't access console using Alt+Ctrl+F2 (F1 to F6)

I can't switch to tty console (text mode) using Alt+Ctrl + F1 to F6 What I found on the net is that Alt+Ctrl+F1 is now the X server (which was on F7 before). However Alt+Ctrl+F2 to F6 also doesn't work. edit: Some googling led to this: How to…
NickSoft
  • 278
  • 6
  • 23
0
votes
1 answer

Running Testdisk from CentOS 6.2 command line?

I think this will be a very simple answer from an experienced nix user but unfortunately I am clueless. I have a CentOS 6.2 server which is not mounting a EXT4 share at boot, it would appear to be caused by data corruption. As a last resort I wanted…
Adam
  • 1
  • 1
0
votes
1 answer

Adding an interface-specific gateway

Desired result: Assign an interface-specific gateway in the circumstance that are also receiving general DHCP-supplied gateway settings. Current situation: Interface-specific gateway setting is not recognized, probably because it by default has the…
ChaimKut
  • 191
  • 4
  • 9
0
votes
3 answers

Preferred way to add a new name server to a host in Red Hat or CentOS

I am managing a particular host machine, and I would like to locally add a new name server for it to query (i.e. not changing its name server settings via the dhcp server). It seems that there are multiple ways to add a new name server. Adding a…
ChaimKut
  • 191
  • 4
  • 9
0
votes
1 answer

How is it determined which name server will be used for a particular interface?

According to the documentation for interface configuration files in RHEL 6, an interface can specify which name server it would like to use by including the directive DNS{1,2}=address . The documentation states, where address is a name server…
ChaimKut
  • 191
  • 4
  • 9