View Full Version : Writing on the configuration files.
juampi
22nd March 2006, 06:59
Hi All!
I see an error on my system. All the modifications that I do on ispconfig cannot be written in the configuration files: virtusertable, Vhosts_ispconfig.conf, name.conf and others. These files have the correct chmod.
I can see all the correct data into the database of ispconfig.
I think that this it is an important problem. I verified all the configuration and I did`nt find the problem.
I check my log file and i see all ok.
Please, any help?
Regards,
JP
danf.1979
22nd March 2006, 07:04
Maybe the ispconfig_wconf deamon is dead. Try restarting ispconfig
# /etc/init.d/ispconfig_server restart
juampi
22nd March 2006, 07:19
I try restart the ispconfig_server. The daemon is Ok, but the problem continues.
Regards,
JP
till
22nd March 2006, 08:58
Run this as root user on the shell:
rm -f /root/ispconfig/.ispconfig_lock
Then restart ISPConfig:
/etc/init.d/ispconfig restart
Then modify anything in the ISPConfig interface, e.g the settings of a website. Does ISPConfig starts now to write the pending changes?
juampi
22nd March 2006, 22:32
Hi!
This procedure don't work for me.
Regards,
JP
till
22nd March 2006, 23:46
Did you get any error messages when you execute:
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
How long does the script run approx?
juampi
23rd March 2006, 06:32
Did you get any error messages when you execute:
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
favaloro:~# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start
Segmentation Fault
How long does the script run approx?
13272
Regards,
JP
falko
23rd March 2006, 09:45
favaloro:~# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
start
Segmentation Fault
Might be a hardware problem. You should have a look at memtest86: http://www.howtoforge.com/forums/showthread.php?t=807
If you're using Fedora, make sure SELinux is disabled.
juampi
23rd March 2006, 19:19
Might be a hardware problem. You should have a look at memtest86: http://www.howtoforge.com/forums/showthread.php?t=807
If you're using Fedora, make sure SELinux is disabled.
Well i don't see an error in hardware. I have a Debian 3.1. Is impossible make some modification from ISPconfig.
Let me know about other test. Can I re-install ISPConfig?.
Regards,
JP
till
23rd March 2006, 19:32
Well i don't see an error in hardware. I have a Debian 3.1. Is impossible make some modification from ISPconfig.
Let me know about other test. Can I re-install ISPConfig?.
You can try to reinstall the latest ISPConfig version, this will recompile your PHP.
But in most cases, Segmentation faults are hardware related.
juampi
23rd March 2006, 19:51
Can the quota affect to ISPConfig?.
JP
till
23rd March 2006, 20:32
Can the quota affect to ISPConfig?.
Do you have quotas on the root account? I dont think that the error can be caused by quota.
juampi
24th March 2006, 06:56
Do you have quotas on the root account? I dont think that the error can be caused by quota.
No, I don`t have quotas on the root account.
I don't know for now where is the problem.
JP
till
24th March 2006, 09:30
No, I don`t have quotas on the root account.
I don't know for now where is the problem.
I guess the problem is related to your hardware. have you run the memtest as falko suggested?
till
4th April 2006, 17:53
Well i don't see an error in hardware. I have a Debian 3.1. Is impossible make some modification from ISPconfig.
Let me know about other test. Can I re-install ISPConfig?.
Please run this command:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
and post the last ouput/error here.
juampi
5th April 2006, 08:08
Please run this command:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
and post the last ouput/error here.
waitpid(23299, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 23299
--- SIGCHLD (Child exited) @ 0 (0) ---
time(NULL) = 1144213740
time(NULL) = 1144213740
getcwd("/root", 4096) = 6
time(NULL) = 1144213740
lstat64("/home", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
lstat64("/home/admispconfig", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admispconfig/ispconfig", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/home/admispconfig/ispconfig/ispconfig.log", {st_mode=S_IFREG|0644, st_size=861841, ...}) = 0
open("/home/admispconfig/ispconfig/ispconfig.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=861841, ...}) = 0
lseek(5, 0, SEEK_CUR) = 0
lseek(5, 0, SEEK_CUR) = 0
write(5, "05.04.2006 - 02:09:00 => WARN - "..., 147) = 147
close(5) = 0
getcwd("/root", 4096) = 6
time(NULL) = 1144213740
open("/etc/passwd", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=5325, ...}) = 0
lseek(5, 0, SEEK_CUR) = 0
stat64("/etc/passwd", {st_mode=S_IFREG|0644, st_size=5325, ...}) = 0
read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 8192) = 5325
close(5) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.