Need new webalizer binaries & Jailshell for apache2/php5

hostpc.com

Verified User
Joined
Aug 2, 2003
Messages
1,071
Location
Schenectady, NY
I've sent email to support - haven't received a reply - we really need to get this resolved

1. Binaries for webalizer: http://help.directadmin.com/item.php?id=63 we need a release for CentOS5, the CentOS4 (latest) isn't stable on Cent5

2. The jail that currently exists

wget http://files.directadmin.com/services/customapache/jail/build

does NOT work with custombuild - php5/ap2 - it tries to remake the apache1/php4 default. I've changed the path (customapache to custombuild) - but the internal scripts still aren't producing a jailed shell environment. PLEASE look into this for the sake of server security, and for my sanity.

While I'm putting up my Wish List - how about SFTP for users - without having to enable SSH for them?? :)
 
Hi Joe,

1.
Code:
wget -O /usr/bin/webalizer http://files.directadmin.com/services/es_5.0/webalizer
chmod 755 /usr/bin/webalizer

2. I'm planning to add jailed shell environment to the CustomBuild script soon :)

Have a good day!
 
Hi Joe,

1.
Code:
wget -O /usr/bin/webalizer http://files.directadmin.com/services/es_5.0/webalizer
chmod 755 /usr/bin/webalizer

2. I'm planning to add jailed shell environment to the CustomBuild script soon :)

Have a good day!

Thanks for the webalizer fix ... any ETA on the jailshell option?
 
New version of the CustomBuild script should be released soon :) It's done and John is testing it at the moment.
 
Does this (tho I can't imagine why) require: http://www.directadmin.com/forum/showpost.php?p=23708&postcount=42

If not, it's not working out of the box.

*************************************************
* *
* DirectAdmin WebServices Installer *
* Written by Martynas Bendorius and DirectAdmin *
* Version: 1.1.11 *
* *
*************************************************


Code:
# ./build all_jail
./build: line 5743: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
Downloading             sh-utils-2.0.15.tar.gz...
--15:22:21--  http://files.directadmin.com/services/custombuild/sh-utils-2.0.15.tar.gz
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:22:22 ERROR 404: Not Found.


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 5762: cd: sh-utils-2.0.15: No such file or directory
./build: line 5763: ./configure: is a directory

*** The configure has failed ***
./build: line 5788: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
gcc: chrootshell.c: No such file or directory
gcc: no input files

*** The make has failed ***
./build: line 5810: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
Downloading             nbsmtp-1.00.tar.gz...
--15:22:22--  http://files.directadmin.com/services/custombuild/nbsmtp-1.00.tar.gz
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:22:22 ERROR 404: Not Found.

./build: line 5815: cd: nbsmtp-1.00: No such file or directory
./build: line 5816: ./configure: is a directory
make: *** No targets specified and no makefile found.  Stop.

*** The make has failed ***
./build: line 5820: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
 
./build update_data

gives this error in the output, so I guess there are files missing on the server.

--12:32:49-- http://files.directadmin.com/services/custombuild/jail.tar.gz
=> `./jail.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
12:32:49 ERROR 404: Not Found.
 
Thank you for the report. Files are in different location, it will be fixed soon.
 
I've copied the 3 missing filles to the correct path now.. let me know if I've missed any.

jail.tar.gz
sh-utils-2.0.15.tar.gz
nbsmtp-1.00.tar.gz

John
 
For some reason it's downloading them correctly now, and then trying to download them a second time from the backup server (and failing), ending up with empty files for sh-utils-2.0.15.tar.gz and nbsmtp-1.00.tar.gz
 
./build all_jail
Downloading sh-utils-2.0.15.tar.gz...
--18:39:12-- http://files.directadmin.com/services/custombuild/sh-utils-2.0.15.tar.gz
=> `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,136,810 (2.0M) [application/x-gzip]

100%[===============================================================================>] 2,136,810 349.85K/s ETA 00:00

18:39:18 (333.78 KB/s) - `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz' saved [2136810/2136810]

Fileserver is down, using the backup file server..
--18:39:18-- http://84.16.234.222/services/custombuild/sh-utils-2.0.15.tar.gz
=> `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz'
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:39:18 ERROR 404: Not Found.

Can not find sh-utils-2.0.15.tar.gz. Run './build update_data'
Downloading nbsmtp-1.00.tar.gz...
--18:39:18-- http://files.directadmin.com/services/custombuild/nbsmtp-1.00.tar.gz
=> `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 121,542 (119K) [application/x-gzip]

100%[===============================================================================>] 121,542 190.49K/s

18:39:19 (190.12 KB/s) - `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz' saved [121542/121542]

Fileserver is down, using the backup file server..
--18:39:19-- http://84.16.234.222/services/custombuild/nbsmtp-1.00.tar.gz
=> `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz'
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:39:20 ERROR 404: Not Found.

tar: nbsmtp-1.00.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
./build: line 5815: cd: nbsmtp-1.00: No such file or directory
./build: line 5816: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.

*** The make has failed ***
 
CentOS 5 - I did a build update - the version has not changed as of yet.

*************************************************
* *
* DirectAdmin WebServices Installer *
* Written by Martynas Bendorius and DirectAdmin *
* Version: 1.1.11 *
* *
*************************************************

]# ./build all_jail
./build: line 5743: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
File already exists: sh-utils-2.0.15.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 5762: cd: sh-utils-2.0.15: No such file or directory
./build: line 5763: ./configure: is a directory

*** The configure has failed ***
./build: line 5788: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
gcc: chrootshell.c: No such file or directory
gcc: no input files

*** The make has failed ***
./build: line 5810: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
File already exists: nbsmtp-1.00.tar.gz
./build: line 5815: cd: nbsmtp-1.00: No such file or directory
./build: line 5816: ./configure: is a directory
make: *** No targets specified and no makefile found. Stop.

*** The make has failed ***
./build: line 5820: cd: /usr/local/directadmin/custombuild/jail: No such file or directory
 
hostpc.com, run "./build update" for the first time. Make sure you have jail=yes in options.conf file.
 
This is what happens here now:

1. ./build update_script
2. ./build update

3. ./build all_jail
Downloading sh-utils-2.0.15.tar.gz...
--02:53:48-- http://files.directadmin.com/services/custombuild/sh-utils-2.0.15.tar.gz
=> `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,136,810 (2.0M) [application/x-gzip]

100%[===============================================================================>] 2,136,810 360.94K/s ETA 00:00

02:53:54 (342.71 KB/s) - `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz' saved [2136810/2136810]

Fileserver is down, using the backup file server..
--02:53:54-- http://84.16.234.222/services/custombuild/sh-utils-2.0.15.tar.gz
=> `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz'
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,136,810 (2.0M) [application/x-gzip]

100%[===============================================================================>] 2,136,810 197.30K/s ETA 00:00

02:54:06 (186.92 KB/s) - `/usr/local/directadmin/custombuild/sh-utils-2.0.15.tar.gz' saved [2136810/2136810]

Can not find sh-utils-2.0.15.tar.gz. Run './build update_data'
Downloading nbsmtp-1.00.tar.gz...
--02:54:06-- http://files.directadmin.com/services/custombuild/nbsmtp-1.00.tar.gz
=> `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 121,542 (119K) [application/x-gzip]

100%[===============================================================================>] 121,542 204.43K/s

02:54:06 (203.66 KB/s) - `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz' saved [121542/121542]

Fileserver is down, using the backup file server..
--02:54:07-- http://84.16.234.222/services/custombuild/nbsmtp-1.00.tar.gz
=> `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz'
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 121,542 (119K) [application/x-gzip]

100%[===============================================================================>] 121,542 122.59K/s

02:54:08 (122.07 KB/s) - `/usr/local/directadmin/custombuild/nbsmtp-1.00.tar.gz' saved [121542/121542]

tar: nbsmtp-1.00.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
./build: line 5823: cd: nbsmtp-1.00: No such file or directory
./build: line 5824: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.

*** The make has failed ***



So even though it already has them, it downloads them again (twice) and then can't find them.
 
CustomBuild 1.1.12 will be released today, it will contain jailed ssh fixes too.
 
tee.c:35: error: conflicting types for ‘tee’
/usr/include/bits/fcntl.h:233: error: previous declaration of ‘tee’ was here
make[3]: *** [tee.o] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/sh-utils-2.0.15/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/sh-utils-2.0.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/sh-utils-2.0.15'
make: *** [all] Error 2

*** The make has failed ***
 
Back
Top