PDA

View Full Version : Vhosts...conf not synced to changes


crypted
26th March 2010, 00:49
Any changes made in the ISPCONFIG Administration area are not syncing to the Vhosts_ispconfig.conf file.

1) I removed a lot of directives from a domain on ISPCONFIG. The CONF still has those entries.
2) I added new entries for another domain. The CONF does not show those entries.
3) I disabled and re-enabled WEBALIZER because /stats/ aren't working on any websites. No changes were made to the CONF document.

How can I get ISPCONFIG to sync with the HTTPD configuration files once again?

falko
26th March 2010, 14:39
What are the outputs of ls -la /root/ispconfig/ and ps aux | grep wconf?

crypted
26th March 2010, 15:09
Pastes below:

total 108
drwxr-xr-x 10 root root 4096 Mar 25 19:45 .
drwxr-x--- 8 root root 4096 Mar 24 12:33 ..
-rwxr-xr-x 1 root root 33082 Mar 24 12:33 cronolog
-rwxr-xr-x 1 root root 9673 Mar 24 12:33 cronosplit
drwxr-xr-x 12 root root 4096 Mar 24 10:59 httpd
drwxr-xr-x 16 root root 4096 Mar 24 12:33 isp
-rw-r--r-- 1 root root 0 Mar 25 20:00 .ispconfig_lock
drwxr-xr-x 7 root root 4096 Mar 24 11:02 libmcrypt
-rw-r--r-- 1 root root 8 Mar 25 20:00 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 Mar 24 10:58 openssl
drwxr-xr-x 6 root root 4096 Mar 24 11:17 php
drwxr-xr-x 4 root root 4096 Mar 24 12:33 scripts
drwxr-xr-x 4 root root 4096 Mar 24 12:33 standard_cgis
drwxr-xr-x 2 root root 4096 Mar 24 12:33 sv
-rwx------ 1 root root 9389 Mar 24 12:33 uninstall


root 2414 0.0 0.1 5400 1120 ? S Mar25 0:04 /bin/bash /root/ispconfig/sv/ispconfig_wconf
root 32184 0.0 0.0 4784 664 pts/0 R+ 10:08 0:00 grep wconf

till
26th March 2010, 19:42
Please check if this applies to your problem:

http://www.howtoforge.com/forums/showthread.php?t=7719

crypted
26th March 2010, 22:28
I looked at that thread and did your proposed steps:
dingle@its:/etc/httpd/conf/vhosts# /usr/sbin/httpd -t
Syntax error on line 187 of /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:
Invalid command '...', perhaps misspelled or defined by a module not included in the server configuration
dingle@its:/etc/httpd/conf/vhosts#

<Directory "/var/www/web3/web/egroupware">
AllowOverride FileInfo
...
</Directory>

However, the latest VHOST file doesn't have that anymore. It has the full egroupware directive. BUT, I deleted egroupware from the ISPCONFIG Apache Directives two weeks ago. It never updated to the Vhost configuration file.

Basically, ISPCONFIG is not doing three notable things:
1) It is not updating the Vhost config file.
2) It is not changing user's passwords.
3) It is not changing mail settings.

Nothing was altered setting-wise on the machine. It just stopped letting us modify stuff sometime this past month.

falko
27th March 2010, 12:42
Please run
rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
Do you get any errors then?

crypted
27th March 2010, 17:37
No errors.

dingle@its:/home/dingle# rm -f /root/ispconfig/.ispconfig_lock
dingle@its:/home/dingle# rm -f /root/ispconfig/php/php
dingle@its:/home/dingle# rm -f /root/ispconfig/scripts/writeconf.php
dingle@its:/home/dingle#

crypted
28th March 2010, 07:14
Further, I changed the mail settings for a user. I changed the spam filter settings from 5.0 to 4.5 and changed the discard setting.

.user_prefs still shows 5.0.

The interface/database is not accessing/changing the files whatsoever.

crypted
29th March 2010, 05:44
Okay, http://how2forge.net/forums/showthread.php?t=13263&page=2 has a similar problem.

When I copy the ~ vhost file, it kicks back an error in httpd -t.

Unfortunately, when I try to update the file, i can't. ISPCONFIG's directive no longer has the specific entry as I deleted it a long time ago.

<Directory "/var/www/web3/web/egroupware">
AllowOverride FileInfo
...
</Directory>

That kicks back the error in the ~ copy because of the ... entry. However that got there...

This all started happening (I think) from when I deleted the egroupware entry from the ISPCONFIG Control Panel.

Now, the Control Panel cannot modify any of the files. The user's passwords, mail files, directives, and everything else cannot be changed. So egroupware broke it.

How can I resolve this?

falko
29th March 2010, 15:18
Does /root/ispconfig/.ispconfig_lock exist again?

crypted
30th March 2010, 20:25
falko, the /root/ispconfig/.ispconfig_lock exists again.

The problem is that AFTER I change the Options for any site, the file .ispconfig_lock is recreated after the settings are made.

ISPCONFIG will not delete ".ispconfig_lock" after it finishes updating configurations.

I have to manually delete the entry.

How can I get ISPCONFIG to delete the .ispconfig_lock file on its own again?

falko
31st March 2010, 14:19
If /root/ispconfig/.ispconfig_lock doesn't disappear automatically this means that the ISPConfig backend process is hanging somewhere.

Can you kill the ispconfig_wconf process...

kill -9 2414
... delete all locks...
rm -f /root/ispconfig/.ispconfig_lock
rm -f /home/admispconfig/ispconfig/.run
rm -f /home/admispconfig/ispconfig/.run2
... change anything in the ISPConfig interface and finally run
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php? Does the last command give you any errors now?

crypted
31st March 2010, 16:17
Okay, the process had a different ID number than the 2414. Not a big deal though, I grep'ed and found it.

When running the end command, I get the following:
dingle@its:~/ispconfig# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
sh: httpd: command not found
ls: /conf.d/*.conf: No such file or directory
sh: httpd: command not found
start
UPDATE: 3

Warning: symlink(): File exists in /root/ispconfig/scripts/lib/config.lib.php on line 940
UPDATE USER: 184
UPDATE USER: 191
UPDATE USER: 189
UPDATE USER: 188
UPDATE USER: 190
UPDATE USER: 187
sh: postmap: command not found
sh: httpd: command not found
Segmentation fault
dingle@its:~/ispconfig#

Just to note, I have reinstalled ISPCONFIG twice. This issue isn't being fixed by a simple re-installation. Nothing on the server has been manually edited. This started happening randomly after making updates on the ISPCONFIG Control Panel.

crypted
1st April 2010, 06:35
Also, along with the issue posted above.

ISPConfig Control Panel shows the following in all Recycle Bin's constantly:
The following error occurred:

The system is currently updating the configuration files.



Every day it has been that way no matter if I have restarted anything or not.


Also, I checked the settings in the MANAGEMENT tab. All is correct. I restarted ISPCONFIG. It took 3 minutes to complete the restart. Very laggy now.

Log shows:
1.03.2010 - 10:16:01 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
31.03.2010 - 10:16:01 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 911: WARNING: could not se$
31.03.2010 - 10:16:05 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp$
31.03.2010 - 10:16:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 117: s$
31.03.2010 - 10:16:06 => INFO - USER:
web3_facebook:x:10191:10003:facebook:/var/www/web3/user/web3_facebook:/bin/false
31.03.2010 - 10:16:06 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
31.03.2010 - 10:16:06 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 911: WARNING: could not se$
31.03.2010 - 10:16:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp$
31.03.2010 - 10:16:06 => INFO - USER:
web3_gabymobile:x:10189:10003:Gaby mobile:/var/www/web3/user/web3_gabymobile:/bin/false
31.03.2010 - 10:16:09 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
31.03.2010 - 10:16:09 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 911: WARNING: could not se$
31.03.2010 - 10:16:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp$
31.03.2010 - 10:16:09 => INFO - USER:
web3_mobile:x:10188:10003:mobile phone:/var/www/web3/user/web3_mobile:/bin/false
31.03.2010 - 10:16:09 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
31.03.2010 - 10:16:09 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 911: WARNING: could not se$
31.03.2010 - 10:16:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp$
31.03.2010 - 10:16:09 => INFO - USER:
web3_paypal:x:10190:10003:Paypal:/var/www/web3/user/web3_paypal:/bin/false
31.03.2010 - 10:16:09 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
web3_nomail:x:10187:10003:nomail:/var/www/web3/user/web3_nomail:/bin/false
31.03.2010 - 10:16:10 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 910: WARNING: could not se$
31.03.2010 - 10:16:10 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 911: WARNING: could not se$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp$
31.03.2010 - 10:16:10 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: WA$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/httpd/co$
31.03.2010 - 10:16:10 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2669: WARNING: could not h$
31.03.2010 - 10:16:10 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems t$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2682: mv -f /etc/httpd/con$
31.03.2010 - 10:16:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2683: mv -f /etc/httpd/con$
31.03.2010 - 10:16:16 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /et$
31.03.2010 - 23:59:33 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /et$
31.03.2010 - 23:59:36 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 68: touch /var/log/maillo$
31.03.2010 - 23:59:36 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 69: cat /var/log/maillog.$
31.03.2010 - 23:59:39 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /et$
01.04.2010 - 00:00:27 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /et$
01.04.2010 - 00:00:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 135: rm -f /var/log/xferlo$
01.04.2010 - 00:00:30 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /et$
01.04.2010 - 00:00:31 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 152: rm -f /var/log/maill$

All websites have the Apache 2 Test Page powered by CentOS crap now after restarting ISPCONFIG!

Shit has really gone to hell here. The VHOSTS file is now empty. I didn't change a damn thing.

crypted
1st April 2010, 08:53
Okay I am sure the problems revolve around:

dingle@its:~/ispconfig# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
sh: httpd: command not found
ls: /conf.d/*.conf: No such file or directory
sh: httpd: command not found
start
sh: postmap: command not found
sh: httpd: command not found
Segmentation fault
dingle@its:~/ispconfig# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

If that can be resolved, yay.

01.04.2010 - 02:58:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2669: WARNING: could not httpd -t &> /dev/null
01.04.2010 - 02:58:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reloa

dingle@its:/etc/httpd/conf/vhosts# /usr/sbin/httpd -t
Syntax OK
dingle@its:/etc/httpd/conf/vhosts#

The MANAGEMENT screen in ISPCONFIG has the right information for httpd locations. I can't find the actual path to HTTPD or POSTMAP or CONF.D in any of the configuration files that I know of.

Where can I get those to be set right?

createch
1st April 2010, 11:29
Can you tell us what version of ISPConfig you are using ?

falko
1st April 2010, 14:59
It seems as if your ISPConfig is currently using a wrong PATH variable and cannot find httpd therefore. Can you restart ISPConfig?
/etc/init.d/ispconfig_server restart
That should give it the PATH variable that you have in your current command line session.

Also, can you post the outputs of
which httpd
and echo $PATH?

crypted
1st April 2010, 15:54
dingle@its:/home/dingle# /etc/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd stopped
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!

dingle@its:/home/dingle# which httpd
httpd: Command not found.

dingle@its:/home/dingle# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
dingle@its:/home/dingle#

And the relevant location of the daemon, as I would take it to be.

dingle@its:/home/dingle# whereis httpd
httpd: /usr/sbin/httpd.worker /usr/sbin/httpd.event /usr/sbin/httpd /etc/httpd /usr/lib/httpd /usr/include/httpd /usr/share/man/man8/httpd.8.gz
dingle@its:/home/dingle#

crypted
2nd April 2010, 08:03
I have tried every thing possible in the archives of HOWTOFORGE. Nothing can tell me where to find these path variables to fix the writeconf problem. My server is really screwed up now since it seems to not apply these frigging updates.

I reinstalled ISPCONFIG completely two days ago. Uninstall/reinstall Did not fix it. I did the ./setup for updating twice today. It has not solved it.

This just started happening without any major change to the server. Yum updates install every month, but it doesn't look like any of those should have affected this.

Please, any help would be so appreciated.

There is an issue with the path to httpd, postmap, and so forth.

till
2nd April 2010, 09:35
ISPConfig is not handling or editing the path variable in any kind, so updating ispconfig can not help to fix this problem.

Looks as if your path was modified and at least the directory /usr/sbin is missing now. Have you tried to reboot the server?

crypted
2nd April 2010, 16:34
Yes, but ISPCONFIG in the /sv/ispconfig_wconf exports its own path anyway does it not? So when the script is executed, it ought to know the proper paths.

I'm using CentOS 5.4.

Any idea how to resolve this?

# ISPConfig writeconf
#
###################################

export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin

crypted
2nd April 2010, 18:42
And, I'm using ISPCONFIG 2.2.35 I believe. The latest in the 2.x branch I know that much.

I changed from TCSH to BASH for path reasons.

[root@its ispconfig]# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#

LOG
[root@its ispconfig]# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#

I then executed the MYSQL command to reload the entire database for ISPCONFIG to update all files. I ran the writeconf.php again and got the following:
[root@its ispconfig]# rm -rf .ispconfig_lock
[root@its ispconfig]# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
UPDATE: 1
UPDATE: 3
UPDATE: 4
UPDATE: 5
UPDATE: 6
UPDATE: 52
UPDATE: 117
UPDATE: 116
UPDATE: 51
UPDATE: 127
UPDATE: 125
UPDATE: 128
UPDATE: 25
UPDATE: 49
UPDATE: 113
UPDATE: 104
UPDATE: 115
UPDATE: 122
UPDATE: 59
UPDATE: 68
UPDATE: 107
UPDATE: 109
UPDATE: 100
UPDATE: 105
UPDATE: 108
UPDATE: 119

Warning: symlink(): File exists in /root/ispconfig/scripts/lib/config.lib.php on line 940
UPDATE USER: 184
UPDATE USER: 205
UPDATE USER: 209
UPDATE USER: 191
UPDATE USER: 212

Warning: symlink(): File exists in /root/ispconfig/scripts/lib/config.lib.php on line 940
UPDATE USER: 214
UPDATE USER: 38
UPDATE USER: 211
UPDATE USER: 41
UPDATE USER: 42
UPDATE USER: 43
UPDATE USER: 189
UPDATE USER: 188
UPDATE USER: 210
UPDATE USER: 94
UPDATE USER: 59
UPDATE USER: 202
UPDATE USER: 222
UPDATE USER: 63
UPDATE USER: 226
UPDATE USER: 182
UPDATE USER: 80
UPDATE USER: 83
UPDATE USER: 84
UPDATE USER: 192
UPDATE USER: 90
UPDATE USER: 204
UPDATE USER: 171
UPDATE USER: 101
UPDATE USER: 117

Warning: symlink(): File exists in /root/ispconfig/scripts/lib/config.lib.php on line 940
UPDATE USER: 193
UPDATE USER: 190

Warning: symlink(): File exists in /root/ispconfig/scripts/lib/config.lib.php on line 940
UPDATE USER: 169
UPDATE USER: 170
UPDATE USER: 219
UPDATE USER: 187
UPDATE USER: 185
UPDATE USER: 186
UPDATE USER: 218
UPDATE USER: 223
UPDATE USER: 225
UPDATE USER: 227
Segmentation fault

ISPCONFIG log file has same error as before:
02.04.2010 - 13:10:33 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2669: WARNING: could not httpd -t &> /dev/null
02.04.2010 - 13:10:33 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reload$
02.04.2010 - 13:10:33 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2682: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfi$
02.04.2010 - 13:10:33 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2683: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfi$
02.04.2010 - 13:10:34 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/httpd relo$

falko
3rd April 2010, 11:52
Can you try this?
ln -s /usr/sbin/httpd /usr/bin/httpd

crypted
3rd April 2010, 18:33
Didn't resolve it

[root@its dingle]# ln -s /usr/sbin/httpd /usr/bin/httpd
[root@its dingle]#
[root@its ispconfig]# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#


The log says:
03.04.2010 - 12:31:30 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/$
03.04.2010 - 12:31:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconf$
03.04.2010 - 12:31:30 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2669: WARNING: could not httpd -t &> /dev/null
03.04.2010 - 12:31:30 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reload$
03.04.2010 - 12:31:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2682: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfi$
03.04.2010 - 12:31:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2683: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfi$
03.04.2010 - 12:31:31 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/httpd relo

crypted
3rd April 2010, 20:38
After deleting some old sites and all that, and forcing a rewrite from the DB to all files, I still get the Segmentation fault. However, no errors in the ispconfig.log file.

[root@its ispconfig]# rm -rf .ispconfig_lock
[root@its ispconfig]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#

03.04.2010 - 14:33:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-$
03.04.2010 - 14:33:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtus$
03.04.2010 - 14:33:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/$
03.04.2010 - 14:33:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconf$
03.04.2010 - 14:37:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-$
03.04.2010 - 14:37:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtus$
03.04.2010 - 14:37:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/$
03.04.2010 - 14:37:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconf$


So it's segfaulting somewhere else towards the end of its script I guess??? ....

falko
4th April 2010, 21:14
Hm, hard to say what could cause the segmentation fault - it could even be a hardware problem (RAM, etc.)... :confused:

crypted
4th April 2010, 21:23
Tested all hardware. No errors.

createch
5th April 2010, 03:49
If I were you, I will either

a) replace the RAM with a new/reliable one (e.g. Kingston RAM), and re-test.
[Segmentation fault are usually caused by bad RAM. A simple RAM check may not be able to reveal the fault];

or --- if you are 100% sure that there is no hardward fault, then

b) backup all your data, reinstall the Linux STRICTLY following the perfect server setup guide and then reinstall the ISPconfig -- latest version. Then
--- do not restore your data yet, try to create a few new sites, see whether the httpd, ftp, email, webmail are all fine, if so (of course it should be unless there is hardware problem) , then
--- restore your backup data, test whether the problem is gone.

crypted
5th April 2010, 03:53
1. I'll have them swap out the RAM tonight. Further, after installing the RAM, should I do a recompile/upgrade install of ISPCONFIG? Or, should I just let it go and see if it works without changing it?

2. If I redo the OS, I'm going to go x64 this time around. Also, I'll redo all of ISPCONFIG as I've been using the same DB on several upgrades of CentOS and ISPCONFIG for three years. Would it be worthwhile and advisable to just go with ISPCONFIG 3.x? I haven't seen screen shots or anything for it. All I can find is info on 2.x.

createch
5th April 2010, 04:06
For (1) -- after reinstalling a good and reliable RAM, no need to recompile and just let us know whether some (if not all) of the problems have been solved automatically.

For (2) --- I believe your server is running ISPconfig 2. There is up to the present moment no direct migration from ISPconfig 2 to ISPconfig 3. If you go for ISPConfig 3, then you need to manually reinstall everything (re-create user accounts, reset the password... lots of things to do). If your server supports many clients then you can expect the number of things you need to do, the number of users you need to notify, etc. [For me I cannot afford such a change, but it depends on your own situation]

crypted
5th April 2010, 04:40
1) RAM is being replaced now. Will know the result soon I hope.


2) In discussion on 3.x, I realize there isn't any way to migrate. I have 20 sites on my machine, half use databases. There are about 40 users, only 15 are actively used. It would only be a matter of configuring the sites databases and users in the new ISPCONFIG and then copying the data over.

I don't know much about SQL so that would be my only problem there. It'd require dumping databases and restoring them to new names that are created by the 3.x installation.

createch
5th April 2010, 05:48
If you migrate from ISPConfig 2 to ISPConfig 3, you may only wish to dump out those user-created databases. (the ISPConfig database should not be reused -- as you will manually recreated the 15 active users as you said)

To dump out those user-created databases, you may use phpmyadmin (or other open source tools you like), then in the ISPConfig 3 server, restore those data dump will be ok.

crypted
5th April 2010, 06:53
brand new RAM did not help.

[root@its ispconfig]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#

Nothing worthwhile in the ispconfig.log.
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.peruvian$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.peruvianprincess.o$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.intrac.n$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.intrac.net
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.antonios$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.antoniosparma.com
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.sebastia$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.sebastianlodge.com
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.newnet.n$
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.newnet.net
04.04.2010 - 23:59:29 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 135: rm -f /var/log/xferlog.04-04-10_23-59-04
05.04.2010 - 00:18:55 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/httpd rest$
05.04.2010 - 00:18:55 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/postfix st$
05.04.2010 - 00:18:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/postfix st$
05.04.2010 - 00:19:19 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/named rest$
05.04.2010 - 00:19:25 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/rc.d/init.d/proftpd re$
05.04.2010 - 00:51:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-$
05.04.2010 - 00:51:18 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtus$
05.04.2010 - 00:51:19 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/$
05.04.2010 - 00:51:19 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconf$

falko
5th April 2010, 18:21
Can you reinstall the latest ISPConfig version (2.2.35)? Just call the install script, and it will perform an update. Maybe this fixes the problem.

crypted
6th April 2010, 00:47
Still seg fault.

There was a compiling error mentioned regarding ncurses not being installed; but I think that was only with clamd. Unfortunately, I couldn't go far enough back in my SSH TERMINAL WINDOW to retrieve that material.

checking domain name... derekgordon.com
checking directory separator... /
checking for ANSI C header files... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for malloc.h... yes
checking for errno.h... yes
checking for direct.h... no
checking for io.h... no
checking for sys/time.h... yes
checking for getcwd... yes
checking for popen... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for tempnam... yes
checking for strerror... yes
checking for stdin... yes
checking for pwd.h... yes
checking version number... 0.5pl20
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tcl/Makefile
creating unix/Makefile
creating uulib/Makefile
creating config.h
(cd unix; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib ; make)
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uulib.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uucheck.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uunconc.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uuutil.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uuencode.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uuscan.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uustring.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" fptools.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" crc32.c
rm -f libuu.a
ar r libuu.a uulib.o uucheck.o uunconc.o uuutil.o uuencode.o uuscan.o uustring.o fptools.o crc32.o
ar: creating libuu.a
ranlib libuu.a
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
(cd unix ; make)
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uudeview.c
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uufnflt.c
gcc -o uudeview uudeview.o uufnflt.o -L../uulib -luu -lm
../uulib/libuu.a(fptools.o): In function `_FP_tempnam':
/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/fptools.c:527: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
uudeview.o: In function `proc_stdin':
/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/unix/uudeview.c:452: warning: the use of `tempnam' is dangerous, better use `mkstemp'
gcc -c -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uuenview.c
gcc -o uuenview uuenview.o uufnflt.o -L../uulib -luu -lm
../uulib/libuu.a(fptools.o): In function `_FP_tempnam':
/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/fptools.c:527: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../uulib/libuu.a(uunconc.o): In function `UUDecode':
/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/uunconc.c:1332: warning: the use of `tempnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
(cd inews; make CC='gcc' CFLAGS='-D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H' LIBS='-lm' )
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/inews'
gcc -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -c -o inews.o inews.c
gcc -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -c -o clientlib.o clientlib.c
gcc -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -c -o version.o version.c
gcc -D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H -o minews inews.o clientlib.o version.o -lm
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/inews'
(cd uulib ; make)
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
(cd unix ; make)
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
for d in uudeview uuenview ; do \
./install-sh -c unix/$d /home/admispconfig/ispconfig/tools/uudeview/bin/$d ; \
done
(cd inews; make CC='gcc' CFLAGS='-D_REENTRANT -g -O2 -I. -DHAVE_CONFIG_H' LIBS='-lm' )
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/inews'
make[1]: `minews' is up to date.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/uudeview-0.5.20/inews'
for d in minews ; do \
./install-sh -c inews/$d /home/admispconfig/ispconfig/tools/uudeview/bin/$d ; \
done
for d in uudeview.1 uuenview.1 ; do \
./install-sh -c -m 644 ./man/$d /home/admispconfig/ispconfig/tools/uudeview/man/man1/$d ; \
done
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
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 for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for strftime... yes
checking for vprintf... yes
checking for mkdir... yes
checking for mktime... yes
checking for putenv... yes
checking for strptime... yes
checking for localtime_r... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating src/cronosplit
Making all in lib
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/lib'
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -g -O2 -c getopt.c
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -g -O2 -c getopt1.c
rm -f libutil.a
ar cru libutil.a getopt.o getopt1.o
ranlib libutil.a
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/lib'
Making all in src
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/src'
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -g -O2 -c cronotest.c
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -g -O2 -c cronoutils.c
gcc -g -O2 -o cronotest cronotest.o cronoutils.o ../lib/libutil.a
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1 -I. -I. -I../lib -g -O2 -c cronolog.c
gcc -g -O2 -o cronolog cronolog.o cronoutils.o ../lib/libutil.a
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/src'
Making all in doc
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/doc'
Making all in testsuite
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2/testsuite'
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/cronolog-1.6.2'
sh unix/configure "cc" "-O2 -I. -DUNIX "
Check for the C preprocessor
Check if we can use asm code
Check if compiler generates underlines
Check for ANSI options
Check for prototypes
Check the handling of const
Check for time_t
Check for size_t
Check for rmdir
Check for strchr
Check for strrchr
Check for rename
Check for mktemp
Check for mktime
Check for memset
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for non existent include files
Check for term I/O include file
Check for valloc
Check for /usr/local/bin and /usr/local/man
Checking for OS specialties
Check for symbolic links
eval make -f unix/Makefile zips `cat flags`
make[1]: Entering directory `/home/dingle/install_ispconfig/compile_aps/zip-2.3'
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c
In file included from zip.h:62,
from zip.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zip.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c
In file included from zip.h:62,
from zipfile.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipfile.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c
In file included from zip.h:62,
from zipup.c:15:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipup.c:15:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c
In file included from zip.h:62,
from fileio.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from fileio.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c
In file included from zip.h:62,
from util.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from util.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c
In file included from zip.h:62,
from globals.c:19:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from globals.c:19:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c
In file included from zip.h:62,
from ttyio.c:29:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from ttyio.c:29:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c
In file included from ./zip.h:62,
from unix/unix.c:9:
./tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from ./tailor.h:141,
from ./zip.h:62,
from unix/unix.c:9:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c
In file included from zip.h:62,
from crc32.c:18:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from crc32.c:18:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crctab.c
In file included from zip.h:62,
from crctab.c:43:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from crctab.c:43:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c
In file included from zip.h:62,
from deflate.c:70:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from deflate.c:70:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c
In file included from zip.h:62,
from trees.c:119:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from trees.c:119:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
/usr/bin/cpp match.S > _match.s
cc -c _match.s
mv _match.o match.o
rm -f _match.s
/usr/bin/cpp crc_i386.S > crc_i386.s
cc -c crc_i386.s
rm -f crc_i386.s
cc -o zip -s zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o crctab.o deflate.o trees.o match.o crc_i386.o
fileio.o: In function `tempname':
fileio.c:(.text+0x375): warning: the use of `mktemp' is dangerous, better use `mkstemp'
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c
In file included from zip.h:62,
from zipnote.c:17:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipnote.c:17:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f zipfile_.c; ln -s zipfile.c zipfile_.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL zipfile_.c
In file included from zip.h:62,
from zipfile_.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipfile_.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f zipfile_.c
rm -f fileio_.c; ln -s fileio.c fileio_.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL fileio_.c
In file included from zip.h:62,
from fileio_.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from fileio_.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f fileio_.c
rm -f util_.c; ln -s util.c util_.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL util_.c
In file included from zip.h:62,
from util_.c:14:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from util_.c:14:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f util_.c
rm -f unix_.c; ln -s unix/unix.c unix_.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL unix_.c
In file included from zip.h:62,
from unix_.c:9:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from unix_.c:9:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f unix_.c
cc -o zipnote -s zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o
fileio_.o: In function `tempname':
fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c
In file included from zip.h:62,
from zipsplit.c:17:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipsplit.c:17:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
cc -o zipsplit -s zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o
fileio_.o: In function `tempname':
fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c
In file included from zip.h:62,
from zipcloak.c:20:
tailor.h:162:1: warning: "strchr" redefined
In file included from /usr/include/string.h:417,
from tailor.h:141,
from zip.h:62,
from zipcloak.c:20:
/usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
rm -f crypt_.c; ln -s crypt.c crypt_.c
cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL crypt_.c
rm -f crypt_.c
cc -o zipcloak -s zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crctab.o crypt_.o ttyio.o
fileio_.o: In function `tempname':
fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/home/dingle/install_ispconfig/compile_aps/zip-2.3'
cc -c -O -I. -DUNIX unzip.c
cc -c -O -I. -DUNIX crc32.c
cc -c -O -I. -DUNIX crctab.c
cc -c -O -I. -DUNIX crypt.c
cc -c -O -I. -DUNIX envargs.c
cc -c -O -I. -DUNIX explode.c
cc -c -O -I. -DUNIX extract.c
cc -c -O -I. -DUNIX fileio.c
cc -c -O -I. -DUNIX globals.c
cc -c -O -I. -DUNIX inflate.c
cc -c -O -I. -DUNIX list.c
cc -c -O -I. -DUNIX match.c
cc -c -O -I. -DUNIX process.c
cc -c -O -I. -DUNIX ttyio.c
cc -c -O -I. -DUNIX unreduce.c
cc -c -O -I. -DUNIX unshrink.c
cc -c -O -I. -DUNIX zipinfo.c
cc -c -O -I. -DUNIX unix/unix.c
cc -o unzip unzip.o crc32.o crctab.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o unreduce.o unshrink.o zipinfo.o unix.o -s
cc -c -O -I. -DUNIX funzip.c
ln crypt.c cryptf.c
cc -c -O -I. -DUNIX -DFUNZIP cryptf.c
rm -f cryptf.c
ln globals.c globalsf.c
cc -c -O -I. -DUNIX -DFUNZIP globalsf.c
rm -f globalsf.c
ln inflate.c inflatef.c
cc -c -O -I. -DUNIX -DFUNZIP inflatef.c
rm -f inflatef.c
ln ttyio.c ttyiof.c
cc -c -O -I. -DUNIX -DFUNZIP ttyiof.c
rm -f ttyiof.c
cc -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -s
ln unzip.c unzipsfx.c
cc -c -O -I. -DUNIX -DSFX unzipsfx.c
rm -f unzipsfx.c
ln crctab.c crctab_.c
cc -c -O -I. -DUNIX -DSFX crctab_.c
rm -f crctab_.c
ln crypt.c crypt_.c
cc -c -O -I. -DUNIX -DSFX crypt_.c
rm -f crypt_.c
ln extract.c extract_.c
cc -c -O -I. -DUNIX -DSFX extract_.c
rm -f extract_.c
ln fileio.c fileio_.c
cc -c -O -I. -DUNIX -DSFX fileio_.c
rm -f fileio_.c
ln globals.c globals_.c
cc -c -O -I. -DUNIX -DSFX globals_.c
rm -f globals_.c
ln inflate.c inflate_.c
cc -c -O -I. -DUNIX -DSFX inflate_.c
rm -f inflate_.c
ln match.c match_.c
cc -c -O -I. -DUNIX -DSFX match_.c
rm -f match_.c
ln process.c process_.c
cc -c -O -I. -DUNIX -DSFX process_.c
rm -f process_.c
ln ttyio.c ttyio_.c
cc -c -O -I. -DUNIX -DSFX ttyio_.c
rm -f ttyio_.c
ln unix/unix.c unix_.c
cc -c -O -I. -DUNIX -DSFX unix_.c
rm -f unix_.c
cc -o unzipsfx unzipsfx.o crc32.o crctab_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o unix_.o -s
All prerequisites are fulfilled.
Here we go...

Connected successfully to db db_ispconfig

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dingle/install_ispconfig/install.php on line 1175
Restarting some services...
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Shutting down proftpd: [ OK ]
Starting proftpd: - setting default address to 127.0.0.1
[ OK ]
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

[root@its install_ispconfig]# cd /root/ispconfig/
[root@its ispconfig]# ls -lah
total 108K
drwxr-xr-x 10 root root 4.0K Apr 5 15:27 .
drwxr-x--- 8 root root 4.0K Apr 5 15:25 ..
-rwxr-xr-x 1 root root 33K Apr 5 15:25 cronolog
-rwxr-xr-x 1 root root 9.5K Apr 5 15:25 cronosplit
drwxr-xr-x 12 root root 4.0K Apr 5 13:18 httpd
drwxr-xr-x 16 root root 4.0K Apr 5 15:25 isp
-rw-r--r-- 1 root root 0 Apr 5 15:27 .ispconfig_lock
drwxr-xr-x 7 root root 4.0K Apr 5 13:26 libmcrypt
-rw-r--r-- 1 root root 8 Apr 5 15:27 .old_path_httpd_root
drwxr-xr-x 6 root root 4.0K Apr 5 13:14 openssl
drwxr-xr-x 6 root root 4.0K Apr 5 14:24 php
drwxr-xr-x 4 root root 4.0K Apr 5 15:25 scripts
drwxr-xr-x 4 root root 4.0K Apr 5 15:25 standard_cgis
drwxr-xr-x 2 root root 4.0K Apr 5 15:25 sv
-rwx------ 1 root root 9.2K Apr 5 15:25 uninstall
[root@its ispconfig]# rm -rf .ispconfig_lock
[root@its ispconfig]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start
Segmentation fault
[root@its ispconfig]#

till
6th April 2010, 09:50
PLease check if the path to the named files and the named.conf path in the ispconfig server settings are correct.

crypted
6th April 2010, 15:17
Till, it was looking for the Zonefiles in /etc/bind/ which didn't exist. I had to change it in the DB and force an update of everything for it to stick to /var/named/.

Now, I think it finished as there is no more lock. But, I got errors:
[root@its ispconfig]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start

Warning: Invalid argument supplied for foreach() in /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php on line 91

Warning: Invalid argument supplied for foreach() in /root/ispconfig/scripts/lib/config.lib.php on line 1301

Warning: Invalid argument supplied for foreach() in /root/ispconfig/scripts/lib/config.lib.php on line 2147
ende
[root@its ispconfig]# ls -lah

falko
7th April 2010, 15:36
Please check your database if it contains all records. Seems as if something's missing there...

crypted
7th April 2010, 19:03
Not sure what I'm looking for in the DB. Here are it's tables:



* Structure del_status
* Structure dns_a
* Structure dns_cname
* Structure dns_dep
* Structure dns_isp_dns
* Structure dns_mx
* Structure dns_nodes
* Structure dns_ptr
* Structure dns_secondary
* Structure dns_spf
* Structure doctype
* Structure groups
* Structure help_documents
* Structure help_nodes
* Structure help_tickets
* Structure isp_com
* Structure isp_dep
* Structure isp_dienste
* Structure isp_fakt_artikel
* Structure isp_fakt_dep
* Structure isp_fakt_nodes
* Structure isp_fakt_rechnung
* Structure isp_fakt_record
* Structure isp_firewall
* Structure isp_htaccess
* Structure isp_isp_actions
* Structure isp_isp_admin
* Structure isp_isp_cron
* Structure isp_isp_datenbank
* Structure isp_isp_domain
* Structure isp_isp_kunde
* Structure isp_isp_reseller
* Structure isp_isp_user
* Structure isp_isp_web
* Structure isp_isp_web_template
* Structure isp_monitor
* Structure isp_nodes
* Structure isp_server
* Structure isp_serverstatus
* Structure isp_server_ip
* Structure isp_traffic
* Structure isp_traffic_ip
* Structure listtype
* Structure login
* Structure multidoc_dep
* Structure multidoc_nodes
* Structure session
* Structure sys_config
* Structure sys_dep
* Structure sys_modules
* Structure sys_news
* Structure sys_nodes
* Structure sys_user
* Structure user_groups


Table Ascending Action Records 1 Type Collation Size Overhead
del_status Browse Structure Search Insert Empty Drop 2 MyISAM latin1_swedish_ci 4.1 KiB -
dns_a Browse Structure Search Insert Empty Drop 159 MyISAM latin1_swedish_ci 15.3 KiB -
dns_cname Browse Structure Search Insert Empty Drop 7 MyISAM latin1_swedish_ci 3.4 KiB -
dns_dep Browse Structure Search Insert Empty Drop 212 MyISAM latin1_swedish_ci 25.9 KiB -
dns_isp_dns Browse Structure Search Insert Empty Drop 39 MyISAM latin1_swedish_ci 8.4 KiB -
dns_mx Browse Structure Search Insert Empty Drop 49 MyISAM latin1_swedish_ci 5.2 KiB -
dns_nodes Browse Structure Search Insert Empty Drop 295 MyISAM latin1_swedish_ci 39.0 KiB -
dns_ptr Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
dns_secondary Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
dns_spf Browse Structure Search Insert Empty Drop 26 MyISAM latin1_swedish_ci 3.8 KiB -
doctype Browse Structure Search Insert Empty Drop 28 MyISAM latin1_swedish_ci 262.4 KiB -
groups Browse Structure Search Insert Empty Drop 7 MyISAM latin1_swedish_ci 4.4 KiB -
help_documents Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
help_nodes Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
help_tickets Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_com Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_dep Browse Structure Search Insert Empty Drop 169 MyISAM latin1_swedish_ci 23.3 KiB -
isp_dienste Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 3.0 KiB -
isp_fakt_artikel Browse Structure Search Insert Empty Drop 5 MyISAM latin1_swedish_ci 3.4 KiB -
isp_fakt_dep Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_fakt_nodes Browse Structure Search Insert Empty Drop 10 MyISAM latin1_swedish_ci 5.5 KiB -
isp_fakt_rechnung Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_fakt_record Browse Structure Search Insert Empty Drop 97 MyISAM latin1_swedish_ci 9.7 KiB -
isp_firewall Browse Structure Search Insert Empty Drop 11 MyISAM latin1_swedish_ci 3.4 KiB -
isp_htaccess Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_isp_actions Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_isp_admin Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_isp_cron Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_isp_datenbank Browse Structure Search Insert Empty Drop 13 MyISAM latin1_swedish_ci 3.9 KiB -
isp_isp_domain Browse Structure Search Insert Empty Drop 31 MyISAM latin1_swedish_ci 5.0 KiB -
isp_isp_kunde Browse Structure Search Insert Empty Drop 13 MyISAM latin1_swedish_ci 4.6 KiB -
isp_isp_reseller Browse Structure Search Insert Empty Drop 6 MyISAM latin1_swedish_ci 4.1 KiB -
isp_isp_user Browse Structure Search Insert Empty Drop 42 MyISAM latin1_swedish_ci 7.4 KiB -
isp_isp_web Browse Structure Search Insert Empty Drop 25 MyISAM latin1_swedish_ci 10.4 KiB -
isp_isp_web_template Browse Structure Search Insert Empty Drop 2 MyISAM latin1_swedish_ci 3.1 KiB -
isp_monitor Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
isp_nodes Browse Structure Search Insert Empty Drop 163 MyISAM latin1_swedish_ci 23.3 KiB -
isp_server Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 4.9 KiB -
isp_serverstatus Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 3.0 KiB -
isp_server_ip Browse Structure Search Insert Empty Drop 10 MyISAM latin1_swedish_ci 4.2 KiB -
isp_traffic Browse Structure Search Insert Empty Drop 1,202 MyISAM latin1_swedish_ci 95.4 KiB -
isp_traffic_ip Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
listtype Browse Structure Search Insert Empty Drop 5 MyISAM latin1_swedish_ci 8.4 KiB -
login Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
multidoc_dep Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 5.0 KiB -
multidoc_nodes Browse Structure Search Insert Empty Drop 5 MyISAM latin1_swedish_ci 5.2 KiB -
session Browse Structure Search Insert Empty Drop 2 MyISAM latin1_swedish_ci 13.4 KiB -
sys_config Browse Structure Search Insert Empty Drop 1 MyISAM latin1_swedish_ci 3.0 KiB -
sys_dep Browse Structure Search Insert Empty Drop 11 MyISAM latin1_swedish_ci 5.4 KiB -
sys_modules Browse Structure Search Insert Empty Drop 11 MyISAM latin1_swedish_ci 4.5 KiB -
sys_news Browse Structure Search Insert Empty Drop 0 MyISAM latin1_swedish_ci 1.0 KiB -
sys_nodes Browse Structure Search Insert Empty Drop 53 MyISAM latin1_swedish_ci 9.4 KiB -
sys_user Browse Structure Search Insert Empty Drop 19 MyISAM latin1_swedish_ci 7.1 KiB -
user_groups Browse Structure Search Insert Empty Drop 12 MyISAM latin1_swedish_ci 5.5 KiB -
54 table(s) Sum 2,746 MyISAM latin1_swedish_ci 672.6 KiB 0 B

falko
8th April 2010, 14:43
Do the isp_isp_web and isp_isp_domain tables contain all your web sites and Co-Domains?

crypted
9th April 2010, 02:04
What would be the best way to check that? Based on /var/www/ subdirectories or am I wanting to compare it to the domains that are listed as SITES on ISPCONFIG's control panel?

falko
9th April 2010, 14:10
Based on /var/www/ subdirectories
Either that, or from your memory.

or am I wanting to compare it to the domains that are listed as SITES on ISPCONFIG's control panel?

That doesn't help because ISPConfig gets the data from the database.

crypted
10th April 2010, 21:33
Okay here are the results for those tables:

Checked the isp_isp_domain against the /var/named/ zonefiles on server

areyouracist.com dns does not have a ~ file
pwcsportsmanl.com dns does not have ~ file
peruvianprincess.org dns does not have ~ file
katiespivey.com dns does nto have ~ file
pri.franceskosak.com dns does not have ~ file
duplicate of areyouracist.com entry
duplicate of antonioparmatown.com entry

extra zone files for the following domains:
allsoentertainment.com
andovermeat.com
a-plusfence.com
area671.com
ballbustersinc.biz
ballbustersinc.com
ballbustersinc.net
ballbustersinc.org
frog-face.com
gimmeagame.com
melaniejessseminars.com
strayirc.net
wdfoxtrotters.net

in /var/www/, this domain/entry is still there but the website was deleted. there is no web106 dir. just the symlink hasn't been deleted by ISPCONFIG it seems:
www.antoniosparmatown.com -> /var/www/web106

this /var/www/ directory exists for a domain, with no symlink, and there is nothing but a /log/ dir within.
www.stalkerspub.com


no /var/www/ directory for the following domains:
(this domain is a codomain website)
skydrive.shiznt.net

no isp_isp_web entries exist for the following web directories in /var/www/:
(these domains should have been deleted)
www.antoniosparmatown.com -> /var/www/web106
www.DUWAHaven.com
www.melaniejessseminars.com
www.mercywireline.com
www.metropolitannightclub.com
www.proconsolutions.net



Also, I ran the writeconf.php again, and got new errors for EVERY user setup by ISPCONFIG:
hown: `web100_rrogers:web': invalid group
chown: `web100_rrogers:web': invalid group
UPDATE USER: 169
chown: `web105_antonios:web': invalid group
chown: `web105_antonios:web': invalid group
UPDATE USER: 170
chown: `web122_sky:web': invalid group
chown: `web122_sky:web': invalid group
UPDATE USER: 219
chown: `web3_nomail:web': invalid group
UPDATE USER: 187
chown: `web6_siteinquiries:web': invalid group
UPDATE USER: 185
chown: `web6_gawd:web': invalid group
chown: `web6_gawd:web': invalid group
UPDATE USER: 186
chown: `web51_poultrysch:web': invalid group
UPDATE USER: 218
chown: `web125_brett:web': invalid group
UPDATE USER: 223
chown: `web125_staftp:web': invalid group
UPDATE USER: 225
chown: `web128_fran:web': invalid group
chown: `web128_fran:web': invalid group
UPDATE USER: 227

falko
11th April 2010, 11:48
I don't understand why it uses the group web instead of web100, web105, web122, etc. :confused:

crypted
11th April 2010, 17:41
I don't know either. This is the first time I have seen that in the years of using ISPCONFIG. All website directories are web# for the grouping. So, just being web is entirely off-basis for how it has been operating.

crypted
12th April 2010, 04:35
/etc/init.d/named start
....
zone fraternitassinelimitibus.info/IN: loading master file pri.fraternitassinelimitibus.info: file not found
_default/fraternitassinelimitibus.info/IN: file not found
zone intrac.net/IN: loaded serial 2010032301
zone antoniosparmatown.com/IN: loaded serial 2008111305
zone antoniosparma.com/IN: loaded serial 2008111303
zone forkup.info/IN: loaded serial 2008121104
zone a-plusfence.com/IN: loaded serial 2010010904
zone pwcsportsman.com/IN: loaded serial 2010030801
zone franceskosak.com/IN: loaded serial 2010031001
[FAILED]

As you see, I added a new domain. The HTTPD part was created. But, the NAMED files are not being created by ISPCONFIG. In the ISPCONFIG DNS Configuration Panel, the domain DNS exists. But, the ISPCONFIG writeconf isn't writing the DNS files. It did add the entry to the named.conf as you see. But, there was never a pri. file finished.

createch
12th April 2010, 07:16
A) Go to ISPConfig panel > server > setting > DNS. Make sure that the following settings:

named.conf
/var/named/chroot/etc/named.conf

zonefiles.dir
/var/named/chroot/var/named


B) Open a SSH terminal, login as root, and execute the following:

chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
cp /usr/share/doc/bind-9.3.6/sample/var/named/named.local /var/named/chroot/var/named/named.local
cp /usr/share/doc/bind-9.3.6/sample/var/named/named.root /var/named/chroot/var/named/named.root
touch /var/named/chroot/etc/named.conf
chkconfig --levels 235 named on
/etc/init.d/named start


C) Now try to create a test domain (e.g www.test123.com) using the ISPConfig panel. See whether your system can create the pri record.

crypted
12th April 2010, 07:30
So, doing that, the testsite.com created DNS entries and all that. But, upon deleting the website from ISPCONFIG, its DNS entry still exists...meaning in ISPCONFIG DNS Manager and in the zonefiles, testsite.com never got removed.

createch
12th April 2010, 07:51
Hi,

Please check whether the /home/admispconfig (and all directories underneath) are having the following owner permissions:

owner: admispconfig
group: admispconfig

if not, execute the correct chown and chgrp commands
(e.g.

cd /home
chown -R admispconfig admispconfig
chgrp -R admispconfig admispconfig

)

and retry to delete the testsite.com using the ISPConfig panel.

crypted
12th April 2010, 16:21
Yeah, it's all owned by the same user/group of admispconfig:admispconfig

crypted
24th April 2010, 00:54
Just to note...I gave up on ISPCONFIG 2 and changed over to a new system with ISPCONFIG 3.