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
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).
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.
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.
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.
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.
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.
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.
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.
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?
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.
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?
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.
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?
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?
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 .
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.
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 ...
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