ispCP - Board - Support
Help at ispcp-setup-methods.pl line 624 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Help at ispcp-setup-methods.pl line 624 (/thread-12011.html)

Pages: 1 2


Help at ispcp-setup-methods.pl line 624 - godteam - 11-01-2010 01:33 AM

Quote: Welcome to ispCP '1.0.7 OMEGA' Setup Dialog.

This program will set up ispCP OMEGA system on your server.

Next you are asked to enter a "fully qualified hostname" (FQHN).
For more infos read http://en.wikipedia.org/wiki/FQDN.


Please enter a fully qualified hostname [tos.in.th]:

Please enter the system network address [122.155.3.62]:

Please enter the domain name from where ispCP OMEGA will be
reachable [admin.tos.in.th]: cp.tos.in.th

Please enter SQL server hostname [localhost]:

Please enter ispCP SQL database name [ispcp]:

Please enter ispCP SQL username [root]:

Please enter ispCP SQL password [none]:

Please repeat ispCP SQL password:

Please enter ispCP ftp SQL user [vftp]:

Please enter ispCP ftp SQL user password [auto generate]:

Please repeat ispCP ftp SQL user password:

Please enter ispCP PMA control user [pma]:

Please enter ispCP PMA control user password [auto generate]:

Please repeat ispCP PMA control user password:

Please enter administrator login name [admin]: nut

Please enter administrator password:

Please repeat administrator password:

Please enter administrator e-mail address: support@teamservices.in.th

Secondary DNS server address Ip (optional) []:

Do you want allow the system resolver to use the local
nameserver? [Y/n]: y

Use MySQL Prefix? Possible values: [i]nfront, [b]ehind, [n]one.
[none]:

FastCGI Version: [f]cgid or fast[c]gi. [fcgid]:
Invalid day of month (day = 31 - month = 9 - year = 2010)
at ispcp-setup-methods.pl line 624

Help people know that


RE: Help at ispcp-setup-methods.pl line 624 - HoffmannMich - 11-01-2010 06:05 AM

(11-01-2010 01:33 AM)godteam Wrote:  
Quote: Welcome to ispCP '1.0.7 OMEGA' Setup Dialog.

This program will set up ispCP OMEGA system on your server.

Next you are asked to enter a "fully qualified hostname" (FQHN).
For more infos read http://en.wikipedia.org/wiki/FQDN.


Please enter a fully qualified hostname [tos.in.th]:

Please enter the system network address [122.155.3.62]:

Please enter the domain name from where ispCP OMEGA will be
reachable [admin.tos.in.th]: cp.tos.in.th

Please enter SQL server hostname [localhost]:

Please enter ispCP SQL database name [ispcp]:

Please enter ispCP SQL username [root]:

Please enter ispCP SQL password [none]:

Please repeat ispCP SQL password:

Please enter ispCP ftp SQL user [vftp]:

Please enter ispCP ftp SQL user password [auto generate]:

Please repeat ispCP ftp SQL user password:

Please enter ispCP PMA control user [pma]:

Please enter ispCP PMA control user password [auto generate]:

Please repeat ispCP PMA control user password:

Please enter administrator login name [admin]: nut

Please enter administrator password:

Please repeat administrator password:

Please enter administrator e-mail address: support@teamservices.in.th

Secondary DNS server address Ip (optional) []:

Do you want allow the system resolver to use the local
nameserver? [Y/n]: y

Use MySQL Prefix? Possible values: [i]nfront, [b]ehind, [n]one.
[none]:

FastCGI Version: [f]cgid or fast[c]gi. [fcgid]:
Invalid day of month (day = 31 - month = 9 - year = 2010)
at ispcp-setup-methods.pl line 624

Help people know that

Same error for me! Help out, please!

HoffmannMich


RE: Help at ispcp-setup-methods.pl line 624 - Nuxwin - 11-01-2010 06:25 AM

Please, what the output of date command on your system ?

September , 31 days ? god.. We will check the TIMEZONE code part.


RE: Help at ispcp-setup-methods.pl line 624 - sci2tech - 11-01-2010 07:09 AM

This only happens if local time is 31 day of the month. localtime return month as 0..11 not 1..12 Wink Patch:
Quote:Index: engine/setup/ispcp-setup-methods.pl
===================================================================
--- engine/setup/ispcp-setup-methods.pl (revision 3585)
+++ engine/setup/ispcp-setup-methods.pl (working copy)
@@ -622,7 +622,7 @@
# Get the user's default timezone
my ($sec, $min, $hour, $mday, $mon, $year, @misc) = localtime;
my $datetime = DateTime->new(
- year => $year + 1900, month => $mon, day => $mday, hour => $hour,
+ year => $year + 1900, month => $mon + 1, day => $mday, hour => $hour,
minute => $min, second => $sec, time_zone => 'local'
);
I`ll commit this in a minute.


RE: Help at ispcp-setup-methods.pl line 624 - godteam - 11-01-2010 08:56 AM

Thanks for command Change timezone

But I have a problem was.

Quote:Starting ispCP installation
* Stopping all services: ......... [ Done ]

Pre-installation tasks for Ubuntu
* Nothing to do... [ Done ]

System checks
* Mysql server connection: [ Done ]

Services setup
* ispCP users and groups: [ Failed ]

[FATAL] An error occurred during setup process!
Correct it and re-run this program.

Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum



RE: Help at ispcp-setup-methods.pl line 624 - sci2tech - 11-01-2010 09:12 AM

post here content of files from: /var/log/ispcp/setup/
Just a guess: users vuxxx are already added, remove them from /etc/group / gshadow / passwd and shadow then run setup again


RE: Help at ispcp-setup-methods.pl line 624 - godteam - 11-01-2010 09:13 AM

File : ispcp-setup.log

Quote: * ispcp_network is already stopped
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_network stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping ispCP GUI-Backend communication Daemon ispcp_daemon
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_daemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/bind9 stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] httpd (no pid file) not running
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/apache2ctl stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping ftp server proftpd
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/proftpd stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping Postfix Mail Transport Agent postfix
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/postfix stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping Courier authentication services authdaemond
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-authdaemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping Courier POP3 server...
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-pop stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] * Stopping Courier IMAP server imapd
...done.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-imap stop') | Ending...
stop_services() | Ending...
preinst() | Starting...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/bin/sh preinst install') | Ending...
preinst() | Ending...
check_host_system() | Starting...
check_sql_connection() | Starting...
check_sql_connection() | Checking MySQL server connection with the following DSN: DBI:mysql::localhost root XXXX
doSQL() | Starting...
doSQL() | Ending...
check_sql_connection() | Ending...
check_host_system() | Ending...
setup_services_cfg() | Starting...
setup_system_users() | Starting...
sys_command() | Starting...
system() | [DEBUG] useradd: cannot create directory /var/www/fcgi/master
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 12
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/useradd -d /var/www/fcgi/master -m -c vu-master -g vu2000 -s /bin/false -u 2000 vu2000' exited with value 12 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...



RE: Help at ispcp-setup-methods.pl line 624 - sci2tech - 11-01-2010 09:18 AM

Quote:sys_command() | [ERROR] External command '/usr/sbin/useradd -d /var/www/fcgi/master -m -c vu-master -g vu2000 -s /bin/false -u 2000 vu2000' exited with value 12 !
12 means /var/www/fcgi/master is not accessible. If you do not use debian use make -F distro.makefile. Perform a make clean and start again with instalation


RE: Help at ispcp-setup-methods.pl line 624 - godteam - 11-01-2010 11:56 AM

Quote:Starting ispCP installation
* Stopping all services: ......... [ Done ]

Pre-installation tasks for Ubuntu
* Nothing to do... [ Done ]

System checks
* Mysql server connection: [ Done ]

Services setup
* ispCP users and groups: [ Done ]
* ispCP directories: [ Done ]
* ispCP main configuration file: [ Done ]
* ispCP database: [ Done ]
* ispCP default language table: [ Done ]
* ispCP default SQL data: [ Done ]
* ispCP system hosts file: [ Done ]
* ispCP system resolver: [ Done ]
* ispCP crontab file: [ Done ]
* ispCP Bind9 main configuration file: [ Done ]
* ispCP Apache fastCGI modules configuration: [ Done ]
* ispCP Apache main vhost file: [ Done ]
* ispCP Apache AWStats vhost file: [ Done ]
* ispCP Postfix configuration files: [ Done ]
* ispCP Courier-Authentication: [ Done ]
* ispCP ProFTPd configuration file: [ Done ]
* ispCP init scripts: [ Done ]

GUI setup
* ispCP GUI Bind9 configuration: [ Done ]
* ispCP GUI fastCGI/PHP configuration: [ Done ]
* ispCP GUI vhost file: [ Done ]
* ispCP PMA configuration file: [ Done ]

Additional tasks
* ispCP Rkhunter configuration: [ Failed ]

[FATAL] An error occurred during setup process!
Correct it and re-run this program.

Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum

File : ispcp-setup.log

Quote:getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('which rkhunter > /dev/null') | Ending...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command 'rkhunter --update --nolog -q' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...

Sad


RE: Help at ispcp-setup-methods.pl line 624 - godteam - 11-01-2010 03:02 PM

Code:
aptitude purge rkhunter

from : http://isp-control.net/forum/thread-11937-post-89322.html

Thank you very much for your help friends.

Smile

I can install it then.