Discussion about CustomBuild

Please help! HTTPD wont start

Hi I rebuilt everything ./build all and httpd wont start. After that I did .build apache trying to make things right but no luck.
I get :
An error has occurred

Details

/sbin/service httpd restart 2>&1

:confused:
 
Problem solved: I had open_basedir enabled and disableing it did the trick.

I am running php as cgi so I wounder if open_basedir isn't working or isn't needed if I do this?
 
One other problem popped up

Hi, after ./build all squirrelmail is giving me the following error:
ERROR: Connection dropped by IMAP server.
Query: CAPABILITY

RounrQube worked before I did ./build all but now I only get to log in screen and then nothing, not even an error message.

Interesting! :confused:
 
Thank's I found the problem after a lot of reading. It was an ownership problem for both Squirrellmail and Roundcube.
 
zlib/webalizer

Trying to recompile webalizer.
Here is what we get:
Code:
./build webalizer
File already exists:    webalizer-2.01-10-src.tgz
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for db_185.h... no
checking for errno.h... yes
checking for socket... no
checking for main in -lsocket... no
checking for sys/socket.h... yes
checking for main in -lnsl... no
checking for main in -l44bsd... no
checking for main in -lm... no
checking for main in -lz... no
configure: error: z library not found... please install zlib.
Trying to make webalizer...
make: *** No targets specified and no makefile found.  Stop.

*** The make has failed, do you want to try to make again? (y,n): n
Well, zlib is installed. But let's fix it and build again:
Code:
./build zlib
File already exists:    zlib-1.2.3.tar.gz
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.3 with gcc.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
Trying to make libz...
gcc -fPIC -O3 -DUSE_MMAP   -c -o example.o example.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o adler32.o adler32.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o compress.o compress.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o crc32.o crc32.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o gzio.o gzio.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o uncompr.o uncompr.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o deflate.o deflate.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o trees.o trees.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o zutil.o zutil.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inflate.o inflate.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o infback.o infback.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inftrees.o inftrees.c
gcc -fPIC -O3 -DUSE_MMAP   -c -o inffast.o inffast.c
gcc -shared -Wl,-soname,libz.so.1 -o libz.so.1.2.3 adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
rm -f libz.so libz.so.1
ln -s libz.so.1.2.3 libz.so
ln -s libz.so.1.2.3 libz.so.1
gcc -fPIC -O3 -DUSE_MMAP -o example example.o -L. libz.so.1.2.3
gcc -fPIC -O3 -DUSE_MMAP   -c -o minigzip.o minigzip.c
gcc -fPIC -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.so.1.2.3
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.so.1.2.3 /usr/local/lib
cd /usr/local/lib; chmod 755 libz.so.1.2.3
cd /usr/local/lib; if test -f libz.so.1.2.3; then \
          rm -f libz.so libz.so.1; \
          ln -s libz.so.1.2.3 libz.so; \
          ln -s libz.so.1.2.3 libz.so.1; \
          (ldconfig || true)  >/dev/null 2>&1; \
        fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
[root@p1 custombuild]# ./build webalizer
File already exists:    webalizer-2.01-10-src.tgz
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for db_185.h... no
checking for errno.h... yes
checking for socket... no
checking for main in -lsocket... no
checking for sys/socket.h... yes
checking for main in -lnsl... no
checking for main in -l44bsd... no
checking for main in -lm... no
checking for main in -lz... no
configure: error: z library not found... please install zlib.
Trying to make webalizer...
make: *** No targets specified and no makefile found.  Stop.

*** The make has failed, do you want to try to make again? (y,n): n
Ideas? Thanks a lot.
 
Centos 5,
kernel 2.6.23.1 #3 SMP Sat Nov 3 10:02:03 PDT 2007 i686 athlon i386 GNU/Linux
 
Well in that case you dont have to compile webalizer you can install like this:

Code:
wget -O /usr/local/bin/webalizer http://files.directadmin.com/services/5/webalizer

chmod 755 /usr/local/bin/webalizer

And to update all your stats run

echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

then give it a few mins to update.
 
Well in that case you dont have to compile webalizer you can install like this:
[..snip...]
then give it a few mins to update.
Yes, I am well aware of that (and it works).
Still, there seems to be a problem with custombuild somewhere...otherwise it should work the other way as well.
 
When updating Roundcube I've got this error:

Code:
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
ERROR 1044 (42000) at line 6 in file: 'SQL/mysql.update.sql': Access denied for user 'da_roundcube'@'localhost' to database 'da_roundcube'
Editing roundcube configuration...
Roundcube has been installed successfully.

and now, on webmail page I get this error:

Code:
SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)

Please, can you help me?

Thanks
 
I tried now with ./roundcube.sh script

Code:
./roundcube.sh
cp: `/var/www/html/roundcube/logs/errors' and `/var/www/html/roundcubemail-0.1-rc2/logs/errors' are the same file
cp: `/var/www/html/roundcube/logs/sendmail' and `/var/www/html/roundcubemail-0.1-rc2/logs/sendmail' are the same file
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
Editing roundcube configuration...
Roundcube has been installed successfully.

But still the same error:

Code:
SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)

:( :(
 
frontpage not work yet

hi
after I recieve the error of :
Error setting up your web: Error: Cannot open "srm.conf": no such file or folder.
when enable front page (after upgrade to apache 2.2)
I create the file according to this forum :
touch /etc/httpd/conf/srm.conf
and then I have this error :
Error setting up your web: Error: Cannot open "access.conf": no such file or folder.
I create the file too
and I can enable and disable FP_extensions but when try to open some site from front page I have message like if the extensions not installed and the support of DA replay me that the frontpage_extensions is EOL(end of life) is that correct ?:confused:
 
hi
after I recieve the error of :
Error setting up your web: Error: Cannot open "srm.conf": no such file or folder.
when enable front page (after upgrade to apache 2.2)
I create the file according to this forum :
touch /etc/httpd/conf/srm.conf
and then I have this error :
Error setting up your web: Error: Cannot open "access.conf": no such file or folder.
I create the file too
and I can enable and disable FP_extensions but when try to open some site from front page I have message like if the extensions not installed and the support of DA replay me that the frontpage_extensions is EOL(end of life) is that correct ?:confused:

You know frontpage extensions are not available on apache2 right?
 
Hello, when I do "./build update_data" I get the following result.

Parsing package install arguments
No Match for argument: libxml2-devel
No Match for argument: libxslt-devel

I have Ubuntu 7.0.4 on the box.

What to do to fix this!
PHP won't compile.

Mats
 
Hello, this FIX ****ed up my server totaly! :mad:

Please help me my server is not accable after I applied this.
 
Back
Top