About these ads

wget running in a Synology NAS not downloading. Error message: HTTPS support not compiled in.

After you installed ipkg maybe you found that wget is not downloading files through https

DiskStation> wget http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz
–2014-10-11 14:26:09– http://dl.dropbox.com/u/3001640/webman.pyload.tar.gz
Resolving dl.dropbox.com… 50.17.213.189
Connecting to dl.dropbox.com|50.17.213.189|:80… connected.
HTTP request sent, awaiting response… 302 FOUND
Location: http://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz [following]
–2014-10-11 14:26:09– http://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz
Resolving dl.dropboxusercontent.com… 23.23.237.190, 23.23.121.189, 54.243.96.35, …
Connecting to dl.dropboxusercontent.com|23.23.237.190|:80… connected.
HTTP request sent, awaiting response… 302 FOUND
Cookie coming from dropbox.com attempted to set domain to dropbox.com
Cookie coming from dropbox.com attempted to set domain to dropbox.com
Location: https://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz [following]
https://dl.dropboxusercontent.com/u/3001640/webman.pyload.tar.gz: HTTPS support not compiled in.

To solve this problem, install the package wget-ssl. This version has support for HTTPS

DiskStation> ipkg install wget-ssl
Installing wget-ssl (1.12-2) to root…
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: The following packages conflict with wget-ssl:
wget

If you still have the wget version installed from Optware, first remove it

DiskStation> ipkg remove wget
Removing package wget from root…
Successfully terminated.

Then try to install again

DiskStation> ipkg install wget-ssl
Installing wget-ssl (1.12-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/wget-ssl_1.12-2_arm.ipk
Installing libidn (1.25-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libidn_1.25-1_arm.ipk
Configuring libidn
Configuring wget-ssl
Successfully terminated.

HP BladeSystem Onboard Administrator – How to Make “SHOW ALL” Inventory Report

Logon to the HP Onboard Administrator GUI and then after the IP address of the Onboard Administrator add /cgi-bin/showAll. E.g. https://192.168.x.x/cgi-bin/showAll

More examples can be found in this document:
HP BladeSystem Onboard Administrator – How to take “SHOW ALL” Inventory Report

About these ads

HP Proliant: Device is reporting an internal degraded status

When you see an exclamation mark next to the blade server, verify the server hardware
DeviceBays
First click on the server device bay and check its status
Degraded
If it shows Device is reporting an internal degraded status, first upgrade the iLO firmware. Then verify if it was solved.

If not, verify if there is a faulty disk in the disk array with hpacucli ctrl all show config

root@linux:~ # hpacucli ctrl all show config

Smart Array P400i in Slot 0 (Embedded) (sn: )

array A (SAS, Unused Space: 0 MB)

logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)

After this, you’ll have to run diagnostics using HP Insight Online Diagnostics that you installed on the operating system or boot with the CD/DVD to run the HP Insight Offline Diagnostics

Linux – route add error: SIOCADDRT: No such process

root@linux:~ # route add -net 172.22.1.0 gw 172.22.18.1 netmask 255.255.255.0 dev eth1
SIOCADDRT: No such process

I added the route to /etc/sysconfig/network/routes and then restarted the network service

192.168.1.1 192.168.233.2 255.255.255.255 eth1
148.91.0.0 172.22.18.1 255.255.0.0 eth1
207.169.17.0 172.22.18.1 255.255.255.0 eth1
172.22.0.0 172.22.18.1 255.255.255.0 eth1
172.22.14.0 172.22.18.1 255.255.255.0 eth1
172.22.1.0 172.22.18.1 255.255.255.0 eth1
default 172.22.240.1 – -

Setting up a SVM soft partition in a mirror

This is the mirror we will be using

root@solaris:/ # metastat d80
d80: Mirror
Submirror 0: d82
State: Okay
Submirror 1: d81
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 96081792 blocks (45 GB)

d82: Submirror of d80
State: Okay
Size: 96081792 blocks (45 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s4 0 No Okay Yes

d81: Submirror of d80
State: Okay
Size: 96081792 blocks (45 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t10d0s4 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t8d0 Yes id1,sd@TSEAGATE_ST314670LSUN146G3KS2ZHD2
c0t10d0 Yes id1,sd@TSEAGATE_ST314670LSUN146G3KS2RP29

Creating a soft partition and instead of indicating a partition, declare the mirror

root@solaris:/ # metainit d83 -p d80 2g
d83: Soft Partition is setup

Create the filesystem

root@solaris:/ # newfs /dev/md/rdsk/d83
newfs: construct a new file system /dev/md/rdsk/d83: (y/n)? y
Warning: 18560 sector(s) in last cylinder unallocated
/dev/md/rdsk/d83: 4194304 sectors in 207 cylinders of 24 tracks, 848 sectors
2048.0MB in 42 cyl groups (5 c/g, 49.69MB/g, 12032 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 102640, 205248, 307856, 410464, 513072, 615680, 718288, 820896, 923504,
3256352, 3358960, 3461568, 3564176, 3666784, 3769392, 3872000, 3974608,
4077216, 4179824

Check status

root@solaris:/ # metastat -c
d83 p 2.0GB d80
d80 m 45GB d82 d81
d82 s 45GB c1t8d0s4
d81 s 45GB c0t10d0s4
d50 m 516MB d52 d51
d52 s 516MB c1t8d0s7
d51 s 516MB c0t10d0s7
d40 m 19GB d42 d41
d42 s 19GB c1t8d0s6
d41 s 19GB c0t10d0s6
d30 m 19GB d32 d31
d32 s 19GB c1t8d0s5
d31 s 19GB c0t10d0s5
d20 m 31GB d22 d21
d22 s 31GB c1t8d0s1
d21 s 31GB c0t10d0s1
d10 m 19GB d12 d11
d12 s 19GB c1t8d0s0
d11 s 19GB c0t10d0s0

Configure HP Remote Insight Lights-Out Edition II Board (RILOE II) – ILO 1

In an HP Proliant DL380 G3 I had an older iLO.
riloeII

This version is also called Remote Insight Lights-Out Edition II Board (RILOE II)
http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/manualsResults/?sp4ts.oid=397204&spf_p.tpst=psiContentResults&spf_p.prp_psiContentResults=wsrp-navigationalState%3Daction%253Dmanualslist%257Ccontentid%253DUser-Guide-%252528how-to-use%252529%257Clang%253Den&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

The ROM-based setup utility F8 (RBSU F8) allows you to configure RILOE II during server boot-up. RBSU F8 is useful for configuring servers that do not use DNS/DHCP. RBSU F8 is available every time the server is booted. RBSU F8 cannot run remotely.

06

Turn on disk UID on an HP Smart Array Controller

I have an HP ProLiant DL580 G3 and a disk had to be replaced.

It was identified the disk to be replaced was the Physicaldrive 2:2

root@linux:~ # hpacucli ctrl all show config

Smart Array 642 in Slot 3 (sn: P92260PXQS4036)

array A (Parallel SCSI, Unused Space: 0 MB)

logicaldrive 1 (273.5 GB, RAID 5, OK)

physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 146.8 GB, OK)
physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 146.8 GB, OK)
physicaldrive 2:2 (port 2:id 2 , Parallel SCSI, 146.8 GB, OK)

To turn on the disk UID, identify the controller and physical drive location

root@linux:~ # hpacucli ctrl slot=3 pd 2:2 modify led=on

To turn off the disk UID, identify the controller and physical drive location

root@linux:~ # hpacucli ctrl slot=3 pd 2:2 modify led=off

Firefox Error code: sec_error_ca_cert_invalid

I was receiving this error when trying to open an iLO 3 connection through Onboard Administrator.
sec_error_ca_cert_invalid

To solve this problem, type about:config in the address bar.

Then toggle to false the preference security.use_mozillapkix_verification

MP Login – LOGIN written all in capital letters

Logging into a MP of an HP Integrity server

emerson@linux:~ $ telnet 10.20.30.40
Trying 10.20.30.40…
Connected to 10.20.30.40.
Escape character is ‘^]’.

*************************************************************************
This is a private system.
Do not attempt to login unless you are an authorized user.
Any authorized or unauthorized access or use may be monitored and can
result in criminal or civil prosecution under applicable law.
*************************************************************************

*************************************************************************
Only default users are configured.
Use one of the following user/password pairs to login:

Admin/Admin
Oper/Oper
*************************************************************************

MP login: Admin
MP password: *****

Hewlett-Packard Integrity Integrated Lights-Out 2

(c) Copyright Hewlett-Packard Company 1999-2010. All Rights Reserved.

MP Host Name: mp002264949b25

Revision F.02.25

*************************************************************************
MP ACCESS IS NOT SECURE
Default MP users are currently configured and remote access is enabled.
Modify default users’ passwords or delete default users (see UC command)
OR
Disable all types of remote access (see SA command)
*************************************************************************

MP MAIN MENU:

CO: Console
VFP: Virtual Front Panel
CM: Command Menu
SMCLP: Server Management Command Line Protocol
CL: Console Log
SL: Show Event Logs
HE: Main Help Menu
X: Exit Connection

After you type co to see the console, you will see LOGIN written all in capital letters

[mp002264949b25] MP> co

[Use Ctrl-B or ESC-( to return to MP main menu.]

- – – – – – – – – – Prior Console Output – – – – – – – – – -
\LOGIN INCORRECT

\WAIT FOR LOGIN RETRY: ..
LOGIN:
LOGIN: ROOT
\PASSWORD:
\LOGIN INCORRECT

\WAIT FOR LOGIN RETRY: ..
LOGIN:
– – – – – – – – – – – – Live Console – – – – – – – – – – – -

Press CTRL + D to go back to the normal login screen

Use of this network is restricted to authorized users only. User activity may be monitored and/or recorded. Anyone using this network expressly consents to such monitoring and/or recording. BE ADVISED: if possible criminal activity is detecords, along with certain personal information, may be provided to law enforcement officials.
Console Login:

HPOM – UXMON: The number of Open LV and Current LV is different for VG: rootvg

Node : linux.setaoffice.com
Node Type : Intel/AMD x64(HTTPS)
Severity : major
OM Server Time: 2014-08-15 15:46:22
Message : UXMON: The number of Open LV and Current LV is different for VG: rootvg
Msg Group : OS
Application : volmon
Object : LV
Event Type :
not_found

Instance Name :
not_found

Instruction : The module VOLMON has detected an inconsistence between the number of LV and the number
of current LV. Please make some UX expert verify this inconsistence due there is a risk
of data corruption

Verify the volume group described in the alarm

root@linux:~ # vgdisplay rootvg
— Volume group —
VG Name rootvg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 13
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 12
Open LV 11
Max PV 0
Cur PV 1
Act PV 1
VG Size 273.12 GB
PE Size 32.00 MB
Total PE 8740
Alloc PE / Size 6343 / 198.22 GB
Free PE / Size 2397 / 74.91 GB
VG UUID slQEGO-0Ly3-vfXf-1GaD-Kb1O-hoOa-4qkKyH

The number of Current Logical Volues is different from the number of Open Logical Volumes. Verify if there is an unmounted logical volume.

Follow

Get every new post delivered to your Inbox.

Join 608 other followers

%d bloggers like this: