[CentOS] Error from unix_chkpwd

2020-11-10 Thread Sergio Belkin
Hi,
On CentOS 7.7.1908 I've got the following error message:
unix_chkpwd[1026]: could not obtain user info (root)

I dont' know why...

There are no SELinux errors, and the permissions of relevant files are:
ls -Z /etc/shadow /etc/passwd /usr/sbin/unix_chkpwd
-rw-r--r--. root root system_u:object_r:passwd_file_t:s0 /etc/passwd
--. root root system_u:object_r:shadow_t:s0/etc/shadow
-rwsr-xr-x. root root system_u:object_r:chkpwd_exec_t:s0
/usr/sbin/unix_chkpwd


Any idea?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error in Centos 8 Linux 8.1.1911-x86_64 distro, syslinux 6.04 required vs. 6.03

2020-01-16 Thread here Fishy via CentOS
The image file includes the wrong (outdated) syslinux 6.03 and requires 6.04 
per rufus. The fedora burner kept failing but rufus detected the issue and 
downloaded syslinux 6.04 files. Please update the distro.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] error creating output file /var/lib/logrotate/logrotate.status.tmp: File exists

2018-11-13 Thread Carlos Lopez
Hi all,

 I have configured a specific logrotate task to rotate certain logs every hour 
and everytime this logrotate's task runs, I am receiving an email like this:

Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
Date: Tue, 13 Nov 2018 11:00:04 + (UTC)
Status: R

error: error creating output file /var/lib/logrotate/logrotate.status.tmp: File 
exists

 In Redhat's bugzilla I have seen some reported bugs with the same behavior and 
apparently is solved with an update. But this CentOS 7 host is fully patched 
and error persists ...

 Any idea?

Regards,
C. L. Martinez
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Nvidia driver on a 7.5 beta kernel

2018-02-02 Thread Phil Perry

On 02/02/18 17:32, James Pearson wrote:

Phil Perry wrote:


It looks like a regression. This was originally fixed upstream
(kernel.org) 3 years ago, so if the RHEL7.5 beta kernel has reverted to
'EXPORT_SYMBOL_GPL' then it is a regression that will break building any
out-of-tree non-gpl modules which need to set caching mode in pte's

You should file a bug report with Red Hat.

The correct fix in the kernel is in arch/x86/mm/init.c

-EXPORT_SYMBOL_GPL(__cachemode2pte_tbl);
+EXPORT_SYMBOL(__cachemode2pte_tbl);


Well, that's the rub - RHEL7 have never had that upstream fix - i.e. the
el7.4 kernel (3.10.0-693.el7) has
'EXPORT_SYMBOL_GPL(__cachemode2pte_tbl)' as does the el7.5b kernel
(3.10.0-830.el7) ...

The Nvidia driver builds/installs OK on el7.4 - but not on el7.5b

I'll report this to Red Hat anyway ...

Thanks

James Pearson



Ah, I'd not checked the sources, you are correct. I do not have an 
explanation for the differing behaviour between 7.4 and 7.5beta.


It looks like both __cachemode2pte_tbl and __pte2cachemode_tbl need 
updating in arch/x86/mm/init.c


If you file a bug, please could you mail the link so I can add myself to 
the CC. Thanks.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Nvidia driver on a 7.5 beta kernel

2018-02-02 Thread James Pearson
Phil Perry wrote:
> 
> It looks like a regression. This was originally fixed upstream
> (kernel.org) 3 years ago, so if the RHEL7.5 beta kernel has reverted to
> 'EXPORT_SYMBOL_GPL' then it is a regression that will break building any
> out-of-tree non-gpl modules which need to set caching mode in pte's
> 
> You should file a bug report with Red Hat.
> 
> The correct fix in the kernel is in arch/x86/mm/init.c
> 
> -EXPORT_SYMBOL_GPL(__cachemode2pte_tbl);
> +EXPORT_SYMBOL(__cachemode2pte_tbl);

Well, that's the rub - RHEL7 have never had that upstream fix - i.e. the 
el7.4 kernel (3.10.0-693.el7) has 
'EXPORT_SYMBOL_GPL(__cachemode2pte_tbl)' as does the el7.5b kernel 
(3.10.0-830.el7) ...

The Nvidia driver builds/installs OK on el7.4 - but not on el7.5b

I'll report this to Red Hat anyway ...

Thanks

James Pearson
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Nvidia driver on a 7.5 beta kernel

2018-02-02 Thread Phil Perry

On 02/02/18 15:30, James Pearson wrote:

OK, I know CentOS has nothing to do with RHEL beta releases, but I
wanted to test if el7.5 has added support for a particular peripheral
(Wacom Pro 2 tablet) ... but was unable to install the propriety Nvidia
display driver (v390.25) on a test workstation - and was wondering if
anyone could explain on what is going on.

All I've done is upgrade an existing CentOS 7.4 install with the RHEL
7.5 beta kernel RPMS

However, when installing the Nvidia driver, it fails with:

   FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol
'__cachemode2pte_tbl'

A bit of Googling seems to suggest that this issue has been 'fixed' in
later upstream kernels by changing the export of this symbol from
'EXPORT_SYMBOL_GPL' to 'EXPORT_SYMBOL'

However, 7.4 and earlier el7 kernels also export this symbol as
EXPORT_SYMBOL_GPL - but the Nvidia driver builds/installs fine on 7.4
kernels ...

So, I'm not really sure what the issue is - i.e. is it an Nvidia or
Redhat issue ?



It looks like a regression. This was originally fixed upstream 
(kernel.org) 3 years ago, so if the RHEL7.5 beta kernel has reverted to 
'EXPORT_SYMBOL_GPL' then it is a regression that will break building any 
out-of-tree non-gpl modules which need to set caching mode in pte's


You should file a bug report with Red Hat.


For now, I've managed to hack around this by patching the stub Nvidia
driver src to change MODULE_LICENSE from "NVIDIA" to "GPL" - and the
Nvidia driver now installs and loads OK



The correct fix in the kernel is in arch/x86/mm/init.c

-EXPORT_SYMBOL_GPL(__cachemode2pte_tbl);
+EXPORT_SYMBOL(__cachemode2pte_tbl);


If anyone knows any more about this, then please let me know

Thanks

James Pearson


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error installing Nvidia driver on a 7.5 beta kernel

2018-02-02 Thread James Pearson
OK, I know CentOS has nothing to do with RHEL beta releases, but I 
wanted to test if el7.5 has added support for a particular peripheral 
(Wacom Pro 2 tablet) ... but was unable to install the propriety Nvidia 
display driver (v390.25) on a test workstation - and was wondering if 
anyone could explain on what is going on.

All I've done is upgrade an existing CentOS 7.4 install with the RHEL 
7.5 beta kernel RPMS

However, when installing the Nvidia driver, it fails with:

  FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 
'__cachemode2pte_tbl'

A bit of Googling seems to suggest that this issue has been 'fixed' in 
later upstream kernels by changing the export of this symbol from 
'EXPORT_SYMBOL_GPL' to 'EXPORT_SYMBOL'

However, 7.4 and earlier el7 kernels also export this symbol as 
EXPORT_SYMBOL_GPL - but the Nvidia driver builds/installs fine on 7.4 
kernels ...

So, I'm not really sure what the issue is - i.e. is it an Nvidia or 
Redhat issue ?

For now, I've managed to hack around this by patching the stub Nvidia 
driver src to change MODULE_LICENSE from "NVIDIA" to "GPL" - and the 
Nvidia driver now installs and loads OK

If anyone knows any more about this, then please let me know

Thanks

James Pearson
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error message at times

2017-11-06 Thread Jerry Geis
I see this message once in a while:
Buffer I/O error on dev dm-1, logical block 8388592, async page read

I am using two crucial  SSD as RAID-1 on CentOS 7.4

What should I do? can I mark that block as not usable. ?

Thanks,

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error "corrupted or uncleanly shut down, renaming and replacing" in CentOS 7 clean install

2017-09-23 Thread C. L. Martinez
Hi all,

 I have installed two new CentOS 7.1708 (fully patched, kernel release is 
3.10.0-693.2.2.el7.x86_64) as virtual guests, one is using lvm and the other 
not and both use XFS as filesystem. In both, I see the following systemd's 
error after a few minutes:

systemd-journald[779]: File 
/run/log/journal/3abe0470ce564669b797cb4c416f1ac0/system.journal corrupted or 
uncleanly shut down, renaming and replacing.

 Is it a bug? Or do I need to change some option in journald.conf's file? 
Actually, I have changed Storage's option to "volatile".

Thanks.

-- 
Greetings,
C. L. Martinez
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error at sdhci-pci, kernel

2016-08-17 Thread Walter H.
Hello,

CentOS 6.8, kernel 2.6.32-642.3.1.el6.x86_64

sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pci :00:10.0: SDHCI controller found [8086:2294] (rev 21)
sdhci-pci :00:10.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
sdhci-pci :00:10.0: Invalid iomem size. You may experience problems. <--
sdhci-pci :00:10.0: setting latency timer to 64

where can I either disable loading this driver at all or define a
different value for io mem size?

Thanks,
Walter

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: Could not find or load main class with OpenJDK and Oracle Java

2016-06-17 Thread Alexander Farber
Nevermind, I had to move my test file under
thepackagename/TheClassName.class and then it runs fine.

However my real program [1] consisting of few jar-files still
does not run on CentOS (while running fine on Windows).

I have to investigate more and will ask a separate question.

Regards
Alex

[1]: https://github.com/afarber/jetty-newbie/tree/master/WebsocketHandler
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error: Could not find or load main class with OpenJDK and Oracle Java

2016-06-17 Thread Alexander Farber
Hello fellow Linux users,

on CentOS 7.2 I have successfully downloaded and installed Oracle Java [1]
with:

# rpm -Uvh jdk-8u91-linux-x64.rpm

Also there is already OpenJDK installed:

# rpm -qa | grep -i jdk
java-1.8.0-openjdk-headless-1.8.0.91-0.b14.el7_2.x86_64
java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64
jdk1.8.0_91-1.8.0_91-fcs.x86_64

I can switch between the 2 using this command:

# alternatives --config java

There are 2 programs which provide 'java'.

  SelectionCommand
---
*  1
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre/bin/java
 + 2 /usr/java/jdk1.8.0_91/jre/bin/java

Enter to keep the current selection[+], or type selection number:

And see the selected version with:

# java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

# javac -version
javac 1.8.0_91

Now to my problem please -

I have created a simple java file named TheClassName.java:

package thepackagename;

public class TheClassName {
public static final void main(String[] args)  {
System.out.println("Hello World!");
}
}

After successfully compiling it with "javac TheClassName.java"
(which produces TheClassName.class file in the same dir)
I unfortunately can not run it:

# java -cp . thepackagename.TheClassName
Error: Could not find or load main class thepackagename.TheClassName

Here another try:

# export
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre

# $JAVA_HOME/bin/java -cp . thepackagename.TheClassName
Error: Could not find or load main class thepackagename.TheClassName

Setting another environment variable does not help either:

# export CLASSPATH=.

Similar command on Windows 7 works well and I have tried
copying the TheClassName.class file from there to Linux too.

The setting is SELINUX=disabled and the server
was installed few weeks ago, serving (without errors) as
LAMP with MySQL/PostgreSQL/Apache/WordPress.

Any suggestions please, have I missed anything?

Regards
Alex

  [1]: http://www.oracle.com/technetwork/java/javase/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error when installing mysql package

2015-11-16 Thread Johnny Hughes
On 11/15/2015 01:38 PM, John R Pierce wrote:
> On 11/15/2015 2:45 AM, Alexander Ni wrote:
>> This system is receiving updates from RHN Classic or Red Hat Satellite.
> 
> that doesn't sound like CentOS to me.
> 
> 
> 

I checked and those packages are available in CentOS 7 (for spacewalk
and such) .. but they have been turned off by default.  It is possible
to get them installed, however.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error when installing mysql package

2015-11-15 Thread Johnny Hughes
On 11/15/2015 04:45 AM, Alexander Ni wrote:
> Hi all,
> 
> I have tried to install MySQL package but get next:
> 
>  [kim@forge tools]$ sudo yum install mysql
> [sudo] password for kim:
> Loaded plugins: fastestmirror, rhnplugin


rpmforge is not really maintaining packages (at least not very well)
anymore.  I would see what packages you have installed from there and
see if they can installed be installed from only EPEL, nux-dextop, and
CentOS Base repos from here:

https://wiki.centos.org/AdditionalResources/Repositories

'MySQL-shared-compat-5.5.44-1.el7.x86_64'  <== that package, where ever
it is coming from, is not allowing the latest mariadb-libs to install ..
see this iine from your post:

"Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
installed MySQL-shared-compat-5.5.44-1.el7.x86_64"

I do not have that package available in any of the repos that I have
installed, so I have no idea where it is coming from, but that seems to
be what is causing your issue.


> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Loading mirror speeds from cached hostfile
>  * base: cosmos.cites.illinois.edu
>  * epel: mirrors.syringanetworks.net
>  * extras: mirror.acsnet.com
>  * rpmforge: mirror.team-cymru.org
>  * updates: mirrors.usinternet.com
> Package mysql is obsoleted by mariadb, trying to install
> 1:mariadb-5.5.44-1.el7_1.x86_64 instead
> Resolving Dependencies
> --> Running transaction check
> ---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
> installed MySQL-shared-compat-5.5.44-1.el7.x86_64
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Finished Dependency Resolution
> Error: Package: 1:mariadb-5.5.44-1.el7_1.x86_64 (updates)
>Requires: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
>Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64
> (centos7-updates-x86_64)
>mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
>Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (base)
>mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
>Available: 1:mariadb-libs-5.5.44-1.el7_1.i686 (updates)
>   ~mariadb-libs(x86-32) = 1:5.5.44-1.el7_1
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> [kim@forge tools]$ sudo yum install mysql --skip-broken
> Loaded plugins: fastestmirror, rhnplugin
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Loading mirror speeds from cached hostfile
>  * base: cosmos.cites.illinois.edu
>  * epel: mirrors.syringanetworks.net
>  * extras: mirror.tocici.com
>  * rpmforge: mirror.team-cymru.org
>  * updates: mirrors.usinternet.com
> Package mysql is obsoleted by mariadb, trying to install
> 1:mariadb-5.5.44-1.el7_1.x86_64 instead
> Resolving Dependencies
> --> Running transaction check
> ---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
> installed MySQL-shared-compat-5.5.44-1.el7.x86_64
> --> Restarting Dependency Resolution with new changes.
> --> Running transaction check
> ---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
> --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
> package: 1:mariadb-5.5.44-1.el7_1.x86_64
> 
> Packages skipped because of dependency problems:
> 1:mariadb-5.5.44-1.el7_1.x86_64 from updates
> 
> When I trying to install the mariandb it give particulary same error. Can
> somebody help to deal with this error?
> 
> Best Regards,
> Alexander Ni
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error when installing mysql package

2015-11-15 Thread Alexander Ni
Hi all,

I have tried to install MySQL package but get next:

 [kim@forge tools]$ sudo yum install mysql
[sudo] password for kim:
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
 * base: cosmos.cites.illinois.edu
 * epel: mirrors.syringanetworks.net
 * extras: mirror.acsnet.com
 * rpmforge: mirror.team-cymru.org
 * updates: mirrors.usinternet.com
Package mysql is obsoleted by mariadb, trying to install
1:mariadb-5.5.44-1.el7_1.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
package: 1:mariadb-5.5.44-1.el7_1.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
installed MySQL-shared-compat-5.5.44-1.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
package: 1:mariadb-5.5.44-1.el7_1.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mariadb-5.5.44-1.el7_1.x86_64 (updates)
   Requires: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
   Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64
(centos7-updates-x86_64)
   mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
   Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (base)
   mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
   Available: 1:mariadb-libs-5.5.44-1.el7_1.i686 (updates)
  ~mariadb-libs(x86-32) = 1:5.5.44-1.el7_1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

[kim@forge tools]$ sudo yum install mysql --skip-broken
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
 * base: cosmos.cites.illinois.edu
 * epel: mirrors.syringanetworks.net
 * extras: mirror.tocici.com
 * rpmforge: mirror.team-cymru.org
 * updates: mirrors.usinternet.com
Package mysql is obsoleted by mariadb, trying to install
1:mariadb-5.5.44-1.el7_1.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.44-1.el7_1 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
package: 1:mariadb-5.5.44-1.el7_1.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
Removing mariadb-libs.x86_64 1:5.5.44-1.el7_1 - u due to obsoletes from
installed MySQL-shared-compat-5.5.44-1.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-1.el7_1 for
package: 1:mariadb-5.5.44-1.el7_1.x86_64

Packages skipped because of dependency problems:
1:mariadb-5.5.44-1.el7_1.x86_64 from updates

When I trying to install the mariandb it give particulary same error. Can
somebody help to deal with this error?

Best Regards,
Alexander Ni
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error when installing mysql package

2015-11-15 Thread Oscar Osta Pueyo
Hello,
Try to update the cache of yum or update your system before install mysql.

Best regards,
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error when installing mysql package

2015-11-15 Thread John R Pierce

On 11/15/2015 2:45 AM, Alexander Ni wrote:

This system is receiving updates from RHN Classic or Red Hat Satellite.


that doesn't sound like CentOS to me.



--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error when installing mysql package

2015-11-15 Thread Jussi Hirvi

I would try

yum --disablerepo=\* --enablerepo=base --enablerepo=updates install mariadb

That would exclude possible conflicts between the base & update repos 
and more exotic software from other repos.


- Jussi
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-10-02 Thread Fred Smith
On Wed, Sep 30, 2015 at 05:04:13PM -0400, Fred Smith wrote:
> On Wed, Sep 30, 2015 at 12:28:55PM -0600, CS DBA wrote:
> > Hi All;
> > 
> > I've downloaded the Cisco AnyConnect tar.gz file for one of our
> > clients, when I untar it and then run the vpn_install script in the
> > vpnclient directory I  get the below error.
> > 
> > Thanks in advance for any help...
> > 
> 
> You shouldn't need to build Cisco's client. Just install openconnect
> on your syustem and configure it for the https sites you want to
> connect to.
> 
> You should need:
> NetworkManager-openconnect.x86_64
> openconnect.x86_64
> 
> install those, right-click on the network manager icon in the upper panel,
> choose edit then choose add then choose "Cisco AnyConnect Compatible"
> fill in the necessary fields, and voila.
> 
> to use it, just left-click the NM applet in the upper panel, choose
> "VPN Connections" then click the one you just configured. 
> I use it for multiple sites and it works just fine.

I neglected to mention that you will need to enable the "epel" repo
to install openconnect.

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-10-02 Thread Kwan Lowe
On Wed, Sep 30, 2015 at 2:28 PM, CS DBA  wrote:

> I've downloaded the Cisco AnyConnect tar.gz file for one of our clients,
> when I untar it and then run the vpn_install script in the vpnclient
> directory I  get the below error.
>
>
I ended up getting the clients from the Nux repository instead of Epel. At
the time, it provided the NetworkManager tools which EPEL didn't have.
It's easy enough to run from the command line but NetworkManager
integration is nice to have.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-10-02 Thread Fred Smith
On Fri, Oct 02, 2015 at 02:40:27PM -0400, Kwan Lowe wrote:
> On Wed, Sep 30, 2015 at 2:28 PM, CS DBA  wrote:
> 
> > I've downloaded the Cisco AnyConnect tar.gz file for one of our clients,
> > when I untar it and then run the vpn_install script in the vpnclient
> > directory I  get the below error.
> >
> >
> I ended up getting the clients from the Nux repository instead of Epel. At
> the time, it provided the NetworkManager tools which EPEL didn't have.
> It's easy enough to run from the command line but NetworkManager
> integration is nice to have.

yeah, I actually got the NM part from nux, once I discovered he had it,
after discovering that EPEL didn't. I had already installed the client
itself from EPEL, and the nux NM integration worked fine, so I just
left it alone.

But I think epel has since added the NM bit.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-09-30 Thread CS DBA

Hi All;

I've downloaded the Cisco AnyConnect tar.gz file for one of our clients, 
when I untar it and then run the vpn_install script in the vpnclient 
directory I  get the below error.


Thanks in advance for any help...




/
//# ./vpn_install//
//Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer//
//Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.//
//
//By installing this product you agree that you have read the//
//license.txt file (The VPN Client license) and will comply with//
//its terms.//
//
//
//Directory where binaries will be installed [/usr/local/bin]//
//
//Automatically start the VPN service at boot time [yes]//
//
//In order to build the VPN kernel module, you must have the//
//kernel headers for the version of the kernel you are running.//
//
//
//Directory containing linux kernel source code 
[/lib/modules/2.6.32-573.7.1.el6.x86_64/build]//

//
//* Binaries will be installed in "/usr/local/bin".//
//* Modules will be installed in 
"/lib/modules/2.6.32-573.7.1.el6.x86_64/CiscoVPN".//

//* The VPN service will be started AUTOMATICALLY at boot time.//
//* Kernel source from "/lib/modules/2.6.32-573.7.1.el6.x86_64/build" 
will be used to build the module.//

//
//Is the above correct [y]//
//
//Making module//
//make -C /lib/modules/2.6.32-573.7.1.el6.x86_64/build 
SUBDIRS=/root/vpnclient modules//

//make[1]: Entering directory `/usr/src/kernels/2.6.32-573.7.1.el6.x86_64'//
//scripts/Makefile.build:49: *** CFLAGS was changed in 
"/root/vpnclient/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.//

//make[1]: *** [_module_/root/vpnclient] Error 2//
//make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.7.1.el6.x86_64'//
//make: *** [default] Error 2//
//Failed to make module "cisco_ipsec.ko".//
/




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-09-30 Thread m . roth
CS DBA wrote:
> Hi All;
>
> I've downloaded the Cisco AnyConnect tar.gz file for one of our clients,
> when I untar it and then run the vpn_install script in the vpnclient
> directory I  get the below error.
>
> Thanks in advance for any help...
>
So, there's a bug in their makefiles. Cisco should be informed, if they
don't already know.

And you can manually fix it

   mark "yes, I do know C and make"
>
>
>
> /
> //# ./vpn_install//
> //Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer//
> //Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.//
> //
> //By installing this product you agree that you have read the//
> //license.txt file (The VPN Client license) and will comply with//
> //its terms.//
> //
> //
> //Directory where binaries will be installed [/usr/local/bin]//
> //
> //Automatically start the VPN service at boot time [yes]//
> //
> //In order to build the VPN kernel module, you must have the//
> //kernel headers for the version of the kernel you are running.//
> //
> //
> //Directory containing linux kernel source code
> [/lib/modules/2.6.32-573.7.1.el6.x86_64/build]//
> //
> //* Binaries will be installed in "/usr/local/bin".//
> //* Modules will be installed in
> "/lib/modules/2.6.32-573.7.1.el6.x86_64/CiscoVPN".//
> //* The VPN service will be started AUTOMATICALLY at boot time.//
> //* Kernel source from "/lib/modules/2.6.32-573.7.1.el6.x86_64/build"
> will be used to build the module.//
> //
> //Is the above correct [y]//
> //
> //Making module//
> //make -C /lib/modules/2.6.32-573.7.1.el6.x86_64/build
> SUBDIRS=/root/vpnclient modules//
> //make[1]: Entering directory
> `/usr/src/kernels/2.6.32-573.7.1.el6.x86_64'//
> //scripts/Makefile.build:49: *** CFLAGS was changed in
> "/root/vpnclient/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.//
> //make[1]: *** [_module_/root/vpnclient] Error 2//
> //make[1]: Leaving directory
> `/usr/src/kernels/2.6.32-573.7.1.el6.x86_64'//
> //make: *** [default] Error 2//
> //Failed to make module "cisco_ipsec.ko".//
> /
>
>
>
>
> ___
> 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


Re: [CentOS] ERROR Installing Cisco AnyConnect on Centos 6x

2015-09-30 Thread Fred Smith
On Wed, Sep 30, 2015 at 12:28:55PM -0600, CS DBA wrote:
> Hi All;
> 
> I've downloaded the Cisco AnyConnect tar.gz file for one of our
> clients, when I untar it and then run the vpn_install script in the
> vpnclient directory I  get the below error.
> 
> Thanks in advance for any help...
> 

You shouldn't need to build Cisco's client. Just install openconnect
on your syustem and configure it for the https sites you want to
connect to.

You should need:
NetworkManager-openconnect.x86_64
openconnect.x86_64

install those, right-click on the network manager icon in the upper panel,
choose edit then choose add then choose "Cisco AnyConnect Compatible"
fill in the necessary fields, and voila.

to use it, just left-click the NM applet in the upper panel, choose
"VPN Connections" then click the one you just configured. 
I use it for multiple sites and it works just fine.


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Kmymoney

2015-09-13 Thread Rex Dieter
Rex Dieter wrote:

> CS DBA wrote:
> 
>> Hi All;
>> 
>> I'm runing a new install of CentOS 7, enabled the epel repo and ran:
>> 
>> # yum install kmymoney
>> 
>> I get this:
>> 
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
>> --> Processing Dependency: kmymoney-libs(x86-64) = 4.6.6-1.el7 for
>> package: kmymoney-4.6.6-1.el7.x86_64
>> --> Processing Dependency: libkmm_widgets.so.4()(64bit) for package:
>> kmymoney-4.6.6-1.el7.x86_64
>> --> Processing Dependency: libkmm_plugin.so.4()(64bit) for package:
>> kmymoney-4.6.6-1.el7.x86_64
>> --> Processing Dependency: libkmm_mymoney.so.4()(64bit) for package:
>> kmymoney-4.6.6-1.el7.x86_64
>> --> Processing Dependency: libcalligrakdchart.so.13()(64bit) for
> package:
>> kmymoney-4.6.6-1.el7.x86_64
>> --> Running transaction check
>> ---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
>> --> Processing Dependency: libcalligrakdchart.so.13()(64bit) for
> package:
>> kmymoney-4.6.6-1.el7.x86_64
>> ---> Package kmymoney-libs.x86_64 0:4.6.6-1.el7 will be installed
>> --> Finished Dependency Resolution
>> Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel)
>>Requires: libcalligrakdchart.so.13()(64bit)
>>  You could try using --skip-broken to work around the problem
>>  You could try running: rpm -Va --nofiles --nodigest
>> 
>> 
>> I cant seem to get past this, using --skip-broken does not work.
>> 
>> Anyone have any suggestions?
> 
> I'm fixing it now.

Update submitted,
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8062

-- Rex


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Kmymoney

2015-09-13 Thread Rex Dieter
CS DBA wrote:

> Hi All;
> 
> I'm runing a new install of CentOS 7, enabled the epel repo and ran:
> 
> # yum install kmymoney
> 
> I get this:
> 
> Resolving Dependencies
> --> Running transaction check
> ---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
> --> Processing Dependency: kmymoney-libs(x86-64) = 4.6.6-1.el7 for
> package: kmymoney-4.6.6-1.el7.x86_64
> --> Processing Dependency: libkmm_widgets.so.4()(64bit) for package:
> kmymoney-4.6.6-1.el7.x86_64
> --> Processing Dependency: libkmm_plugin.so.4()(64bit) for package:
> kmymoney-4.6.6-1.el7.x86_64
> --> Processing Dependency: libkmm_mymoney.so.4()(64bit) for package:
> kmymoney-4.6.6-1.el7.x86_64
> --> Processing Dependency: libcalligrakdchart.so.13()(64bit) for 
package:
> kmymoney-4.6.6-1.el7.x86_64
> --> Running transaction check
> ---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
> --> Processing Dependency: libcalligrakdchart.so.13()(64bit) for 
package:
> kmymoney-4.6.6-1.el7.x86_64
> ---> Package kmymoney-libs.x86_64 0:4.6.6-1.el7 will be installed
> --> Finished Dependency Resolution
> Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel)
>Requires: libcalligrakdchart.so.13()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> 
> I cant seem to get past this, using --skip-broken does not work.
> 
> Anyone have any suggestions?

I'm fixing it now.

-- Rex

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Kmymoney

2015-09-09 Thread Leonard den Ottolander
On Wed, 2015-09-09 at 08:40 -0600, CS DBA wrote:
> --> Finished Dependency Resolution
> Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel)
>Requires: libcalligrakdchart.so.13()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> 
> I cant seem to get past this, using --skip-broken does not work.
> 
> Anyone have any suggestions?

Apparently the calligra-* packages in EPEL got updated but kmymoney was
not rebuild against these new libraries. The current calligra-dkchart
packages provides libcalligrakdchart.so.14.

You should file this as a bug in RH bugzilla. Point out kmymoney needs
to be rebuilt against the new calligra-* libraries.

You could try rebuilding from srpm against the recent calligra-*
libraries, but I have no idea how much dependencies you will have to
build to accomplish this.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Error installing Kmymoney

2015-09-09 Thread CS DBA
Hi All;

I'm runing a new install of CentOS 7, enabled the epel repo and ran:

# yum install kmymoney

I get this:

Resolving Dependencies
--> Running transaction check
---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
--> Processing Dependency: kmymoney-libs(x86-64) = 4.6.6-1.el7 for package:
kmymoney-4.6.6-1.el7.x86_64
--> Processing Dependency: libkmm_widgets.so.4()(64bit) for package:
kmymoney-4.6.6-1.el7.x86_64
--> Processing Dependency: libkmm_plugin.so.4()(64bit) for package:
kmymoney-4.6.6-1.el7.x86_64
--> Processing Dependency: libkmm_mymoney.so.4()(64bit) for package:
kmymoney-4.6.6-1.el7.x86_64
--> Processing Dependency: libcalligrakdchart.so.13()(64bit) for package:
kmymoney-4.6.6-1.el7.x86_64
--> Running transaction check
---> Package kmymoney.x86_64 0:4.6.6-1.el7 will be installed
--> Processing Dependency: libcalligrakdchart.so.13()(64bit) for package:
kmymoney-4.6.6-1.el7.x86_64
---> Package kmymoney-libs.x86_64 0:4.6.6-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel)
   Requires: libcalligrakdchart.so.13()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


I cant seem to get past this, using --skip-broken does not work.

Anyone have any suggestions?

Thanks in advance...
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Kmymoney

2015-09-09 Thread CS DBA



On 09/09/2015 09:27 AM, Leonard den Ottolander wrote:

On Wed, 2015-09-09 at 08:40 -0600, CS DBA wrote:

--> Finished Dependency Resolution
Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel)
Requires: libcalligrakdchart.so.13()(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest


I cant seem to get past this, using --skip-broken does not work.

Anyone have any suggestions?

Apparently the calligra-* packages in EPEL got updated but kmymoney was
not rebuild against these new libraries. The current calligra-dkchart
packages provides libcalligrakdchart.so.14.

You should file this as a bug in RH bugzilla. Point out kmymoney needs
to be rebuilt against the new calligra-* libraries.

You could try rebuilding from srpm against the recent calligra-*
libraries, but I have no idea how much dependencies you will have to
build to accomplish this.

Regards,
Leonard.

Thanks, I'll submit a bug. Tried to compile it myself locally, way too 
many dependencies, didn't get too far



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy
Hi Ashish,


Which CentOS version you using?
 If it is CentOS 6 then instead of building it from source, you can use IUS
 repo which has latest php packages.
 Below is the link for the packages in IUS repo for CentOS 6.
 http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/



I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 from
IUS that way. But also I'm trying to get better at building RPM's. So if
anybody has any advice on how to solve this problem, I'd appreciate
anything you'd have to say!

Thanks
Tim


On Tue, Mar 24, 2015 at 1:57 AM, Ashish Yadav gwalash...@gmail.com wrote:

 Hi.

 Which CentOS version you using?

 If it is CentOS 6 then instead of building it from source, you can use IUS
 repo which has latest php packages.

 Below is the link for the packages in IUS repo for CentOS 6.

 http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/

 --Regards
 Ashishkumar S. Yadav

 On Tue, Mar 24, 2015 at 10:25 AM, Tim Dunphy bluethu...@gmail.com wrote:

  Hey all,
 
   I'm attempting to build a spec file of php 5.6.7 - the latest stable -
  into an rpm. And it's failing with this set of errors:
 
  Processing files: php-5.6.7-1.el7.x86_64
  warning: File listed twice: /etc/rc.d/init.d/php-fpm
  error: Symlink points to BuildRoot: /usr/bin/phar -
 
 
 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
  warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
  warning: File listed twice: /usr/share/man/man1/php-config.1.gz
  warning: File listed twice: /usr/share/man/man1/php.1.gz
  warning: File listed twice: /usr/share/man/man1/phpize.1.gz
 
 
  RPM build errors:
  File listed twice: /etc/rc.d/init.d/php-fpm
  Symlink points to BuildRoot: /usr/bin/phar -
 
 
 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
  File listed twice: /usr/share/man/man1/php-cgi.1.gz
  File listed twice: /usr/share/man/man1/php-config.1.gz
  File listed twice: /usr/share/man/man1/php.1.gz
  File listed twice: /usr/share/man/man1/phpize.1.gz
 
 
  It's claiming the files above are listed twice. However I don't see
 that''s
  the case at all in the spec file. Here it is:
 
 
  [bluethundr@repo SPECS]$ cat php.spec
  Name:   php
  Version:5.6.7
  Release:1%{?dist}
  Summary:PHP is a widely-used general-purpose scripting language.
 
  Group:  Development/Languages
  License:PHP License v3.01
  URL:http://www.php.net
  Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
  BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
  Obsoletes:  php
 
  %description
  PHP is a widely-used general-purpose scripting language that is
 especially
  suited for Web development and can be embedded into HTML.
 
  %prep
  %setup -q -n %{name}-%{version}
  %build
  EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
  %configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
  --enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
  --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
  --with-zlib \
  --with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir
 --with-gettext \
  --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
  --with-pdo-mysql=mysqlnd \
  --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
  --disable-debug
 
  make %{?_smp_mflags}
 
  %install
  rm -rf %{buildroot}
  mkdir -p %{buildroot}%{_initrddir}
  install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
  %{buildroot}%{_initrddir}/php-fpm
  %{__make} install INSTALL_ROOT=%{buildroot}
 
  %clean
  rm -rf %{buildroot}
 
  %post
  %/sbin/chkconfig php-fpm on
 
  %preun
  if [ $1 = 0 ] ; then
  /sbin/service php-fpm stop  /dev/null 2
  /sbin/chkconfig --del php-fpm
  fi
  exit 0
 
  %postun
  if [ $1 -ge 1 ]; then
  /sbin/service php-fpm condrestart  /dev/null 2
  fi
  exit 0
 
  %files
  %defattr(-,root,root,-)
  %{_bindir}/*
  %{_sbindir}/*
  %{_includedir}/*
  %{_libdir}/*
  %{_mandir}/man1/php*
  %{_sysconfdir}/*
  %{_datadir}/*
  %{_initrddir}/*
  %exclude /.channels
  %exclude /.depdb
  %exclude /.depdblock
  %exclude /.filemap
  %exclude /.lock
 
  %changelog
  * Mon Mar 23 2015 Mike Willbanks mike @_.com - 5.3.8-1
  - Updated to 5.3.8
  * Mon Mar 23 2015 Mike Willbanks /mikemike @_.com - 5.3.5-1
  - Initial Package
 
  I tried to build the package by going to the SPECS directory in my
  buildroot and issuing the command: rpmbuild -ba php.spec
 
  Can anyone point out where I'm going wrong?
 
  Thanks!!
  Tim
 
 
 
  --
  GPG me!!
 
  gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 ___
 CentOS mailing list
 CentOS@centos.org
 

Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy

 Take the IUS src.rpm, install it, and get inspiration from its specfile.
 You'll learn by example.

 Hope this helps.


Sure! That's great advice! Thank you!!

Tim

On Tue, Mar 24, 2015 at 1:40 PM, Mihamina Rakotomandimby 
mihamina.rakotomandi...@rktmb.org wrote:

 On 03/24/2015 05:38 PM, Tim Dunphy wrote:

 I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 from
 IUS that way. But also I'm trying to get better at building RPM's. So if
 anybody has any advice on how to solve this problem, I'd appreciate
 anything you'd have to say!


 Take the IUS src.rpm, install it, and get inspiration from its specfile.
 You'll learn by example.

 Hope this helps.

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building php spec file

2015-03-24 Thread Mihamina Rakotomandimby

On 03/24/2015 05:38 PM, Tim Dunphy wrote:
I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 
from IUS that way. But also I'm trying to get better at building 
RPM's. So if anybody has any advice on how to solve this problem, I'd 
appreciate anything you'd have to say!


Take the IUS src.rpm, install it, and get inspiration from its specfile.
You'll learn by example.

Hope this helps.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building php spec file

2015-03-23 Thread Ashish Yadav
Hi.

Which CentOS version you using?

If it is CentOS 6 then instead of building it from source, you can use IUS
repo which has latest php packages.

Below is the link for the packages in IUS repo for CentOS 6.

http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/

--Regards
Ashishkumar S. Yadav

On Tue, Mar 24, 2015 at 10:25 AM, Tim Dunphy bluethu...@gmail.com wrote:

 Hey all,

  I'm attempting to build a spec file of php 5.6.7 - the latest stable -
 into an rpm. And it's failing with this set of errors:

 Processing files: php-5.6.7-1.el7.x86_64
 warning: File listed twice: /etc/rc.d/init.d/php-fpm
 error: Symlink points to BuildRoot: /usr/bin/phar -

 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
 warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
 warning: File listed twice: /usr/share/man/man1/php-config.1.gz
 warning: File listed twice: /usr/share/man/man1/php.1.gz
 warning: File listed twice: /usr/share/man/man1/phpize.1.gz


 RPM build errors:
 File listed twice: /etc/rc.d/init.d/php-fpm
 Symlink points to BuildRoot: /usr/bin/phar -

 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
 File listed twice: /usr/share/man/man1/php-cgi.1.gz
 File listed twice: /usr/share/man/man1/php-config.1.gz
 File listed twice: /usr/share/man/man1/php.1.gz
 File listed twice: /usr/share/man/man1/phpize.1.gz


 It's claiming the files above are listed twice. However I don't see that''s
 the case at all in the spec file. Here it is:


 [bluethundr@repo SPECS]$ cat php.spec
 Name:   php
 Version:5.6.7
 Release:1%{?dist}
 Summary:PHP is a widely-used general-purpose scripting language.

 Group:  Development/Languages
 License:PHP License v3.01
 URL:http://www.php.net
 Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot

 Obsoletes:  php

 %description
 PHP is a widely-used general-purpose scripting language that is especially
 suited for Web development and can be embedded into HTML.

 %prep
 %setup -q -n %{name}-%{version}
 %build
 EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
 %configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
 --enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
 --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
 --with-zlib \
 --with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
 --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
 --with-pdo-mysql=mysqlnd \
 --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
 --disable-debug

 make %{?_smp_mflags}

 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_initrddir}
 install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
 %{buildroot}%{_initrddir}/php-fpm
 %{__make} install INSTALL_ROOT=%{buildroot}

 %clean
 rm -rf %{buildroot}

 %post
 %/sbin/chkconfig php-fpm on

 %preun
 if [ $1 = 0 ] ; then
 /sbin/service php-fpm stop  /dev/null 2
 /sbin/chkconfig --del php-fpm
 fi
 exit 0

 %postun
 if [ $1 -ge 1 ]; then
 /sbin/service php-fpm condrestart  /dev/null 2
 fi
 exit 0

 %files
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_sbindir}/*
 %{_includedir}/*
 %{_libdir}/*
 %{_mandir}/man1/php*
 %{_sysconfdir}/*
 %{_datadir}/*
 %{_initrddir}/*
 %exclude /.channels
 %exclude /.depdb
 %exclude /.depdblock
 %exclude /.filemap
 %exclude /.lock

 %changelog
 * Mon Mar 23 2015 Mike Willbanks mike @_.com - 5.3.8-1
 - Updated to 5.3.8
 * Mon Mar 23 2015 Mike Willbanks /mikemike @_.com - 5.3.5-1
 - Initial Package

 I tried to build the package by going to the SPECS directory in my
 buildroot and issuing the command: rpmbuild -ba php.spec

 Can anyone point out where I'm going wrong?

 Thanks!!
 Tim



 --
 GPG me!!

 gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
 ___
 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 building php spec file

2015-03-23 Thread Tim Dunphy
Hey all,

 I'm attempting to build a spec file of php 5.6.7 - the latest stable -
into an rpm. And it's failing with this set of errors:

Processing files: php-5.6.7-1.el7.x86_64
warning: File listed twice: /etc/rc.d/init.d/php-fpm
error: Symlink points to BuildRoot: /usr/bin/phar -
/home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
warning: File listed twice: /usr/share/man/man1/php-config.1.gz
warning: File listed twice: /usr/share/man/man1/php.1.gz
warning: File listed twice: /usr/share/man/man1/phpize.1.gz


RPM build errors:
File listed twice: /etc/rc.d/init.d/php-fpm
Symlink points to BuildRoot: /usr/bin/phar -
/home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
File listed twice: /usr/share/man/man1/php-cgi.1.gz
File listed twice: /usr/share/man/man1/php-config.1.gz
File listed twice: /usr/share/man/man1/php.1.gz
File listed twice: /usr/share/man/man1/phpize.1.gz


It's claiming the files above are listed twice. However I don't see that''s
the case at all in the spec file. Here it is:


[bluethundr@repo SPECS]$ cat php.spec
Name:   php
Version:5.6.7
Release:1%{?dist}
Summary:PHP is a widely-used general-purpose scripting language.

Group:  Development/Languages
License:PHP License v3.01
URL:http://www.php.net
Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot

Obsoletes:  php

%description
PHP is a widely-used general-purpose scripting language that is especially
suited for Web development and can be embedded into HTML.

%prep
%setup -q -n %{name}-%{version}
%build
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
%configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
--enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
--enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
--with-zlib \
--with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
--with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd \
--with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
--disable-debug

make %{?_smp_mflags}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_initrddir}
install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
%{buildroot}%{_initrddir}/php-fpm
%{__make} install INSTALL_ROOT=%{buildroot}

%clean
rm -rf %{buildroot}

%post
%/sbin/chkconfig php-fpm on

%preun
if [ $1 = 0 ] ; then
/sbin/service php-fpm stop  /dev/null 2
/sbin/chkconfig --del php-fpm
fi
exit 0

%postun
if [ $1 -ge 1 ]; then
/sbin/service php-fpm condrestart  /dev/null 2
fi
exit 0

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_sbindir}/*
%{_includedir}/*
%{_libdir}/*
%{_mandir}/man1/php*
%{_sysconfdir}/*
%{_datadir}/*
%{_initrddir}/*
%exclude /.channels
%exclude /.depdb
%exclude /.depdblock
%exclude /.filemap
%exclude /.lock

%changelog
* Mon Mar 23 2015 Mike Willbanks mike @_.com - 5.3.8-1
- Updated to 5.3.8
* Mon Mar 23 2015 Mike Willbanks /mikemike @_.com - 5.3.5-1
- Initial Package

I tried to build the package by going to the SPECS directory in my
buildroot and issuing the command: rpmbuild -ba php.spec

Can anyone point out where I'm going wrong?

Thanks!!
Tim



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy

 http://fedoraproject.org/wiki/Projects/Mock


Thank you! I'll check it out.

On Sun, Mar 22, 2015 at 7:38 PM, Mark LaPierre marklap...@gmail.com wrote:

 On 03/22/15 16:22, Tim Dunphy wrote:
  how do
  I build in mock?

 http://fedoraproject.org/wiki/Projects/Mock

 --
 _
°v°
   /(_)\
^ ^  Mark LaPierre
 Registered Linux user No #267004
 https://linuxcounter.net/
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy
Peter,

You're missing a -devel package.  You should be building this in mock,
 then it will install the correct deps for you in a clean build environment.


These are the packages I have:

[root@repo:~] #rpm -qa | grep db4
libdb4-utils-4.8.30-13.el7.x86_64
*libdb4-devel-static-4.8.30-13.el7.x86_64*
libdb4-4.8.30-13.el7.x86_64
*libdb4-devel-4.8.30-13.el7.x86_64*

I see I have two devel packages for db4. So what am I missing? Also how do
I build in mock?

Thanks,
Tim

On Sun, Mar 22, 2015 at 4:17 PM, Peter pe...@pajamian.dhs.org wrote:

 On 03/23/2015 09:03 AM, Tim Dunphy wrote:
  Hey guys,
 
   I'm trying to create an apache 2.4.12 rpm file. But in order to do that
 I
  need to create an apr-util rpm of a recent enough version to support it.
 
  checking for Berkeley DB 1 in the standard places...
  checking db_185.h usability... no
  checking db_185.h presence... no
  checking for db_185.h... no
  *checking for Berkeley DB... not found*

 You're missing a -devel package.  You should be building this in mock,
 then it will install the correct deps for you in a clean build environment.


 Peter
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy
Hey guys,

 I'm trying to create an apache 2.4.12 rpm file. But in order to do that I
need to create an apr-util rpm of a recent enough version to support it.


So running the rpmbuild command against the spec file I'm getting this
error:

checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking for Berkeley DB 1 in the standard places...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
*checking for Berkeley DB... not found*
*configure: error: Berkeley DB not found.*
error: Bad exit status from /var/tmp/rpm-tmp.yh0jGv (%build)

It's claiming that Berkeley DB isn't installed. But to me it looks like I
have the right libraries:

[root@repo:~] #rpm -qa | grep db4
libdb4-utils-4.8.30-13.el7.x86_64
libdb4-devel-static-4.8.30-13.el7.x86_64
libdb4-4.8.30-13.el7.x86_64
libdb4-devel-4.8.30-13.el7.x86_64


This is the part of the spec file that calls for db4:

%configure --with-apr=%{_prefix} \
--includedir=%{_includedir}/apr-%{apuver} \
--with-ldap --without-gdbm \
--with-sqlite3 --with-pgsql --with-mysql --with-freetds --with-odbc
\
--with-berkeley-db \
--with-crypto --with-openssl --with-nss \
--without-sqlite2

So my questions for today are, do I need to provide a path to the
--with-berkeley-db flag? If so, how do I determine the path to give it?
Lastly, is db4 really necessary to the build of apr-util? Would it be
completely wrong just to build the rpm without it?

Thanks,
Tim


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Peter
On 03/23/2015 09:03 AM, Tim Dunphy wrote:
 Hey guys,
 
  I'm trying to create an apache 2.4.12 rpm file. But in order to do that I
 need to create an apr-util rpm of a recent enough version to support it.
 
 checking for Berkeley DB 1 in the standard places...
 checking db_185.h usability... no
 checking db_185.h presence... no
 checking for db_185.h... no
 *checking for Berkeley DB... not found*

You're missing a -devel package.  You should be building this in mock,
then it will install the correct deps for you in a clean build environment.


Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Mark LaPierre
On 03/22/15 16:22, Tim Dunphy wrote:
 how do
 I build in mock?

http://fedoraproject.org/wiki/Projects/Mock

-- 
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: libusb-1.0.so.0 is needed....

2014-12-15 Thread ken

On 12/14/2014 07:58 PM, Stephen Harris wrote:

On Sun, Dec 14, 2014 at 07:22:01PM -0500, Mark LaPierre wrote:

On 12/14/14 07:29, ken wrote:

uname -r; rpm -q libusb


CentOS 6.6 says:
[mlapier@mushroom ~]$ uname -r; rpm -q libusb
2.6.32-504.1.3.el6.i686
libusb-0.1.12-23.el6.i686


CentOS 5 has:
   libusb-0.1.12

CentOS 6 has:
   libusb-0.1.12
   libusb1-1.0.9

CentOS 7 has:
   libusb-0.1.4
   libusbx-1.0.15


Thanks to everyone who's replied thus far.  It seems the information 
given at http://pkgs.org/ isn't fully correct.


These multiple libusb's throw quite a bit of ambiguity and doubt into 
the process of compiling and linking sources which ask for libusb 
v.1.0.x.  Symlinking or changing a Makefile or *.h file might allow 
compilation to succeed (or not), then might successful linking (or not), 
and then might let the executable(s) run correctly (or not); the last 
part I (or anyone else) might not find out until after the merchandise 
return deadline has passed.  Who knows?  One thing is certain:  Canon 
could have put a little more effort into their code and provided a 
friendlier and less doubtful driver package.


Speaking of improvements:  Better commands for displaying this info 
would be:


cat /etc/redhat-release
rpm -qa | grep libusb

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error: libusb-1.0.so.0 is needed....

2014-12-14 Thread ken
Trying to install Canon printer driver package (rpm), I get a dependency 
error:


libusb-1.0.so.0 is needed

The version currently installed on my 5.9 system is libusb-0.1.12-6.el5 
and, AFAIK (per yum), no upgrade to that is available.


So question: Do higher centos versions have libusb-1.0.so ?  (We could 
perform a quick inventory with:


uname -r; rpm -q libusb

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: libusb-1.0.so.0 is needed....

2014-12-14 Thread Alexander Dalloz

Am 14.12.2014 um 13:29 schrieb ken:

Trying to install Canon printer driver package (rpm), I get a dependency
error:

libusb-1.0.so.0 is needed

The version currently installed on my 5.9 system is libusb-0.1.12-6.el5
and, AFAIK (per yum), no upgrade to that is available.


The canon rpm does not fit for your CentOS release.

Btw. update to CentOS 5.11 running yum update. 5.9 is outdated by 
security and bug fixes.



So question: Do higher centos versions have libusb-1.0.so ?  (We could
perform a quick inventory with:

uname -r; rpm -q libusb



http://pkgs.org/search/libusb-1.0.so.0?type=provides




Thanks.



Alexander


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: libusb-1.0.so.0 is needed....

2014-12-14 Thread Mark LaPierre
On 12/14/14 07:29, ken wrote:
 uname -r; rpm -q libusb

CentOS 6.6 says:
[mlapier@mushroom ~]$ uname -r; rpm -q libusb
2.6.32-504.1.3.el6.i686
libusb-0.1.12-23.el6.i686

-- 
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: libusb-1.0.so.0 is needed....

2014-12-14 Thread Stephen Harris
On Sun, Dec 14, 2014 at 07:22:01PM -0500, Mark LaPierre wrote:
 On 12/14/14 07:29, ken wrote:
  uname -r; rpm -q libusb
 
 CentOS 6.6 says:
 [mlapier@mushroom ~]$ uname -r; rpm -q libusb
 2.6.32-504.1.3.el6.i686
 libusb-0.1.12-23.el6.i686

CentOS 5 has:
  libusb-0.1.12

CentOS 6 has:
  libusb-0.1.12
  libusb1-1.0.9

CentOS 7 has:
  libusb-0.1.4
  libusbx-1.0.15

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error starting Virtual Machine Manager: Failed to contact configuration server

2014-05-15 Thread Wade Hampton
Thanks, however that did not work.

I removed /tmp/orbit-root and tried it again.  Same problem.

For now, I'm just using the dbus-launch trick.

Cheers,
--
Wade Hampton


On Wed, May 14, 2014 at 5:14 PM, Marcelo Roccasalva 
marcelo-cen...@irrigacion.gov.ar wrote:

 On Wed, May 14, 2014 at 2:13 PM, Wade Hampton wadehampto...@gmail.com
 wrote:
  I just updated and rebooted a VM host server which
  runs CentOS 6.5/x86_64.  After rebooting, I can't start the
  virtual-manager due to the error:
 
  Error starting Virtual Machine Manager: Failed to contact configuration
  server; some possible causes are that you need to enable TCP/IP
 networking
  for ORBit, or you have stale NFS locks due to a system crash. See
  http://projects.gnome.org/gconf/ [^] for information. (Details -  1:
 Failed
  to get connection to session: Failed to connect to socket
 /tmp/dbus-Q6...:
  Connection refused).

 I remeber removing some directory from /tmp, maybe
 /tmp/orbit-username or something like this and reconnecting... Hope
 this helps.

 --
 Marcelo

 ¿No será acaso que esta vida moderna está teniendo más de moderna que de
 vida? (Mafalda)
 ___
 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 starting Virtual Machine Manager: Failed to contact configuration server

2014-05-14 Thread Wade Hampton
I just updated and rebooted a VM host server which
runs CentOS 6.5/x86_64.  After rebooting, I can't start the
virtual-manager due to the error:

Error starting Virtual Machine Manager: Failed to contact configuration
server; some possible causes are that you need to enable TCP/IP networking
for ORBit, or you have stale NFS locks due to a system crash. See
http://projects.gnome.org/gconf/ [^] for information. (Details -  1: Failed
to get connection to session: Failed to connect to socket /tmp/dbus-Q6...:
Connection refused).

I have tried:
  service messagebus restart
  service libvirtd restart

If I manually start dbus, it works and I can run my VMs:
  dbus-launch --exit-with-session virt-manager

Any ideas on how to fix this?
--
Wade Hampton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error starting Virtual Machine Manager: Failed to contact configuration server

2014-05-14 Thread Marcelo Roccasalva
On Wed, May 14, 2014 at 2:13 PM, Wade Hampton wadehampto...@gmail.com wrote:
 I just updated and rebooted a VM host server which
 runs CentOS 6.5/x86_64.  After rebooting, I can't start the
 virtual-manager due to the error:

 Error starting Virtual Machine Manager: Failed to contact configuration
 server; some possible causes are that you need to enable TCP/IP networking
 for ORBit, or you have stale NFS locks due to a system crash. See
 http://projects.gnome.org/gconf/ [^] for information. (Details -  1: Failed
 to get connection to session: Failed to connect to socket /tmp/dbus-Q6...:
 Connection refused).

I remeber removing some directory from /tmp, maybe
/tmp/orbit-username or something like this and reconnecting... Hope
this helps.

-- 
Marcelo

¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida? (Mafalda)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error occurs when build kernel 3.2.0

2014-04-09 Thread 李欣
Hi all,

Please let me know if this is not the right place to ask this question.

I was trying to compile and build kernel 3.2.0, by following Linux 
Administration - A Beginner's Guide written by Wale Soyinka.

Error occurs after running the following command:

# new-kernel-pkg -v --mkinitrd --depmod --install 3.2.0-custom
initrdfile is /boot/initrd-3.2.0-custom.img
running depmod for 3.2.0-custom
creating initrd: /sbin/mkinitrd --allow-missing -f
/boot/initrd-3.2.0-custom.img 3.2.0-custom
found /boot/initrd-3.2.0-custom.img and using it with grubby
adding 3.2.0-custom to /boot/grub/grub.conf
/etc/lilo.conf does not exist, not running grubby

Does anyone ever run into this? How can I fix it?

Here is the link that I downloaded kernel from:
http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.tar.bz2

# uname -a
Linux test_server 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25
19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
CentOS release 6.5 (Final)

Please let me know if any other information is needed.

Thanks.

Xin Li

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error occurs when build kernel 3.2.0

2014-04-09 Thread Johnny Hughes
On 04/09/2014 03:56 AM, 李欣 wrote:
 Hi all,

 Please let me know if this is not the right place to ask this question.

 I was trying to compile and build kernel 3.2.0, by following Linux 
 Administration - A Beginner's Guide written by Wale Soyinka.

 Error occurs after running the following command:

 # new-kernel-pkg -v --mkinitrd --depmod --install 3.2.0-custom
 initrdfile is /boot/initrd-3.2.0-custom.img
 running depmod for 3.2.0-custom
 creating initrd: /sbin/mkinitrd --allow-missing -f
 /boot/initrd-3.2.0-custom.img 3.2.0-custom
 found /boot/initrd-3.2.0-custom.img and using it with grubby
 adding 3.2.0-custom to /boot/grub/grub.conf
 /etc/lilo.conf does not exist, not running grubby

 Does anyone ever run into this? How can I fix it?

 Here is the link that I downloaded kernel from:
 http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.tar.bz2

 # uname -a
 Linux test_server 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25
 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 # cat /etc/redhat-release
 CentOS release 6.5 (Final)

 Please let me know if any other information is needed.

 Thanks.

 Xin Li

That method is not how to install kernels on CentOS ... CentOS uses RPMs
for the kernel and here is how you would build one:

http://wiki.centos.org/HowTos/Custom_Kernel

However, there is very rarely a need for one to build their own custom
kernel. If you really want a different kernel that is newer than the one
in CentOS, ELRepo (http://www.elrepo.com) has a kernel-lt (long term
kernel from kernel.org) and kernel-ml (main line kernel from kernel.org)
... and there is also a CentOS produced 3.10.x kernel in the Xen4CentOS
repository.

If you want to learn how to create a new kernel as a learning exercise,
the wiki link will help that, otherwise I would use one where a known
and trusted entity is maintaining it secure.





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error occurs when build kernel 3.2.0

2014-04-09 Thread 李欣
I thought all the distributions could build kernel in the same way,
obviously I was wrong.

Thanks for your reply.

Xin Li

On 2014/04/09 19:24, Johnny Hughes wrote:
 On 04/09/2014 03:56 AM, 李欣 wrote:
 Hi all,

 Please let me know if this is not the right place to ask this question.

 I was trying to compile and build kernel 3.2.0, by following Linux
 Administration - A Beginner's Guide written by Wale Soyinka.

 Error occurs after running the following command:

  # new-kernel-pkg -v --mkinitrd --depmod --install 3.2.0-custom
  initrdfile is /boot/initrd-3.2.0-custom.img
  running depmod for 3.2.0-custom
  creating initrd: /sbin/mkinitrd --allow-missing -f
  /boot/initrd-3.2.0-custom.img 3.2.0-custom
  found /boot/initrd-3.2.0-custom.img and using it with grubby
  adding 3.2.0-custom to /boot/grub/grub.conf
  /etc/lilo.conf does not exist, not running grubby

 Does anyone ever run into this? How can I fix it?

 Here is the link that I downloaded kernel from:
 http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.tar.bz2

  # uname -a
  Linux test_server 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25
  19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  # cat /etc/redhat-release
  CentOS release 6.5 (Final)

 Please let me know if any other information is needed.

 Thanks.

 Xin Li
 That method is not how to install kernels on CentOS ... CentOS uses RPMs
 for the kernel and here is how you would build one:

 http://wiki.centos.org/HowTos/Custom_Kernel

 However, there is very rarely a need for one to build their own custom
 kernel. If you really want a different kernel that is newer than the one
 in CentOS, ELRepo (http://www.elrepo.com) has a kernel-lt (long term
 kernel from kernel.org) and kernel-ml (main line kernel from kernel.org)
 ... and there is also a CentOS produced 3.10.x kernel in the Xen4CentOS
 repository.

 If you want to learn how to create a new kernel as a learning exercise,
 the wiki link will help that, otherwise I would use one where a known
 and trusted entity is maintaining it secure.





 ___
 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


Re: [CentOS] Error occurs when build kernel 3.2.0

2014-04-09 Thread Leon Fauster
Am 09.04.2014 um 13:13 schrieb 李欣 n3...@ndensan.co.jp:
 I thought all the distributions could build kernel in the same way, obviously 
 I was wrong.

its not only about building it - its also about managing it like packaging, 
installing, 
activating and checking the necessary user-land dependencies like acpid etc. - 
at this 
they are differences between distributions and also between major releases of 
the same
distribution.

--
LF





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error sending a email to account of email personal (postfix)

2014-03-04 Thread Rodrigo Pichiñual Norin
Hola a todos:

Tengo la siguiente interrogante:

Resulta que tengo centos 6.4

al ejecutar el siguiente comando:

1) MTA

alternatives --config mta

la salida es la siguiente:

---
 + 1   /usr/sbin/sendmail.postfix
*  2   /usr/sbin/sendmail.sendmail

Lo cual indica que esta usando postfix.

pero NO TENGO configurado postfix.

2) ENVIAR MAIL

echo prueba | mail -s asunto de prueba cue...@gmail.com

esto funciona enviando mail a GMAIL YAHOO...etc

pero no funciona enviando mail a mi cuenta personal o de empresa.


3 ) chequear log


localhost postfix/smtp[16415]: A33747AC93: to=rodr...@miaccount.cl, relay=
mail.miaccount.cl[67.20.125.184]:25, delay=4.4, delays=0.11/0.01/2.9/1.4,
dsn=5.0.0, status=bounced (host mail.miaccount.cl[67.20.125.184] said:
550-Verification failed for root@enum-server.localdomain 550-The mail
server could not deliver mail to root@enum-server.localdomain.  The account
or domain may not exist, they may be blacklisted, or missing the proper dns
entries. 550 Sender verify failed (in reply to RCPT TO command))


porque al enviar a gmail lo hace bien y a una cuenta personal no??


orientación.


gracias a todos.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error sending a email to account of email personal (postfix)

2014-03-04 Thread m . roth
Rodrigo Pichiñual Norin wrote:
 Hola a todos:

 Tengo la siguiente interrogante:

Sorry, I'm not sure if you wrote in Portugese or Spanish, but the lingua
franca of this list is English, and if you want most of us to see if we
can help, please repost in English

mark, tengo Espanol en institute, mas, mas anos hace

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error sending a email to account of email personal (postfix)

2014-03-04 Thread Rodrigo Pichiñual Norin
I sorryI now will write in English


regards


2014-03-04 12:36 GMT-03:00 m.r...@5-cent.us:

 Rodrigo Pichiñual Norin wrote:
  Hola a todos:
 
  Tengo la siguiente interrogante:
 
 Sorry, I'm not sure if you wrote in Portugese or Spanish, but the lingua
 franca of this list is English, and if you want most of us to see if we
 can help, please repost in English

 mark, tengo Espanol en institute, mas, mas anos hace

 ___
 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


Re: [CentOS] Error sending a email to account of email personal (postfix)

2014-03-04 Thread Leon Fauster
Am 04.03.2014 um 15:40 schrieb Rodrigo Pichiñual Norin 
rodrigo.pichin...@gmail.com:
 
 3 ) chequear log
 
 
 localhost postfix/smtp[16415]: A33747AC93: to=rodr...@miaccount.cl, relay=
 mail.miaccount.cl[67.20.125.184]:25, delay=4.4, delays=0.11/0.01/2.9/1.4,
 dsn=5.0.0, status=bounced (host mail.miaccount.cl[67.20.125.184] said:
 550-Verification failed for root@enum-server.localdomain 550-The mail
 server could not deliver mail to root@enum-server.localdomain.  The account
 or domain may not exist, they may be blacklisted, or missing the proper dns
 entries. 550 Sender verify failed (in reply to RCPT TO command))
 

mail is a sensitive service. You should use an appropriate 
sender address. Use a canonical configuration for that. 

https://duckduckgo.com/?l=esq=canonical+postfix

--
LF

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error sending a email to account of email personal (postfix)

2014-03-04 Thread Calkyns
Hello, everybody.

I'll try to translate Rodrigo's message from Spanish to English:


--

Hello everybody_

I have the following question:

I have installed Centos 6.4

when running the following command:

1) MTA

alternatives --config mta

This is the output:

---
+ 1   /usr/sbin/sendmail.postfix
*  2   /usr/sbin/sendmail.sendmail

It seems that I am using postfix.

but I DON'T have postfix configured.

2) SENDING MAIL

echo proof | mail -s subject of proof acco...@gmail.com

That works fine when sending mails to GMAIL YAHOO...etc

but it doesn't work at all when I send mails to my personal account or my work 
mail account.


3 ) checking the logs:


localhost postfix/smtp[16415]: A33747AC93: to=rodr...@miaccount.cl, relay=
mail.miaccount.cl[67.20.125.184]:25, delay=4.4, delays=0.11/0.01/2.9/1.4,
dsn=5.0.0, status=bounced (host mail.miaccount.cl[67.20.125.184] said:
550-Verification failed for root@enum-server.localdomain 550-The mail
server could not deliver mail to root@enum-server.localdomain.  The account
or domain may not exist, they may be blacklisted, or missing the proper dns
entries. 550 Sender verify failed (in reply to RCPT TO command))


Why can I send mails to gmail.com but not to a personal account?


I ask for some suggestions


thans to everybody.

--


El 04/03/14 15:40, Rodrigo Pichiñual Norin escribió:
 Hola a todos:

 Tengo la siguiente interrogante:

 Resulta que tengo centos 6.4

 al ejecutar el siguiente comando:

 1) MTA

 alternatives --config mta

 la salida es la siguiente:

 ---
   + 1   /usr/sbin/sendmail.postfix
 *  2   /usr/sbin/sendmail.sendmail

 Lo cual indica que esta usando postfix.

 pero NO TENGO configurado postfix.

 2) ENVIAR MAIL

 echo prueba | mail -s asunto de prueba cue...@gmail.com

 esto funciona enviando mail a GMAIL YAHOO...etc

 pero no funciona enviando mail a mi cuenta personal o de empresa.


 3 ) chequear log


 localhost postfix/smtp[16415]: A33747AC93: to=rodr...@miaccount.cl, relay=
 mail.miaccount.cl[67.20.125.184]:25, delay=4.4, delays=0.11/0.01/2.9/1.4,
 dsn=5.0.0, status=bounced (host mail.miaccount.cl[67.20.125.184] said:
 550-Verification failed for root@enum-server.localdomain 550-The mail
 server could not deliver mail to root@enum-server.localdomain.  The account
 or domain may not exist, they may be blacklisted, or missing the proper dns
 entries. 550 Sender verify failed (in reply to RCPT TO command))


 porque al enviar a gmail lo hace bien y a una cuenta personal no??


 orientación.


 gracias a todos.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error in 6.5 release notes?

2013-12-01 Thread Stephen Harris
 http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.5 

Here it says In addition to the samba4 RPM mentioned above but, except
for that line, samba isn't mentioned at all.  Is this a legacy comment,
or is information missing?

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in 6.5 release notes?

2013-12-01 Thread Johnny Hughes
On 12/01/2013 02:25 PM, Stephen Harris wrote:
 http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.5 
 Here it says In addition to the samba4 RPM mentioned above but, except
 for that line, samba isn't mentioned at all.  Is this a legacy comment,
 or is information missing?


Yes, fixed



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in 6.5 release notes?

2013-12-01 Thread John R Pierce
On 12/1/2013 12:43 PM, Johnny Hughes wrote:
 Yes, fixed

while we're at it, the announcement says its released, but the release 
notes are still talking about CR ?  which is it?



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in 6.5 release notes?

2013-12-01 Thread Johnny Hughes
On 12/01/2013 02:47 PM, John R Pierce wrote:
 On 12/1/2013 12:43 PM, Johnny Hughes wrote:
 Yes, fixed
 while we're at it, the announcement says its released, but the release 
 notes are still talking about CR ?  which is it?

You will have to guess :)





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in 6.5 release notes?

2013-12-01 Thread John R Pierce
On 12/1/2013 1:08 PM, Johnny Hughes wrote:
 On 12/01/2013 02:47 PM, John R Pierce wrote:
 On 12/1/2013 12:43 PM, Johnny Hughes wrote:
 Yes, fixed
 while we're at it, the announcement says its released, but the release
 notes are still talking about CR ?  which is it?
 You will have to guess:)




heh.  I see you took out the CR notice too :)



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR MESSAGE: dracut warning: no root device block:/dev/mapper/vg_ws194-lv_root found

2013-03-11 Thread Frank Cox
On Sun, 10 Mar 2013 23:57:30 -0600
Frank Cox wrote:

 dracut warning: no root device block:/dev/mapper/vg_ws194-lv_root found
 
 After that I get the kernel panic message and that's the end of the line.

Following the instructions here:

https://ask.fedoraproject.org/question/10041/how-to-repair-unbootable-fedora-install/

I did this:

mv /boot/initramfs-2.6.32-358.0.1.el6.i386.img 
/boot/initramfs-2.6.32-358.0.1.el6.i386-nouveau.img
dracut /boot/initramfs-2.6.32-358.0.1.el6.i386.img 2.6.32-358.0.1.el6.i386

Interestingly enough, the new initramfs that I got from this command is slightly
smaller than the one that I already had in /boot.

Sadly, this made no difference.   When I booted the machine, I still got the
same dracut warning and kernel panic.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ERROR MESSAGE: dracut warning: no root device block:/dev/mapper/vg_ws194-lv_root found

2013-03-11 Thread Lorenzo Quatrini
 mv /boot/initramfs-2.6.32-358.0.1.el6.i386.img 
 /boot/initramfs-2.6.32-358.0.1.el6.i386-nouveau.img
 dracut /boot/initramfs-2.6.32-358.0.1.el6.i386.img 2.6.32-358.0.1.el6.i386
 
 Interestingly enough, the new initramfs that I got from this command is 
 slightly
 smaller than the one that I already had in /boot.
 
 Sadly, this made no difference.   When I booted the machine, I still got the
 same dracut warning and kernel panic.
 

To me looks like the initramfs does not contain all the needed pieces to boot
the machine.

Try investigating the dracut options to include more modules or filesystem etc.
starting with --lvmconf and --mdadmconf
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ERROR MESSAGE: dracut warning: no root device block:/dev/mapper/vg_ws194-lv_root found

2013-03-10 Thread Frank Cox
On Sun, 10 Mar 2013 23:36:55 -0400
Yves Bellefeuille wrote:

 Also check that /etc/fstab is correct.

 I've finally figured out how to get an error message, but I have no idea of
how to fix it.

By removing rhgb and quiet from the grub commandline, I see a whole bunch
of write-up going by, then there is a several-second pause, and then this:

dracut warning: no root device block:/dev/mapper/vg_ws194-lv_root found

After that I get the kernel panic message and that's the end of the line.

By booting the machine from the rescue cd, I can
find /mnt/sysimage/dev/mapper/vg_ws194-lv_root, which is a symbolic link
to ../dm-0

/mnt/sysimage/dev/dm-0 exists.

lvscan tells me this:
ACTIVE '/dev/vg_ws194/lv_root' [50.00 GiB] inherit

lvdisplay shows a bunch of stats about  /dev/vg_ws194/lv_root that look normal
to me.

In summary, it looks very much like vg_ws194-lv_root is indeed present and
accounted for, but dracut didn't find it for some reason.



-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: headerRead failed: hdr blob

2013-02-14 Thread Anumeha Prasad
It's working fine now. There was some issue with the way I packaged the OS
updates rpms.

Thanks

On Mon, Feb 11, 2013 at 6:51 PM, Karanbir Singh kbsi...@centos.org wrote:

 On 02/11/2013 12:35 PM, Anumeha Prasad wrote:
  error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm: headerRead failed: hdr
  blob(48062): BAD, read returned 515
  error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm cannot be installed
 

 This could be a big problem potentially: rerun the samw command, but add
 a -d7 to yum's command line and put the results at
 http://pastebin.centos.org and post the url to that here to the list.

 - KB

 --
 Karanbir Singh, The CentOS Project
 +44-207-0999389 | http://www.centos.org/ | twitter.com/CentOS
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 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: headerRead failed: hdr blob

2013-02-11 Thread Anumeha Prasad
Hi,

I'm currently at CentOS 5.8 and am applying the latest OS updates available
for 5.8. I'm seeing following error:

error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm: headerRead failed: hdr
blob(48062): BAD, read returned 515
error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm cannot be installed

Similar error is seen for other rpms as well.
Any idea?

Thanks,
Anumeha
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error: headerRead failed: hdr blob

2013-02-11 Thread Karanbir Singh
On 02/11/2013 12:35 PM, Anumeha Prasad wrote:
 error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm: headerRead failed: hdr
 blob(48062): BAD, read returned 515
 error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm cannot be installed
 

This could be a big problem potentially: rerun the samw command, but add
a -d7 to yum's command line and put the results at
http://pastebin.centos.org and post the url to that here to the list.

- KB

-- 
Karanbir Singh, The CentOS Project
+44-207-0999389 | http://www.centos.org/ | twitter.com/CentOS
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] error during yum update 6.3

2013-02-01 Thread Steve Clark
Hello,

Anybody else running into this. I am seeing it on two different
CentOS boxes I have.

yum --disablerepo=* --enablerepo=base,updates update
...
--- Package abrt.i686 0:2.0.8-6.el6.centos will be updated
--- Package abrt.i686 0:2.0.8-6.el6.centos.2 will be an update
-- Processing Dependency: libreport = 2.0.9-5.el6_3.2 for package: 
abrt-2.0.8-6.el6.centos.2.i686
...
--- Package libreport.i686 0:2.0.9-5.el6.centos will be updated
--- Package libreport.i686 0:2.0.9-5.el6.centos.2 will be an update
...

Error: Package: abrt-2.0.8-6.el6.centos.2.i686 (updates)
Requires: libreport = 2.0.9-5.el6_3.2
Removing: libreport-2.0.9-5.el6.centos.i686 (@base)
libreport = 2.0.9-5.el6.centos
Updated By: libreport-2.0.9-5.el6.centos.2.i686 (updates)
libreport = 2.0.9-5.el6.centos.2

-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error during yum update 6.3

2013-02-01 Thread Phil Savoie
Yep, me too,

Yum remove abrt then carry on.  I imagine this will get fixed later.

Phil

On 02/01/2013 09:37 AM, Steve Clark wrote:
 Hello,

 Anybody else running into this. I am seeing it on two different
 CentOS boxes I have.

 yum --disablerepo=* --enablerepo=base,updates update
 ...
 ---  Package abrt.i686 0:2.0.8-6.el6.centos will be updated
 ---  Package abrt.i686 0:2.0.8-6.el6.centos.2 will be an update
 --  Processing Dependency: libreport= 2.0.9-5.el6_3.2 for package: 
 abrt-2.0.8-6.el6.centos.2.i686
 ...
 ---  Package libreport.i686 0:2.0.9-5.el6.centos will be updated
 ---  Package libreport.i686 0:2.0.9-5.el6.centos.2 will be an update
 ...

 Error: Package: abrt-2.0.8-6.el6.centos.2.i686 (updates)
  Requires: libreport= 2.0.9-5.el6_3.2
  Removing: libreport-2.0.9-5.el6.centos.i686 (@base)
  libreport = 2.0.9-5.el6.centos
  Updated By: libreport-2.0.9-5.el6.centos.2.i686 (updates)
  libreport = 2.0.9-5.el6.centos.2

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error during yum update 6.3

2013-02-01 Thread Akemi Yagi
On Fri, Feb 1, 2013 at 6:37 AM, Steve Clark scl...@netwolves.com wrote:
 Hello,

 Anybody else running into this. I am seeing it on two different
 CentOS boxes I have.

 yum --disablerepo=* --enablerepo=base,updates update
 ...
 --- Package abrt.i686 0:2.0.8-6.el6.centos will be updated
 --- Package abrt.i686 0:2.0.8-6.el6.centos.2 will be an update
 -- Processing Dependency: libreport = 2.0.9-5.el6_3.2 for package: 
 abrt-2.0.8-6.el6.centos.2.i686
 ...
 --- Package libreport.i686 0:2.0.9-5.el6.centos will be updated
 --- Package libreport.i686 0:2.0.9-5.el6.centos.2 will be an update
 ...

 Error: Package: abrt-2.0.8-6.el6.centos.2.i686 (updates)
 Requires: libreport = 2.0.9-5.el6_3.2
 Removing: libreport-2.0.9-5.el6.centos.i686 (@base)
 libreport = 2.0.9-5.el6.centos
 Updated By: libreport-2.0.9-5.el6.centos.2.i686 (updates)
 libreport = 2.0.9-5.el6.centos.2


Please follow this thread:

http://lists.centos.org/pipermail/centos/2013-February/131818.html

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error dovecot restart

2012-06-11 Thread Muhammad A. Fatahna
Dear all,

i have a problem when install dovecot on CentOS 5, below my configuration

[root@mail home]# vim /etc/dovecot-sql.conf
driver = mysql
connect = host = localhost dbname=postfix user=mail password=password
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u'

[root@mail home]# vim /etc/dovecot.conf
log_path = /var/log/dovecot.log
auth_username_format = %Lu

passdb sql {
args = /etc/dovecot-sql.conf
}

userdb static {
args = uid=501 gid=501 home=/home/vmail/%d/%n
}

[root@mail home]# service dovecot restart
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: Error: Can't write to log directory /var/log:
Permission denied
Fatal: Invalid configuration in /etc/dovecot.conf
   [FAILED]

i have try searching but i don't see step fix it,

-- 
http://mafatahna.web.id
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error dovecot restart

2012-06-11 Thread Muhammad A. Fatahna
 man touch
 man chmod
 man chown

file has ready, chmod use 755 and chown use vmail, this below :

[root@mail ~]# ls -la /etc/dovecot*
-rwxr-xr-x 1 vmail vmail 42989 Jun 11 17:08 /etc/dovecot.conf
-rwxr-xr-x 1 vmail vmail   181 Jun 11 15:27 /etc/dovecot-sql.conf
[root@mail ~]#

[root@mail ~]# ls -la /var/log/dovecot.log
-rwxr-xr-x 1 vmail vmail 1180 Jun 11 16:42 /var/log/dovecot.log
[root@mail ~]#

there is something wrong on my configuration

-- 
http://mafatahna.web.id
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error dovecot restart

2012-06-11 Thread Helmut Drodofsky
I think there are not enough write permissions.

I have build a directory:
/var/log/dovecot
with user and group permissions for the dovecot user: drwxr-xr-x

and the log file:
/var/log/dovecot/dovecot.log
with user and group permissions for the dovecot user: -rw-r--r--

Viele Grüße
Helmut Drodofsky

Internet XS Service GmbH
Heßbrühlstraße 15
70565 Stuttgart

Geschäftsführung
Dr.-Ing. Roswitha Hahn-Drodofsky
HRB 21091 Stuttgart
USt.ID: DE190582774
Tel. 0711 781941 0
Fax: 0711 781941 79
Mail: i...@internet-xs.de
www.internet-xs.de



Am 11.06.2012 12:25, schrieb Muhammad A. Fatahna:
 man touch
 man chmod
 man chown
 file has ready, chmod use 755 and chown use vmail, this below :

 [root@mail ~]# ls -la /etc/dovecot*
 -rwxr-xr-x 1 vmail vmail 42989 Jun 11 17:08 /etc/dovecot.conf
 -rwxr-xr-x 1 vmail vmail   181 Jun 11 15:27 /etc/dovecot-sql.conf
 [root@mail ~]#

 [root@mail ~]# ls -la /var/log/dovecot.log
 -rwxr-xr-x 1 vmail vmail 1180 Jun 11 16:42 /var/log/dovecot.log
 [root@mail ~]#

 there is something wrong on my configuration


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error dovecot restart

2012-06-11 Thread Shiv. Nath
On 6/11/12 10:05 AM, Muhammad A. Fatahna wrote:
 Dear all,

 i have a problem when install dovecot on CentOS 5, below my configuration

 [root@mail home]# vim /etc/dovecot-sql.conf
 driver = mysql
 connect = host = localhost dbname=postfix user=mail password=password
 default_pass_scheme = PLAIN
 password_query = SELECT password FROM mailbox WHERE username = '%u'

 [root@mail home]# vim /etc/dovecot.conf
 log_path = /var/log/dovecot.log
 auth_username_format = %Lu

 passdb sql {
 args = /etc/dovecot-sql.conf
 }

 userdb static {
 args = uid=501 gid=501 home=/home/vmail/%d/%n
 }

 [root@mail home]# service dovecot restart
 Stopping Dovecot Imap: [FAILED]
 Starting Dovecot Imap: Error: Can't write to log directory /var/log:
 Permission denied
 Fatal: Invalid configuration in /etc/dovecot.conf
 [FAILED]

 i have try searching but i don't see step fix it,

Hi, it seems that you want to read user  pass info from the MySQL DBMS.
Problem 1 seems to be permission issue, since it cannot write.
Problem 2 is misconfiguration related mysql with dovecot. SEE RED TEXT
because it is working, i have the following in /etc/dovecot.conf and 
/etc/dovecot-sql.conf, that concern to authentication. Either you have 
not provided the full information or cross check your configuration. 
configuration is missing that i feel.


* /etc/dovecot.conf*
 passdb sql {
  args = etc/dovecot-sql.conf
}

 userdb sql {
  args = /etc/dovecot-sql.conf
 }

*## Authentication processes*

auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth default {
mechanisms = plain login

passdb sql {
 args = /usr/local/etc/dovecot-sql.conf
   }

userdb sql {
 args = /usr/local/etc/dovecot-sql.conf
}
*

 /etc/dovecot-sql.conf*

driver = mysql
connect = host=localhost dbname=postfix user=postfix password=your_pass_word
default_pass_scheme = MD5
password_query = SELECT password FROM mailbox WHERE username = '%u'
*user_query *= SELECT maildir, 125 AS uid, 125 AS gid, 
CONCAT('*:messages=1:bytes=', quota) AS quota_rule FROM mailbox 
WHERE username = '%u' AND active = '1'




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error dovecot restart

2012-06-11 Thread Muhammad A. Fatahna
thank you very much for information, i wil check again. If have
problem i will ask again :D

-- 
http://mafatahna.web.id
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error in Squirrelmail

2012-05-22 Thread Edson - PMSS
Yesterday I upgrade my CentOS e-mail server and I changed the version of 
Squirrelmail and PHP. Now, after the changes, I can't send e-mail by 
squirrelmail. I can send only by e-mail clients like Thunderbird and 
Outlook in the network.

I did a backup of the old configuration and data files and I replaced it 
on the new configuration, but nothing happen. I need someone's help. 
Thank you.

Edson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in Squirrelmail

2012-05-22 Thread Prabhpal -Mailing-List


On 5/22/12 2:33 PM, Edson - PMSS wrote:
 Yesterday I upgrade my CentOS e-mail server and I changed the version of
 Squirrelmail and PHP. Now, after the changes, I can't send e-mail by
 squirrelmail. I can send only by e-mail clients like Thunderbird and
 Outlook in the network.

 I did a backup of the old configuration and data files and I replaced it
 on the new configuration, but nothing happen. I need someone's help.
 Thank you.

Hi,

once you have no problem in mail server (can send and receive by email 
client)  i am sure you need to run the pl script to reconfigure it 
again. if you have updated the squirrel package, i had this experience 
in past.
#cd /usr/share/squirrelmail/config/
#./conf.pl

Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in Squirrelmail

2012-05-22 Thread Edson - PMSS
Thanks by your answer. I didn't saw the config file. It changed by the 
update.


Thanks

Edson

Em 22/05/2012 11:50, Prabhpal -Mailing-List escreveu:

 On 5/22/12 2:33 PM, Edson - PMSS wrote:
 Yesterday I upgrade my CentOS e-mail server and I changed the version of
 Squirrelmail and PHP. Now, after the changes, I can't send e-mail by
 squirrelmail. I can send only by e-mail clients like Thunderbird and
 Outlook in the network.

 I did a backup of the old configuration and data files and I replaced it
 on the new configuration, but nothing happen. I need someone's help.
 Thank you.

 Hi,

 once you have no problem in mail server (can send and receive by email
 client)  i am sure you need to run the pl script to reconfigure it
 again. if you have updated the squirrel package, i had this experience
 in past.
 #cd /usr/share/squirrelmail/config/
 #./conf.pl

 Thanks
 ___
 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 connecting to KVM on CentOS 6.2

2012-05-12 Thread Earl Ramirez
Hello List Mates,

I don't know if here is the right place for this question if it's not I
will appreciate it if you can point me to the right mailing list.

I have successfully installed KVM on my x86_64 laptop, however I am getting
the following error when I try to connect QEMU from the Virtual Machine
Manager

Error polling connection 'qemu:///system': internal error Cannot find
suitable emulator for x86_64

Traceback (most recent call last):
  File /usr/share/virt-manager/virtManager/engine.py, line 440, in _tick
conn.tick()
  File /usr/share/virt-manager/virtManager/connection.py, line 1414, in
tick
newNets, self.nets) = self._update_nets()
  File /usr/share/virt-manager/virtManager/connection.py, line 1277, in
_update_nets
lookup_func, build_class)
  File /usr/share/virt-manager/virtManager/connection.py, line 1209, in
_poll_helper
if not check_support():
  File /usr/share/virt-manager/virtManager/connection.py, line 501, in
is_network_capable
virtinst.support.SUPPORT_CONN_NETWORK)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line 574, in
check_conn_support
return _check_support(conn, feature, conn)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line 443, in
_check_support
actual_drv_ver = _hv_ver(conn, uri)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line 376, in
_hv_ver
ret = cmd(*args)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 2823, in
getVersion
if ret == -1: raise libvirtError ('virConnectGetVersion() failed',
conn=self)
libvirtError: internal error Cannot find suitable emulator for x86_64

I using CentOS 6.2

[user1@trining ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)

Below are the processor that I am using, however I do not see any svm or
vmx flags and there is no option to change anything in the BIOS for the
processor. Does this mean I need to replace my current laptop to get KVM to
work?

[user1@training ~]$ cat /proc/cpuinfo
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 23
model name: Intel(R) Core(TM)2 Duo CPU T6400  @ 2.00GHz
stepping: 10
cpu MHz: 1200.000
cache size: 2048 KB
physical id: 0
siblings: 2
core id: 0
cpu cores: 2
apicid: 0
initial apicid: 0
fpu: yes
fpu_exception: yes
cpuid level: 13
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts
bogomips: 3990.12
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

processor: 1
vendor_id: GenuineIntel
cpu family: 6
model: 23
model name: Intel(R) Core(TM)2 Duo CPU T6400  @ 2.00GHz
stepping: 10
cpu MHz: 1200.000
cache size: 2048 KB
physical id: 0
siblings: 2
core id: 1
cpu cores: 2
apicid: 1
initial apicid: 1
fpu: yes
fpu_exception: yes
cpuid level: 13
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dts
bogomips: 3990.11
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

I am running the x86-64 version of CentOS 6.2 with the latest updates

[user1@training ~]$ uname -a
Linux training 2.6.32-220.13.1.el6.x86_64 $1 SMP Tue Apr 17 23:56:34 BST
2012 x86_64 x86_64 x86_64 GNU/Linux

All the required packages have been installed

[user1@training ~]$ rpm -qa | grep kvm
qemu-kvm-0.12.1.2-2.209.el6_2.4.x86_64
qemu-kvm-tools-0.12.1.2-2.209.el6_2.4.x86_64
[user1@training ~]$ rpm -qa | grep virt
virt-v2v-0.8.3-5.el6.x86_64
libvirt-client-0.9.4-23.el6_2.8.x86_64
libvirt-0.9.4-23.el6_2.8.x86_64
virt-who-0.3-3.el6.noarch
virt-manager-0.9.0-7.el6.x86_64
python-virtinst-0.600.0-5.el6.noarch
libvirt-snmp-0.0.2-3.el6.x86_64
virt-viewer-0.4.1-7.el6.x86_64
virt-top-1.0.4-3.11.el6.x86_64
virt-what-1.11-1.1.el6.x86_64
libvirt-python-0.9.4-23.el6_2.8.x86_64
libvirt-java-0.4.7-1.el6.noarch
libvirt-cim-0.5.14-2.el6.x86_64
libvirt-qmf-0.3.0-7.el6_2.x86_64

None of the modules are installed, which I believe is related to the svm
and vmx missing from the processor flags

[user1@training ~]$ lsmod | grep kvm

[user1@training ~]$ modprobe kvm

[user1@training ~]$ lsmod | grep kvm
kvm   305988  0
[user1@training ~]$

I have been googling all night everything that I have tried did not
resolved.

Any thoughts?

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org

Re: [CentOS] Error connecting to KVM on CentOS 6.2

2012-05-12 Thread Alexander Dalloz
Am 12.05.2012 10:24, schrieb Earl Ramirez:

 Below are the processor that I am using, however I do not see any svm or
 vmx flags and there is no option to change anything in the BIOS for the
 processor. Does this mean I need to replace my current laptop to get KVM to
 work?

Yes, KVM requires virtualization support by the CPU as it does only full
virtualization, no paravirtualization (not to be confused with
paravirtualized driver support through virtio).

Regards

Alexander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error connecting to KVM on CentOS 6.2

2012-05-12 Thread Nux!
On 12.05.2012 09:24, Earl Ramirez wrote:
 Hello List Mates,

 I don't know if here is the right place for this question if it's not 
 I
 will appreciate it if you can point me to the right mailing list.

 I have successfully installed KVM on my x86_64 laptop, however I am 
 getting
 the following error when I try to connect QEMU from the Virtual 
 Machine
 Manager

 Error polling connection 'qemu:///system': internal error Cannot find
 suitable emulator for x86_64

Your CPU is not VT-x capable (you should see vmx flag in 
/proc/cpuinfo if it is).
http://ark.intel.com/products/40479/Intel-Core2-Duo-Processor-T6400-%282M-Cache-2_00-GHz-800-MHz-FSB%29

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error connecting to KVM on CentOS 6.2

2012-05-12 Thread Johnny Hughes
On 05/12/2012 07:50 AM, Nux! wrote:
 On 12.05.2012 09:24, Earl Ramirez wrote:
 Hello List Mates,

 I don't know if here is the right place for this question if it's not 
 I
 will appreciate it if you can point me to the right mailing list.

 I have successfully installed KVM on my x86_64 laptop, however I am 
 getting
 the following error when I try to connect QEMU from the Virtual 
 Machine
 Manager

 Error polling connection 'qemu:///system': internal error Cannot find
 suitable emulator for x86_64
 Your CPU is not VT-x capable (you should see vmx flag in 
 /proc/cpuinfo if it is).
 http://ark.intel.com/products/40479/Intel-Core2-Duo-Processor-T6400-%282M-Cache-2_00-GHz-800-MHz-FSB%29


Sometimes the CPU is compatible (ie, has a vmx or svm flag), but the
Virtualization must be turned on in the computer's BIOS.

http://www.sysprobs.com/disable-enable-virtualization-technology-bios

(Different machines have it in different places in the menu, this is
just an example)



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error connecting to KVM on CentOS 6.2

2012-05-12 Thread Earl Ramirez
On 12 May 2012 09:35, Johnny Hughes joh...@centos.org wrote:

 On 05/12/2012 07:50 AM, Nux! wrote:
  On 12.05.2012 09:24, Earl Ramirez wrote:
  Hello List Mates,
 
  I don't know if here is the right place for this question if it's not
  I
  will appreciate it if you can point me to the right mailing list.
 
  I have successfully installed KVM on my x86_64 laptop, however I am
  getting
  the following error when I try to connect QEMU from the Virtual
  Machine
  Manager
 
  Error polling connection 'qemu:///system': internal error Cannot find
  suitable emulator for x86_64
  Your CPU is not VT-x capable (you should see vmx flag in
  /proc/cpuinfo if it is).
 
 http://ark.intel.com/products/40479/Intel-Core2-Duo-Processor-T6400-%282M-Cache-2_00-GHz-800-MHz-FSB%29
 

 Sometimes the CPU is compatible (ie, has a vmx or svm flag), but the
 Virtualization must be turned on in the computer's BIOS.

 http://www.sysprobs.com/disable-enable-virtualization-technology-bios

 (Different machines have it in different places in the menu, this is
 just an example)


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Thanks Guys,

The processor does not support VT-x technology, I have purchased a new
laptop that support such technology as I am about to embark on the journey
to RHCSA.

Thanks again all

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error 24 attempt to access block outside of partition SOLVED

2012-04-30 Thread Leonard den Ottolander
Hello Phil,

On Sun, 2012-04-29 at 06:23 -0400, Phil Savoie wrote:
 This morning I manually removed the new kernel and updated it again and
 it works.  Weird!!  But thank you for taking the time to respond.

Was about to point you to
https://bugzilla.redhat.com/show_bug.cgi?id=645216 which suggests the
same workaround.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error 24 attempt to access block outside of partition SOLVED

2012-04-29 Thread Phil Savoie


On 04/29/2012 12:00 AM, Yves Bellefeuille wrote:
 On Saturday 28 April 2012, Phil Savoie psavoie1...@rogers.com wrote:
 
 default=1
 
 Remember that Grub starts counting with 0, not with 1. The default is 
 the second stanza, not the first.
 
  kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro
 root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS
 KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet
 SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0
 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
 
 Does the file /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 exist? Is the 
 fiilesystem UUID really b9245ece-994f-44c8-9831-ec24cf865b6e (check with 
 tune2fs -l /dev/sda1)?
 
 title CentOS (2.6.32-220.el6.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro
 root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS
 KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet
 SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0
 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
 initrd /boot/initramfs-2.6.32-220.el6.x86_64.img
 
 This is the default. Does the file /boot/vmlinuz-2.6.32-220.el6.x86_64 
 still exist?
 
Yes it does.
This morning I manually removed the new kernel and updated it again and
it works.  Weird!!  But thank you for taking the time to respond.

Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] error 24 attempt to access block outside of partition

2012-04-28 Thread Phil Savoie
Hi All,

After updating to the latest kernel, I get subject error at grub.  I 
have no idea as to how to fix this.  Booting of the previous kernel is 
fine.  Could someone please help sort this out?  Thank you in advance!!

Phil

Relative info:

grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /, eg.
#  root (hd0,0)
#  kernel /boot/vmlinuz-version ro root=/dev/sdb1
#  initrd /boot/initrd-[generic-]version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.13.1.el6.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro 
root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS 
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet 
SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 
rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
 initrd /boot/initramfs-2.6.32-220.13.1.el6.x86_64.img

title CentOS (2.6.32-220.el6.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro 
root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS 
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet 
SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 
rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
 initrd /boot/initramfs-2.6.32-220.el6.x86_64.img

Output of fdisk -cul:
[root@cc ~]# fdisk -cul

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00042630

Device Boot  Start End  Blocks   Id  System
/dev/sda1   *2048  2921889791  1460943872   83  Linux
/dev/sda2  2921889792  2930276351 4193280   82  Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util 
fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xb77be37a

Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *2048  206847  1024007  HPFS/NTFS
/dev/sdb2  206848  1953521663   9766574087  HPFS/NTFS
[root@cc ~]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error 24 attempt to access block outside of partition

2012-04-28 Thread Yves Bellefeuille
On Saturday 28 April 2012, Phil Savoie psavoie1...@rogers.com wrote:

 default=1

Remember that Grub starts counting with 0, not with 1. The default is 
the second stanza, not the first.

  kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro
 root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS
 KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet
 SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0
 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau

Does the file /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 exist? Is the 
fiilesystem UUID really b9245ece-994f-44c8-9831-ec24cf865b6e (check with 
tune2fs -l /dev/sda1)?

title CentOS (2.6.32-220.el6.x86_64)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro
root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet
SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0
rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
 initrd /boot/initramfs-2.6.32-220.el6.x86_64.img

This is the default. Does the file /boot/vmlinuz-2.6.32-220.el6.x86_64 
still exist?

-- 
Yves Bellefeuille y...@storm.ca
La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se
ili konscias pri sia eraro. -- Heroldo Komunikas, n-ro 473.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error occurred when compiling Vim 7.3 with --enable-perlinterp specified.

2012-01-17 Thread Lenin
Thanks, I found the package perl-ExtUtils-Embed caused this problem.

An Yang an.eurof...@gmail.com 於 2012年1月17日下午3:55 寫道:

 At 2012-01-17 Tue 15:42 +0800,Lenin wrote:

  Has anyone compiled Vim 7.3 on CentOS 6.2 64bit ?
 
  I got the following error after *configure --enable-perlinterp  make*:
 
  ./vim.h:2153:21: error: EXTERN.h: No such file or directory
  ./vim.h:2154:19: error: perl.h: No such file or directory
  ./vim.h:2155:19: error: XSUB.h: No such file or directory
 
  I've installed perl and perl-devel, but with no luck.
 
  Any ideas ?

 Please check build depends of
 http://vault.centos.org/6.2/os/Source/SPackages/vim-7.2.411-1.6.el6.src.rpmor
 http://kojipkgs.fedoraproject.org/packages/vim/7.3.393/1.fc17/src/vim-7.3.393-1.fc17.src.rpm


 
  Thanks.
  ___
  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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error occurred when compiling Vim 7.3 with --enable-perlinterp specified.

2012-01-16 Thread Lenin
Has anyone compiled Vim 7.3 on CentOS 6.2 64bit ?

I got the following error after *configure --enable-perlinterp  make*:

./vim.h:2153:21: error: EXTERN.h: No such file or directory
./vim.h:2154:19: error: perl.h: No such file or directory
./vim.h:2155:19: error: XSUB.h: No such file or directory

I've installed perl and perl-devel, but with no luck.

Any ideas ?

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error occurred when compiling Vim 7.3 with --enable-perlinterp specified.

2012-01-16 Thread An Yang
At 2012-01-17 Tue 15:42 +0800,Lenin wrote: 

 Has anyone compiled Vim 7.3 on CentOS 6.2 64bit ?
 
 I got the following error after *configure --enable-perlinterp  make*:
 
 ./vim.h:2153:21: error: EXTERN.h: No such file or directory
 ./vim.h:2154:19: error: perl.h: No such file or directory
 ./vim.h:2155:19: error: XSUB.h: No such file or directory
 
 I've installed perl and perl-devel, but with no luck.
 
 Any ideas ?

Please check build depends of
http://vault.centos.org/6.2/os/Source/SPackages/vim-7.2.411-1.6.el6.src.rpm or 
http://kojipkgs.fedoraproject.org/packages/vim/7.3.393/1.fc17/src/vim-7.3.393-1.fc17.src.rpm


 
 Thanks.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




signature.asc
Description: 这是信件的数字签名部分
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Postfix - Mysql Support

2011-09-30 Thread John Doe
From: Silvio Tadeu silvio.in...@hotmail.com

 root@server [/tmp]# ldconfig -p | grep libmysqlclient.so.15
         libmysqlclient.so.15 (libc6,x86-64) = /usr/lib/libmysqlclient.so.15
         libmysqlclient.so.15 (libc6,x86-64) = 
 /usr/lib64/libmysqlclient.so.15

How come an x86_64 lib appears in your /lib/ ?
  $ /sbin/ldconfig -p | grep libmysqlclient.so.15
  libmysqlclient.so.15 (libc6,x86-64) = /usr/lib64/mysql/libmysqlclient.so.15
  libmysqlclient.so.15 (libc6) = /usr/lib/mysql/libmysqlclient.so.15
 $ rpm -ql mysql.i386 | grep libmysqlclient.so.15
  /usr/lib/mysql/libmysqlclient.so.15
  /usr/lib/mysql/libmysqlclient.so.15.0.0
  $ rpm -ql mysql.x86_64 | grep libmysqlclient.so.15
  /usr/lib64/mysql/libmysqlclient.so.15
  /usr/lib64/mysql/libmysqlclient.so.15.0.0

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error installing Postfix - Mysql Support

2011-09-29 Thread Silvio Tadeu

Hello:

 Does anyone have any idea how resolve this error on my server to install 
postfix with mysql support? Dedicated Server with CentOS 5.7 64 Bit.

 I get this dependency information when trying to use the command yum-y install 
postfix

 Error: Missing Dependency: libmysqlclient.so.15()(64bit) is needed by package 
2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64 (centosplus)
Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) is 
needed by package 2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64 (centosplus)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
At the command below:
root@server [/tmp]# ldconfig -p | grep libmysqlclient.so.15
libmysqlclient.so.15 (libc6,x86-64) = /usr/lib/libmysqlclient.so.15
libmysqlclient.so.15 (libc6,x86-64) = /usr/lib64/libmysqlclient.so.15

 I appreciate any information.

 Thanks   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error installing Postfix - Mysql Support

2011-09-29 Thread Michael Crilly
Have you tried removing the currently installed libmysql and the trying to
install postfix? Perhaps yum can then see the missing dependency (because
you removed it) and resolve it sanely?

On 29 September 2011 23:05, Silvio Tadeu silvio.in...@hotmail.com wrote:


 Hello:

  Does anyone have any idea how resolve this error on my server to install
 postfix with mysql support? Dedicated Server with CentOS 5.7 64 Bit.

  I get this dependency information when trying to use the command yum-y
 install postfix

  Error: Missing Dependency: libmysqlclient.so.15()(64bit) is needed by
 package 2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64 (centosplus)
 Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit)
 is needed by package 2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64
 (centosplus)
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
 At the command below:
 root@server [/tmp]# ldconfig -p | grep libmysqlclient.so.15
libmysqlclient.so.15 (libc6,x86-64) = /usr/lib/libmysqlclient.so.15
libmysqlclient.so.15 (libc6,x86-64) =
 /usr/lib64/libmysqlclient.so.15

  I appreciate any information.

  Thanks
 ___
 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


Re: [CentOS] Error installing Postfix - Mysql Support

2011-09-29 Thread Silvio Tadeu

Hi Michael:

Excuse me for sure now, but you can remove the libmysql, without removing the 
MySQL?

 Date: Thu, 29 Sep 2011 23:34:08 +0100
 From: mrcri...@gmail.com
 To: centos@centos.org
 Subject: Re: [CentOS] Error installing Postfix - Mysql Support
 
 Have you tried removing the currently installed libmysql and the trying to
 install postfix? Perhaps yum can then see the missing dependency (because
 you removed it) and resolve it sanely?
 
 On 29 September 2011 23:05, Silvio Tadeu silvio.in...@hotmail.com wrote:
 
 
  Hello:
 
   Does anyone have any idea how resolve this error on my server to install
  postfix with mysql support? Dedicated Server with CentOS 5.7 64 Bit.
 
   I get this dependency information when trying to use the command yum-y
  install postfix
 
   Error: Missing Dependency: libmysqlclient.so.15()(64bit) is needed by
  package 2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64 (centosplus)
  Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit)
  is needed by package 2:postfix-2.3.3-2.3.centos.mysql_pgsql.x86_64
  (centosplus)
   You could try using --skip-broken to work around the problem
   You could try running: package-cleanup --problems
 package-cleanup --dupes
 rpm -Va --nofiles --nodigest
  At the command below:
  root@server [/tmp]# ldconfig -p | grep libmysqlclient.so.15
 libmysqlclient.so.15 (libc6,x86-64) = /usr/lib/libmysqlclient.so.15
 libmysqlclient.so.15 (libc6,x86-64) =
  /usr/lib64/libmysqlclient.so.15
 
   I appreciate any information.
 
   Thanks
  ___
  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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in updating to 5.7

2011-09-15 Thread Alain Péan
Le 14/09/2011 22:07, Karanbir Singh a écrit :
 Hi Alain,


 Do you have something interesting setup for caching, timeouts etc in yum
 ? or, are you perhaps behind a proxy that still served up an old ( stale
 ? ) repomd.xml for the same url ?

Hi Karanbir,

I don't have anything special in my setup I can think of, that would 
enable caching or timeouts... I am not behind a proxy, I have direct 
access to the Internet, so nothing cached on a proxy.
I only enabled EPEL and Dell Open Manage repository, but I think it is 
fairly common.

So the only thing I can imagine is a stale repond.xml on the mirror, 
distrib-coffee.ipsl.jussieu.fr... Notice that I am on the jussieu 
university network, so on the same LAN than the mirror (even if there 
are VLANs...).

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error in updating to 5.7

2011-09-14 Thread Alain Péan
Hi all,

I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR 
repository. I just tried to update to 5.7, and had this error :
# yum update

http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from cr: [Errno 256] No 
more mirrors to try.
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
 package-cleanup --dupes
 rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

My repolist is this one :
# yum repolist
Loaded plugins: dellsysid, fastestmirror, refresh-updatesd
Loading mirror speeds from cached hostfile
  * addons: distrib-coffee.ipsl.jussieu.fr
  * base: distrib-coffee.ipsl.jussieu.fr
  * epel: fr2.rpmfind.net
  * extras: centos.crazyfrogs.org
  * updates: centos.crazyfrogs.org
repo id   repo 
name status
addonsCentOS-5 - 
Addons enabled:0
base  CentOS-5 - 
Base   enabled: 3535
crCentOS-5 - 
CR enabled:  573
dell-omsa-indep   Dell OMSA repository - Hardware 
independent   enabled:  719
dell-omsa-specificDell OMSA repository - Hardware 
specific  enabled:2
epel  Extra Packages for Enterprise 
Linux 5 - x86_64enabled: 6700
extrasCentOS-5 - 
Extras enabled:  233
updates   CentOS-5 - 
Updatesenabled:  150
repolist: 11912

Other information :
# cat /etc/redhat-release
CentOS release 5.6 (Final)
# uname -a
Linux xxx 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 
x86_64 x86_64 GNU/Linux

Does anybody has an idea why I have this error ?

Thanks for the help.

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 13:14 +0200, Alain Péan wrote:

 I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR 
 repository. I just tried to update to 5.7, and had this error :
 # yum update
 
 http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2: 
 [Errno 14] HTTP Error 404: Not Found


I do not know the answer. However please try

yum clean all

then try

yum update

Regards,

Paul,
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Alain Péan
Le 14/09/2011 13:22, Always Learning a écrit :
 On Wed, 2011-09-14 at 13:14 +0200, Alain Péan wrote:

 I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR
 repository. I just tried to update to 5.7, and had this error :
 # yum update
 
 http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2:
 [Errno 14] HTTP Error 404: Not Found

 I do not know the answer. However please try

   yum clean all

 then try

   yum update

 Regards,

 Paul,
 England,
 EU.


Hi Paul,

Indeed, yum clean all fixed the error. Yum update completed without error.

   xulrunner.x86_64 0:1.9.2.22-1.el5_7  yum.noarch 
0:3.2.22-37.el5.centos
   zlib.i386 0:1.2.3-4.el5  zlib.x86_64 
0:1.2.3-4.el5
   zlib-devel.i386 0:1.2.3-4.el5
zlib-devel.x86_64 0:1.2.3-4.el5

Complete!

# cat /etc/redhat-release
CentOS release 5.7 (Final)

I must say I wondered how the yum update will deal with the CR updates, 
and if the error was related to this, but it seems that everything is OK 
now.

Thanks.

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Karanbir Singh
Hi Alain,

On 09/14/2011 02:23 PM, Alain Péan wrote:
 I must say I wondered how the yum update will deal with the CR updates, 
 and if the error was related to this, but it seems that everything is OK 
 now.

unfortunately, you hit an issue that I did not think anyone would see (
but was aware of... ). The issue originates from the fact that the new
CR repo has no sqlite metadata store, its xml only. And your machine was
trying to get the sqlite files - hitting a valid 404, since those files
do not exist.

The actual issue is that rather than yum seeing a new repomd.xml in the
repodata/ dir, downloading that and knowing that there is no sqlite db
available, it retained the repomd.xml you already had ( from the prev
5.6/cr repo ). So I dont think the issue really is that you hit a 404,
but why was yum looking for a repo metadata file that does not exist,
the new repomd.xml clearly states that those files do not exist.

Do you have something interesting setup for caching, timeouts etc in yum
? or, are you perhaps behind a proxy that still served up an old ( stale
? ) repomd.xml for the same url ?

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Nick
I also encountered a similar problem.

yum clean all did not resolve it, but *not* installing the CR prior to the
update repo did.

I think the problem is that my update script was still installing
centos-release-cr-5.6 (the URL was hardwired, as I couldn't think of a simple
way to get the correct one).  The script also installs the CR repo prior to the
update and uninstalls it afterwards, since I wasn't sure if the CR repo would
continue to exist when 5.7 was released (the CR wiki page [1] says The
repository will go-away once the packages are released via the regular 
process).

However, it seems that the CR repo is still there, and a centos-release-5.7
upgrade is available through it.

Is it safe/advisable to leave the CR repo installed in-perpetuity?  Or do I need
to remove it after using it, if I want to prevent potential yum-upgrade errors
if it does go away?

N

1. http://wiki.centos.org/AdditionalResources/Repositories/CR
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   >