- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hpsmh broken with Debian 7 (wheezy) - segmenta...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2013 03:03 PM
08-03-2013 03:03 PM
hpsmh broken with Debian 7 (wheezy) - segmentation fault
Dear Staff,
with the upgrade to Debian 7 wheezy the system management homepage 'hpsmhd' service does not work anymore.
syslog says:
kernel: [1119919.555047] hpsmhd[28207]: segfault at 7f1e00000000 ip 00007f1e58380fa0 sp 00007fffb2704218 error 4 in libc-2.13.so[7f1e5826e000+180000]
Will there be a fix for this issue?
Kind Regards
Jens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2013 02:23 PM
08-13-2013 02:23 PM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
Have the same issue. Will Debian 7 be supported?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2013 06:53 AM
08-15-2013 06:53 AM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
Same problem with SLES 11 SP3.
In the strace output I saw this error happens during xml parsing so I removed /opt/hp/hpsmh/lib/libxml2.la and /opt/hp/hpsmh/lib/libxml2.so.2.7.8. This forced the SMH to use the OS supplied version of libxml2.
SMH is running now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2013 02:28 PM
08-15-2013 02:28 PM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
No luck here, still does not work.
with (seems incompatible) libxml2 hpsmhd runs, but does not parse xml correctly - thus returning garbled output, if any.
hpsmh uses libxml2.so.2.7.2 - which in Debian requires the libc6 version of 'squeeze'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2013 08:21 AM
08-16-2013 08:21 AM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
Hello JKworks,
I have the same problem as yours,
SegFault installing hpsmh, I tried several releases :
hpsmh_6.0.0-97_amd64.deb
hpsmh_7.1.2-3.2-4._amd64.deb
hpsmh-7.2.1-2.x86_64.rpm convert with alien in hpsmh_7.2.1-3_amd64.deb
Nothing.... always Segmentation fault, no service, no install...
Anything news ,
Pierre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2013 02:44 AM
09-02-2013 02:44 AM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
Same problem here - trying to install on a Proxmox V3.1 server and I get the same.
When is this going to get resolved ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2013 10:01 AM
09-11-2013 10:01 AM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
Bump - Any update on this from HP?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2013 11:17 AM - edited 10-21-2013 11:34 AM
10-21-2013 11:17 AM - edited 10-21-2013 11:34 AM
Re: hpsmh broken with Debian 7 (wheezy) - segmentation fault
As DanielKern states there is an xml segmentation fault parsing xml configuration (/opt/hp/hpsmh/conf/smhpd.xml):
It happens to me on Debian 6.0.7 Squeeze:
root@localhost:~# cat /etc/debian_version
6.0.7
root@localhost:~# uname -a
Linux localhost 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
When you try to start hpsmhd (apache modified version) daemon with log level "debug" (http://httpd.apache.org/docs/2.2/mod/core.html#loglevel):
strace /opt/hp/hpsmh/sbin/hpsmhd -DSSL -e debug -E /tmp/log.txt -f /opt/hp/hpsmh/conf/smhpd.conf
The /tmp/log.txt shows no errors, but the strace command output is:
stat("/opt/hp/hpsmh/conf/smhpd.xml", {st_mode=S_IFREG|0644, st_size=973, ...}) = 0
open("/opt/hp/hpsmh/conf/smhpd.xml", O_RDONLY) = 7
lseek(7, 0, SEEK_CUR) = 0
read(7, "<?xml version=\"1.0\" encoding=\"UT"..., 8192) = 973
read(7, "", 7219) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
If run the server again with strace, the error message "Configuration failed" appears, explained briefly here:
So, first I cleaned all dirty shared memory segments this segmentation fault generates:
ipcs -s | grep hpsmh | awk '{print $2;}' | while read -r line; do ipcrm sem "$line"; done
Then, force hpsmhd to use operating system libraries instead of using it own libraries (mv or rm) as recommended by DanielKern:
root@localhost:/opt/hp/hpsmh/lib# mv libxml2.* /root
And finally:
/etc/init.d/hpsmhd start
root@localhost:/opt/hp/hpsmh/lib# ps -edf | grep hp
root 9566 1 1 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
root 9567 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/bin/rotatelogs /var/spool/opt/hp/hpsmh/logs/error_log 5M
root 9568 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/bin/rotatelogs /var/spool/opt/hp/hpsmh/logs/access_log 5M
hpsmh 9569 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
hpsmh 9570 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
hpsmh 9571 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
hpsmh 9572 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
hpsmh 9573 9566 0 13:01 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
"You don't know where your shadow will fall",
Somebody.-
----------------------------------------------------------------
Olaf Reitmaier Veracierta
----------------------------------------------------------------
http://www.olafrv.com
----------------------------------------------------------------