Yum Update Fails , Easyapache Also Fails [cent Os]
Apr 21, 2007
when I try to run yum update it throws an error
Quote:
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.
root 7208 0.8 0.5 46200 5772 ? S 02:06 0:00 /usr/local/apache/bin/httpd -DSSL
httpd started ok
View 7 Replies
ADVERTISEMENT
Jun 11, 2009
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]#
View 1 Replies
View Related
Jan 5, 2007
Well when I try to run the yum update, it fails
Code:
root@server1 [~]# yum update
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
retrygrab() failed for:
[url]
Executing failover method
failover: out of servers to try
Error getting file [url]
[Errno 4] IOError: <urlopen error >
I stopped all firewalls before trying it.
View 5 Replies
View Related
May 26, 2015
Plesk recently attempted to do an auto-update and it failed. I have not been able to get it to update since. When I connect using SSH, and try to do a manual yum update I get the following error:
Code:
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink | 13 kB 00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
[Code] .....
View 3 Replies
View Related
Jun 25, 2008
I sold a website to this guy and i need to ftp it on his server. He gave me the access and it's correct but i get this message:
Status: Connecting to XXXXXXXXX
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.0.3)
Command: USER xxxxxx
Response: 331 Please specify the password.
Command: PASS **********
Response: 230 Login successful.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: EPRT
Response: EPSV
Response: MDTM
Response: PASV
Response: REST STREAM
Response: SIZE
Response: TVFS
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/var/www/html"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Error: Disconnected from server
Error: Failed to retrieve directory listing
View 9 Replies
View Related
Jul 29, 2007
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?
View 14 Replies
View Related
Mar 12, 2008
Not sure why, suddenly tomcat is failing
tomcat has failed, please contact the sysadmin (result was "tomcat is not running").
I got that before and after running a forced cpanel upgrade.
I restarted via command line as well.
Its amazing that "tomcat has failed please contact the sysadmin" search yielded no results in wht here.
View 0 Replies
View Related
Feb 25, 2008
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.
View 2 Replies
View Related
Mar 6, 2008
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)
I have cpanel 11 / centos 5 / php w/ suexec
View 10 Replies
View Related
Aug 31, 2007
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.
Using mysql 4.1
View 10 Replies
View Related
Feb 5, 2007
Code:
root@ns1 [~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
399: kmemsize 8763665 8781966 59228160 60948480 0
lockedpages 0 0 1536 1536 0
privvmpages 89928 89967 262144 270008 0
shmpages 3279 3279 129024 129024 0
dummy 0 0 0 0 0
numproc 97 97 500 500 317
physpages 44790 44795 0 2147483647 0
vmguarpages 0 0 65536 2147483647 0
oomguarpages 44790 44795 65536 2147483647 0
numtcpsock 60 60 1880 1880 0
numflock 12 12 1128 1236 0
numpty 1 1 64 64 0
numsiginfo 0 0 1536 1536 0
tcpsndbuf 565708 565708 10321920 16220160 0
tcprcvbuf 983040 983040 10321920 16220160 0
othersockbuf 34632 35076 6756480 12582912 0
dgramrcvbuf 0 0 1572864 1572864 0
numothersock 30 30 2160 2160 0
dcachesize 452941 455297 13639680 14499840 0
numfile 4946 4955 16384 16384 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 298 298 2000 2000 0
root@ns1 [~]#
what can i do to stop nomproc fails (black zone)
i'm using virtuozzo,cpanel with 256ram and 1024 burst
View 4 Replies
View Related
Sep 9, 2007
to configure the domain names on my machine.
Take a look on the report of DNS:
[url]
"FAIL - Lame nameservers"
"FAIL - Missing nameservers 2"
"FAIL - Single Point of Failure"
"FAIL - SOA Record"
View 14 Replies
View Related
Apr 4, 2013
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
[Code].....
View 1 Replies
View Related
Sep 29, 2006
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
==============
Single Point of Failure : ....
View 2 Replies
View Related
Jun 18, 2007
I have to transfer files from the network computers on the server and make a db .
I have read bugs.php.net 1
and bugs.php.net 2
all the computers from my network are apple.
when I make MAP NETWORK DRIVE and make the php.ini include_path changes, i don't get nothing.
View 0 Replies
View Related
Jan 30, 2007
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,
View 2 Replies
View Related
Feb 17, 2007
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
View 9 Replies
View Related
Jun 17, 2009
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
Quote:
<VirtualHost 217.xx.xx.100:80>
ServerName foo1.com
ServerAlias www.foo1.com
ServerAdmin me@foo1.com
DocumentRoot /var/www/foo1/
</VirtualHost>
I have also setup and applied an ssl certificate to 217.xx.xx.100:443.
Now eth0:0 is assigned to 217.xx.xx.101 and used as below
Quote:
<VirtualHost 217.xx.xx.101:80>
ServerName foo2.com
ServerAlias www.foo2.com
ServerAdmin me@foo2.com
DocumentRoot /var/www/foo2/
</VirtualHost>
<VirtualHost 217.xx.xx.101:80>
ServerName foo3.com
ServerAlias www.foo3.com
ServerAdmin me@foo3.com
DocumentRoot /var/www/foo3/
</VirtualHost>
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.
View 3 Replies
View Related
Feb 19, 2009
my nightly backups are failing:
Copying homedir..../bin/gtar: -: Cannot write: No space left on device
/bin/gtar: Error is not recoverable: exiting now
Done
my / volume simply isn't big enough to support the temp data.
Is there a way to change this to run the backup from a different location? I have gigs and gigs available in /home and /var.
View 14 Replies
View Related
Jun 22, 2008
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?
View 4 Replies
View Related
Sep 18, 2007
Well I have done the configtest and syntax is ok...
View 6 Replies
View Related
Aug 2, 2007
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?
View 1 Replies
View Related
Apr 3, 2007
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.
View 0 Replies
View Related