Admin panel (all panels) inaccessable, 1 web site inaccessable

thxdoug

Verified User
Joined
May 25, 2008
Messages
6
I have problems with my dirctadmin. Worked well for years, then tried to change host name, it wouldn't let me. I do know there was another issue some time back, my tech friend would have to comment on that. But he changed the host name in linux, and after that, directadmin would not come up.

at the same time, it permenantly made inaccessable one of my most important web sites.

I did email support, wasn't sure this was the most effective and quick way for support, I need support quickly, please.

This was the information Calpop told me to give you so you could help get Directadmin to work.

If we have to do a re-install, please inform before doing so, so I can make sure everything is backed up, I hear it destroys everything?

information for acct.


Ok, here is the information that you need to give to the Direct Admin guys:

IP Address: 64.27.11.232
License ID: 2508
Client ID: Client ID: 452
Operating System: Red Hat Linux release 9 (Shrike)

Any and all assistance appreciated here. More information is available privately, but I cannot post any other login informtion here of course.

Thank you!!!
Doug W
 
what is your os?

you can change back the hostname with the command: hostname <your hostname here>
 
operating system

it's in the original thread. I am not a system level guy myself, I use the panel, well problem, I have no panel.

I am most certain my tech friend knew to try that after the event. but I will pass it on to him.

thanks for the input, but still at square one.

Doug
 
Hi, I'm thxdoug's techie guy.

Directadmin broke after I tried changing the hostname of the server. I tried it from directadmin panel, but then realized since the task queue was broken, it wasn't going to work. So then I used the hostname command from ssh. Even after changing it back, directadmin still won't come up.

Directadmin has been partially broken on this server for some time now. The process that ran the task queue would segfault. This started happening after I updated some other software on the server (exim, mysql) and had to install newer libraries.

Now directadmin segfaults on startup every time.

I resolved the issue with Doug's domain that broke. That was just an apache configuration that was incorrectly updated by Directadmin.

I believe installing a newer version of Directadmin will help, since the version on there now is from 2004, and apparently doesn't get along nicely with the newer libraries. However, the updater won't work, probably because the license code isn't valid for some reason.
 
You definitely need to update Directadmin. You should also contact sales to fix the license issue.

You can check this log to see what Directadmin is having problems with:
/var/log/directadmin/error.log

I wouldn't even try to a reinstall while you're having licensing issues or really at all until you hit it as a last resort.
 
Ok, I got the license issue resolved. I had to bind the correct IP when doing the wget.

I did the update but it still segfaults on startup. The error.log has no new entries in it, so it's bombing out before it ever writes to the log. I tried updating the license key file and that didn't help either.

The directadmin binary is dated 4/14/08 2:56. Size is 9723696, MD5 is 0a354507ca992a402dec9686a8615600.

I tried running it in gdb and it just returns:
Code:
sh-2.05b# gdb directadmin
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run s
Starting program: /usr/local/directadmin/directadmin s

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb)
 
Here's the stack backtrace from gdb:

Code:
(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0x40129308 in ?? ()
#2  0x40082248 in ?? ()
#3  0x400827b3 in ?? ()
#4  0x400812e5 in ?? ()
#5  0x4006e3df in ?? ()
#6  0x4006e49d in ?? ()
#7  0x4000f908 in ?? ()
#8  0x0825454a in getpwnam_r ()
#9  0x0825415c in getpwnam ()
#10 0x08084313 in getUID(char const*) (username=0x828b4b7 "diradmin")
    at system.cpp:2418
#11 0x080496b3 in Config::readFile(char*, int) (this=0x840a720,
    file=0x843b6c0 "/usr/local/directadmin/conf/directadmin.conf", die=0)
    at config.cpp:557
#12 0x08048294 in Config (this=0x840a720,
    cfgfile=0x82b8e80 "/usr/local/directadmin/conf/directadmin.conf")
    at config.cpp:30
#13 0x08140fc0 in __static_initialization_and_destruction_0 (__initialize_p=1,
    __priority=65535) at directadmin.cpp:66
#14 0x08141262 in _GLOBAL__I_conf () at directadmin.cpp:74
#15 0x0828a451 in __do_global_ctors_aux ()
#16 0x080480c9 in _init ()
---Type <return> to continue, or q <return> to quit---
#17 0x0822f575 in __libc_csu_init ()
#18 0x0822f3b7 in __libc_start_main ()
 
DirectAdmin has its own debug mode; much more user-friendly.

If the DirectAdmin task queue is segfaulting, then I'd want to make sure you're running the right license and the right DirectAdmin installation for your OS. DirectAdmin support may be able to help you with that but if you get your license as part of a dedicated server from CalPop, then they're responsible for support.

Once you're sure you're running DirectAdmin for your OS, and the license is correct, then if anything is segfaulting, I'd want to blame the hardware.

If the task queue isn't running then lots of DA things aren't going to work, including such issues as domains not working.

If you're responsible for your own support and can't get it working we can work on your system for you, either remotely or at CalPop; feel free to contact me by email or telephone (information in my sig, below) to discuss this option.

Jeff
 
DirectAdmin support provided a recompiled RH 9 binary using dynamic libraries; this solved the problem.

Thanks!
 
Back
Top