My first installation on FreeBSD 6-STABLE amd64

Andres

Verified User
Joined
Aug 9, 2007
Messages
13
Hello, friends.
Just installed this on my system. Of course there is nothing on port 2222.
Which process should listen 2222? apache? or some other tool? now trying calculate how many services failed to start ;)

Ok. I like FreeBSD system. I like it becouse i never have problem install programs from DHCP server up to KDE. Thanks to BSD ports subsystem. I really would like to see directadmin will use it one day. Today i noticed that mysql that come as package from directadmin team failed to start. more likely it was compiled for i386 and my system is amd64. something was dieing with segmentation fault. I modyfied installation scripts, now i have mysql installed from freebsd packages. if someone interested write me.

[root@node01 ~/directadmin]# fgrep -r 2222 /etc/httpd/
fgrep: /etc/httpd/logs/httpd: No such file or directory
fgrep: /etc/httpd/modules/apache: No such file or directory
[root@node01 ~/directadmin]# ps ax | grep http
26415 ?? SsJ 0:00.10 /usr/sbin/httpd -k start -DSSL
26416 ?? IJ 0:00.00 /usr/sbin/httpd -k start -DSSL
26417 ?? IJ 0:00.00 /usr/sbin/httpd -k start -DSSL
26418 ?? IJ 0:00.00 /usr/sbin/httpd -k start -DSSL
26419 ?? IJ 0:00.00 /usr/sbin/httpd -k start -DSSL
26420 ?? IJ 0:00.00 /usr/sbin/httpd -k start -DSSL
27592 p2 S+J 0:00.00 grep http
[root@node01 ~/directadmin]#
 
Last edited:

pucky

Verified User
Joined
Sep 9, 2006
Messages
795
Im not sure what your talking about in regards to modifying anything.

Just install FreeBSD, update to the latest source tree for your distro, including ports, recompile the world, test, install DA and your done. Nothing to modify as far as code is concerned.
 

Andres

Verified User
Joined
Aug 9, 2007
Messages
13
Nothing....
i did installation
cvsuped source and ports.
Recomiled world and installed it for amd64. made clean jail for DA. started installation. mysql failed to be configured becouse database initialization script died with segmentation failure (mysql client more likely).

The question is which process should be on 2222 port? apache? or other?
 

pucky

Verified User
Joined
Sep 9, 2006
Messages
795
Are you running the 64bit version of Freebsd? I suggest you install the 32bit version as 64bit Freebsd is not really supported. About MySQL, ou should uninstall it and reinstall MySQL.
 

Andres

Verified User
Joined
Aug 9, 2007
Messages
13
What is 64bit version?
FreeBSD node01.XXXXXXXXXXX.com 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu Aug 2 06:36:36 PDT 2007 mangust@localhost:/usr/src/sys/amd64/compile/TRINITY amd64

I am trying to start:
[root@node01 /]# /usr/local/etc/rc.d/directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]
[root@node01 /]# /usr/local/etc/rc.d/directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]

it means it is not starting.
 

Andres

Verified User
Joined
Aug 9, 2007
Messages
13
can i see any logs? /var/log/messages is empty... looks like win32 aplication - no logs :)
 

kke

Verified User
Joined
Apr 4, 2006
Messages
202
Location
Thailand
DirectAdmin is on port 2222 by itself :)
And it's compiled for i386 so it will not be start on amd64 :eek:
 
Top