• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Perl Desk Help...

Originally posted by YUPAPA
I think you don't have the MD5 module installed...

guess what, i don't. lol, sorry for all that trouble, i didn't even have it to begin with....

I am at the red hat site, and I found the perl-Digest-MD5-2.20-1.i386.rpm.

I have a server that has ensim 3.1 installed on it, redhat 7.2 of course. No other updates than the ones REQUIRED to install ensim are installed. Is it ok for me to go ahead and install it without updating anything else?
 
You go to cpan to get the latest perl modules... and yes you can go ahead to install it when you've found the file...

and why are you always talking about ensim when it comes to perl modules?? it does not have anything to do with ensim *IF* ensim is not written in perl... if it does, I don't think it won't cause any problem cuz it is already running fine on your server without that MD5 module...
 
Also... as dusty said, login to ssh, try to run the script and see why you got internal server error...

I am still not sure the script problem is because of the missing module...
 
ok, i installed the module, perfect, but i still get this stupid 500 error. What script do i run to see what is wrong? I ran the perl diver. it gave me this...


Perl Executable: /usr/bin/perl
Perl Version: 5.006
PERL compile version OS: linux
GID: (If not blank, you are on a machine that supports membership in multiple groups simultaneously) 523
Location of Perl: perl:
/usr/bin/perl
/usr/share/man/man1/perl.1.gz

Location of Sendmail: sendmail:
/usr/sbin/sendmail
/etc/sendmail.cf
/usr/lib/sendmail
/usr/share/man/man8/sendmail.8.gz

Directory locations searched for perl executables /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
.

Environment Variables


QUERY_STRING
SERVER_ADDR 66.250.104.59
SITE_CGIROOT /home/virtual/site17/fst/var/www/cgi-bin
SITE_HTMLROOT /home/virtual/site17/fst/var/www/html
HTTP_ACCEPT_LANGUAGE en-ca
SERVER_PROTOCOL HTTP/1.1
HTTP_CONNECTION Keep-Alive
REMOTE_PORT 3133
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
GATEWAY_INTERFACE CGI/1.1
HTTP_HOST mydomain.com
SERVER_SOFTWARE Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 mod_perl/1.24_01 PHP/4.1.1 FrontPage/5.0.2 mod_ssl/2.8.5 OpenSSL/0.9.6b
SERVER_ADMIN support@mydomain.com
REMOTE_ADDR 66.32.49.116
SCRIPT_NAME /cgi-bin/perldiver.cgi
HTTP_ACCEPT_ENCODING gzip, deflate
SERVER_NAME www.mydomain.com
DOCUMENT_ROOT /home/virtual/site17/fst/var/www/html
REQUEST_URI /cgi-bin/perldiver.cgi
SITE_ROOT /home/virtual/site17/fst
REQUEST_METHOD GET
SCRIPT_FILENAME /home/virtual/site17/fst/var/www/cgi-bin/perldiver.cgi
PATH /usr/local/bin:/usr/bin:/bin
SERVER_PORT 80


Installed Modules


AnyDBM_File
Apache
Apache::Connection
Apache::Constants
Apache::Constants::Exports
Apache::Debug
Apache::ExtUtils
Apache::FakeRequest
Apache::File
Apache::httpd_conf
Apache::Include
Apache::Leak
Apache::Log
Apache::ModuleConfig
Apache::Opcode
Apache::Options
Apache::perlRun
Apache::perlRunXS
Apache::perlSections
Apache::RedirectLogFix
Apache::Registry
Apache::RegistryBB
Apache::RegistryLoader
Apache::RegistryNG
Apache::Resource
Apache::Server
Apache::SIG
Apache::SizeLimit
Apache::src
Apache::StatINC
Apache::Status
Apache::Symbol
Apache::Symdump
Apache::Table
Apache::test
Apache::URI
Apache::Util
attributes
attrs
AutoLoader
AutoSplit
autouse
B
B::Asmdata
B::Assembler
B::Bblock
B::Bytecode
B::C::Section
B::CC
B::Debug
B::Deparse
B::Disassembler::BytecodeStream
B::Lint
B::Showlex
B::Stackobj
B::Stash
B::Terse
B::Xref
Baz
Benchmark
BIND::Conf_Parser
blib
Bundle::Apache
Bundle::DBD::mysql
Bundle::DBI
ByteLoader
bytes
Carp
CGI
CGI::Carp
CGI::Cookie
CGI::Fast
CGI::pretty
CGI::push
charnames
Class::Struct
Config
Config::IniFiles
constant
CPAN
CPAN::Mirrored::By
CPAN::Nox
Cwd
Data::Dumper
DB
DBD::ADO
DBD::ExampleP
DBD::Multiplex
DBD::mysql
DBD::NullP
DBD::proxy
DBD::Sponge
DBI
DBI::FAQ
DBI::Format
DBI::proxyServer
DBI::Shell
Devel::DProf
Devel::peek
Devel::SelfStubber
diagnostics
DirHandle
Dumpvalue
DynaLoader
English
Ensim::ServerIPAddress
Env
Errno
Exporter
ExtUtils::Command
ExtUtils::Embed
ExtUtils::Install
ExtUtils::Installed
ExtUtils::Liblist
ExtUtils::MakeMaker
ExtUtils::Manifest
ExtUtils::Miniperl
ExtUtils::Mkbootstrap
ExtUtils::Mksymlists
ExtUtils::MM_Cygwin
ExtUtils::MM_OS2
ExtUtils::MM_Unix
ExtUtils::MM_VMS
ExtUtils::MM_Win32
ExtUtils::packlist
ExtUtils::testlib
Fatal
Fcntl
fields
File::Basename
File::CheckTree
File::Compare
File::Copy
File::DosGlob
File::Find
File::Glob
File::path
File::Spec
File::Spec::Functions
File::Spec::Mac
File::Spec::OS2
File::Spec::Unix
File::Spec::VMS
File::Spec::Win32
File::stat
FileCache
FileHandle
Filesys::Df
Filesys::Statvfs
filetest
FindBin
GDBM_File
Getopt::Long
Getopt::Std
I18N::Collate
integer
IO
IO::AtomicFile
IO::Dir
IO::File
IO::Handle
IO::InnerFile
IO::Lines
IO::pipe
IO::poll
IO::Scalar
IO::ScalarArray
IO::Seekable
IO::Select
IO::Socket
IO::Socket::INET
IO::Socket::UNIX
IO::Stringy
IO::Wrap
IO::WrapTie
IPC::Msg
IPC::Open2
IPC::Open3
IPC::Semaphore
IPC::SysV
less
lib
locale
Math::BigFloat
Math::BigInt
Math::Complex
Math::Trig
mod_perl
MY
Mysql
Mysql::Statement
NDBM_File
Net::DNS
Net::DNS::Header
Net::DNS::packet
Net::DNS::Question
Net::DNS::Resolver
Net::DNS::RR
Net::DNS::RR::A
Net::DNS::RR::AAAA
Net::DNS::RR::AFSDB
Net::DNS::RR::CNAME
Net::DNS::RR::EID
Net::DNS::RR::HINFO
Net::DNS::RR::ISDN
Net::DNS::RR::LOC
Net::DNS::RR::MB
Net::DNS::RR::MG
Net::DNS::RR::MINFO
Net::DNS::RR::MR
Net::DNS::RR::MX
Net::DNS::RR::NAPTR
Net::DNS::RR::NIMLOC
Net::DNS::RR::NS
Net::DNS::RR::NSAP
Net::DNS::RR::NULL
Net::DNS::RR::pTR
Net::DNS::RR::pX
Net::DNS::RR::RP
Net::DNS::RR::RT
Net::DNS::RR::SOA
Net::DNS::RR::SRV
Net::DNS::RR::TXT
Net::DNS::RR::X25
Net::DNS::Update
Net::hostent
Net::netent
Net::ping
Net::protoent
Net::servent
O
Opcode
open
ops
overload
Pod::Checker
Pod::Find
Pod::Functions
Pod::Html
Pod::InputObjects
Pod::Man
Pod::parser
Pod::parseUtils
Pod::plainer
Pod::Select
Pod::Text
Pod::Text::Color
Pod::Text::Termcap
Pod::Usage
POSIX
Quota
re
Safe
SDBM_File
Search::Dict
SelectSaver
SelfLoader
SGMLS
SGMLS::Output
SGMLS::Refs
Shell
sigtrap
Socket
strict
subs
Symbol
Sys::Hostname
Sys::Syslog
Term::ANSIColor
Term::Cap
Term::Complete
Term::ReadLine::Stub
Test
Test::Harness
Text::Abbrev
Text::parseWords
Text::Soundex
Text::Tabs
Text::Wrap
Tie::Array
Tie::Handle
Tie::Hash
Tie::RefHash
Tie::Scalar
Tie::SubstrHash
Time::gmtime
Time::Local
Time::localtime
Time::tm
UNIVERSAL
User::grent
User::pwent
utf8
vars





--------------------------------------------------------------------------------

The latest version of perl diver can always be found on ScriptSolutions™'s web site.

© 1999, ScriptSolutions™, a Tintagel project.






Does everything look ok?
 
Maybe i got the wrong md5 file from redhat, what is the precise name? It is downloadable from redhat.com, right?
 
Sorry, But really basic question. what's the command to install tar.gz files? I only know how to install .rpm's. Thanks....
 
* Decompress the file with gzip -d MD5-1.7.tar.gz
* Unpack the file with tar -xof MD5-1.7.tar
* perl Makefile.PL
* make
* make test
* make install

I suggest you check what's wrong with the script (perl desk) first before installing it... I am not sure the script can't run is because of the missing module... if you check the error, you will know what is wrong and fix it right away... I am just guessing the error for you...
 
How do i check the error file, and where is it?

The server is hosted remotely, so i need to install these through telnet. Usually i use the command : rpm -ivh name.rpm and that installs the file. I don't know many commands on linux through telnet, if you could teach me, i would be extremely grateful. Thanks. Time to sleep now, ttyl...
 
there is no error file... what you do is just cd to your directory...
example:

cd /home/sites/yourdomain.com/cgi-bin/perldesk

then to run the script, just type

perl install.cgi

if the script has no problem, it will show a bunch of html source code for the output.

That should probably work... If not, tail the error file and the run the perl script.

tail -f /var/log/error_messages (that's the error log file)


And make sure you have root access to install perl modules.
Or you can tell the administrator to install it for you.
 
[root@myhost pdesk]# perl install.cgi
(offline mode: enter name=value pairs on standard input)

Now what do i do? is that some kind of error?
What ever i enter, doesn't do anything, doesn't give me any other output.


"That should probably work... If not, tail the error file and the run the perl script.

tail -f /var/log/error_messages (that's the error log file)"

I try this and....

tail -f /var/log/error_messages
tail: /var/log/error_messages: No such file or directory
tail: no files remaining
 
Last edited:
xzx, you can unpack a Gzipped tarball faster with the command...
Code:
[lowly-user@localhost ~]tar xvzf [filename].tar.gz
 
Originally posted by xzx
[root@myhost pdesk]# perl install.cgi
(offline mode: enter name=value pairs on standard input)

Now what do i do? is that some kind of error?
What ever i enter, doesn't do anything, doesn't give me any other output.


"That should probably work... If not, tail the error file and the run the perl script.

tail -f /var/log/error_messages (that's the error log file)"

I try this and....

tail -f /var/log/error_messages
tail: /var/log/error_messages: No such file or directory
tail: no files remaining

I think there is something wrong with your cgi file... are you sure is the correct one??
That script is expecting an input ie name=fred&date=123456789 get/post type forms.... and that doesn't have anything to do with MD5 module so far...


and the error log should be /var/log/httpd/error_log
sorry I gave you the wrong path
 
Last edited:
OK, why not create a user account (NOT ROOT) and PM me the username and password so I can login to install that thing for you? Then I will list all the steps to setup when I get it to work on your machine...
 
Sweeet, Got it to work finally work. All i had to do was install that module from the begining, thanks for all your help yuppa, dusty & ben. I am really excited that after all that, it works. This posting can now be closed...
 
Back
Top