About these ads

HP Data Protector error: [12:1625] Import host failed.

root@hp-ux:~ # omnicc -import_host suse11host.bkp
[12:1625] Import host failed.

The host information cannot be added/updated in the Cell Manager configuration file.

* Please check that the Data Protector services on the Cell Manager computer are running.
* Also check that Data Protector Inet service on the remote computer is running
(use: telnet 5555 to see if the service responds).
* Make sure that the remote client is not already part of another cell.
Afterwards use Data Protector GUI or omnicc -import_host command to manually import
the client to the selected Cell Manager.
* On NetWare make sure Data Protector directory structure is created properly
(check that directory SYS:USR\OMNI\CONFIG\CLIENT exists) or check that
localhost ( entry exists in SYS:ETC\HOSTS file for servers
not using DNS IP address resolution.

[12:1051] Client security violation. Access denied.
, error=1625

Verify if file /etc/opt/omni/client/allow_hosts exists and if there is any content. Modify accordingly to your servers.

Also verify the log file from the inetd to verify the error

root@linux:/etc/xinetd.d # cat omni
service omni
socket_type = stream
protocol = tcp
wait = no
user = root
server = /opt/omni/lbin/inet
server_args = inet -log /var/opt/omni/log/inet.log
disable = no

instances = UNLIMITED
per_source = UNLIMITED

root@linux:~ # tail /var/opt/omni/log/inet.log
10/14/14 14:52:38 INET.20969.0 ["/inet/allow_deny.c $Rev: 29682 $ $Date:: 2012-03-15 19:42:59":490] A.06.20 b409
A request 0 (INCLUDE) came from host hp-ux ( which is not in AllowList: not proceeding with this request!
[Critical] From: INET@linux “” Time: 10/14/14 14:52:38
[12:1051] Client security violation. Access denied.

About these ads

SSH connection error – no supported authentication methods available (server sent keyboard-interactive)

Edit /etc/ssh/sshd_config and set the parameter PAMAuthenticationViaKBDInt to yes

# To disable tunneled clear text passwords, change PasswordAuthentication to no.
PasswordAuthentication yes

# Use PAM via keyboard interactive method for authentication.
# Depending on the setup of pam.conf(4) this may allow tunneled clear text
# passwords even when PasswordAuthentication is set to no. This is dependent
# on what the individual modules request and is out of the control of sshd
# or the protocol.
#PAMAuthenticationViaKBDInt no
PAMAuthenticationViaKBDInt yes

Adding packages from SynoCommunity repository for Synology NAS

You can add a new package source to add more programs to your Synology NAS. We will be adding the SynoCommunity software repository.

Open the Package Center and click on Settings
Under Package Sources add a new one called SynoCommunity with the location http://packages.synocommunity.com/. Press ok
At the end there is a new tab called Community that you can start adding new software
As of 2014/10/11 you can add the following software using the SynoCommunity repository

BicBucStriim – BicBucStriim streams books, digital books. It fills a gap in the functionality of current NAS devices, which provide access to your collection of music, videos and photos — but not books…
BitlBee – BitlBee brings IM (instant messaging) to IRC clients. It’s a great solution for people who have an IRC client running all the time and don’t want to run an additional MSN/AIM/whatever client.
BitTorrent Sync – Automatically sync files via secure, distributed technology.
Box Backup Client – Box Backup is an open source, completely automatic, on-line backup system. This is the client part of Box Backup.
COPS – Calibre OPDS and HTML PHP Server : light alternative to Calibre content server / Calibre2OPDS.
CouchPotato Custom – CouchPotato Custom allows you to run the fork of your choice of CouchPotato. You will be asked for the fork’s git URL during install.
Debian Chroot – Debian is a free operating system (OS) that comes with over 29000 packages, precompiled software bundled up in a nice format for easy installation on your DiskStation. Debian Chroot allows you…
Feng Office – Feng Office is a Collaboration Platform and Project Management System.
Full-Text RSS – Create full-text feed from feed or webpage URL.
GateOne – Gate One is an HTML5-powered terminal emulator and SSH client
Git – Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
HAProxy – HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Headphones – Headphones is an automatic NZB and torrent downloader for music. Mark albums as wanted and have them downloaded as soon as they are available. Different quality settings are…
HTPC-Manager – Contol your Htpc with ease. Using multiple applications to control you htpc? No More! Htpc Manager combines all your software and provides an easy way to controll them all!
Maraschino – Maraschino is a simple web interface that acts as a nice overview/front page for your XBMC HTPC. It has many modules: Media library browser, SABnzbd+, SickBeard, XBMC controller, Diskspace…
MantisBT – Mantis is an easily deployable, web based bugtracker to aid product bug tracking. It requires PHP, MySQL and a web server. It is simpler than Bugzilla and easily editable.
Midnight Commander – Midnight Commander is a console application with a text user interface. The main interface consists of two panels which display the file system.
Memcached – Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database…
Mylar – Mylar is an automatic Comic Book downloader (cbr/cbz)
Node.js – Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications.
NZBGet – NZBGet is a command-line based binary newsgrabber for nzb files, written in C++. It supports client/server mode, automatic par-check/-repair, unpack and web-interface. NZBGet requires low system…
ownCloud – ownCloud is a personal cloud which runs on your own server and gives you freedom and control over your own data.
Python – Python Programming Language.
Python3 – Python Programming Language.
Redis – Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
Roundcube Webmail – Roundcube is a free and open source webmail solution with a desktop-like user interface which is easy to install/configure and that runs on a standard LAMPP server. It is the same software Synology…
SABnzbd – SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically…
Selfoss – The new multipurpose rss reader, live stream, mashup, aggregation web application.
SickBeard Custom – SickBeard Custom allows you to run the fork of your choice of SickBeard. You will be asked for the fork’s git URL during install.
SickBeard – SickBeard is a PVR for newsgroup users (with limited torrent support). It watches for new episodes of your favorite shows and when they are posted it downloads them, sorts and renames them…
Subliminal – Subliminal allows you automatically download best-matching subtitles for your movies and tv shows on your DiskStation. This package is named after Subliminal, the Python library used to search and…
Tiny Tiny RSS – Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as…
Transmission – Transmission is an easy and fast BitTorrent client. You can control it remotely with its web interface or dedicated applications.
Tvheadend – Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web…
uMurmur – uMurmur is a minimalistic VoIP server based on the open source software Mumble. It allows simultaneous communications between multiple users. Its low latency makes it especially…
ZNC – Advanced IRC bouncer. An IRC bouncer is nothing more than an IRC proxy. ZNC will always be connected in your chat rooms, and will be the gateway between your clients, and your IRC servers. You…

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…
Connecting to dl.dropbox.com||: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…,,, …
Connecting to dl.dropboxusercontent.com||: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:

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

HP Proliant: Device is reporting an internal degraded status

When you see an exclamation mark next to the blade server, verify the server hardware
First click on the server device bay and check its status
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 gw netmask dev eth1
SIOCADDRT: No such process

I added the route to /etc/sysconfig/network/routes and then restarted the network service eth1 eth1 eth1 eth1 eth1 eth1
default – -

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.

This version is also called Remote Insight Lights-Out Edition II Board (RILOE II)

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.


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


Get every new post delivered to your Inbox.

Join 308 other followers

%d bloggers like this: