atimonin / snmpbuilder

snmpbuilder addon for zabbix
27 stars 19 forks source link

Running patch from step 6 error #8

Open Jonmccombs opened 5 years ago

Jonmccombs commented 5 years ago

6. patch zabbix frontend

patch -p1 < $your_src/$distname/snmpbuilder-2.0.patch I log in as www-data but the command must be ran as sudo but www-data asks for a password. I never setup one but after three tries it throws me out. If I added my account to www-data group the patch runs but with the following errors. patching file pl Hunk #1 FAILED at 218. patch: **** Can't reopen file pl : No such file or directory IS pl (a number 1 OR Letter L)? Please help!

if I copy patch file to /usr/share/zabbix directory I get the following error.

root@MJTS-ZabbixS1:/usr/share/zabbix# patch -p1 < snmpbuilder-2.0.patch patching file include/menu.inc.php Hunk #1 FAILED at 218. 1 out of 1 hunk FAILED -- saving rejects to file include/menu.inc.php.rej patching file include/page_header.php Hunk #1 FAILED at 148. 1 out of 1 hunk FAILED -- saving rejects to file include/page_header.php.rej patching file jsLoader.php Hunk #1 FAILED at 47. 1 out of 1 hunk FAILED -- saving rejects to file jsLoader.php.rej