i got this message from my provider after asking for a reboot:
Quote:
Your server had an EXT3 FS error scrolling across the screen.
I rebooted and the server mounted clean, but you may end up needing a file system check (FSCK).
I want to do that myself so i can schedule the downtime after midnight, what are the procedures to fix this erros to avoid the need to reboot the server often
I have a centos server & whenever I reboot it, it goes into File System check and takes about 1 hr to turn online.
The irony is, I reboot the server only when the load goes high (esp when traffic is high).. And the server is down for long times when traffic is high.
The server config is pretty good, but it shows these problems once in 15-20 days.
System integrity monitor on server.dealsreferals.com has taken action in responce to an event. Recent event logs are enclosed below for your inspection. There has been 23 events today, if an average of 1000 events is reached, e-mail alerts will be terminated for the duration of the day.
- Events Summary: Total event count: 23 Average event count: 2
- System Summary: LOAD [25.71 - status good - 17 events] NETWORK [eth0 - online - 0 events]
- SIM Log: [05/29/07 21:30:12]: XINET service is online. [05/29/07 21:35:15]: LOAD 25.71 (status good) [05/29/07 21:35:15]: NETWORK is online. [05/29/07 21:35:15]: FTP service is online. [05/29/07 21:35:15]: Error in http.chk, $LPATH_NT not found. [05/29/07 21:35:15]: HTTP service is online. [05/29/07 21:35:15]: HTTP url request failed, assuming offline. [05/29/07 21:35:15]: HTTP offline, restart limit exceeded. [05/29/07 21:35:15]: DNS service is online. [05/29/07 21:35:15]: SSH service is offline. [05/29/07 21:35:15]: Restarted SSH service (1 SSH events today). [05/29/07 21:35:15]: MYSQL service is offline. [05/29/07 21:35:15]: MYSQL restart failed, could not find /etc/init.d/mysqld. [05/29/07 21:35:15]: XINET service is offline. [05/29/07 21:35:15]: Restarted XINET service (1 XINET events today).
- System Log: May 29 21:35:48 server smartd[2510]: smartd received signal 15: Terminated May 29 21:35:49 server smartd: smartd shutdown failed May 29 21:35:54 server xinetd[14167]: Exiting... May 29 21:35:54 server xinetd: xinetd shutdown succeeded May 29 21:35:54 server bandmin: Shutting down bandmin: May 29 21:36:01 server bandmin: [60G May 29 21:36:01 server bandmin: May 29 21:36:01 server rc: Stopping bandmin: succeeded May 29 21:36:05 server sshd: Stopping sshd failed May 29 21:36:06 server acpid: acpid shutdown succeeded May 29 21:36:07 server crond: crond shutdown succeeded May 29 21:36:07 server autofs: Stopping automount: May 29 21:36:08 server sshd: succeeded May 29 21:36:12 server xinetd: xinetd shutdown failed May 29 21:36:16 server xinetd: xinetd startup succeeded
I wrote a script to test the integrity of my DNS and run it from time to time on my server...
I just ran it today and it discovered I suddenly have 5 domains with SOA-records that doesn't point to itself. They point to the secondary nameserver.
They are records that exist for years and were for sure correct before (I know this because of that script).
If I do a "restore defaults" it isn't corrected and if I switch to slave and then back to master it doesn't change either...
The file /var/named/run-root/var/obfuscated.com is updated, but the slave-DNS stays in that file...
The only way I'm able to correct it is by deleting the NS-record with the slave DNS and adding it again.
I assume there's some mechanism that scans the NS-records and then decides to make that one the SOA. This has always worked fine... also on this server.
I am going to be ending my service as a host provider, and I need to transfer all of my clients to a new host.
Many of my clients sites were written 3-4 years ago in php while global vars was still off, and so many of the sites might not function correctly if I just pop them to a new host.
My first solution would be to bypass the php .ini file with a public_html/ based ini that would override any newer server settings.
Does anyone know of a good host that could take my clients? And also support the php version locally to the shared account?
I need a host that is reliable, and honest.
Am I going about this the right way?
I am open to any suggestions or advice on this.
I should probably add, all of my clients pay on an annual basis from $89-$140. None of my clients run video sites or any heavy media stuff.
Dedicated server has 2 HDD but I am not going to pay another $25/month for the hardware RAID solution (already stretched too far).
My plan is to install FreeBSD 6 and use Gmirror to establish a raid-1 "soft" mirror.
Advantages: Entire drive is mirrored including the OS. Drives can be remotely inserted or removed from the mirror set using a console command so its possible to uncouple the mirror and perform software updates on a single drive then re-establish the mirror only after the updates have proved successful.
Disadvantages: Lower I/O than hardware solution (not a problem for me) others???
I rarely see people consider software raid for a tight-budget server and I am wondering why? Could it be that other OS's dont have a solution as good as gmirror? Or is it just that crappy soft-raid in the past has left a bitter taste in admins mouths? Or perhaps admins need the extra I/O of hardware?
I would like to know how to check load via ssh and check files causing load?
I want the ssh codes for 2 different set of control panels, one with cpanel+whm and other with kloxo+hypervm
and I would also know how to check the files causing the load, such as some files could have been interrupted while processing, so they could be causing load some times, so I want to stop such processes if any are running on the vps on my friends accounts
Rapidly growing error logs showing the same message
$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so* root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429 ./ ../ eaccelerator.so*
i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.
i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but
how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything
Tue Mar 20 16:00:02 SGT 2007 on blue.mydomain.com Server Load: 16:00:02 up 21 days, 14:02, 0 users, load average: 2.73, 2.20, 2.08 Warning: Malicious Nobody Process Found ========================================= Options: kill bad proc=1 logging lvl=1
Cipher list []. Due to weaknesses in the SSLv2 cipher you should disable SSLv2 in WHM > Apache Configuration > Global Configuration > SSLCipherSuite > Add -SSLv2 to SSLCipherSuite and/or remove +SSLv2. Do not forget to Save AND then Rebuild Configuration and Restart Apache, otherwise the changes will not take effect in httpd.conf
Can someone explain this in laymen terms? I know this is new in Cpanel. I'm already running Apache 2.2, PHP 5.2.9 with suPHP enabled and mod_security as well (these rules: [url]
Also, what exactly are these CSF checks?
Check csf PT_SKIP_HTTP option This option disables checking of processes running under apache and can limit false-positives but may then miss running exploits
Check csf SAFECHAINUPDATE option This option closes a window of opportunity that opens when dynamic chain updates occur