≡ Menu


rpmbuild: error: Installed (but unpackaged) file(s) found Solution

I'm trying to build a RHEL 6 rpm of nginx server. But, I get the following error:

+ /usr/lib/rpm/brp-strip-comment-note
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/nginx-1.0.5-1.el6.x86_64
error: Installed (but unpackaged) file(s) found:

RPM build errors:
Installed (but unpackaged) file(s) found:

How do I fix this problem and build rpm file?
[click to continue…]

FreeBSD Jail Allow Sound And Flash Access

I am running KDE desktop within FreeBSD jail. How do I get audio working from inside the FreeBSD jail so that flash will also work?
[click to continue…]

OpenSSH Hide Version Number From Clients

How do I hide ssh number from clients? When I type the following command it displays server version number to end users:

ssh -v server2.example.com
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /home/vivek/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to server2.example.com [123.x.y.z] port 22.
debug1: Connection established.
debug1: identity file /home/vivek/.ssh/identity type -1
debug1: identity file /home/vivek/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/vivek/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4


telnet server2.example.com 22
Trying 123.x.y.z...
Connected to v.txvip1.
Escape character is '^]'.

Why does OpenSSH server report its version to clients?
[click to continue…]

Nginx: Configure and Install With IPv6 Networking Support

How do I configure IPv6 networking under nginx? How do I assign and use an IPv6 address under nginx web server? How do I enable IPv6 Support in nginx?
[click to continue…]

FreeBSD: Disable / Stop Console Beep ( Bell )

I know how to turn off console beep under Gnome Linux desktop. How do I stop console beep under FreeBSD operating systems?
[click to continue…]

Linux Kernel Recompile: Do I Have To Recompile All Installed Applications

If I recompile just the Linux kernel, do I have to recompile the whole entire applications/other files in my systems?
[click to continue…]

Linux: Find Out If a Particular Driver / Feature Compiled Into Running Kernel or Not

Q. I know how to find out information about compiled driver under FreeBSD kernel. But, how do I find out if a Particular feature, driver or filesystem support is compiled into my running Linux kernel or not? How do I find out if DMA support is compiled into my kernel?
[click to continue…]

Vbulltin PHP Xcache Displaying Same Forum Data For Both Boards Error and Solution

Q. I've followed your Xcache php 5.x opcode cacher installation under RHEL 5 for my vbulltin board. I see good boosting in performance. Now I've installed 2nd VB forum on the same server and I see all sub-forums hosted from 1st forum. So I had to disable Xcache. I want Xcache for both board on same host. How do I fix this mess?
[click to continue…]

FreeBSD make: don't know how to make buildkernel. Stop Error and Solution

Q. I'm trying to recompile my kernel by tying the following commands:

cd /usr/src/sys/i386/conf
cd /usr/src
make buildkernel KERNCONF=NEWKEN

But I'm bumped with an error that read as follows:

make: don't know how to make buildkernel. Stop Error and Solution

How do I fix this error?
[click to continue…]

Linux: Openssh (ssh server) deny root user access

Q. How do I block access to root user over ssh session?

A.. sshd (OpenSSH Daemon) is the daemon program for ssh. Server side ssh configuration is defined in /etc/ssh/sshd_config file.

You need to use DenyUsers option to block access to root user.

This option can be followed by a list of user name patterns, separated by spaces. Login is disallowed for user names that match one of the patterns. Only user names are valid; a numerical user ID is not recognized. By default, login is allowed for all users. If the pattern takes the form USER@HOST then USER and HOST are separately checked, restricting logins to particular users from particular hosts.

Open /etc/ssh/sshd_config file

Use vi command:
# vi /etc/ssh/sshd_config

Deny root user access

Append or modify as follows to block root user:
DenyUsers root

If you want to block additional user just append names to DenyUsers
DenyUsers root, user2, user3

Save and close the file. Restart sshd service:
#/etc/init.d/sshd restart