Server :: Error "Can't Locate Class/Template.pm In @INC" Trying To Setup A Website On CentOS

Aug 27, 2010

I get this error when setting up my site. Software error: Can't locate Class/Template.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /var/www/html/en/subscribe.cgi line 10. BEGIN failed--compilation aborted at /var/www/html/en/subscribe.cgi line 10. send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.

I have tried the following with no success: # yum install perl-Class-Template from the Rpmforge repo [URL] Or use the cpan command 1) # yum install perl-CPAN

2) # cpan
3) > install Class::Template
..

The website I am trying to get working is hosted on CentOS. The version is 2.6.18-194.11.1.el5PAE. Im trying to get migrate the site from one server to another and now the cgi script doesnt execute correctly as it requires the class Template which is in a folder within the website tree.

View 1 Replies


ADVERTISEMENT

CentOS 5 Server :: Get A Simple FTP Setup To Var/www/html Folder For Canned Joomla Website?

Jun 28, 2009

I am having a time at trying to get a simple FTP setup to my Var/www/html folder for my canned Joomla website. I can log in anon with no write permissions, but it will not log in using any users I have setup on the server. I've googled a bunch, but nothing to correct my 530 authentication failure when I try to log in as one of my user accounts for the server.

View 2 Replies View Related

Programming :: Define A Static Member In A Template Class?

Oct 6, 2009

i have trouble to define a static member in a template, and i search from google, but didn't find any similar case, my case is a little complex, i paste the code below.code in xxx.h

Code:
template <class T> class FreeListManager
{

[code]...

View 6 Replies View Related

Programming :: Write A Stream Inserter For A Template Class?

Mar 28, 2011

I had some trouble doing this but finally figured it out. Here is a general solution:

Code:
#include <iostream>
using namespace std;

[code]....

View 1 Replies View Related

CentOS 5 :: Grubby Fatal Error: Unable To Find A Suitable Template

Oct 13, 2009

so I was trying to do sheduled updates on server, which is doing xen virtualization
doing kernel update (to 2.6.18-164.el5xen) i got the following error:

Running Transaction
Installing : kernel-xen [1/1]
grubby fatal error: unable to find a suitable template

and of course new kernel doesn't appears in grub.conf and don't know what is cause of this problem last kernel i was updateting in August and as i remember everything went just fine:

current kernel:
2.6.18-128.4.1.el5xen #1 SMP Tue Aug 4 21:33:24 EDT 2009 i686 i686 i386 GNU/Linux
#cat /boot/grub/grub.conf
# grub.conf generated by anaconda

[code]....

also could it be because running kernel is removed?also could it be because of LABEL entry, not /dev/... ( as i found out it was such bug, some years time ago)

View 1 Replies View Related

General :: Setup A Named Server For A Class Room With 10 Imaginary Hosts?

Mar 30, 2011

I need to setup a named server for a class room with 10 imaginary hosts the sub domain managed by this name server is s123456.eca.edu.au where 123456 is to be replaced by your student id. The named server will forward unresolved queries to the dns server.

View 1 Replies View Related

CentOS 5 Server :: Ready To Use Kickstart Template For Minimal Installation (KVM)?

Feb 13, 2010

Does anyone have a ready to deploy kickstart file for creating KVM images? I don't have access to a CentOS machine or a spare computer and would need to create images for a machine on the other side of the Atlantic.I would need something that would create an absolute minimal CentOS installation. I tried to search for something online, but couldn't find anything.

View 1 Replies View Related

CentOS 5 Server :: Apache Works But Website Has "page Load Error"?

May 16, 2009

I am using following software on my web server:

RedHat 2.6.18-92.1.10.el5
Apache/2.2.3
Coldfusion 8

My webserver accesses a backend mySQL server using CentOS5

The last week, I have been getting a "page Load Error" on my web server whilst others told me they are getting a "broken link" error when they try to access my web site. It has been working fine for the last 12 months until last week.

ADSL, modem and router okay according to service provider (verizon)

I can ping my IP address and my domain name.

# netstat -tap

shows http and https both processes running.

# service httpd restart
no issues

I shut down firewall and tried again, but got the same "page load error".

View 3 Replies View Related

Ubuntu :: Complete Server Setup From Scratch To Host Own Website?

Jan 18, 2011

setting up a web server and somehow searched the net for the best secured and optimized combination of packages. To focus on an example, let say you wanted to put up a website that's most likely similar to myspace / friendster / facebook or other related social network with high traffic. It would be nice to have a step-by-step guide on what are the requirements and best combination of packages to use. I'm sure this would be of best interest to everyone specially those who are just starting up. As we are going to focus on a webserver to host our own website lets assume we have the initial hardware/software resources for our server such as

A Core2 Dou 2.33Ghz CPU with 4Gb memory, 80Gb HD
Ubuntu 10.10 Server 64bit.
HardwareWhat would be the advisable internet connection speed that can accommodate the type of website that we're putting up. (please consider that we are going to host this at our own home)I pressume the hardware mentioned above is more than enough but just incase, Do we need more hardware resources than the one mentioned? (considering the huge amount of photos that will be uploaded)Software What would be the best choice combination of packages for the following ?Http Server (ie. nginx, apache and etc)

Email Server (ie. postfix, courier and etc)
Email Client (ie. roundcube, squirell mail etc)
Database Server (ie. mysql, postresql and etc)

[code]....

View 1 Replies View Related

CentOS 5 :: How To Move Website From One Server To Another

May 17, 2010

Can't find any step by step info about moving web site from one server to another. I have to move website from open BSD to CentOS. Maybe somebody can help me with this. All I did is : copied www directory to new server, installed apache, installed php, installed mysql, copied mysql datadase to new server.But website still not loading.

View 1 Replies View Related

CentOS 5 :: Website Timeout Daily And Return A Nscd Not Found Error?

Feb 4, 2010

I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: [url]....There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.I have found that by restarting the dns cache everything works again: /etc/init.d/nscd restart.I never know quite when this will timeout so it is not very good for people accessing that site on the server.

View 3 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

Networking :: How To Setup Class B Network

Dec 19, 2008

I work for an organization on which is growing up with pcs, I set up a linux but with a class c net (192.168.1.0/24) and dhcp for 250 clients, so my question is, how to change from class c to class b since now the org have now 300 pcs that need to be connected each other with printers and everything.

View 2 Replies View Related

CentOS 5 Server :: Use Xampp To Host Website?

Feb 5, 2009

how to turn my computer on and browse the web. I want to host my website form my computer, only problem i don't now how to do it. It will take some time for me to understand this Os. (For now) My question is Can i use xampp linux to host my website using the security of centos. i now how to use xampp but i don't now how to use centos.? try reading around but i connot event find the yum program use to install softwares.

View 4 Replies View Related

CentOS 5 Server :: Cant Access Website - Cannot See From Any Other Machine On Net

Nov 19, 2010

I have set up a 5.5 installation on a Virtual box VM. The Virtualbox (not for the VM) network preferences have DHCP Server disabled and IPV address and the network mask I believe are valid for my home network. My VM is up and running and it has gotten an IP address from my home router and everything seems fine. From any machine in my house I can ssh into my centos installation. I went ahead and started up the httpd service and the website is up. IOW, I can see it from my centos box - when I navigate to http://localhost However, I cannot see it from any other machine on the net. The IP address of the centos bos is 192.168.0.141. From the centos I can do a ttp://192.168.0.141 and see the Apache 2 test Page. I can see that from anywhere else. Although I can ssh to that machine.

View 4 Replies View Related

CentOS 5 Server :: Start Certificate Authentication From Website?

Feb 28, 2009

I'm try to start certificate authentication from my web site..

vhosts.conf for httpd:
<IfModule mod_ssl.c>
<VirtualHost 127.0.0.1:443>
ServerName ca.asu

[Code].....

View 1 Replies View Related

CentOS 5 Server :: Webserver Not Able To Ping Or Browse To One Particular Website

Nov 11, 2010

I have 4 centos5 apache webservers all on the same network, recently, 2 of the webservers have stopped being able to ping or browse one particular website where feeds are obtained from this site. I have checked and firewall and selinux settings are disabled. The two webservers are able to ping and browse other sites. Dns settings are the same for all 4 servers. traceroute for working and not working webservers are the same.

View 1 Replies View Related

CentOS 5 Server :: Website Taking Long Time To Load?

May 27, 2010

I am using KVM and created four guest Operating systems on it.The server host is Ubuntu 10.04.I am using 4 websites in a reverse proxy environment.One of our website is running on CentOS VM.Right now there is no traffic on the website static HTML pages.I do not have any clue as why it was taking longer time to be accessed.

View 2 Replies View Related

CentOS 5 Server :: Installation - Make On Line And Host Website

Jan 14, 2011

I have installed centOS Server edition on my laptop and installed apache and mysql on server, i wanted to understand how can i make my server on line and host my website on my own server. I am using MTNL Broad band, and i have one static ip, How to make web server in centOS 5.5.

View 7 Replies View Related

CentOS 5 Networking :: Access Website Via An External Server Through Proxy

Mar 30, 2011

i have a website named [URL]... now i want to access this website using proxy server(squid,or etc...) under my personal server named [URL]...means that [URL]...

View 4 Replies View Related

CentOS 5 :: Getting "setup: Command Not Found" Error But Setup Is Installed

Jul 5, 2011

I'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.

However when I try to install setup with yum, it tells me that setup is already installed.

I'm logged in as root. CentOS 5.5.

View 2 Replies View Related

CentOS 5 :: Setup The Centos Directory Server Without An Internet Connection?

Apr 20, 2010

Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds

but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?

View 3 Replies View Related

Software :: Hash Map Compilation Error - Template Argument Invalid

Feb 10, 2011

I am compiling the code has hash_map getting following error

Code:
typedef std::hash_map<uint32_t, CTM_ContextData> contexts_map_t;
Compilation Error:
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: ISO C++ forbids declaration of 'hash_map' with no type
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: typedef name may not be a nested-name-specifier
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: expected ';' before '<' token
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: 'contexts_map_t' was not declared in this scope
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: template argument 1 is invalid
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: template argument 2 is invalid
/vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:85: error: 'contexts_map_t' does not name a type

View 2 Replies View Related

Server :: Setup RAID 1 On CentOS 5 Server For A Zimbra Email Server

Feb 7, 2011

I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.

View 1 Replies View Related

OpenSUSE Install :: Cannot Compile Vdrift-2009-06-15 - Warning: The Options Class Is Deprecated; Use The Variables Class Instead

Mar 12, 2010

I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module>
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
[Code]........

View 4 Replies View Related

Server :: Setup An Incoming And Outgoing Mail Server On Centos?

Feb 22, 2010

What is the easiest way to setup an incoming and outgoing mail server on centos? Without using a control panel, such was webmin.

View 2 Replies View Related

Software :: Get An X Window Server Setup On My CentOS 5.3 Server Rack?

Jan 5, 2010

I am trying to get an X window server setup on my CentOS 5.3 server rack. I have gotten as far as to doing:

yum groupinstall "X Window Sever" "GNOME Desktop Environment"

EDIT-Forgot to mention that I did Xorg -configure before testing the config. Only errors I got were:

(EE) LoadModule: Module ati_r500 does not have a ati_r500ModuleData data object.
(EE) Failed to load module "ati_r500" (invalid module, 0)

[Code]...

Linuxquestions--I posted this over on the CentOS forums, which are not as booming. Then I remembered these forums for when I had my VPS way back when and you guys were pretty helpful, of course expected me to mostly do my own reading which I dont mind its just having a hard time understanding some of the things in what I was reading. I even believe I came here with this problem before but abandoned the issue because my VPS was not powerful enough or something of the sort, but this was many years ago also on CentOS using apt. Now using yum which I like much better.

View 3 Replies View Related

CentOS 5 Server :: Email Server Setup Using Sendmail And Dovecot?

Apr 24, 2009

I am trying to set up a mail server on centos5 using sendmail and dovecot, and eventually spamassassin and some antivirus filter as well. I'd also like to get the proper secure auth mechanism set up at some point too. But for starters, I've been having a lot of difficulty trying to even connect to the mail server from a client computer in the local network. I installed Eudora on the client and after some tweaking in dovecot I was able to connect to the mail server, but then when I try to send an email I get a "connection refused" error, with nothing being logged on the server that I can see.

The last time I set up a mail server was Fedora Core 2, so the configuration files have changed a bit to say the least, and I can't really refer back to those to set up this new server. Does anybody know of a good step-by-step doc on getting the mail server going? I've read the man pages and other various readme's, but these really only list out the available options with no really good explanation of what needs to be done to get the mail server going. If there isn't a full write-up on how to do this, I'll put something together when I'm finished so others can use it in the future.

View 7 Replies View Related

CentOS 5 Server :: MySQL Server Setup For Remote Access

May 4, 2009

I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.

View 5 Replies View Related

CentOS 5 :: Easiest Way To Mirror Existing Server Setup On A New Server?

Jan 13, 2011

We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.

Some information on our web server code...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved