Centos5 Cant Mkdir Numeric Directories

Dec 30, 2007

We have a weird issue on one of our centos 5 servers, running the 2.6.18-53.1.4.el5 kernel

for some reason we cant mkdir any directories that are numerically named

ie mkdir 5789 doesnt work

alpha and alpha numeric work fine... ie mkdir ab567a

Quote:

[root@]# mkdir 6
mkdir: cannot create directory `6': No such file or directory
[root@]# mkdir 6ab
[root@]#

Someone suggested the adore-ng rootkit was to blame but we have run ossec root check, rkhunter and chkrootkit and even run clamav over the drives and cant find anything nasty

View 0 Replies


ADVERTISEMENT

Server Can't Create Numeric Filenames

Aug 14, 2007

I have a server that has been running for a long time. Red Hat 7.3 (yes, I know that's old). Several ext3fs disks. For some reason I started getting odd failures. I finally found something that's wrong but I can't figure out why.

Here's the symptom: any attempt to create a directory or file name with a numeric name (digits only) fails. So:

touch 294 - fail
mkdir 399 - fail
touch x294 - ok
touch xydf - ok
The error is "no such file or directory".

This happens on all my ext3fs file systems, not just one. The kernel has been replaced with a known good one. No modules -- the kernel has everything built in. I've fsck'd the entire set of disks. A C program that directly calls SYS_open (not using the C library; using syscall) doesn't work either. The only thing that does work is debug2fs which seems to have no problem.

procfs seems to be able to have numeric directories (although that doesn't prove much).

View 2 Replies View Related

PHP MKDIR OWNED Apache User / Group

Feb 17, 2015

When a php framework try to create a new folder, it's created with apache: apache owner instead the user and group owned the root folder.

the PHP safe_mode is set to off.

View 3 Replies View Related

Installing An Extension :: Warning: Mkdir(): No Such File Or Directory

Apr 30, 2008

downloading mailparse-2.1.4.tgz ...

Starting to download mailparse-2.1.4.tgz (36,862 bytes)
..........done: 36,862 bytes
9 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /var/tmp/pear-build-root/mailparse-2.1.4

Warning: mkdir(): No such file or directory in System.php on line 273

Warning: mkdir(): No such file or directory in /usr/local/lib/php/System.php on line 273
ERROR: could not create build dir: /var/tmp/pear-build-root/mailparse-2.1.4

Thats what happens when I try to install an extension.

View 3 Replies View Related

Server2Server FTP Whole Directories And Sub-directories

Dec 23, 2007

I want to copy whole directories about 20gb to another server across the world.

If I type "mput *" it will say "not a plain file" for directories.

How do you move an entire site, I don't want to achive and move because it is big.

View 1 Replies View Related

Less Ram With Centos5

Jul 6, 2007

we got a new box with 4GB of ram but seem that Centos 5 show only 3Gb why?

root [/]# free -m
total used free shared buffers cached
Mem: 3290 2757 533 0 228 968
-/+ buffers/cache: 1560 1729
Swap: 8001 0 8000

root@mikonos [/]# uname -a
Linux 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:46:09 EDT 2007 i686 i686 i386 GNU/Linux

the same server with Centos 4 report 4GB

View 4 Replies View Related

CentOS5 - HDD Partition

May 14, 2008

I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.

View 10 Replies View Related

Centos5 Use Less Memory Than 4

May 18, 2008

centOS5 don't come with mass install software?

Any perl modules and rpm sources can compile on 64bits version?

View 9 Replies View Related

Libxcrypt On CentOS5

Jan 26, 2008

Trying to get something sorted on a VPS that I want, but when I try to run a script I get the following error:

cp: cannot stat `/lib/libxcrypt.so.1': No such file or directory

which is easy enough for me to understand however, I cannot find what package I need to install to provide the file.

I have searched for libxcrypt* on the box to see if its hidden elsewhere but to no avail.

View 1 Replies View Related

Install Xen Centos5

Nov 26, 2007

i have installed xen kernel et libraries, i try to install a guest os with virt-install, and when i hit the network installation it doesn't seam to work. The installation doesn't go further.

Anyone has experience with xen ? I'm a good unix admin but i havn't worked alot with xen yet. I can make it work on other hardware but it seams that for some reason it doesn't work on my dedicated server.

View 3 Replies View Related

CentOS5 And CPanel :: Subdirectories

Nov 18, 2008

I have a VPS with CentOS5 and CPanel...for some reason if I went to that URL it would show the website for the second account created in WHM...so I modified the httpd.conf and added the domain, but for some reason subdirectories won't work on it.

View 2 Replies View Related

Unable To Connect Via SSH With Centos5 X64

May 27, 2007

I have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet.

Now while I mention Centos 5, the problem seems to be with PAM and x64.

When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config.

On the H-Sphere forum I found this reference:

[url]

" if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened:

Quote:

That is known bug dealt with PAM authentication.

The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture.

We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem.
We also installed the kernel into the box IP 64.71.227.16.

Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp.
Let us know the result."

Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.

View 7 Replies View Related

Steps To Install FFMPEG On Centos5

May 5, 2009

Can someone please provide me steps to install FFMPEG on centos5.

View 4 Replies View Related

CentOS5: VI Not Showing Files With Color

May 2, 2007

I tried CentOS5 on my new server. Having CentOS 4 on all other server I never faced this issue. I always get server with vim -minimal installed and I install vim enhanced and common to get text color highlighting.

View 2 Replies View Related

CentOS5 VPS - Yum Barely Working. How To Exclude A Mirror/Mirroring For YUM?

Apr 2, 2009

On a CentOS5 VPS I have access to "yum update" barely working due to the base mirror "styx.biochem.wfubmc.edu" being tremendously slow.

I'm trying to find out how to disable that mirror possibly via a mirror exclude setting in yum.conf or some other way. I've been searching but I've not found any documentation on this so hopefully somebody out there will know how to make this change.

View 5 Replies View Related

Howto Install PHP/Java Bridge In Server Centos5.2

May 10, 2009

i have server
system centos5.2
Apache 2.2.11
PHP 5.2.9

how can install HP/Java Bridge?

in this link he said install Apache Tomcat
but i have Apache 2
[url]

View 3 Replies View Related

Supermicro H8DA8 Kernel Issues On CentOS5 | HyperVM

Oct 24, 2008

I just colocated a 2U supermicro server for a VPS node and experiencing troubles getting HyperVM (ovz) and centos5 to run on it. First of all, the h/w specs.:

2x dual-core opteron 280
12GB DDR400 ECC Reg. RAM
Supermicro H8DA8 mainboard
Adaptec 2120S RAID card with BBU, writecache on
6x73GB SCSI as RAID5+hotspare

All firmware updated

I asked DC staff to load centos5 x64. They installed 5.1 and it was running fine.

However, they said centos 5.2 didn't install. So, I ran a yum update and it updated to 5.2 including kernel.

After the update and issuing a reboot, the box did not come back online and on consoling it, they said error messages scroll too fast to be read after the centos splash screen and it loops on like that. Only the 5.1 kernel 2.6.18-53.el5 seem to boot fine though.

I booted with the old kernel and installed hyprvm; set grub to boot using the ovz kernel and rebooted. Sadly, the same errors and server non-responsive.

Does anyone have any clue regarding this issue? Should I try my luck with centos4.7 x64 instead?

View 3 Replies View Related

How Do I Configure Dedicated IP's On Virtual Machines Running On A CentOS5 Host

May 24, 2009

How do I configure dedicated IP's on Virtual Machines running on a CentOS5 Host?

I installed VMWare Server 2 almost without a problem using no GUI, I now have the web interface for the VMWS2 and any machine I create and run on it seems to do so without a problem.

The thing is, I can't connect or know how to configure this virtual network so I end up using 2 dedicated IPs on the Virtual Machine.

View 8 Replies View Related

What Is The ~ For In Directories?

Dec 3, 2006

I have come across some stuff on the internet that has a file structure looking like this:

/~root/guests
/~operator/a

What does the ~ stand for? Is it something to do with a linux directory structure?

View 3 Replies View Related

Usr And Var Directories

Sep 16, 2008

Which of those directories: usr and var are allowed to rename for a moment and mount their content on a new HD so that SSH and server will not stop work?

View 2 Replies View Related

See All Directories USing SSH

Jan 16, 2007

Running a Linux server, how can I see all the directories? And is there a common list of directories on all Linux servers?

View 10 Replies View Related

What Are All Of The Mysql Directories

Jul 1, 2009

So one of my hypervm servers, got a lot of corrupt binaries in the operating system, CentOS.

My datacenter has plugged in an external hard drive so I can backup my files there so the DC can reformat the server.

I know that I will need to copy: /vz and /home and /etc

But.. the one important thing is the hypervm MySQL database! What do I have to backup? /var/lib/mysql ? any other directories?

And how would I restore that MySQL to the new server, when hypervm is installed and the server is formatted?

I will be installing hypervm on the server again when it's done formatting.

I know that hypervm has exploits, so I am going to stop hypervm once I get the server up and running back on its feet. And then switch to VZWave when the production version comes out.

View 8 Replies View Related

Using PHP & 404's To Emulate Directories

Mar 23, 2007

I am working on a website which is planned to have many articles, each with their own directory [url].

I would like the website to be as automated as possible in terms of adding new content and the like.

After a little bit of research, I learned about Apache's ErrorDocument directive, and IIS's equivalent.

What I had in mind was that users would type in the URL they wanted (such as [url], and the server would not be able to find this directory and would try to return a 404.

The file I would tell the server to use for 404 messages, would be a PHP file. It would read what the URL was (to find out what the user wants to look at), convert the data from the URL into the same format as details of articles held in my database, and the script would then check to see if there were any articles available which matched what the user was looking for.

My understanding is that if an article exists, I will be able to extract the article information from the database, and present this as the web page while manually sending a HTTP 200 response. If the article did not exist, a standard 404 page could be offered.

My questions are:Is my understanding of the process here correct?

Is the process and procedure that I want to follow correct? Does it have any flaws?

Other than how to tell the server about the custom ErrorDocument PHP script, is there anything which differs the process between Apache and IIS?

Assuming that the above works for typical users, would it work properly for search engines as well?

View 5 Replies View Related

How To Create New Directories

Jan 28, 2007

There is no directory for the root account on my server. The server admin tells me this:
"It looks like all the files in there were deleted. I suggest you terminate and recreate the site in order to reset all the relevant directories."

Can any one tell me the ssh command that will do this for me?

View 4 Replies View Related

Home Directories Gone

Jan 2, 2007

Clients home directories keep randomly being deleted. The accounts aren't terminated, just the home directories.

I've changed root pass etc, any other ideas what could be causing this?

View 7 Replies View Related

FTP Not Showing Directories

Dec 31, 2007

Whenever i try to connect to ftp through any of my server account then its not showing any directory inside public_html but when i use cpanel file manager then its working fine i also tried to used differect ftp client program but still problem not solve will any of you help me? ftp successfully connected but not showing files and folders .

View 3 Replies View Related

About Secure Php.ini Directories

Dec 27, 2007

how can i secure the following options in php with whm box

this is my php.ini settings

Code:
open_basedir = /home:/tmp

include_path = ".:/usr/lib/php:/usr/local/lib/php:/usr/lib/php/extensions:/usr/lib/php/extensions/no-debug-non-zts-20020429:";

safe_mode_gid = Off

safe_mode_include_dir =

safe_mode_exec_dir =
i want no one can access other user (User Bypass) with php shell

i am running whm with apache 1.3.39 and php 4.4.7 phpsuexec

how can i secure these options

View 5 Replies View Related

User Nobody And 777 Directories

May 9, 2007

I have a couple of scripts on my server that require directories to be chmoded to 777.

This has let hackers upload code that is being used in phishing schemes to my server.

How can I prevent that? can I disable user nobody?

View 14 Replies View Related

Hidden Files And Directories

Jan 25, 2007

when I FTP into my server, I can't see the files files and folders starting with dots, such as .thumbs or .htaccess. How do I configure my server (through SSH) so that these files are visible rather than hidden? I'm running Fedora on my server.

View 2 Replies View Related

How To Change The Permission All Directories

Jul 20, 2009

In my server permission got corrupted cpanel said to change the permission manually to all the domain how can change the permission of the all the domain using the script ...

root@Core2Quad [/home/a7ydc]# ls -al
total 108
drwx--x--x 12 root root 4096 Jul 18 09:53 ./
drwx--x--x 958 root root 24576 Jul 20 21:37 ../
lrwxrwxrwx 1 root root 31 Jul 17 16:03 access-logs -

> /usr/local/apache/domlogs/a7ydc/ ...

View 14 Replies View Related

How To Pwd Protect Directories Without Cpanel

Jul 28, 2009

how to pwd protect directories with when using no control panel, I am planning to change the login details of the protected directories every few days as well as its top secret data, so I would like to know how to protect directories with pwd, I know how to do using control panel such as cPanel r Plesk but I am having no control panel at this interface

I intend to share the files under this protected directories only to my team, so plz help me with codes if there are any

its cent 0s5, apache handler

View 4 Replies View Related







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