Can’t locate Parallel/ForkManager.pm in @INC

On running a perl program, i get error

Lets search with yum and see which package provide ForkManager.

To fix install perl-Parallel-ForkManager.noarch

See errors […]

Read More…

iptables -F lock me out

After i type

server goes down. Can’t connect to web or ssh, seems all connection is locked by iptables. SOLUTION This is because the chain policy for the firewall input chain was set to DROP check with “iptables –list” you will see “Chain INPUT (policy DROP)”.

If this is the case, before you […]

Read More…

Wrong JPEG library version: library is 62, caller expects 80

This is caused by multiple versions of libjpeg installed on the server. Check for libjpeg in library folders. Lib folders can be find by checking /etc/ld.so.conf

Check version of libjpeg installed

Folder /usr/lib64/ have libjpeg.so.62.0.0 installed.

Folder /usr/local/lib have libjpeg.so.8.3.0 installed

To fix, deleted all libjpeg.so.62.0.0 files

Now create a […]

Read More…

Start shoutcast on boot

This method is for CentOS 6. On newer systems, you may need to use systemd or enable rc-local service for /etc/rc.local to work./

Add

Set permission

To start on boot, we add it to /etc/rc.local

At the end of the file add as new line

See Shoutcast […]

Read More…

Shoutcast sc trans

sc_trans can play list of mp3 files to shoutcast server so your online radio station will be online even if you are not online. Install sc_trans

Create Play List of mp3 Files Upload your MP3 files to folder /home/shoutcast/sc_trans_040/mp3 To create a play list, run

Edit sc_trans.conf Find

Replace With

Find […]

Read More…

Install shoutcast server

Download linux version from site http://www.shoutcast.com/download-files

Now edit sc_serv.conf

Find

Replace changeme with secure password. Other important options are

To start, run

To start in background, run

After you run, you will see

By default shoutcast run on port 8000. If you go to http://server28.hosthat.com:8000/ You will get […]

Read More…

error while loading shared libraries: libmysqlclient.so.16

On installing postfix from source, when running make install command i get error

This is because mysql library path is not in system library locations. To fix the error edit /etc/ld.so.conf

Add following line to end of the file

Now run ldconfig

[…]

Read More…

configure: error: XML configuration could not be found

When i install php from source, i get the error

The problem is fixed by installing libxml2-devel

See Errors […]

Read More…

configure: error: Please reinstall the libcurl distribution

When compiling php from source for nginx web server, i get error

On checking, found curl-devel not installed

The problem is fixed by installing curl-devel

See Errors […]

Read More…