Adaptec management software install

PatchDog

New Member
Apr 26, 2010
21
0
1
I have an Adaptec raid controller in a Proxmox 1.5 install running fine. I am trying to install the ASM to monitor the raid. When I go to convert the .RPM to .DEB with alien I get this error.

Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
xargs -0 -r -i cp -a {} debian/storman
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: failure: couldn't find library libstdc++-libc6.2-2.so.3 needed by debian/storman/usr/StorMan/libSTORUTIL.so (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: [binary-arch] Error 1 (ignored)
dh_gencontrol
dpkg-gencontrol: error: current host architecture 'amd64' does not appear in package's architecture list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: `StorMan-4.00': No such file or directory


I am following per these instructions. http://pve.proxmox.com/wiki/Adaptec_Storage_Manager

This is a x64 download of the ASM.

Any knowledge is good. Thanks in advance.
 
I don't recall that error but then I used a slightly different method. I did this (as mentioned in this thread http://forum.proxmox.com/threads/3699-Hardware-Success-Story):

alien --to-deb [StorageManager.rpm] which produces a storman[version_amd64].deb

Install with dpkg -i storman[version_amd64].deb

Installs to /usr/StorMan

chmod 755 /usr/StorMan/arcconf

Create /etc/ld.so.conf.d/adaptec.conf with /usr/StorMan in it and run ldconfig

At first I was just going to run "arcconf getconfig 1" but I later decided that I wanted to run the stor_agent so IIRC I:

- untarred the sun-jre150linux32.tgz directory in /usr/StorMan
- cp /usr/StorMan/stor_agent to /etc/init.d/stor_agent
- chmod 755 /etc/init.d/stor_agent
- edit /etc/init.d/stor_agent, i.e.:

# Default-Start: 2 3 5
# Default-Stop: 0 1 6

- also edited /etc/init.d/stor_agent to alter the entries with “cut -b0-6″ to “cut -b1-6″
- ran: update-rc.d stor_agent defaults

HTH

Cheers

P.S.

As I said I don't recall getting the error you're getting but you might just need to apt-get install libstdc++-dev
 
I assume you downloaded the x86 package and not the 64 bit.

I tested this with the 32-bit version and got the same error logs:

Code:
alien -c StorMan-6.50.[COLOR=Red][B]i386[/B][/COLOR].rpm
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
                xargs -0 -r -i cp -a {} debian/storman
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: failure: couldn't find library libstdc++.so.6 needed by debian/storman/usr/StorMan/libSTORUTIL.so (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: [binary-arch] Error 1 (ignored)
dh_gencontrol
dpkg-gencontrol: error: current host architecture 'amd64' does not appear in package's architecture list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: `StorMan-6.50': No such file or directory
you need to download the 64-bit version:
Code:
alien -c StorMan-6.50.x86_64.rpm
storman_6.50-18571_amd64.deb generated
no issues here.
 
...for me this worked out of the box:
- install orginal Storman package on a standard x64_86 system (CentOS5 in my case)
- tar czf storman.tgz /usr/Storman /etc/init.d/stor_agent
- unpack this on proxmox host: tar xzf storman.tgz -C /
- modify init script like below
- that's it, systems show up immediately on Storman frontend...

...
# Default-Start: 2 3 5
# Default-Stop: 0 1 6

- also edited /etc/init.d/stor_agent to alter the entries with “cut -b0-6″ to “cut -b1-6″
- ran: update-rc.d stor_agent defaults

HTH

Cheers

P.S.

As I said I don't recall getting the error you're getting but you might just need to apt-get install libstdc++-dev

jleg
 
I got it installed by downloading a version that specifies x64 and not both. No error on conversion.

To start the Adaptec Storage Manager I run the script /usr/StorMan/StorMan.sh

Now I am getting:

proxmox2:~# /usr/StorMan/StorMan.sh
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:150)
at com.ibm.sysmgt.raidmgr.mgtGUI.Launch.<clinit>(Launch.java:214)

Also did this:


# Default-Start: 2 3 5
# Default-Stop: 0 1 6

- also edited /etc/init.d/stor_agent to alter the entries with “cut -b0-6″ to “cut -b1-6″
- ran:
 
you cannot start the storman on the proxmox host. follow the howto in our wikipage.

you only start the agent on the proxmox host and then you connect with the gui (install it on your desktop, windows or X).
 
Thats what I have tried. I am getting a "Operation failed. Unable to connect to the remote system" error within ASM on Win7 machine. I wanted to make sure that the ASM on the proxmox machine was running correctly. Anyone know a command to see if it is running properly without errors. Is there a log file to review somewhere?
 
Thats what I have tried. I am getting a "Operation failed. Unable to connect to the remote system" error within ASM on Win7 machine. I wanted to make sure that the ASM on the proxmox machine was running correctly. Anyone know a command to see if it is running properly without errors. Is there a log file to review somewhere?

proxmox:~# ps -ef | grep StorMan
root 2716 1 0 Apr13 ? 00:00:00 sh /usr/StorMan/StorAgnt.sh
root 2731 2716 0 Apr13 ? 01:40:07 ./jre/bin/java -Djava.compiler=NONE -cp /usr/StorMan/RaidMan.jar com.ibm.sysmgt.raidmgr.agent.ManagementAgent
[snip]

Cheers
 
no, you started the storman on the proxmox host, not the storagent as described in the wiki.
 
I also found this thread on one of Adaptec's pages. http://linux.adaptec.com/?p=15 After I restarted the ASM on the Proxmox server I could see the ASM from my WIN machine but was not able to log into it with root and password. About half way down the thread I found another guy with the same problem as me.





  1. Eugene Says:
    February 5th, 2009 at 10:16 pm
    Hi Phil,
    I’m trying to install the ASM on a Linux Fedora Core 9, x64 system. I’m having trouble with logging in. I’ve followed the thread to the T and did everything but I can’t seem to be able to login as root. I’m getting an error saying “User root cannot be logged into testbox”. The docs mention /etc/pam.d/storman but unfortunately I can’t seem to find what I should have in that file. It’s like authentication is not working and it’s not accepting the root system password (which I use to log into the box with). Any ideas?
  2. Phil Wilson Says:
    March 13th, 2009 at 8:01 amHi folks, sorry for the delay in posting a reply here - I contact Eugene directly by email and he confirmed the following solved his issue.
    excerpt from my mail to Eugene ….
    I have seen this before with older versions of ASM (v4 or early versions of 5) - ASM requires an older libstdc++ library than is generally shipped with distributions. With later versions of v5 and version 6 of ASM we started to ship this library as part of the RPM to avoid the nuisance of having to install libstdc++ compatibility packages.
    If you are using an older version, would you be able to try using the latest (6.10 BLD 18359)
    http://www.adaptec.com/en-US/speed/raid/storage_manager/asm_linux_x64_v6_10_18359_rpm.htm
    rpm –erase StorMan
    rpm –install asm_linux_x64_v6_10_18359_rpm
    You can verify if this is the problem by checking the dependencies of one of the libraries in /usr/StorMan for example
    [root@localhost StorMan]# ldd /usr/StorMan/libSTORUTIL.so
    linux-gate.so.1 => (0×00110000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0×00117000)
    libstdc++.so.5 => /usr/StorMan/libstdc++.so.5 (0×00149000)
    libm.so.6 => /lib/libm.so.6 (0×00209000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0×00232000)
    libc.so.6 => /lib/libc.so.6 (0×0039e000)
    /lib/ld-linux.so.2 (0×00381000)
    You can see that libstdc++.so.5 is in the /usr/StorMan directory whereas it may be unresolved in your case.
    thanks, Phil.]
I ran "ldd /usr/StorMan/libSTORUTIL.so" revealed:

proxmox2:~# ldd /usr/StorMan/libSTORUTIL.so
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002b05cd8de000)
libstdc++.so.5 => not found
libm.so.6 => /lib/libm.so.6 (0x00002b05cdb17000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b05cdd9a000)
libc.so.6 => /lib/libc.so.6 (0x00002b05cdfb1000)
/lib64/ld-linux-x86-64.so.2 (0x00002b05cd6c1000)

I preformed

apt-get install libstdc++5

and then

/etc/init.d/stor_agent restart


Now I am able to log into the ASM. The only other problem I have is that the version of ASM that I could get installed on my Proxmox machine doesn't support my older card. Great!!! :mad: I guess I will get on the Adaptec Forums over there and see what I can do about getting my older card seen in the newer ASM.


Thanks for all your help guys!!! Hope this information may help someone else with the same issue! :cool:
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!