Pure-ftpd Startup

Feb 22, 2008

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 1 Replies


ADVERTISEMENT

Pure-FTPD Login Not Working -- /var/run/ftpd.sock

Nov 9, 2008

I have cPanel running on a server which was working until it magically stopped allowing FTP logins via Pure-FTPD. It won't even allow Pure-FTPD to be started up. It gives the following error:

Starting pure-config.pl: Running: /usr/local/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth
:/var/run/ftpd.sock -L2000:8 -m4 -s -U133:022 -u100 -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -k99 -Z -Y1
/usr/local/sbin/pure-ftpd: invalid option -- O
421 Unknown authentication method: extauth:/var/run/ftpd.sock
[FAILED]
I've tried upgrading cPanel, downgrading cPanel, forcing a reinstall, swapping to Pro-FTPD (doesn't allow login either) and back, but nothing seems to repair it.

Does anyone else have any ideas or experienced a similar issue?

View 1 Replies View Related

Pure-ftpd

Oct 24, 2009

I am not 100% sure if i am going to be able to describe the problem, but i hope someone will get an idea what i am talking about.

I have pure-ftpd installed on my server.

In one of the folders in my public_html i have more then 10 000 files.

When i ftp to my username using FlashFXP i am unable to list more then 1998 files.

Does it have to do anything with passive ports range or?

what port range should i use, and how should i enter it in /etc/sysconfig/iptables.

View 5 Replies View Related

VPS Would Not Start Pure-ftpd

May 16, 2009

i tried everything i know and reinstalled my vps more than 5 times for the last 24hrs but i'm out of luck. Pure-ftpd would not start what ever i do.

Also lxadmin installation gives me the following error:

Downloading Installappdata
pure-ftpd: unrecognized service
unlink: cannot unlink `/usr/bin/lxsuexec': No such file or directory
unlink: cannot unlink `/usr/bin/lxexec': No such file or directory
mv: cannot stat `/sbin/udevd': No such file or directory
rm: cannot remove `/dev/pts/0': Operation not permitted

View 5 Replies View Related

Pure-ftpd WHM Firewall

Apr 15, 2008

I am just in the process of finish off setting up my first cPanel server but I am having the follow problems when connecting to FTP:

Response:220---------- Welcome to Pure-FTPd [TLS] ----------
Response:220-You are user number 1 of 50 allowed.
Response:220-Local time is now 17:20. Server port: 21.
Response:220-IPv6 connections are also welcome on this server.
Response:220 You will be disconnected after 15 minutes of inactivity.
Command:USER xxxx
Response:331 User ehuk OK. Password required
Command:PASS ***********
Response:230-User ehuk has group access to: ehuk
Response:230 OK. Current restricted directory is /
Command:SYST
Response:215 UNIX Type: L8
Command:FEAT
Response:211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response:211 End.
Status:Connected
Status:Retrieving directory listing...
Command:PWD
Response:257 "/" is your current location
Command:TYPE I
Response:200 TYPE is now 8-bit binary
Command:PASV
Response:227 Entering Passive Mode (10,21,103,3,255,61)
Status:Server sent passive reply with unroutable address. Using server address instead.
Command:LIST
Error:Connection timed out
Error:Failed to retrieve directory listing

The server is behind a firewall, I can connect to the FTP via VPN but I cant connect via the remote IP, any ideas?

I know cPanel is designed for NAT but I have worked around this, the FTP is the only issue,

View 13 Replies View Related

Pure-ftpd Too Many Connection

Sep 2, 2007

I have too many connection from 202.96.5.29 through pure-ftpd:

PHP Code:

Sep  3 00:27:24 server pure-ftpd: (?@202.96.5.29) [INFO] New connection from 202.96.5.29Sep  3 00:27:25 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep  3 00:27:29 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep  3 00:27:31 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [Administrator]Sep  3 00:27:39 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep  3 00:27:49 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep  3 00:27:49 server pure-ftpd: (?@202.96.5.29) [ERROR] Too many authentication failuresSep  3 00:27:49 server pure-ftpd: (?@202.96.5.29) [INFO] New connection from 202.96.5.29 

I block this ip (202.96.5.29 ) with:

PHP Code:

/sbin/iptables -I INPUT -s 202.96.5.29 -j DROProute add 202.96.5.29 reject 

but is not blocked always I have same too many connection?

how can I force block this Ip?

View 7 Replies View Related

Pure-ftpd In /var/log/messages

Sep 14, 2007

/var/log/messages is full of messages like this every 5 minutes:

[INFO] New connection from 209.85.4.32
pure-ftpd: (?@209.85.4.32) [INFO] Logout

is there any way to stop it?

View 3 Replies View Related

Pure-ftpd Temporary File

Feb 6, 2007

Is there a way to disable the temporary filename, for instance when I upload a file via ftp, the filename becomes .pureftp-24213421423. It returns back to the original filename when you abord the transfer or when it's completed.

View 2 Replies View Related

Pure-FTPD + APF - Connection Reset

Mar 3, 2007

I have a slight problem with one user trying to upload with FTP to the server. The problem is, if he is uploading a file that will take awhile... his FTP connection will be dropped if he visits his site during the transfer.

Me and a few others have tried duplicating the problem with no success. Our uploads do not get stopped. Anyhow, I took a guess that maybe it was a problem with APF our software based firewall. I turned it off for a few minutes, and then the users problems dissappeared.

I turned on full logging in APF, and had the user try yet again. Here is the output:

PHP Code:

Mar  3 17:23:22 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=21 DPT=61682 WINDOW=0 RES=0x00 RST URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64493 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65164 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64496 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK PSH URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64497 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64499 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK URGP=0
Mar  3 17:23:32 boundless kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=00:e0:81:44:f0:a2:00:d0:03:c2:a8:00:08:00 SRC=69.149.62.111 DST=69.65.12.230 LEN=1492 TOS=0x00 PREC=0x00 TTL=116 ID=64500 DF PROTO=TCP SPT=61684 DPT=23301 WINDOW=65535 RES=0x00 ACK PSH URGP=0
Mar  3 17:23:33 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=21 DPT=61682 WINDOW=0 RES=0x00 RST URGP=0
Mar  3 17:23:34 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65166 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:39 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65168 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK URGP=0
Mar  3 17:23:44 boundless kernel: ** OUT_TCP DROP ** IN= OUT=eth0 SRC=69.65.12.230 DST=69.149.62.111 LEN=40 TOS=0x08 PREC=0x00 TTL=64 ID=65170 DF PROTO=TCP SPT=23301 DPT=61684 WINDOW=32767 RES=0x00 ACK FIN URGP=0
Mar  3 17:23:44 boundless pure-ftpd: (lf4worl@69.149.62.111) [INFO] Timeout (no new data for 900 seconds) 

The 17:23:44listings is the exact time he visited his site during the upload. The weird part is the Timeout message at that same exact time. No new data for 900 seconds...

Anyhow, I don't really want to post the full apf.conf if I don't have to... So can anyone take a guess at what APF rule might be causing the problem?

Also, why would it only be affecting 1 client when all the rest can visit their site while uploading?

View 2 Replies View Related

Pure-ftpd Crashing During File Uploads

Jan 12, 2008

I've been running pure-ftpd for around 4 months now without any problems, until around 24-48 hours ago file upload has been going a bit loopy.

When you upload a file the speed bounces considerably, and at times pauses on 0kbps until it then dies and fails the upload. 9/10 uploads I have tried have failed.

[R] Opening data connection IP: 74.86.20.181 PORT: 35283
[R] LIST -al
[R] 150 Accepted data connection
[R] 226-Options: -a -l
[R] 226 6 matches total
[R] List Complete: 374 bytes in 0.64 seconds (0.6 KB/s)
Transfer queue completed
1 File failed to transfer
[R] Connection lost: chacha
We have restarted pure-ftpd a number of times, but have had no luck.

Please could you try and upload a file (at least 10mb and please nothing dodgey) to this FTP account:

address: chacha.99k.org
user: chacha@99k.org
pass: password

And output the result.

Does anyone here have experience with pure-ftpd and would possibly consider giving my system a "once over"?

View 2 Replies View Related

Pure-ftpd + Filezilla = 1 Hour Time Offset

Apr 7, 2008

Timezone on server is set to GMT -5 EDT
My timezone is GMT -5 EDT

Yet filezilla 3.x ftp client connected to my server's pure-ftpd server offsets time on transferred files by an hour, saying now at 8:52 that the file was uploaded to the server at 9:52.

WHM and uptime, etc. at the SSH prompt show server time correct, matching my own time.

But connecting via filezilla 3 I get:

Status: Calculating timezone offset of server...
Command:MDTM .htaccess
Response:213 20080208013750
Status:Timezone offsets: Server: -18000 seconds. Local: -14400 seconds. Difference: 3600 seconds.
Status: Directory listing successful

If I connect locally to pure-ftp via the server shell ftp, I get
Connected to localhost.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 20:52. Server port: 21.

which matches

$ uptime
20:52:28

The filezilla forums however indicate the problem is due to some "non-standards compliant setup" of my ftp server.

[url]

Quote:

As required in RFC 3659 [url]FileZilla assumed MDTM returns timestamps in UTC. Based on the timestamp return in the LIST reply and the corresponding MDTM reply, it calculates the timezone offset of the server.

Obviously this fails on broken or misconfigured servers.

I can assure you that it works fine on all standards-compliant servers.

Is there something I can tweak with pure-ftpd, or is this a Filezilla 3 bug?

View 9 Replies View Related

Pure-ftpd: Virtual Users Home Dir Management

May 29, 2008

Today I tried to setup pure-ftpd server on slackware linux and managed to do that I also enabled virtual users feature, but when I log in to ftp as virtual user I cannot create any dirs or change dirs.

My question is - how do I enable for virtual user: deleting, changing, renaming, creating files, dirs in his home ftp directory?

View 3 Replies View Related

Colo Startup

May 15, 2008

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 14 Replies View Related

PHP Startup Dll Errors

Mar 27, 2007

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 5 Replies View Related

PHP Startup Dll Errors

Mar 28, 2007

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 6 Replies View Related

Pure-FTP

Apr 3, 2009

I have install WHM and also installed CSF. how to block or denied a user to access ftp.

View 4 Replies View Related

Startup Review - LimestoneNetworks

Nov 1, 2009

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 10 Replies View Related

CoreNetworks Startup Delay

May 19, 2009

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 13 Replies View Related

Startup Server Recommendation

Jul 14, 2008

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 6 Replies View Related

Startup Script Run As Particular User

Aug 20, 2007

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 1 Replies View Related

Unix Startup Script

Jun 11, 2007

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 3 Replies View Related

Apache :: Startup Messages Do Not Appear

Jan 25, 2014

I have 2.4.3 (Win-64) installed and running. When it starts up, I get a command prompt window that has messages in it, but the window closes so quickly, I can't read the messages. They don't appear in the log. I have tried to manually start the server, but when I do, the messages do not appear!

How can I get that window to stay open or where can I see those messages?

View 3 Replies View Related

I Get Ftpd Failed In My Server

Jun 13, 2009

Daily I get ftpd failed , and it didn't auto restart unless I do force ftpd threw shell

Code:
/scripts/ftpup --force
Server with 2 GB , and only one website contains.

View 14 Replies View Related

Ftpd And Iptables Rules

May 18, 2008

my server have problem with login to ftp

i ask of cpanel,cpanel answer :

Howdy,

Are you using any kind of external firewalling? I have enabled the passive
ports in pure-ftpd and attempted to connect in passive mode, but it still
fails.

and

Howdy,

You should allow connections on 30000 through 50000 for passive ftp

---

this is vps

how may i solved it?
i use of csf

View 6 Replies View Related

Setting A Startup Process - CentOS

May 20, 2009

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 4 Replies View Related

Pure-ftp Trace IP Address

May 12, 2008

I have pure-ftp server.

I have checked some ftp failure login attempt made but when i check log file but only see real ip address which is external ip address but i want to trace main ip so anyone tell me howto trace that ip address.

View 9 Replies View Related

CentOS - Add Perl Script To System Startup

Sep 17, 2007

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 11 Replies View Related

Searching Pure (ftp) Backup Space

Apr 12, 2008

When I look around almost all offers are webhosting as
Dedicated or Managed servers with PHP, MxySQL and so on.

What I need is (big) pure backup space which must be at least
accessible by (reliable and pretty fast but not absolute ultar-high-speed) ftp server (which supports resuming of ftp-sessions).

Needed space: 200 GB

Traffic per month: 200-500 GB (can be at night)

(only) Nice to have (but not absolutely required):

- TLS/SSL Encryption for ftp
- 2-5 more ftp accounts (sharing the same space)
- crontab and perl scripts
- WebDav

View 1 Replies View Related

Pure-FTP Can't Find Home Directories

Jul 31, 2007

I had what I thought was a fairly smooth install via yum of Pure-FTP on a Fedora 7 SELinux server. I configured it to use it's own PureDB virtual user system, and I added a few users using # pure-pw useradd to test things out. However, upon successfully logging in...

[21:51:34] USER test1
[21:51:34] 331 User test1 OK. Password required
[21:51:34] PASS (hidden)
[21:51:34] Cannot login waiting to retry (30s)...
[21:51:34] Server closed connection...so, I check /var/log/messages to find...
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [INFO] New connection from 192.168.0.134
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [ERROR] Home directory not available - aborting

Clearly, something is awry. When I created the users, I explicitly specified their home directory using pure-pw's -d flag, and I can confirm that it was entered correctly by viewing the /etc/pure-ftpd/pureftpd.passwd. The directories, of course, do exist with the proper permissions and ownership.

View 8 Replies View Related

FTPd Failed Every Time Server Reboot

Jul 3, 2007

Everytime i rebooted my server, my FTPd is always down and it won't start unless i restart my FTPd via WHM (CPanel server)

Sometimes, named failed too.

View 7 Replies View Related







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