Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running patch from step 6 error #8

Open
Jonmccombs opened this issue Oct 18, 2018 · 0 comments
Open

Running patch from step 6 error #8

Jonmccombs opened this issue Oct 18, 2018 · 0 comments

Comments

@Jonmccombs
Copy link

Jonmccombs commented Oct 18, 2018

#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant