I have started having daily numproc black alerts on my VPS. Tech Support have increased the numproc limit already to 1500 but say that I will need a dedicated server, that's the last I have heard. I'd like to know if there is anything I can do to limit this numproc problem without the need to get a dedicated server. The numproc alerts seem to be getting more frequent but the visitors to the site are not increasing. Here are the details:
Only one site is hosted on the VPS. Includes phpbb forum & various php / mysql sections like an affiliate store & photo gallery. Averaging about 11000 visitors/day I tried to run /proc/user_beancounters & ps axv commands when the numproc was maxed this morning but could not log in to run it so these are the ones I ran yesterday.
Gathering header information file(s) from server(s) Server: CentOS-3 - Addons retrygrab() failed for: http://mirror.centos.org/centos/3/ad...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info [Errno 4] IOError: <urlopen error >
when I run /etc/easyapache it too fails
Quote:
root@server1 [~]# /scripts/easyapache Testing connection speed...(this could take a while)............Done Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done 5 usable mirrors located Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done Creating directory buildapache Verifying archive integrity... All good. Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... ................................................................. Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed. Please correct the conflicts and try again! initfpsuexec: using apache 1.x support Waiting for httpd to restart..............finished.
adding my hostname as a domain so that i can get a email admin@hostname.
so i pretty much messed up my dns configs by deleting my main domain and adding it back.
i guess i removed the dns entries of the nameservers together. (main domain meaning globalwebmanager.com, nameservers are ns1 and ns2.globalwebmanager.com, and yes i deleted the entire zone) [url]shows many errors like LAME nameservers, SPOF, no SOA records. if you need any details just ask.
how do you fix open dns errors. i tried adding the line recursion no; in /etc/named.conf and the yum update i did wasn't the culprit right?
Whenever I try to run yum update on Cent OS I get this error:
---> Package udev.i386 0:095-14.20.el5_3 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object [root@liquidwind jeeves]#
root@server [~]# service exim restart Shutting down clamd: [ OK ] Shutting down exim: [ OK ] Shutting down antirelayd: [ OK ] Shutting down spamd: [ OK ] Starting clamd: [ OK ] Starting exim-26: [ OK ] Starting exim: [ OK ] Starting exim-smtps: [ OK ] Starting antirelayd: [ OK ] Starting spamd: [1814] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use [1814] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use [1814] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
I tried forced exim update, restarted xinetd, nothing works.
I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:
[Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi" [Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
root@server [~]# mysql -u divingho_dhadmin -p divingho_divinghols < /home/divingho/mysql/divinghols.sql Enter password: ERROR 1044 (42000) at line 11: Access denied for user 'divingho_dhadmin'@'localhost' to database 'divinghols'
The username is right, the password I use is correct. I even deleted, recreated the mysql database and username, still giving the same error. The path to sql file is right and only 68k in size.
Im using Mod_JK 1.2.27 Apache 2.2.21 Linux RHEL 5.7 Boss 7
I keep getting 503 errors-Service Temporarily Unavailable on the browser Even though I can hit the servlets and JSPs on there just fine if I hit the JBoss server individually. I get these errors in the mod_jk.log file [Thu Apr 04 01:54:34 2013] [6068:3860842240] [debug] ajp_send_request::jk_ajp_common.c (1520): (worker1) request body to send 0 - request body to resend 0
Yesteeday I have re-installed my OS and my boss did the configurations.
he had an accident and I really need help.
The accounts are restored but the dnsreport for my domain shodes the below failures.
Open DNS servers :
ERROR: One or more of your nameservers reports that it is an open DNS server. This usually means that anyone in the world can query it for domains it is not authoritative for (it is possible that the DNS server advertises that it does recursive lookups when it does not, but that shouldn't happen). This can cause an excessive load on your DNS server. Also, it is strongly discouraged to have a DNS server be both authoritative for your domain and be recursive (even if it is not open), due to the potential for cache poisoning (with no recursion, there is no cache, and it is impossible to poison it). Also, the bad guys could use your DNS server as part of an attack, by forging their IP address. Problem record(s) are:
Server XXX.XXX.XX.XXX reports that it will do recursive lookups. [test] Server XXX.XXX.XX.XXX reports that it will do recursive lookups. [test] ================
Missing (stealth) nameservers :
FAIL: You have one or more missing (stealth) nameservers. The following nameserver(s) are listed (at your nameservers) as nameservers for your domain, but are not listed at the parent nameservers (therefore, they may or may not get used, depending on whether your DNS servers return them in the authority section for other requests, per RFC2181 5.4.1). You need to make sure that these stealth nameservers are working; if they are not responding, you may have serious problems! The DNS Report will not query these servers, so you need to be very careful that they are working properly.
ns1.localdomain. ns2.localdomain.
This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).
================== Missing nameservers 2 :
ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are: ns1.mydomain.com. ns2.mydomain.com
My current "manager" it his all "great time" couldnt fix irt whole day so I am looking for experienced manager to check and fix my problem, let me know how much you charge per 1h and what's your experience,
I'm using a leased linux server that uses cpanel and webhost manager.
I'm trying to set up email accounts and receiving is working just fine, but when I try to send, it isn't working at all. The way i'm setting up my account on thunderbird is
server name: mail.domain.com
port: 25 (also tried 26)
Security and Authentication: use name and password is checked. User name is user@domain.com.
use secure Connection: No
is there some setting in my WHM that I need to change to use my outgoing email
I have an Ubuntu 8.04 server with 2 nerwork cards eth0 and eth1. I am using only eth0. The server is behind a 2-wire router. I have setup the router with the public IP addresses.
On the server I have setup an IP alias on eth0 as eth0:0. I have 3 domains which i will call foo1.com foo2.com and foo3.com. The server pc is assigned to a static public address on the router as 217.xx.xx.100 this same ip also used to setup the virtual host for foo1.com
When I am on the router I can access all the domains via the browser and can also get FTP, and ssh connection to the server. However when I leave the range of the server and connect to the net via another router, I loose ftp and ssh access to the server as well as not able to browse www.foo1.com. However www.foo2.com and www.foo3.com I can browse.
I have a server at volumedrive it has cpanel and whm installed etc I am trying to setup the name servers but everytime it fails is there something that I might be missing?
My Plesk version is 8.2 and i use debian 3.1, I check the instructions on
[url]
this faq, it seems added in both inetd configuration file and xinetd.d configuration file in my configuration, also xinetd is working through system but ftp cannot be connectable. It gives "Unable to login server" from remote client and i also check with command line ftp client and service says that "421 Service not available, remote server has closed connection"
I also check this
[url]
faq and port is open:
Quote:
Starting nmap 3.81 [url] at 2007-08-02 16:59 CEST Interesting ports on xx-server.xxxxxx.net (xxx.xxx.xxx.xxx): PORT STATE SERVICE 21/tcp open ftp
Nmap finished: 1 IP address (1 host up) scanned in 0.013 seconds
Is there anyone knows how could I solve this situation?
I operate a small vps account that I tinker with for personal use (I host a few friends web forums).
I am a novice at Linux and trying to learn by reading and extensive Google searches but I have been stuck for several days and I hope you can help.
Exim started failing immediately upon restart after upgrades were installed. I believe it is because it won't fully install due to chattr errors I get when I try to upgrade my server.
I am running CentOS 4.4 and I just installed the latest CURRENT build of Cpanel in an attempt to fix my problems.
I have been tinkering, and fixed a few things but nothing I do fixes Exim. When I run the upgrade scripts or I use Yum, or I use cpanel.
I am logged in through SSH as root, or logged in to WHM or Virtuozzo when I perform any actions.
service cpanel status shows:
cpsrvd dead but pid file exists entropychat is stopped melange is stopped stunnel is stopped interchange is stopped qrunner is stopped
When Exim 4.63 is installing/upgrading (I see message elsewhere too), etc I repeatedly get:
chattr: Inappropriate ioctl for device while reading flags on /etc/aliases chattr: Inappropriate ioctl for device while reading flags on /etc/antivirus.exi m chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.dis t chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.mai lman2.dist chattr: Inappropriate ioctl for device while reading flags on /etc/exim.conf.mai lman2.exiscan.dist chattr: Inappropriate ioctl for device while reading flags on /etc/exim.pl chattr: Inappropriate ioctl for device while reading flags on /etc/exim/perl/Dig est/Perl/MD5.pm chattr: Inappropriate ioctl for device while reading flags on /etc/eximrejects chattr: Inappropriate ioctl for device while reading flags on /etc/init.d/antire layd chattr: Inappropriate ioctl for device while reading flags on /etc/init.d/exim chattr: Inappropriate ioctl for device while reading flags on /etc/localaliases chattr: Inappropriate ioctl for device while reading flags on /etc/localdomains chattr: Inappropriate ioctl for device while reading flags on /etc/logrotate.d chattr: Inappropriate ioctl for device while reading flags on /etc/logrotate.d/e xim chattr: Inappropriate ioctl for device while reading flags on /etc/pam.d/exim chattr: Inappropriate ioctl for device while reading flags on /etc/secondarymx chattr: Inappropriate ioctl for device while reading flags on /etc/spammers chattr: Inappropriate ioctl for device while reading flags on /etc/valiases chattr: Inappropriate ioctl for device while reading flags on /etc/vfilters chattr: Inappropriate ioctl for device while reading flags on /usr/lib chattr: Inappropriate ioctl for device while reading flags on /usr/lib/sendmail chattr: Inappropriate ioctl for device while reading flags on /usr/sbin chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/antirela yd chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exicyclo g chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exigrep chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_che ckaccess chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_dbm build chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_dum pdb chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_fix db chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_loc k chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exim_tid ydb chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/eximstat s chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exinext chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiqgrep chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiqsumm chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/exiwhat chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/runq chattr: Inappropriate ioctl for device while reading flags on /usr/sbin/sendmail chattr: Inappropriate ioctl for device while reading flags on /usr/share/doc/exi m-4.63 chattr: Inappropriate ioctl for device while reading flags on /usr/share/doc/exi m-4.63/README
Exim starts up - but then fails:
Apr 3 07:35:30 server exim: clamd shutdown succeeded Apr 3 07:35:30 server exim: exim shutdown succeeded Apr 3 07:35:30 server exim: antirelayd shutdown succeeded Apr 3 07:35:30 server exim: spamd shutdown succeeded Apr 3 07:35:31 server exim: clamd startup succeeded Apr 3 07:35:31 server exim: exim startup succeeded Apr 3 07:35:31 server exim: exim startup succeeded Apr 3 07:35:31 server exim: antirelayd startup succeeded Apr 3 07:35:33 server exim: spamd startup succeeded exim has failed, please contact the sysadmin.
I understand that this is a permissions problem but I can't figure out how to fix it?
I've done alot of searches on Google, but found vagues answers I just didn.t understand.
I am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).