anyone knows what's my best action here? unmount /home and fsck it? or shutdown the server and replace a drive? (but, from this error message, I couldn't guess which drive is it... also, the 3dm raid monitoring didn't find any problem, so maybe it's the controller?)
So what I got is a problem that /home partition of the server is heavily corrupted.
NOC has already done a FSCK on the disk, but not all the errors were fixed. So they are running another FSCK.
Here's what manager suggested
Quote:
Hence, to save time, we would suggest an OS reload on the server. We may do OS reload on a fresh hard disk and then attach the current disk as secondary. After that we may use a data recovery tool such DDRESCUE to recover data from the corrupted hard drive.
Since I am bit nervous now (no backups, as chornobs wasn't been able to run it due corrupted hdd for some time) wondering. How often it fails to recover all the data? I know it's hard to say, but just aprox?
I have an issue with running of the php-scripts. It runs via Cron (as it consumes a lot of memory), after aprox. 10 minutes after the start-time of the script the following error appears in the error-log file (path - /var/www/vhosts/system/subdomain.domain.tld/logs/error_log)
[Tue Feb 17 19:46:57.003326 2015] [fcgid:warn] [pid 28629] (104)Connection reset by peer: [client XX.XXX.XXX.XXX:48450] mod_fcgid: error reading data from FastCGI server [Tue Feb 17 19:46:57.003368 2015] [core:error] [pid 28629] [client XX.XXX.XXX.XXX:48450] End of script output before headers: Name_of_the_script.php
For a very strange reason another PHP-script, that has the same code, but just runs less arrays, and therefore consumes less memory and can be run via browser - works perfectly from both browser and the cron. The php.ini for this domain set up correctly (see the attachment)...
I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error
Quote:
#fdisk /dev/sdb device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 20023. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
Should I correct the partition table now, or should I put it in another raid for checking?
i have centos 5 server i want install xen on it on my server is just one partion how may i resize this partion( without format partion/with put delete data) and then create lvm partion?
I've been a web developer for some years now, and I've been working with PHP/MySQL in Linux quite a lot, but I've never worked with Linux. But now, I'm in a project where the last programmer was a FreeBSD-guru, but not so good in PHP/MySQL, so they hired me to take over. So the project is hosted on a dedicated FreeBSD-server, and I need to get all sftp-accounts and change them. How do I do that? I have root-access with PuTTY, and I know the basic commands, but I don't know where to start looking for account-settings. Is there anyone who knows how to do this?
I also need to reset the root-login to MySQL. I've only done this on Windows, and I'm not to comfortable testing without knowing. I found this guide: ...
when i try to Terminate an Account this message appears
The /var partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.
For hosting irc and shells i heard that the best choice for OS is the FreeBSD..
I would like to know if there are any toturials or if someone can write one.. (or give some tips) of how can i secure a machine running FreeBSD and used for irc + shells!
For example how can i install a firewall, a rootkit etc etc..
Also what about putting users at jail? (not allowing them see other dirs except theirs) how can i do that?
Also what about dont allow users use some commands like dmesg, ping, traceroute, and also how can i make them when they do ps -aux to only see their processes (to not be able see the other processes from other users..)
setup FreeBSD 7.2 amd64 on my dedicated server remotely. There is only problem I havnt access to KVM, but I have access to rescue system (linux image loaded into memory of the server, which enables me to perform any actions with help of linux tools on hard drive, it's easy to install any linux distro on the server - just format hdd and load files of OS, but I really dont know how to install FreeBSD by this way).
So, maybe someone can help me? If you have any tools for FreeBSD install or special images of it -
I understand the risks of not using a datacenter, but for a smallish site to which uptime isn't key, is it possible to get server-quality bandwidth to my house? (No I don't mean like Gigabit, I mean like upwards of 5mbps)? I'd really like to maintain my own server (probably build one).
I live in Milwaukee, so colocation is, AFAIK, out. And while I can save up for and buy a computer every few years, I cannot sustain $80/month. (I am a middle school student. My income isn't exactly regular.)
So the question... can I get an ISP to let me run a server at decent speeds out of my house? Would its costs exceed colocation or that of a dedicated server?
I have a spare machine which is fairly fast, i like to know what are the steps to make a web server from home that actually works well, i have a static IP and a fast internet too.
Which operating system works better and any guide to a step by step setup.
I'm just wondering what the practicalities and problems might be in setting up a web server from home. At the moment we have a 2Mb cable connection but our provider offers a 20Mb connection.
Would it be possible to set up a small hosting business from home with such a connection?
I am currently leasing a VPS and the kbps upload rate is below my upload rate at home, so I am going to save 50 bucks/ month and move it to home.
I plan on using an older dell desktop with 512mb ram. I would like to use this also as sorta a sync host between my laptop and desktop. I would like to be able to sync certain folders and files which would be stored on the server. I also obviously need to have ftp access, smtp (no knowledge of this area), mysql, php, etc. My big question is which OS should I use? I have fiddled around had a local copy of my site working on my main desktop in windows using apache. Should I stick with windows or would I be better served using a linux distro such as ubuntu? I currently have a static IP address at home. How do I handle the nameservers?
Another thing is how easily can I manage things like emails and subdomains?
I have an Architecture/Interior Design firm and send lots of emails and CAD and photo files. I am designing a website and having it hosted for the first time. (I know...I know...I should have done it long ago..) I have read tons of articles on web hosting.
The website will be lots of photos (thumbnails to be enlarged possibly), text.
Has anyone heard of Inmotion? (web hosting company) They seem to have what I am looking for at a decent price and have gotten some good reviews (but I don't know if those reviews are sponsored by someone).
I work on a Macbook Pro and am looking into creating the website on iWeb....
I have gotten my server configured and running, and have been advised to look into creating virtual hosts for each site, I have found good information on setting virtual hosts within postfix, but does anyone have any good reading on configuring Apache2?
I only have one site I intend to host in the immediacy, but I'd like to host multiples eventually.
I'm thinking about colocating in Milwaukee, purchasing a rack over at the Cogent facility to resell and was faced with a problem. The problem is, to some people, a rather simple one. How can a reseller sell their servers when competition sells their services for unlimited space, bandwidth, domains, sub-domains and such for only $1/month?
I've done the math I could with the information provided to me but am not able to get around the above problem. I can see why some users go to this type of service though. A lot of websites don't even need more than what these sellers offer, and with good reason.
Usually that person only uses 10MB of space and 10GB of transfer.
To break even on hosting, I would have to be able to sell 12 servers at $169 each. Our hardware would be fairly new, capable of whatever you want it to do, short of cutting your lawn, clipping your toenails and what have you, all with 5mbps standard port connectivity inside a 1u case. Obviously you can upgrade the port speeds, drives or whatever else you need in it. This is to snag users into coming with us. Bigger guys charge much more per month for higher end hardware.
I guess what I'm trying to ask is simple. Is it even worth it? Are there users out there who are happy and able to put down $100+ a month for a dedicated server? I'm willing to expand our current services to this type of offering, but I need your input based on your experiences on what you think will end up happening.
So I have designed some software for my brother who owns a business and needed a website to manage his clients and send emails to them and stuff. Right now we are using Hostmonster, which has been pretty good so far.
He was talking to me how it would be nice to be able to email the website and have the site automatically store the information in these emails into a database for information regarding his clients, which I know is possible, but not on a shared host it seems. I have tested my own email receiving script on a test server on my computer and it works fine. So we are continually finding our limits with a shared host. We have been looking into dedicated hosting, but as you all know its quite a price jump to go from $7 a month to $200+.
I got thinking and remembered that my dad has always had a business web plan from our ISP at home (cause he likes fast internet), which according to there website serves 1Mbps upload speed. We also have 2-3 old computers sitting at home that we don't use anymore (2)2ghz pentium 4 Dells and a 3.0ghz+ Pentium 4 HP. I was thinking we could probably just plug one of those into the router, forward some ports and have our own server up and running. For now we would only host this software I made for my bro, which is used by only 4 people, and that's not even at the same time usually. So there is very little load to deal with. But in the future we may put a few other sites that we have in mind which would use PHP and MySQL quite a bit.
I was just curious what some of your opinions were on creating a home server. I was looking at Ubuntu Server edition as a possibility, or XAMPP since all my machines are Windows XP. One machine doesn't work cause the hard drive is out, so if I use that I would probably have to put Ubuntu on it. Any suggestions on good server software would be great! I believe the business web plan my dad has also comes with a static IP as well, so that will help. Look forward to hearing your suggestions!