RE: [MOD] Автоустановка скриптов на панель - stopkadr - 04-17-2011 04:47 AM
Create softwarefolders for softwaredepot - Please wait
install: создание каталога <</var/www/ispcp/gui/software/sw_depot/>>
Creating softwaredepot subfolders succesful
Installing CronJob
pkg-config libdaemon
flex -t options.l > options.c
echo \#define VERSION \"`cat VERSION`\" > version.h
gcc -std=c99 -pedantic -Wall -W -c -o options.o options.c
<stdout>:1409: warning: 'yyunput' defined but not used
<stdout>:1450: warning: 'input' defined but not used
gcc -std=c99 -pedantic -Wall -W -c -o main.o main.c
main.c: In function 'run_this':
main.c:481: warning: initialization discards qualifiers from pointer target type
gcc -o hcrond options.o main.o -I'/usr/include/mysql' -L/usr/lib64/mysql -lmysqlclient -ldaemon -lpthread
cp -ai etc /
cp -i hcrond /usr/bin
cp: невозможно выполнить stat для <<./newfiles/hcrond/hcrondrc>>: Нет такого файла или каталога
./install: line 219: /etc/init.d/hcrondrc: Нет такого файла или каталога
CronJob installed succesfully
RE: [MOD] Автоустановка скриптов на панель - jakub.artur - 04-22-2011 12:22 AM
(04-16-2011 01:15 AM)DragonZX Wrote: Пробуй это
http://isp-control.net/forum/thread-12866.html
это не помогло пустую страницу, установка не завершена
RE: [MOD] Автоустановка скриптов на панель - TechnikOnkel - 04-23-2011 05:21 AM
When I log in as a costumer i cant see the Software Management
Just as Admin or Reseller but i enabled it for the Domain users....
Im using ispCP 1.07 with ispCP_Installer_RC_4-1.0.7-build3a
RE: [MOD] Автоустановка скриптов на панель - spidersoftware - 05-29-2011 03:19 AM
Hello, any guy have got this version running good whit the installer in the version 07???? i see a lot of info, and in russian its difficult for me.
Can now install and run whit the news updates the version ispCP_Installer_RC_4-1.0.7-build3.zip??? or need a little updates?.
Thank you and sorry for use english in russina corner, a greet.
RE: [MOD] Автоустановка скриптов на панель - DragonZX - 06-15-2011 04:58 PM
It's quit stable, but you need to install cronjob (included) and it's recomended to install "by hands".
RE: [MOD] Автоустановка скриптов на панель - anarking - 08-29-2011 05:31 AM
Sorry for speaking English...
Great work on this. I have adapted it relatively heavily to make it all work on Ubuntu 10.10 with ispCP 1.0.7. I am using RC4 3a.
I finally have it "working" with 2 problems, I hope you can help...
The couple of packages (WordPress, Joomla) that I tried to upload, upload correctly, but then an error says Package is Corrupt. every time. upload or remote. Any idea why?
Also, I'm getting white screen when trying to upload a package from Reseller. I made the fcgid Max... changes everywhere, no errors, just white screen and will not install.
I hope to get this working very much, and I will upload the modified installer for Ubuntu when it works. Thank you for any help!
RE: [MOD] Автоустановка скриптов на панель - plastilin - 11-04-2011 05:12 AM
Товарищи, ошибки при установке на Ubuntu 10.04 версия ispCP_Installer_RC_4-1.0.7-build3.zip. Перед выполнением скрипта нужно доустановить flex и pkg-config "apt-get install flex pkg-config" Однако и это не спасает от ошибок.
1.
Code:
install: cannot stat `./newfiles/gui/themes/omega_original/client/{cronjobs_add.tpl': No such file or directory
install: cannot stat `cronjobs_edit.tpl': No such file or directory
install: cannot stat `cronjobs_overview.tpl': No such file or directory
install: cannot stat `index.tpl': No such file or directory
install: cannot stat `menu_webtools.tpl': No such file or directory
install: cannot stat `software.tpl': No such file or directory
install: cannot stat `software_install.tpl': No such file or directory
install: cannot stat `software_view.tpl': No such file or directory
install: cannot stat `webtools.tpl}': No such file or directory
2.
Code:
Create softwarefolders for softwaredepot - Please wait
install: creating directory `/var/www/ispcp/gui/software/sw_depot/'
Creating softwaredepot subfolders succesful
Installing CronJob
pkg-config libdaemon
make: *** [HAVE_libdaemon] Error 1
gcc -std=c99 -pedantic -Wall -W -c -o main.o main.c
main.c:34:25: error: mysql/mysql.h: No such file or directory
main.c:35:29: error: libdaemon/dfork.h: No such file or directory
main.c:36:28: error: libdaemon/dlog.h: No such file or directory
main.c:37:28: error: libdaemon/dpid.h: No such file or directory
main.c:38:31: error: libdaemon/dsignal.h: No such file or directory
main.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:89: error: expected ‘)’ before ‘*’ token
main.c:99: error: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:118: warning: implicit declaration of function ‘daemon_pid_file_kill’
main.c:120: warning: implicit declaration of function ‘daemon_log’
main.c:126: error: ‘daemon_log_ident’ undeclared (first use in this function)
main.c:126: error: (Each undeclared identifier is reported only once
main.c:126: error: for each function it appears in.)
main.c:127: error: ‘daemon_log_use’ undeclared (first use in this function)
main.c:127: error: ‘DAEMON_LOG_AUTO’ undeclared (first use in this function)
main.c:127: error: ‘DAEMON_LOG_STDERR’ undeclared (first use in this function)
main.c:131: warning: implicit declaration of function ‘daemon_retval_init’
main.c:132: warning: implicit declaration of function ‘daemon_fork’
main.c:134: warning: implicit declaration of function ‘daemon_retval_send’
main.c:138: warning: implicit declaration of function ‘daemon_retval_done’
main.c:141: warning: implicit declaration of function ‘daemon_retval_wait’
main.c:150: error: ‘daemon_pid_file_proc’ undeclared (first use in this function)
main.c:151: warning: implicit declaration of function ‘daemon_pid_file_create’
main.c:153: warning: implicit declaration of function ‘daemon_pid_file_is_running’
main.c:160: error: ‘daemon_pid_file_remove’ undeclared (first use in this function)
main.c:171: warning: implicit declaration of function ‘daemon_signal_init’
main.c:176: error: ‘daemon_signal_done’ undeclared (first use in this function)
main.c:198: warning: implicit declaration of function ‘daemon_pid_file_remove’
main.c:199: warning: implicit declaration of function ‘daemon_signal_done’
main.c: In function ‘run_jobs’:
main.c:220: warning: implicit declaration of function ‘daemon_signal_next’
main.c: At top level:
main.c:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
main.c:285: error: expected ‘)’ before ‘*’ token
main.c:313: error: expected ‘)’ before ‘*’ token
main.c: In function ‘refresh’:
main.c:337: error: ‘MYSQL’ undeclared (first use in this function)
main.c:337: error: ‘sql’ undeclared (first use in this function)
main.c:340: warning: implicit declaration of function ‘db_connect’
main.c:348: warning: implicit declaration of function ‘db_update’
main.c:370: warning: implicit declaration of function ‘mysql_close’
main.c:375: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:375: error: ‘res’ undeclared (first use in this function)
main.c:376: warning: implicit declaration of function ‘queryf’
main.c:376: warning: implicit declaration of function ‘mysql_store_result’
main.c:378: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:378: error: expected ‘;’ before ‘row’
main.c:379: error: ‘row’ undeclared (first use in this function)
main.c:379: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:438: warning: implicit declaration of function ‘mysql_free_result’
main.c: In function ‘run_this’:
main.c:481: warning: initialization discards qualifiers from pointer target type
make: *** [main.o] Error 1
cp: cannot stat `./newfiles/hcrond/hcrondrc': No such file or directory
./install: line 219: /etc/init.d/hcrondrc: No such file or directory
CronJob installed succesfully
RE: [MOD] Автоустановка скриптов на панель - DragonZX - 11-04-2011 06:38 PM
Попробуй версию 3b
1. Исправил синтаксис инсталятора (ошибка 1),
2. Заменил hcrond 0.3.2 (2006) на 0.1.1 (2009)
Не забудьте установить пакеты для сборки!!!
RE: [MOD] Автоустановка скриптов на панель - plastilin - 11-04-2011 07:24 PM
По первой ошибке - все в норме. По второй
Code:
[size=xx-small]Create softwarefolders for softwaredepot - Please wait
Creating softwaredepot subfolders succesful
Installing CronJob
flex -t options.l > options.c
echo \#define VERSION \"`cat VERSION`\" > version.h
gcc -std=gnu99 -pedantic -Wall -W -c -o options.o options.c
<stdout>:1398: warning: ‘yyunput’ defined but not used
<stdout>:1439: warning: ‘input’ defined but not used
gcc -std=gnu99 -pedantic -Wall -W -c -o main.o main.c
main.c:42:25: error: mysql/mysql.h: No such file or directory
main.c: In function ‘refresh’:
main.c:241: error: ‘MYSQL’ undeclared (first use in this function)
main.c:241: error: (Each undeclared identifier is reported only once
main.c:241: error: for each function it appears in.)
main.c:241: error: ‘sql’ undeclared (first use in this function)
main.c:241: warning: implicit declaration of function ‘mysql_init’
main.c:246: warning: implicit declaration of function ‘mysql_real_connect’
main.c:260: warning: implicit declaration of function ‘mysql_query’
main.c:290: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:290: error: ‘res’ undeclared (first use in this function)
main.c:291: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:291: error: expected ‘;’ before ‘row’
main.c:293: warning: implicit declaration of function ‘mysql_store_result’
main.c:295: error: ‘row’ undeclared (first use in this function)
main.c:295: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:353: warning: implicit declaration of function ‘mysql_free_result’
main.c:364: warning: implicit declaration of function ‘mysql_close’
make: *** [main.o] Error 1
gcc -std=gnu99 -pedantic -Wall -W -c -o main.o main.c
main.c:42:25: error: mysql/mysql.h: No such file or directory
main.c: In function ‘refresh’:
main.c:241: error: ‘MYSQL’ undeclared (first use in this function)
main.c:241: error: (Each undeclared identifier is reported only once
main.c:241: error: for each function it appears in.)
main.c:241: error: ‘sql’ undeclared (first use in this function)
main.c:241: warning: implicit declaration of function ‘mysql_init’
main.c:246: warning: implicit declaration of function ‘mysql_real_connect’
main.c:260: warning: implicit declaration of function ‘mysql_query’
main.c:290: error: ‘MYSQL_RES’ undeclared (first use in this function)
main.c:290: error: ‘res’ undeclared (first use in this function)
main.c:291: error: ‘MYSQL_ROW’ undeclared (first use in this function)
main.c:291: error: expected ‘;’ before ‘row’
main.c:293: warning: implicit declaration of function ‘mysql_store_result’
main.c:295: error: ‘row’ undeclared (first use in this function)
main.c:295: warning: implicit declaration of function ‘mysql_fetch_row’
main.c:353: warning: implicit declaration of function ‘mysql_free_result’
main.c:364: warning: implicit declaration of function ‘mysql_close’
make: *** [main.o] Error 1
cp: cannot stat `./newfiles/hcrond/hcrondrc': No such file or directory
./install: line 219: /etc/init.d/hcrondrc: No such file or directory
CronJob installed succesfully[/size]
P.S. А можно обойтись как то без кронджоба, а то сборка из исходников - совсем не DebianWay. Может реально собрать deb пакет? Пробовал сам сделать с помощью checkinstall, однако фигушки. Нашел в сети версию 0.3.2 в deb http://download.nnover.ru/data/uf2/3468314/06/00/5060012_hcrond_0.3.2-1_i386.deb
RE: [MOD] Автоустановка скриптов на панель - DragonZX - 11-04-2011 09:37 PM
Зависимости пакета нормально прописаны? Фишка в том, что в таком случае придется писать отдельно установку под разные системы.
Суть ошибки в том, что в main.c указан #include mysql/mysql.h, но такого файла нет. Я так понимаю, что ребята вшивали Сronjob Russian Solution, но как-то не до конца получилось. А вот разработка hcrond как-то заглохла...
Решение в том, чтобы найти как устанавливали CronJob в той теме. Кто-то ж его установил...
|