Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







CentOS - Add Perl Script To System Startup


to have assp run on system startup, since my server seems to be suffering from random reboots.

I need to run the command perl /usr/share/assp/assp.pl when the system turns on, so that it will receive mail and I can send mail..


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Setting A Startup Process - CentOS
I have supybot, and I want to make it startup at bootup, in the background. The command is

supybot some.conf

Anytime I reboot I want it to do that, but as a background process,

View Replies!   View Related
Perl System Mail
I am trying to write a perl script, it send's mail to a user i used system(mail -s test) and also send some messages using this.

but my issue is i receive mail with html code like <br> and so..

how to get a plain mail using this system command.

View Replies!   View Related
Perl Script Doesnt Seem To Work On My System
im using centos and a perl script doesnt seem to work on my system.

it gives an error on this line.

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");

BEGIN failed--compilation aborted at line 8.

is it a problem with my perl or is it an error with the script?

View Replies!   View Related
Problem Running FreeNX. Session Startup Failed. CentOS 5, Dont Think GNOME Works
using a guide found at: [url]

I installed freenx and the client on the server, then downloaded the client on my windows pc.

The Server is running CentOs 5.0, cpanel 11, and I also had GNOME installed.

The problem is, I don't think GNOME is setup, or running.

When Connecting I get this:

Quote:

"NX> 203 NXSSH running with pid: 5812
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 72.223.50.10 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: crewxp
NX> 102 Password:
NX> 103 Welcome to: 10.40.213.72.static.reverse.ltdomains.com user: crewxp
NX> 105 listsession --user="crewxp" --status="suspended,running" --geometry="3840x2400x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'crewxp' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: crewxp
NX> 105 startsession --link="adsl" --backingstore="1" --cache="16M" --images="64M" --media="0" --session="CrewXp.com" --type="unix-gnome" --geometry="3840x2400" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="3840x2400x32+render+fullscreen"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: 10.40.213.72.static.reverse.ltdomains.com-1000-ABB92BE2A15206F134F0AB649A63DF70
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 3d231db82ebaad182c25969704ceaf15
NX> 702 Proxy IP: 70.241.9.129
NX> 706 Agent cookie: 3d231db82ebaad182c25969704ceaf15
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 1190: 31685 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 1006 Session status: running
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
Killed by signal 15
"

I'm not sure why this is happening, but i think its because gnome isn't configured or something. I just had the server installed, and asked for gnome to be installed.

I've searched for an answer for a week, but no one's came up with anything. I can't start my new server to run my business on without this.

View Replies!   View Related
3 75GB HD In R5 Mode. Add A 4th One To The System?
I have 3 75GB HD in R5 mode. Can I add a 4th one to the system?

View Replies!   View Related
How To Add IP Addresses To CentOS Server?
How to add an IP adress to CentOS server?

I can't find 'how to"

How can I add secondary adress using SSH?

What command?

View Replies!   View Related
Add 2 Range Ip In Linux Centos
i have 2 range ip

range 1 is : 111.111.111-119

range2 is : 222.222.222-229

how may i add both range?

i can add for one range,but about 2 rage i can`t

View Replies!   View Related
Howto Add IP Permanently To Your Dedicated CentOS Server
Any straight up easy way. So they stay permanent?

Can I simply use system-config-network and add each IP one at a time.

View Replies!   View Related
CentOS - My System Is Hacked
I'm running CentOS 4.4 and I want to know what utilities and procedures I need to follow to find out if my system is compromised (hacked).

I dont see any symptoms right now but I want to be fully aware in case something happens.

View Replies!   View Related
CentOs VPS System More Secure?
on making my CentOs VPS system more secure?

View Replies!   View Related
CentOS & Automated File System Check
I have a centos server & whenever I reboot it, it goes into File System check and takes about 1 hr to turn online.

The irony is, I reboot the server only when the load goes high (esp when traffic is high).. And the server is down for long times when traffic is high.

The server config is pretty good, but it shows these problems once in 15-20 days.

View Replies!   View Related
Which Operating System Fedora Core, CentOS, FreeBSD
I currently run a dedicated with redhat 9 and am looking at a new server with either Fedora Core, CentOS, or FreeBSD.

I'd like your opinions on the best o/s to go with overall and also bearing in mind I'm coming from redhat and will be running cpanel on it...

View Replies!   View Related
How To Add An IP In VMWare Server 2? Add On The VPS Directly Or First On The Host?
I have configured and install VMWare Server on my server and currently trying to install Plesk. I have gotten the network working so I can download.

I want to give the VMWare Virtual Machine it's own IP so I can connect via PuTTY instead of the console, which e.g. does not let me paste url's (plesk download url is long).

I am planning to host a few websites on the Plesk Virtual Machine. I have added the IP my network provider given me using 'setup' in CentOS and it's listed in /sbin/ifconfig, but does not work yet.

Do I first need to add the ip to the host server self? Or can a VPS directly use an ip?

(PS: Do I use too many hard breaks in my texts?)

View Replies!   View Related
Colo Startup
how to organize a colo startup if I manage to get a cage with 2-3 cabinets in a Peer1 datacentre.

From my knowledge, Peer1 handles firewalling, BGP, etc on their end so I probably won't need it.

But how can I organize it, what do you guys do when you get a new client?

Have cables readily dangling in the racks or something so you can connect it to the clients right away?

What kind of reboot privs do you give out?

Monitoring traffic, etc?

View Replies!   View Related
Startup Review - LimestoneNetworks
My first ever post on WHT and I am happy its a positive one. These are a few words I have to say in favor of people at LimestoneNetworks.

I ordered a Intel Core2Quad Q6600 dedicated server with them with upgrading most of the resources to the topmost at about 6 AM CST this Friday. They recently included a Fraud Check in their TOS which I was not aware of but only became notified once I had signed up. It involved uploading the CC images and a Govt ID.

Btw: their new control panel Rockware actually Rocks !

I uploaded the docs promptly and since chat was offline I called them up and got connected with a Support rep. He told me that a Sales rep will check on it at 8 AM CST. At 8 AM, one of the sales rep promptly acknowledged the ticket for verification and it had the comments of a 24-hour turnaround, which scared me a little.

Wonder ! Wonder ! Since all my stuff was verifiable and without any issues... I got reply within 20 mins stating my server was being sent for provisioning.

Another wonder ! another 20 mins and my server was showing the server in my Rockware CP as being built. I was pressing F5 like crazy and everytime I saw something new in my CP regarding my server. Which is like the most rapid updates I have seen ever !

Overall, even after the verification delay, I got my server in 4 hours !

Subsequently I had to open some tickets to them for issues that were from my side and 100% (yes 100%) of the time, someone responded within 5 mins.

Hoping to post a similar (if not more) positive review after couple of months.

<<signature to be set up in your profile>>

View Replies!   View Related
CoreNetworks Startup Delay
how long an average a dedicated server from CoreNetworks.net takes?

I need a solution by tonight and I thought if I ordered it early this morning (1 AM) that it would be up by midnight, but not yet.

View Replies!   View Related
Pure-ftpd Startup
I've run a pure-ftpd-server privetley and haven't bothered to chroot the enviroment since I only used it myself when I needed files remotley. Now on request of my school and work buddies I've started hosting a website which they are to manage and through my ftp-server add / remove the site's different files.

I know how to start it with chrooted enviroment but everytime I reboot it, which I usually don't need to anyway, it starts unchrooted so I manually have to kill the ftp-daemon and start it with my customised parameters.

Is there a way to change the init.d/pure-ftpd-conf or something to start with my customised options? i.e with the chroot-option turned on.

View Replies!   View Related
Startup Server Recommendation
I am very interested in getting in the web hosting business and have been investigating a lot in the internet. My question is what would be the recommended hardware to start, taking in consideration the costs.

What processor?

How many cores 1,2 4...?

How many RAM?

I was thinking 2 250 GB SATA drives in RAID 1.

View Replies!   View Related
Unix Startup Script
I have a perl shell script usr/bin/ken.pl

this script need to run whenever the server starts and must never stop running,

I am currently starting it as follows

./nohup /use/bin/ken.pl

does anyone know how to make this script at startup?

View Replies!   View Related
PHP Startup Dll Errors
I am working on a fresh Windows 2003 server with PHP5.2.1 and MySQL 5.0.27.

I am trying to load the curl, ldap, and mssql extensions for a project I am working on here for a client. (I use linux only for the most part)

I have set:
extension_dir = "C:PHPext"

However I get the following on only these 3 of the several I am trying to load.

Code:
[27-Mar-2007 16:14:42] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_curl.dll' - The specified module could not be found.
in Unknown on line 0
[27-Mar-2007 16:14:42] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[27-Mar-2007 16:14:43] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_mssql.dll' - The specified module could not be found.
in Unknown on line 0
My PHP.ini file is as follows:

Code:
[PHP]

;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
; foo = ; sets foo to an empty string
; foo = none ; sets foo to an empty string
; foo = "none" ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
;
;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; This is the recommended, PHP 5-style version of the php.ini-dist file. It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
;
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with. Using this
; file is warmly recommended for production sites. As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP. Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_long_arrays = Off [Performance]
; Disables registration of the older (and deprecated) long predefined array
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
; introduced in PHP 4.1.0
; - display_errors = Off [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users. With some errors, the error message
; content may expose information about your script, web server, or database
; server that may be exploitable for hacking. Production sites should have this
; directive set to off.
; - log_errors = On [Security]
; This directive complements the above one. Any errors that occur during the
; execution of your script will be logged (typically, to your server's error log,
; but can be configured in several ways). Along with setting display_errors to off,
; this setup gives you the ability to fully understand what may have gone wrong,
; without exposing any sensitive information to remote users.
; - output_buffering = 4096 [Performance]
; Set a 4KB output buffer. Enabling output buffering typically results in less
; writes, and sometimes less packets sent on the wire, which can often lead to
; better performance. The gain this directive actually yields greatly depends
; on which Web server you're working with, and what kind of scripts you're using.
; - register_argc_argv = Off [Performance]
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
; - magic_quotes_gpc = Off [Performance]
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation. Instead, you should use the
; function addslashes() on each input element you wish to send to a database.
; - variables_order = "GPCS" [Performance]
; The environment variables are not hashed into the $_ENV. To access
; environment variables, you can use getenv() instead.
; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
; By default, PHP suppresses errors of type E_NOTICE. These error messages
; are emitted for non-critical errors, but that could be a symptom of a bigger
; problem. Most notably, this will cause error messages about the use
; of uninitialized variables to be displayed.
; - allow_call_time_pass_reference = Off [Code cleanliness]
; It's not possible to decide to force a variable to be passed by reference
; when calling a function. The PHP 4 style to do this is by making the
; function require the relevant argument by reference.

;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache.
engine = On

View Replies!   View Related
Startup Script Run As Particular User
I'm putting in a script in /etc/rc.d/rc.local, so that once the system starts up it runs.

However, I'd also like the script to run as a specific user, and not root. How do I do this?

View Replies!   View Related
PHP Startup Dll Errors
I am working on a fresh Windows 2003 server with PHP5.2.1 and MySQL 5.0.27.

I am trying to load the curl, ldap, and mssql extensions for a project I am working on here for a client. (I use linux only for the most part)

I have set:
extension_dir = "C:PHPext"

However I get the following on only these 3 of the several I am trying to load.

Code:
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_curl.dll' - The specified module could not be found.
in Unknown on line 0
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[28-Mar-2007 13:41:40] PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPextphp_mssql.dll' - The specified module could not be found.
in Unknown on line 0
I have restarted IIS several times and have also placed the three above extensions in the c:windowssystem32 folder.

My php.ini file is:

Code:
[php]

;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
; foo = ; sets foo to an empty string
; foo = none ; sets foo to an empty string
; foo = "none" ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
;
;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; This is the recommended, PHP 5-style version of the php.ini-dist file. It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
;
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with. Using this
; file is warmly recommended for production sites. As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP. Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_long_arrays = Off [Performance]
; Disables registration of the older (and deprecated) long predefined array
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
; introduced in PHP 4.1.0
; - display_errors = Off [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users. With some errors, the error message
; content may expose information about your script, web server, or database
; server that may be exploitable for hacking. Production sites should have this
; directive set to off.
; - log_errors = On [Security]
; This directive complements the above one. Any errors that occur during the
; execution of your script will be logged (typically, to your server's error log,
; but can be configured in several ways). Along with setting display_errors to off,
; this setup gives you the ability to fully understand what may have gone wrong,
; without exposing any sensitive information to remote users.
; - output_buffering = 4096 [Performance]
; Set a 4KB output buffer. Enabling output buffering typically results in less
; writes, and sometimes less packets sent on the wire, which can often lead to
; better performance. The gain this directive actually yields greatly depends
; on which Web server you're working with, and what kind of scripts you're using.
; - register_argc_argv = Off [Performance]
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
; - magic_quotes_gpc = Off [Performance]
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation. Instead, you should use the
; function addslashes() on each input element you wish to send to a database.
; - variables_order = "GPCS" [Performance]
; The environment variables are not hashed into the $_ENV. To access
; environment variables, you can use getenv() instead.
; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
; By default, PHP suppresses errors of type E_NOTICE. These error messages
; are emitted for non-critical errors, but that could be a symptom of a bigger
; problem. Most notably, this will cause error messages about the use
; of uninitialized variables to be displayed.
; - allow_call_time_pass_reference = Off [Code cleanliness]
; It's not possible to decide to force a variable to be passed by reference
; when calling a function. The PHP 4 style to do this is by making the
; function require the relevant argument by reference.

;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache.
engine = On

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off

; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On

; Allow ASP-style <% %> tags.
asp_tags = Off

; The number of significant digits displayed in floating point numbers.
precision = 14

; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
y2k_compliance = On

View Replies!   View Related
Perl
I have a website is written by Perl language. I donnt know how to run it.

I installed Activeperl 5.0 and IIS is running. I have heared someone who told me that need to install a software as Emperl/ html-emperl, is it right?

View Replies!   View Related
How To Install Perl
How do you install perl on a centos 5?

View Replies!   View Related
Perl Symlink
i have big problem all Forums in my server hacked by perl symlink see all config.php by shell perl in .txt by include

i solve it by make perl permission 000 but all thing in cpanel stop cause cpanel by perl

View Replies!   View Related
Perl Removed
A client's server's password was guessed, and the hacker conveniently uninstalled perl. I can't seem to get perl reinstalled. Any ideas on how this would be done? RPM, TAR's and YUM don't work, as they require perl!

Is this going to be a reinstall job?

View Replies!   View Related
How To Secure Perl
all we know that perl language its using in alot of scripts and alot of system admins stop it why this why u dont try stopp the problems from it and make ur client have perl to used it in scripts lets try this if some one need to see passwd he will do cat /etc/passwd what about make this chmod 700 /bin/cat and he will used wget to get files what about this chmod 700 /usr/bin/wget and lynx what about chmod 700 /usr/bin/lynx in this case we make root only can using this commands any system admin sure know now the idea and he can use it as he want ,, this secured method not only in perl its in another programing language put i give this as a clear exampel.

View Replies!   View Related
Old Version Of Perl
I have a Centos VPS with Cpanel. I have begun receiving some email notifications, apparantly from my cpanel... The latest one says that the version of perl I am running is too old.

Subj: [checkperlmodules] perl version too old (v5.8.8 required, v5.8.7 is installed.)

Are there any problems or dire consequences from upgrading or side effects? What version should I upgrade to?

View Replies!   View Related
Perl Error
I've been trying to figure this out for about the past week and haven't had any success.

Can't locate funcs.pl in @INC (@INC contains: lib/perl . /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at ./terr.pl line 28.

I'm trying to run perl magick.

View Replies!   View Related
Perl Security
ive been trying to install it for about 3 hours and ive finally got it working. now, how do i configure it to be nice and secure?

first thing is that i want to restrict which paths people can use in scripts. my site needs to access any paths but site users can only access their own directories. i want the exact same thing as in this thread but with perl instead of php

how do i block certain functions and which ones do i block? i heard perl and php are very similar so im guessing i want to block similar functions to the ones listed here

View Replies!   View Related
Perl Attack
Tasks: 150 total, 7 running, 143 sleeping, 0 stopped, 0 zombie
Cpu(s): 76.9% us, 23.1% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1026224k total, 604068k used, 422156k free, 61396k buffers
Swap: 1052248k total, 140736k used, 911512k free, 233200k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12825 apache 25 0 6752 2040 936 R 33 0.2 1556:57 perl
15338 apache 25 0 7592 4068 1324 R 33 0.4 545:03.58 perl
5817 apache 25 0 6996 4052 1240 R 33 0.4 520:37.18 perl
27139 apache 25 0 6404 4068 1248 R 33 0.4 197:40.96 perl
29176 apache 25 0 7964 4092 1272 R 33 0.4 523:40.92 perl
14785 apache 25 0 7392 4088 1272 R 31 0.4 1158:41 perl
27420 root 16 0 3248 1000 760 R 1 0.1 0:00.04 top
27441 qmaild 16 0 4736 752 604 S 0 0.1 0:00.01 qmail-smtpd
1 root 16 0 1956 96 64 S 0 0.0 0:06.83 init
2 root RT 0 0 0 0 S 0 0.0 0:04.04 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.56 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:02.36 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.47 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:00.12 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:00.05 events/1
8 root 9 -10 0 0 0 S 0 0.0 0:00.00 khelper
9 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
24 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
25 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
44 root 15 0 0 0 0 S 0 0.0 0:24.16 pdflush
26 root 15 0 0 0 0 S 0 0.0 0:00.00 khubd
46 root 13 -10 0 0 0 S 0 0.0 0:00.00 aio/0
47 root 13 -10 0 0 0 S 0 0.0 0:00.00 aio/1
45 root 15 0 0 0 0 S 0 0.0 2:45.50 kswapd0
193 root 25 0 0 0 0 S 0 0.0 0:00.00 kseriod
308 root 15 0 0 0 0 S 0 0.0 4:29.19 kjournald
1393 root 6 -10 1968 4 0 S 0 0.0 0:00.02 udevd
1912 root 6 -10 0 0 0 S 0 0.0 0:00.00 kauditd
1976 root 7 -10 0 0 0 S 0 0.0 0:00.00 kmirrord
1995 root 22 0 0 0 0 S 0 0.0 0:00.00 kjournald
1996 root 15 0 0 0 0 S 0 0.0 0:01.55 kjournald
1997 root 20 0 0 0 0 S 0 0.0 0:00.00 kjournald
2769 root 15 0 2908 244 176 S 0 0.0 2:48.00 syslogd
2773 root 16 0 3348 196 140 S 0 0.0 0:00.00 klogd
2783 root 16 0 3092 272 208 S 0 0.0 0:08.25 irqbalance
2798 named 16 0 50760 4492 1408 S 0 0.4 2:59.58 named
2852 root 15 0 2664 260 104 S 0 0.0 0:00.13 smartd
2861 root 16 0 5220 380 264 S 0 0.0 0:15.04 sshd
[root@cl-t058-280cl tmp]#

I am suffering with perl scripts attack. Please help me to resolve this issue.

View Replies!   View Related
Perl Process
How do I trace what user this is?

Code:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 9488 nobody 25 0 1612 1280 1108 S 21.1 0.2 619:37 1 perl bodyb3 200.101.193.42 0 5000
I also ran netstat -n and found this:
Code:
udp 15184 0 server.host.com:55936 ns1.datacenter.net:domain ESTABLISHED

View Replies!   View Related
How Can Change Perl 5.8.8 To 5.8.7
How can change perl 5.8.8 to 5.8.7

Now I cant Install any Perl Module use CP.

all show me this :

Testing connection speed...(this could take a while)...Done
Ping:2.016 Testing connection speed to cpan.erlbaum.net using pureperl...(157450.00 bytes/s)...Done
Ping:2.316 Testing connection speed to cpan.belfry.net using pureperl...(157450.00 bytes/s)...Done
Ping:1.911 Testing connection speed to cpan.glines.org using pureperl...(104300.00 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for cpan.erlbaum.net (/index.html)
Unknown config variable 'less'
commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: File::HomeDir loaded ok (v0.65)
CPAN: Storable loaded ok (v2.16)
Going to read /home/.cpan/Metadata
Database was generated on Wed, 15 Aug 2007 01:38:08 GMT
Acme:pork is up to date (0.0.7).
perlmod--Install done

View Replies!   View Related
Perl Install
Want to apply this to a forum
[url]

I think I installed html2ps correctly, but I do not know how to get ps2pdf installed on Centos 4.5

I have cpanel as well

View Replies!   View Related
Perl Process
We are using FreeBsd with Cpanel.

Some one has upload some scripts,they are running and attacking
to other systems.

last pid: 64017; load averages: 59.59, 60.75, 63.04 up 19+22:52:28 12:03:45
457 processes: 61 running, 315 sleeping, 81 zombie
CPU states: 52.4% user, 0.0% nice, 47.6% system, 0.0% interrupt, 0.0% idle
Mem: 465M Active, 212M Inact, 236M Wired, 22M Cache, 111M Buf, 62M Free
Swap: 2048M Total, 458M Used, 1590M Free, 22% Inuse

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
3282 root 128 0 37536K 30520K RUN 3:49 4.79% 4.79% perl
62953 root 128 0 30284K 25248K RUN 0:05 1.90% 1.90% perl
49249 root 128 0 33720K 28876K RUN 0:46 1.86% 1.86% perl
2981 root 128 0 40928K 30724K RUN 3:56 1.56% 1.56% perl
76809 nobody 127 0 4148K 2080K RUN 13:52 1.42% 1.42% perl5.8.8
19633 nobody 127 0 4148K 2128K RUN 2:34 1.42% 1.42% perl5.8.8
57451 nobody 126 0 4148K 2072K RUN 39:24 1.22% 1.22% perl5.8.8
76599 nobody 126 0 4148K 2080K RUN 13:53 1.22% 1.22% perl5.8.8
76966 nobody 126 0 4148K 2080K RUN 14:01 1.17% 1.17% perl5.8.8
60286 nobody 126 0 4148K 2072K RUN 38:42 1.12% 1.12% perl5.8.8
77488 nobody 126 0 4148K 2080K RUN 13:48 1.12% 1.12% perl5.8.8
77697 nobody 126 0 4148K 2080K RUN 13:47 1.12% 1.12% perl5.8.8
56573 nobody 126 0 4148K 2096K RUN 39:55 1.07% 1.07% perl5.8.8
58126 nobody 126 0 4148K 2072K RUN 39:11 1.07% 1.07% perl5.8.8
76513 nobody 126 0 4148K 2080K RUN 13:58 1.07% 1.07% perl5.8.8
76807 nobody 126 0 4148K 2080K RUN 13:57 1.07% 1.07% perl5.

View Replies!   View Related
Rouge Perl Script
I've got a rouge perl script running on one of my servers and need help in tracking it down.

TOP

1877 apache 25 0 4856 3060 1252 R 49.9 0.3 13:51.98 perl

as soon as ps is killed it restarts

/tmp

-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.1
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.10
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.11
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.12
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.13
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.14
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.15
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.16
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.17
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.18
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.2
-rw-r--r-- 1 apache apache 48444 Apr 15 01:11 blue.3
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.4
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.5
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.6
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.7
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.8
-rw-r--r-- 1 apache apache 29572 Apr 15 01:11 blue.9

and over the past couple of days there's been a number of these

-rw------- 1 apache apache 99 Apr 20 02:22 sess_00f39873b47be556f0c047e96b726640
-rw------- 1 apache apache 68 Apr 20 08:20 sess_01d2ba3e471475384ea3c1d2ff1cde7f
-rw------- 1 apache apache 0 Apr 20 06:04 sess_01ea1b9ebe41331239ded82506f66090
-rw------- 1 apache apache 0 Apr 19 23:04 sess_0a83f93845da3fabce31d897f13735b0
-rw------- 1 apache apache 68 Apr 20 01:50 sess_0c83beb8ba2ce1f42833874b0d8a7470
-rw------- 1 apache apache 68 Apr 20 08:25 sess_0d5989b161d7d6434692de42faa248ab
-rw------- 1 apache apache 0 Apr 19 18:15 sess_10f858c3904a12a1e4c9e7da70e0fbb8
-rw------- 1 apache apache 26 Apr 20 09:39 sess_11a8b8d85883c8f2da146bb8f97bd25e
-rw------- 1 apache apache 68 Apr 19 14:22 sess_11f018952ec1cae08e6d8a95a0c99287
-rw------- 1 apache apache 26 Apr 19 21:18 sess_1706bf1b9e5d4b09e29cfbc3517d6755
-rw------- 1 apache apache 26 Apr 20 02:22 sess_1c48c7232dbc7087c312d43debb942a7
-rw------- 1 apache apache 0 Apr 20 06:46 sess_1cdf7ecf082c27f389b759adef50f932
-rw------- 1 apache apache 0 Apr 20 08:04 sess_1d6d06ea737c1eff71152a590cd420a4
-rw------- 1 apache apache 26 Apr 20 09:42 sess_26b16f5a5b59639af28f6bc49dba1ed5ly

View Replies!   View Related
Show All Perl Process
How can see just perl or exim runing process with ssh on linux?

View Replies!   View Related
How To Prevent Perl From Working
I have a cPanel/Linux server, runing apache as a webserver.

i want to know how can i prevent perl/cgi files from working on all virtual hosts on both apache2/apache1.3!

View Replies!   View Related
Servage With Perl Scripting
I've used Servage for about 18 months. For most of that time there have been no problems. Then they decided to upgrade the cluster. This happened 3 weeks ago. Since then, there has been a catalogue of problems, mostly centred around a Perl script my site uses to implement a wiki.

The first problem was that they had removed four of the supporting Perl modules used by my Perl script. All of the missing modules are ones you would expect to find on any server that claims to support Perl. They had warned that this might happen (obviously too difficult for them to make sure that the upgraded server has all the Perl modules) so I notified them with a list of missing modules expecting the modules to be restored quickly. It actually took 1 week, during which time their support team tried their best to annoy me by giving responses related to PHP (apparently they'd managed to kill PHP scripting completely) and a non-working link to a list of installed modules (I knew what was installed already).

Having now got the script running, I hit a further problem. Prior to the upgrade the script had run under the "webserver" account. It was now running under the "you" account. This meant it couldn't write to its own data files. I had real trouble getting Servage to understand this one, let alone fix it. Most of their answers were about how to change the ownership of my script, which makes absolutely no difference to the problem. Eventually, after 4 days, they tried to fix the problem. The result was that my website became completely inaccessible. Even the static content was giving a 403 error. Again, it took support a while to understand the problem and about 1.5 days to fix it.

At this point Servage claimed to have fixed all outstanding issues. However, my script was still running under the wrong account. In frustration, I changed the ownership of all the script's data files to "you", which at least got my wiki running again.

However, I now find that people can't upload images to the site. Any attempt to do so produces an error "CGI open of tmpfile: Permission denied".

I've given up. I think my chances of getting Servage to even understand the problem are minimal. I'm not even going to try. I will be moving to another host as soon as possible - probably a VPS. That way I should be able to fix most problems myself.

View Replies!   View Related
Can't Install Perl Module
Trying to Image::Magick via whm perl module installer. Got the below error.

{standard input}:99: Warning: size of "opacity" is already 2; not changing to 8

{standard input}:155: Warning: size of "backdrop" is already 4; not changing to 288

{standard input}:159: Warning: size of "magnify" is already 4; not changing to 288

make: *** [Magick.o] Error 1

JCRISTY/PerlMagick-6.40.tar.gz

/usr/bin/make -- NOT OK

CPAN: YAML loaded ok (v0.66)

Running make install

Make had returned bad status, install seems impossible

perlmod--Install done

I'm using perl 5.8.8

This is perl, v5.8.8 built for i686-linux

View Replies!   View Related
Perl Modules Not Found
to install these two but whm did not find them

html2ps
ps2pdf

Only found this,
Meta::Tool:s2Pdf

not sure if that is the proper one anyway.

Using perl 5.8.8 / centos 4.5

View Replies!   View Related
Perl Scripts Not Working
Two servers, with almost exactly same setup.

I can run perl cgi at one, but the other one just displays the perl code of the same script.

I know this must be an easy one, but I have absolutely no knowledge about perl,

View Replies!   View Related
How Do You Secure The Tmp From Perl
i,m facing perl script on my server and i can,t find a way to protect it from perl

really i need the best way

i choose this forum because most of you here are expert in this filed . ... ..

View Replies!   View Related
How To Find Cause Of Perl Infestation
find my server filled with suspicious perl processes, most likely the result of bad PHP coding somewhere on my box. I successfully eradicated all of it, but I know it'll only come back again unless I figure out where it came from. Anyone have any ideas how to track it down? I'd search all the httpd logs for each domain, but I don't really know what I'd be looking for.

View Replies!   View Related
Difference Between CentOs 5.0 And Centos 4.5? Both With Plesk
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)

Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?

View Replies!   View Related
Install Perl Module In PLESK
we need to install some perl modules in our server, how can I do it ? my server is Linux with PLESK.

View Replies!   View Related
Allow Perl To Run Inside .htaccess
What would I have to add inside .htaccess to allow perl scripts to run?

View Replies!   View Related
Perl File 500 Error
I'm getting a internal 500 on a test perl file that I placed inside cgi-bin

This is a cpanel box with suphp enabled ....

View Replies!   View Related
How To Install Perl With Direct Admin
How to install perl with Direct Admin?

How to install perl with Direct Admin?

View Replies!   View Related
Perl Symlink Security Hole
A client hacked another client of mine using the following Perl code:

#!/usr/bin/perl

symlink ("/home/john/public_html/config.php","/home/carole/public_html/forums/includes/config.php");
After the hacker got the DB name, username and password it's very easy to change anything in the forum using PHP.

I'm using cPanel.

View Replies!   View Related
Blocking Perl In User Accounts
I would like to dissable from executing perl scripts on user accounts.

For example,now user can upload perl script for example with name script.pl:

Code:
#!/usr/bin/perl -w
print "Hello World!";
I would like to block it via mod_security - I don't want to allow running perl scripts with .pl extension at all. Is it possible for Apache 1.x?

View Replies!   View Related
Command :: SSH To See If Perl Is Installed Or Not?
what command I must write into SSH to see if perl is installed or not?

View Replies!   View Related
Track Perl Hacking Script
I have FreeBsd with Cpanel.someone is running attacking perl script from my server.Below is information about that script but it shows / path in command lsof -p 30251 | grep cwd.

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
29018 root 96 0 35968K 30528K select 0:03 2.71% 2.69% perl

newinst# lsof -p 30251 | grep cwd
lsof: WARNING: compiled for FreeBSD release 5.5-STABLE; this is 5.3-RELEASE.
perl 29018 root cwd VDIR 4,12 1024 2 /

newinst# ls -la / | more
total 22413
drwxr-xr-x 25 root wheel 1024 May 16 03:23 .
drwxr-xr-x 25 root wheel 1024 May 16 03:23 ..
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .black
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .black.bak
-rw-r--r-- 2 root wheel 801 Nov 5 2004 .cshrc
-rw-r--r-- 1 root wheel 355 Feb 21 2007 .new
-rw-r--r-- 2 root wheel 251 Nov 5 2004 .profile
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .rbl.db
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .rbl.db.bak
drwxrwxr-x 2 root operator 512 Jul 19 2005 .snap
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .uribl.db
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .uribl.db.bak
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .white
-rw-r--r-- 1 root wheel 1 Feb 21 2007 .white.bak
-r--r--r-- 1 root wheel 6184 Nov 5 2004 COPYRIGHT
drwx--x--x 3 root wheel 512 Aug 20 2005 backup
drwxr-xr-x 2 root wheel 1024 Dec 28 2006 bin
drwxr-xr-x 5 root wheel 512 Jul 19 2005 boot
drwxr-xr-x 2 root wheel 512 Jul 19 2005 cdrom
lrwxr-xr-x 1 root wheel 10 Jul 19 2005 compat -> usr/compat
-rw-r--r-- 1 root wheel 177 Dec 5 12:15 cpgd.c
dr-xr-xr-x 4 root wheel 512 May 16 16:23 dev
drwxr-xr-x 2 root wheel 512 Jul 19 2005 dist
-rw------- 1 root wheel 4096 May 13 15:58 entropy
drwxr-xr-x 28 root wheel 4608 May 19 11:57 etc
drwx--x--x 501 root wheel 9216 May 19 01:33 home
drwxr-xr-x 3 root wheel 1024 Jul 19 2005 lib
drwxr-xr-x 2 root wheel 512 Jul 19 2005 libexec
drwxr-xr-x 2 root wheel 512 Nov 5 2004 mnt
drwxr-xr-x 3 root wheel 512 Jul 21 2005 nonexistent
drwxr-xr-x 8 root wheel 512 Oct 30 2007 opt
-rw------- 1 root wheel 22786048 May 16 04:51 perl.core
dr-xr-xr-x 1 root wheel 0 May 19 11:57 proc
drwxr-xr-x 2 root wheel 2560 Jul 19 2005 rescue
drwxr-xr-x 13 root wheel 1024 May 19 01:33 root
drwxr-xr-x 2 root wheel 2560 Jul 19 2005 sbin
drwxr-xr-x 5 root wheel 13824 May 19 01:22 scripts
drwxr-xr-x 4 root wheel 1024 Jul 19 2005 stand
lrwxrwxrwx 1 root wheel 11 Jul 19 2005 sys -> usr/src/sys
drwxrwxrwt 9 root wheel 31744 May 19 11:57 tmp
drwxr-xr-x 21 root wheel 512 Dec 5 12:12 usr
drwxrwxrwx 24 root wheel 512 May 16 16:24 var

where it is localted at/path.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved