Re: [CentOS] New CentOS7 Install Yum will not work
Hi Gordon, Thanks for the help and sorry for the delay in response. Curl fails. This so weird. I dumped CentOS and installed Ubuntu, Ubuntu is working fine. I have other CentOS, Windows and Ubuntu Vms working fine in the same environment. I am using the same IP info for Ubuntu that I was using for the CentOS VM. I needed to get this server up and running, so I am going to keep Ubuntu in place for now. I will try a new CentOS vm as time permits. Thanks, Ed On 12/5/2018 7:37 PM, Gordon Messmer wrote: On 12/5/18 10:48 AM, Ed Morrison wrote: This is the latest error I am seeing: [root@localhost ~]# yum check-update Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Operation now in progress" What happens if you run "curl http://mirrorlist.centos.org/"? I see this: $ curl http://mirrorlist.centos.org/ arch not specified Test that, and then use curl on some other url. "curl http://www.google.com/"; maybe. This should establish whether or not you have general network connectivity. Either way, you'll probably want to talk to your network admins regarding the result. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] New CentOS7 Install Yum will not work
Hi Everyone: I have been fighting this all morning. I did a new (several) installs of CentOS7. Yum will not update the system. I have disabled ipv6, set yum.conf to use IPv4 only, disabled firewalld, disabled selinux, used both static ip and dhcp for network connectivity. I can ping any where on the Internet, including the mirrors, DNS works and ensured the base URL line was uncommented. Any help would be appreciated. Thanks, Ed This is the latest error I am seeing: [root@localhost ~]# yum check-update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Operation now in progress" Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was 14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Operation now in progress" One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo= ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable or subscription-manager repos --disable= 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=.skip_if_unavailable=true Cannot find a valid baseurl for repo: extras/7/x86_64 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] DNS caching is not working on CentOS
Hi All: For whatever reason I can not get dns caching to work on any of my centos boxes. Running Centos 5 and 6. Any thoughts on why these will not run? The services start fine but when telling to perform a dig using itself as the resolver the queries fail (See below). Any help would be appreciated. Thanks, Ed [root@qmail ~]# ps -aux | grep pdns-recursor Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ root 7908 0.0 0.1 61208 568 pts/2R+ 11:07 0:00 grep pdns-recursor [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# dig mx blm.gov @127.0.0.1 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> mx blm.gov @127.0.0.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4634 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;blm.gov. IN MX ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Feb 8 11:08:04 2013 ;; MSG SIZE rcvd: 25 [root@qmail ~]# service pdns-recursor stop Stopping pdns-recursor: [ OK ] [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# service named start Starting named: [ OK ] [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# [root@qmail ~]# dig mx teichert.com @127.0.0.1 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> mx teichert.com @127.0.0.1 ;; global options: printcmd ;; connection timed out; no servers could be reached [root@qmail ~]# * *[root@qmail ~]# dig mx teichert.com @192.168.1.6 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> mx teichert.com @192.168.1.6 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28537 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;teichert.com. IN MX ;; ANSWER SECTION: teichert.com. 3600IN MX 10 mailgw4.ppt.questsys.com. teichert.com. 3600IN MX 10 mailgw1.ppt.questsys.com. teichert.com. 3600IN MX 10 mailgw2.ppt.questsys.com. teichert.com. 3600IN MX 10 mailgw3.ppt.questsys.com. ;; ADDITIONAL SECTION: mailgw4.ppt.questsys.com. 3600 IN A 208.67.178.51 ;; Query time: 125 msec ;; SERVER: 192.168.1.6#53(192.168.1.6) ;; WHEN: Fri Feb 8 11:12:20 2013 ;; MSG SIZE rcvd: 155 [root@qmail ~]# [root@qmail ~]# dig mx blm.gov @192.168.1.6 ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6 <<>> mx blm.gov @192.168.1.6 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63254 ;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 8 ;; QUESTION SECTION: ;blm.gov. IN MX ;; ANSWER SECTION: blm.gov.300 IN MX 5 mail4.blm.gov. blm.gov.300 IN MX 5 mail5.blm.gov. ;; AUTHORITY SECTION: blm.gov.86400 IN NS blmdns2.blm.gov. blm.gov.86400 IN NS blmdns1.blm.gov. ;; ADDITIONAL SECTION: mail4.blm.gov. 600 IN A 204.124.92.27 mail4.blm.gov. 600 IN 2001:49c8:8004:20fc::92:27 mail5.blm.gov. 600 IN A 204.124.92.28 mail5.blm.gov. 600 IN 2001:49c8:8004:20fc::92:28 blmdns1.blm.gov.86400 IN A 204.124.92.8 blmdns1.blm.gov.86400 IN 2001:49c8:8004:20fc::92:8 blmdns2.blm.gov.86400 IN A 204.124.93.8 blmdns2.blm.gov.86400 IN 2001:49c8:8004:20fc::93:8 ;; Query time: 78 msec ;; SERVER: 192.168.1.6#53(192.168.1.6) ;; WHEN: Fri Feb 8 11:13:01 2013 ;; MSG SIZE rcvd: 289* * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] resize2fs
Hi All: I am trying to resize a centos (5.2) VM drive. I use VMware and I have increased the size of the drive by 40G. I am running resize2fs on /dev/sdb1 (which is my root partition) but when I do I get this error: [root@centos ~]# resize2fs /dev/sdb1 120G resize2fs 1.39 (29-May-2006) The containing partition (or device) is only 19970795 (4k) blocks. You requested a new size of 31457280 blocks. How can I change the block size? I have also tried to use gparted live cd but it will not allow me to increase the size even though it sees 40g of unused space. I can only create a new partition. Any help would be appreciated. Thanks, Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic - Looking for web based file management application for law firm & clients
Christopher Chan wrote: > Ed Morrison wrote: > >> Hi All: >> >> I am working with a law firm that would like to offer to it's clients >> the ability to access their documents through a web interface. This >> would require a nice gui to offer the clients with a simple process for >> the clients to download from. It would also need to be secure >> (authentication & SSL), and mandatory disclaimer acceptance before >> logging into their account. Anyone with experience or thoughts on this >> matter? >> > > I was also looking for something like this. You can find a whole load of > choices here: > > http://en.wikipedia.org/wiki/Document_management_system > > A lot of the open source ones are built on Java like the two mentioned > in this thread Afresco and KnowledgeTree. > > One that is not listed but is possibly less of a hassle to setup and > maybe fit the law firm's needs is Epiware: > > http://www.epiware.com > http://www.linux.com/feature/146307 > http://sourceforge.net/projects/epiware/ > > No java involved and you get an online demo to look at first too. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > Thanks, I will look at it. Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic - Looking for web based file management application for law firm & clients
dnk wrote: > On 29-Jan-09, at 10:09 AM, Scott Silva wrote: > > >> on 1-29-2009 8:45 AM Ed Morrison spake the following: >> >>> Hi All: >>> >>> I am working with a law firm that would like to offer to it's clients >>> the ability to access their documents through a web interface. This >>> would require a nice gui to offer the clients with a simple process >>> for >>> the clients to download from. It would also need to be secure >>> (authentication & SSL), and mandatory disclaimer acceptance before >>> logging into their account. Anyone with experience or thoughts on >>> this >>> matter? >>> >>> Thanks, >>> >>> Ed >>> >> I saw an article recently about the Swiss Federal courts using >> Alfresco for >> something like this. >> >> > > Knowledge Tree was the other i was looking at. > > d > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > Thanks, I will look into it. Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic - Looking for web based file management application for law firm & clients
Scott Silva wrote: > on 1-29-2009 8:45 AM Ed Morrison spake the following: > >> Hi All: >> >> I am working with a law firm that would like to offer to it's clients >> the ability to access their documents through a web interface. This >> would require a nice gui to offer the clients with a simple process for >> the clients to download from. It would also need to be secure >> (authentication & SSL), and mandatory disclaimer acceptance before >> logging into their account. Anyone with experience or thoughts on this >> matter? >> >> Thanks, >> >> Ed >> > I saw an article recently about the Swiss Federal courts using Alfresco for > something like this. > > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Thanks, I will look into it. Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OFF Topic - Looking for web based file management application for law firm & clients
Hi All: I am working with a law firm that would like to offer to it's clients the ability to access their documents through a web interface. This would require a nice gui to offer the clients with a simple process for the clients to download from. It would also need to be secure (authentication & SSL), and mandatory disclaimer acceptance before logging into their account. Anyone with experience or thoughts on this matter? Thanks, Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] I need storage server advice
Hi: I need advice on implementing a storage server. I really do not have the $ to spend for a Dell iSCSI storage divice and I am thinking trunning CentOS 5.x with ftp or FreeNAS. Here is what I am looking at and concerned about. Situation: My current storage needs are approximately 1.5 TB annually. This will increase to about 3.5 TB annually over the next 5 years (rough est.). This box will just be a data archive and once it is full it will only be used very infrequently if not used at all. Files are small up to 10 MB but numerous. CentOS: Upgrading to the newer CentOS flavors. I will not have the ability to archive this data to tape and I am concerned about loosing the data when upgrading the OS. How best to handle this? Storage limitation. It is my understanding that there is a 2 TB storage limitation with Linux (and windows) in general particularly for stability. I see that ReiserFS can go up to 16 TB. Is any one using this? If so, how has it been for you? FreeNAS Anyone using FreeNAS? What is your experience? How easy is it to add new drives and keep your data? Upgrading to newer versions? Thanks, Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dag Repos
Nicolas Thierry-Mieg wrote: the master mirror seems down (apt.sw.be), but you can use one of the secondary mirrors ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks. I appreciate the help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Dag Repos
Anyone else experiencing issues with dags repo? I keep getting: [EMAIL PROTECTED] ~]# yum update Setting up Update Process Setting up repositories http://apt.sw.be/redhat/el4/en/x86_64/dag/repodata/repomd.xml: [Errno 12] Timeout: Trying other mirror. Cannot open/read repomd.xml file for repository: dag failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic: mysql installation problem
David G. Miller wrote: which could explain why installing the server didn't work. You should only have: # rpm -qa | grep mysql mysql-5.0.22-2.2.el5_1.1 php-mysql-5.1.6-15.el5 mysql-devel-5.0.22-2.2.el5_1.1 mysql-server-5.0.22-2.2.el5_1.1 Mysqld.log appears to be fine: [EMAIL PROTECTED] ~]# ls -al /var/log/mysqld.log -rw-r- 1 mysql mysql 1025 Feb 15 07:53 /var/log/mysqld.log [EMAIL PROTECTED] ~]# Interestingly enough, when I remove all mysql components via and reinstall the basic components you have listed, yum add mysqlclient as a dependency: [EMAIL PROTECTED] ~]# yum -y install mysql mysql-server mysql-devel php-mysql Setting up Install Process Setting up repositories dag 100% |=| 1.1 kB 00:00 update100% |=| 951 B 00:00 base 100% |=| 1.1 kB 00:00 centosplus100% |=| 951 B 00:00 addons100% |=| 951 B 00:00 extras100% |=| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz100% |=| 1.8 MB 00:03 dag : ## 8091/8091 primary.xml.gz100% |=| 83 kB 00:01 update: ## 274/274 primary.xml.gz100% |=| 548 kB 00:01 base : ## 1788/1788 primary.xml.gz100% |=| 70 kB 00:00 centosplus: ## 217/217 primary.xml.gz100% |=| 157 B 00:00 primary.xml.gz100% |=| 38 kB 00:00 extras: ## 148/148 Excluding Packages from CentOS-4 - Updates Finished Excluding Packages from CentOS-4 - Base Finished Reducing CentOS-4 - Plus to included packages only Finished Excluding Packages from CentOS-4 - Addons Finished Excluding Packages from CentOS-4 - Extras Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for mysql-server to pack into transaction set. mysql-server-5.0.54-1.el4 100% |=| 38 kB 00:00 ---> Package mysql-server.x86_64 0:5.0.54-1.el4.centos set to be updated ---> Downloading header for mysql-devel to pack into transaction set. mysql-devel-5.0.54-1.el4. 100% |=| 34 kB 00:00 ---> Package mysql-devel.x86_64 0:5.0.54-1.el4.centos set to be updated ---> Downloading header for mysql to pack into transaction set. mysql-5.0.54-1.el4.centos 100% |=| 30 kB 00:00 ---> Package mysql.x86_64 0:5.0.54-1.el4.centos set to be updated ---> Downloading header for php-mysql to pack into transaction set. php-mysql-5.1.6-3.el4s1.8 100% |=| 17 kB 00:00 ---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated --> Running transaction check --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: mysql --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql --> Processing Dependency: perl-DBD-MySQL for package: mysql-server --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: mysql-server --> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: mysql-server --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: mysql-server --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql --> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: mysql-server --> Processing Dependency: mysql-libs = 5.0.54-1.el4.centos for package: mysql --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: mysql --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for perl-DBD-MySQL to pack into transaction set. perl-DBD-MySQL-2.9004-3.1 100% |=| 5.5 kB 00:00 ---> Package perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 set to be updated ---> Downloading header for mysql-libs to pack into transaction set. mysql-libs-5.0.54-1.el4.c 100% |=| 35 kB 00:00 ---> Package mysql-libs.x86_64 0:5.0.54-1.el4.centos set to be updated --> Running transaction check --> Processing Dependency: libmysqlclient.so.14()(64bit) for package: perl-DBD-MySQL --> Restarting Dependency Resolution with new changes. --> Populating transacti
Re: [CentOS] OFF Topic: mysql installation problem
This is interesting: Locate shows this: [EMAIL PROTECTED] ~]# locate mysql | less /var/lib/mysql /var/lib/mysql/ib_logfile0 /var/lib/mysql/ibdata1 /var/lib/mysql/vpopmail /var/lib/mysql/vpopmail/db.opt /var/lib/mysql/ib_logfile1 /var/lib/mysql/mysql /var/lib/mysql/mysql/user.frm /var/lib/mysql/mysql/help_relation.frm /var/lib/mysql/mysql/time_zone_leap_second.MYD /var/lib/mysql/mysql/tables_priv.MYD /var/lib/mysql/mysql/help_relation.MYI /var/lib/mysql/mysql/db.frm /var/lib/mysql/mysql/columns_priv.MYD /var/lib/mysql/mysql/time_zone_transition.frm /var/lib/mysql/mysql/func.frm /var/lib/mysql/mysql/time_zone_name.MYD /var/lib/mysql/mysql/help_keyword.MYI /var/lib/mysql/mysql/db.MYD /var/lib/mysql/mysql/help_relation.MYD /var/lib/mysql/mysql/columns_priv.frm /var/lib/mysql/mysql/time_zone_leap_second.frm /var/lib/mysql/mysql/time_zone_transition_type.MYI /var/lib/mysql/mysql/help_category.frm /var/lib/mysql/mysql/time_zone.MYI /var/lib/mysql/mysql/time_zone_transition.MYD /var/lib/mysql/mysql/time_zone.MYD /var/lib/mysql/mysql/time_zone_transition.MYI /var/lib/mysql/mysql/help_topic.MYD /var/lib/mysql/mysql/host.frm /var/lib/mysql/mysql/help_topic.frm /var/lib/mysql/mysql/time_zone_transition_type.frm /var/lib/mysql/mysql/help_category.MYI /var/lib/mysql/mysql/time_zone_name.frm /var/lib/mysql/mysql/host.MYD /var/lib/mysql/mysql/host.MYI /var/lib/mysql/mysql/user.MYD /var/lib/mysql/mysql/func.MYI /var/lib/mysql/mysql/columns_priv.MYI /var/lib/mysql/mysql/tables_priv.MYI /var/lib/mysql/mysql/func.MYD /var/lib/mysql/mysql/user.MYI /var/lib/mysql/mysql/help_category.MYD /var/lib/mysql/mysql/help_keyword.MYD /var/lib/mysql/mysql/time_zone_name.MYI /var/lib/mysql/mysql/help_keyword.frm /var/lib/mysql/mysql/tables_priv.frm /var/lib/mysql/mysql/time_zone.frm /var/lib/mysql/mysql/db.MYI /var/lib/mysql/mysql/help_topic.MYI /var/lib/mysql/mysql/time_zone_transition_type.MYD /var/lib/mysql/mysql/time_zone_leap_second.MYI /var/lib/mysql/test /var/www/cgi-bin/extlib/Class/PObject/Driver/mysql.pm /var/run/mysqld But listing the directories will not show the same files: [EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/mysql total 8 drwx-- 2 mysql mysql 4096 Feb 14 11:44 . drwxr-xr-x 4 mysql mysql 4096 Dec 24 13:13 .. [EMAIL PROTECTED] ~]# ls -al /var/lib/mysql/ total 20 drwxr-xr-x 4 mysql mysql 4096 Dec 24 13:13 . drwxr-xr-x 27 root root 4096 Feb 14 11:44 .. drwx-- 2 mysql mysql 4096 Feb 14 11:44 mysql drwx-- 2 mysql mysql 4096 Feb 14 11:44 test ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic: mysql installation problem
mouss wrote: anything in /var/log/mysqld.log? nothing: [EMAIL PROTECTED] ~]# cat /var/log/mysqld.log [EMAIL PROTECTED] ~]# ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic: mysql installation problem
mouss wrote: # rpm -q mysql-libs mysql-libs-5.0.54-1.el4.centos so it's the same version, but: # rpm -ql mysql-libs|grep /etc /etc/ld.so.conf.d/mysql-i386.conf /etc/my.cnf has /etc/my.cnf. here are the contents if that could help. # cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 # To allow mysqld to connect to a MySQL Cluster management daemon, uncomment # these lines and adjust the connectstring as needed. #ndbcluster #ndb-connectstring="nodeid=4;host=localhost:1186" [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [ndbd] # If you are running a MySQL Cluster storage daemon (ndbd) on this machine, # adjust its connection to the management daemon here. # Note: ndbd init script requires this to include nodeid! connect-string="nodeid=2;host=localhost:1186" [ndb_mgm] # connection string for MySQL Cluster management tool connect-string="host=localhost:1186" I created the my.cnf for my system but still nada: [EMAIL PROTECTED] ~]# rpm -ql mysql-libs|grep /etc /etc/ld.so.conf.d/mysql-x86_64.conf /etc/my.cnf [EMAIL PROTECTED] ~]# vi /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). # old_passwords=1 [client] socket=/tmp/mysql.sock [mysql.server] user=mysql basedir=/var/lib [mysqld_safe] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [EMAIL PROTECTED] ~]# service mysqld start Timeout error occurred trying to start MySQL Daemon. Starting MySQL: [FAILED] Logs are less than helpfull: Feb 14 14:26:54 ftp mysqld: Starting MySQL: failed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic: mysql installation problem
mouss wrote: # yum install mysql mysql-server php-mysql # ls -a /var/lib/mysql . .. # rpm -qf /etc/my.cnf mysql-libs-5.0.54-1.el4.centos # service mysqld start Initializing MySQL database: [ OK ] Starting MySQL: [ OK ] [EMAIL PROTECTED] lib]# ls mysql ibdata1 ib_logfile0 ib_logfile1 mysql mysql.sock test what I don't see in your setup is mysql-libs. Hi Mouss. It is there: [EMAIL PROTECTED] ~]# rpm -qa mysql-libs mysql-libs-5.0.54-1.el4.centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OFF Topic: mysql installation problem
mouss wrote: But there isn't a my.cnf file in /etc/ if you want one, you need to create it. the package installs example file that you can use. In all my other mysql installs there has always been an /etc/my.cnf after the installation but you are correct this can be created easily enough but I think this represents a bigger problem. Nor are there any files in: [EMAIL PROTECTED] ~]# ls /var/lib/mysql/ mysql test [EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/ looks ok. at some time, you'll need to do some post-install tasks to secure the server (mainly, set a password for the root user). see mysql site or google... The same directories on another mysql installation. These files are there by "default". It appears to me this installation is not including all the files it should [EMAIL PROTECTED] ~]# ls /var/lib/mysql ibdata1 ib_logfile0 ib_logfile1 mysql mysql.sock test [EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql columns_priv.frm help_category.frm help_topic.frm time_zone.frm time_zone_transition.frm columns_priv.MYD help_category.MYD help_topic.MYD time_zone_leap_second.frm time_zone_transition.MYD columns_priv.MYI help_category.MYI help_topic.MYI time_zone_leap_second.MYD time_zone_transition.MYI db.frmhelp_keyword.frm host.frm time_zone_leap_second.MYI time_zone_transition_type.frm db.MYDhelp_keyword.MYD host.MYD time_zone.MYD time_zone_transition_type.MYD db.MYIhelp_keyword.MYI host.MYI time_zone.MYI time_zone_transition_type.MYI func.frm help_relation.frm tables_priv.frm time_zone_name.frm user.frm func.MYD help_relation.MYD tables_priv.MYD time_zone_name.MYD user.MYD func.MYI help_relation.MYI tables_priv.MYI time_zone_name.MYI user.MYI An rpm query shows everything should be installed: [EMAIL PROTECTED] ~]# rpm -qa mysql mysql-5.0.54-1.el4.centos [EMAIL PROTECTED] ~]# rpm -qa mysql* mysqlclient14-4.1.22-1.el4s1.1 mysqlclient10-devel-3.23.58-9.2.c4 mysql-5.0.54-1.el4.centos mysqlclient10-3.23.58-4.RHEL4.1 mysql-server-5.0.54-1.el4.centos mysqlclient10-3.23.58-9.2.c4 mysql-libs-5.0.54-1.el4.centos Trying to start mysql results in: [EMAIL PROTECTED] ~]# service mysqld start Timeout error occurred trying to start MySQL Daemon. Starting MySQL: [FAILED] Thoughts? is selinux enabled on your system? check /var/log/messages. No selinux is not enabled: # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OFF Topic: mysql installation problem
Hi All: I'm trying to get mysql 5 installed on my CentOS 4.6 installation. I've installed mysql using yum: yum -y install perl-DBD-MySQL mysql-server mysql php-mysql mod_auth_mysql phpmyadmin mysqlclient Yum says it installed fine: Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package phpmyadmin.noarch 0:2.11.4-1.el4.rf set to be updated ---> Package perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 set to be updated ---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.8 set to be updated ---> Package mysql-server.x86_64 0:5.0.54-1.el4.centos set to be updated ---> Package mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 set to be updated ---> Package mysql.x86_64 0:5.0.54-1.el4.centos set to be updated --> Running transaction check Dependencies Resolved = Package Arch Version RepositorySize = Installing: mod_auth_mysql x86_64 1:3.0.0-2.el4s1.3 centosplus 22 k mysql x86_64 5.0.54-1.el4.centos centosplus2.9 M mysql-serverx86_64 5.0.54-1.el4.centos centosplus 10 M perl-DBD-MySQL x86_64 2.9004-3.1.centos4 base 112 k php-mysql x86_64 5.1.6-3.el4s1.8 centosplus 85 k phpmyadmin noarch 2.11.4-1.el4.rf dag 4.2 M Transaction Summary = Install 6 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 17 M Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: mysql# [1/6] Installing: php-mysql# [2/6] Installing: perl-DBD-MySQL # [3/6] Installing: phpmyadmin # [4/6] Installing: mysql-server # [5/6] Installing: mod_auth_mysql # [6/6] Installed: mod_auth_mysql.x86_64 1:3.0.0-2.el4s1.3 mysql.x86_64 0:5.0.54-1.el4.centos mysql-server.x86_64 0:5.0.54-1.el4.centos perl-DBD-MySQL.x86_64 0:2.9004-3.1.centos4 php-mysql.x86_64 0:5.1.6-3.el4s1.8 phpmyadmin.noarch 0:2.11.4-1.el4.rf Complete! But there isn't a my.cnf file in /etc/ Nor are there any files in: [EMAIL PROTECTED] ~]# ls /var/lib/mysql/ mysql test [EMAIL PROTECTED] ~]# ls /var/lib/mysql/mysql/ An rpm query shows everything should be installed: [EMAIL PROTECTED] ~]# rpm -qa mysql mysql-5.0.54-1.el4.centos [EMAIL PROTECTED] ~]# rpm -qa mysql* mysqlclient14-4.1.22-1.el4s1.1 mysqlclient10-devel-3.23.58-9.2.c4 mysql-5.0.54-1.el4.centos mysqlclient10-3.23.58-4.RHEL4.1 mysql-server-5.0.54-1.el4.centos mysqlclient10-3.23.58-9.2.c4 mysql-libs-5.0.54-1.el4.centos Trying to start mysql results in: [EMAIL PROTECTED] ~]# service mysqld start Timeout error occurred trying to start MySQL Daemon. Starting MySQL: [FAILED] Thoughts? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum upgrade php dependency failure
William Hooper wrote: You are reading the message wrong. You are trying to remove php-4.3.9 because you are upgrading to php-5. Yum won't remove php-4.3.9 because it is needed by php-pear. Either find an updated php-pear or try removing it. That was it. I upgraded pear and all is good...Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum upgrade php dependency failure
Hi, I am trying to upgrade php to version 5. When running yum upgrade I get this failure: --> Running transaction check --> Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear --> Finished Dependency Resolution Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear but the required php version is installed: [EMAIL PROTECTED] ~]# rpm -q php php-4.3.9-3.22.9 Any suggestions on what is wrong and how to fix this? Thanks! Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Error 451 when clients try to send emails
Thanks Jim. I appreciate that. :-) Anyway I realized I had sent this to the WRONG list after clicking the send button. Sorry for the SPAM and any resultant flame wars. Ed On Dec 6, 2007 2:03 PM, Jim Perrin <[EMAIL PROTECTED]> wrote: > On Dec 6, 2007 4:52 PM, Ed Morrison <[EMAIL PROTECTED]> wrote: > > Hi Everyone. I am trying to gifure out why I am getting a 451 error > when > > clients are trying to send email: > > > Here is a tail of my smtp log. > > @400047586d0f1d3e6594 qmail-smtpd: <--- Right there is > your problem > > > > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Error 451 when clients try to send emails
Hi Everyone. I am trying to gifure out why I am getting a 451 error when clients are trying to send email: Client error: Task 'mail.csdsinc.com - Sending' reported error (0x800CCC6A) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 451 mail server temporarily rejected message (#4.3.0)' Here is a tail of my smtp log. @400047586d0f1cf5eae4 simscan: connect error 2 @400047586d0f1d36b4d4 connect(): Connection refused @400047586d0f1d3e6594 qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0)): MAILFROM: RCPTTO:removed top protect the [EMAIL PROTECTED] Clam & Spam logs are normal. Any ideas? Thanks, Ed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos