Current time: 11-26-2024, 07:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MOD] Автоустановка скриптов на панель
Author Message
stopkadr Offline
Banned

Posts: 25
Joined: Mar 2011
Post: #111
RE: [MOD] Автоустановка скриптов на панель
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
(This post was last modified: 04-17-2011 04:48 AM by stopkadr.)
04-17-2011 04:47 AM
Find all posts by this user Quote this message in a reply
jakub.artur Offline
Junior Member
*

Posts: 30
Joined: Sep 2010
Reputation: 0
Post: #112
RE: [MOD] Автоустановка скриптов на панель
(04-16-2011 01:15 AM)DragonZX Wrote:  Пробуй это
http://isp-control.net/forum/thread-12866.html

это не помогло пустую страницу, установка не завершена
04-22-2011 12:22 AM
Find all posts by this user Quote this message in a reply
TechnikOnkel Offline
Junior Member
*

Posts: 27
Joined: Aug 2010
Reputation: 0
Post: #113
RE: [MOD] Автоустановка скриптов на панель
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
04-23-2011 05:21 AM
Find all posts by this user Quote this message in a reply
spidersoftware Offline
Junior Member
*

Posts: 80
Joined: Apr 2010
Reputation: 0
Post: #114
RE: [MOD] Автоустановка скриптов на панель
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.
05-29-2011 03:19 AM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #115
RE: [MOD] Автоустановка скриптов на панель
It's quit stable, but you need to install cronjob (included) and it's recomended to install "by hands".
06-15-2011 04:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
anarking Offline
Junior Member
*

Posts: 29
Joined: Nov 2009
Reputation: 0
Post: #116
RE: [MOD] Автоустановка скриптов на панель
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!
08-29-2011 05:31 AM
Find all posts by this user Quote this message in a reply
plastilin Offline
Junior Member
*

Posts: 82
Joined: Jan 2010
Reputation: 1
Post: #117
Question RE: [MOD] Автоустановка скриптов на панель
Товарищи, ошибки при установке на 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
(This post was last modified: 11-04-2011 05:32 AM by plastilin.)
11-04-2011 05:12 AM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #118
RE: [MOD] Автоустановка скриптов на панель
Попробуй версию 3b
1. Исправил синтаксис инсталятора (ошибка 1),
2. Заменил hcrond 0.3.2 (2006) на 0.1.1 (2009) Big Grin
Не забудьте установить пакеты для сборки!!!


Attached File(s)
.zip  ispCP_Installer_RC_4-1.0.7-build3b.zip (Size: 479.79 KB / Downloads: 18)
11-04-2011 06:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
plastilin Offline
Junior Member
*

Posts: 82
Joined: Jan 2010
Reputation: 1
Post: #119
RE: [MOD] Автоустановка скриптов на панель
По первой ошибке - все в норме. По второй

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/34683...1_i386.deb
(This post was last modified: 11-04-2011 09:21 PM by plastilin.)
11-04-2011 07:24 PM
Find all posts by this user Quote this message in a reply
DragonZX Offline
Moderator
*****
Moderators

Posts: 441
Joined: Aug 2010
Reputation: 5
Post: #120
RE: [MOD] Автоустановка скриптов на панель
Зависимости пакета нормально прописаны? Фишка в том, что в таком случае придется писать отдельно установку под разные системы.

Суть ошибки в том, что в main.c указан #include mysql/mysql.h, но такого файла нет. Я так понимаю, что ребята вшивали Сronjob Russian Solution, но как-то не до конца получилось. А вот разработка hcrond как-то заглохла...
Решение в том, чтобы найти как устанавливали CronJob в той теме. Кто-то ж его установил...
11-04-2011 09:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)