LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2009, 07:06 AM   #1
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
Permission denied at Bugzilla/Config.pm line 273


Hi all ,

I have installed bugzilla and i am able get into the web interface using the bugzilla administrator username and password.I am able to see all the options in the web interface of bugzilla but unable to save any settings that i change in the bugzilla interface.I am getting the error

Software error:

Error in tempfile() using data/params.XXXXX: Could not create temp file data/params.tpGD3: Permission denied at Bugzilla/Config.pm line 273

I read in some forums that running the checksetup.pl will take care of assigning permission for the bugzilla directory.Right now the permission are as follows

drwxr-x--- 15 root apache 4096 2009-06-05 13:33 /usr/share/bugzilla/


FYI i installed bugzilla using rpm and its default installed location is /usr/share/bugzilla/ and i created a symbolic link to /var/www/html/

And my details are as follows
OS: fedora 9
perl: perl, v5.10.0
mysql :mysql-5.0.51a-1

Thanks in advance
 
Old 06-07-2009, 12:04 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
Is SELinux running or not?
 
Old 06-07-2009, 11:39 PM   #3
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fizeelinux View Post
Hi all ,

I have installed bugzilla and i am able get into the web interface using the bugzilla administrator username and password.I am able to see all the options in the web interface of bugzilla but unable to save any settings that i change in the bugzilla interface.I am getting the error

Software error:

Error in tempfile() using data/params.XXXXX: Could not create temp file data/params.tpGD3: Permission denied at Bugzilla/Config.pm line 273

I read in some forums that running the checksetup.pl will take care of assigning permission for the bugzilla directory.Right now the permission are as follows

drwxr-x--- 15 root apache 4096 2009-06-05 13:33 /usr/share/bugzilla/


FYI i installed bugzilla using rpm and its default installed location is /usr/share/bugzilla/ and i created a symbolic link to /var/www/html/

And my details are as follows
OS: fedora 9
perl: perl, v5.10.0
mysql :mysql-5.0.51a-1

Thanks in advance
Hi blacky nice to see you again

I have disabled SELINUX .

#cat config | grep ^SELINUX
SELINUX=disabled
SELINUXTYPE=targeted

I noticed that only for the 'Required settings' tab of the bugzilla web interface i am not able to change any option if i change and save (for instance i changed maintainer email id to my mail id and clicked on save .I am getting the following error message.Other than this tab i am able to edit and save in all the tabs(like administrative policies,user authentication etc)

Bad Request

Your browser sent a request that this server could not understand.

My Requirement is this.My testing team needs to put their bugs for the development team.I am sure this should be send through mail.FYI i have an exchange server.Is it possible to integrate the users of mail server to bugzilla.Please let me know how this can be accomplished as i really don't have an idea of implementing it blacky

Thanks

Last edited by fizeelinux; 06-08-2009 at 12:22 AM. Reason: Updation
 
Old 06-08-2009, 01:53 AM   #4
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
Hi,

You don't need the symlink from /var/www/html to /usr/share/bugzilla. The bugzilla install process will add a file to your Apache configuration directory - probably called :- /etc/httpd/conf.d/bugzilla. This file will redirect requests for http://www.your.server/bugzilla to the /usr/share/bugzilla directory. So you don't need a symlink to achieve this - Apache and Bugzilla should have co-operated to deal with this themselves. So check your /etc/httpd/conf.d folder for the bugzilla file, and if it is all OK, remove the symlink.

Next, to investigate the actual error, try changing the owernship of the bugzilla from root to Apache:-
Code:
chown -R apache:apache /usr/share/bugzilla
Now try this again. Your earlier post showed that the folder is owned by root with the group id set to Apache, but the group doesn't have write access. This prevents the apache process from saving settings.

I have bugzilla here for customers to use, and the bugzilla system on our Fedora server sends emails out to customers and our internal support staff using an Exchange server. The second part is really outside the scope of "bugzilla", and if you're having trouble sending emails from bugzilla, I suggest you to to send emails from the server to the outside world and get this working before you try to get bugzilla to work with your email package. The mail package you're using will determine who provides support. I prefer postfix and don't know sendmail well enough to provide assistance.

Last edited by blacky_5251; 06-08-2009 at 01:55 AM.
 
Old 06-10-2009, 01:24 AM   #5
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blacky_5251 View Post
Hi,

You don't need the symlink from /var/www/html to /usr/share/bugzilla. The bugzilla install process will add a file to your Apache configuration directory - probably called :- /etc/httpd/conf.d/bugzilla. This file will redirect requests for http://www.your.server/bugzilla to the /usr/share/bugzilla directory. So you don't need a symlink to achieve this - Apache and Bugzilla should have co-operated to deal with this themselves. So check your /etc/httpd/conf.d folder for the bugzilla file, and if it is all OK, remove the symlink.

Next, to investigate the actual error, try changing the owernship of the bugzilla from root to Apache:-
Code:
chown -R apache:apache /usr/share/bugzilla
Now try this again. Your earlier post showed that the folder is owned by root with the group id set to Apache, but the group doesn't have write access. This prevents the apache process from saving settings.

I have bugzilla here for customers to use, and the bugzilla system on our Fedora server sends emails out to customers and our internal support staff using an Exchange server. The second part is really outside the scope of "bugzilla", and if you're having trouble sending emails from bugzilla, I suggest you to to send emails from the server to the outside world and get this working before you try to get bugzilla to work with your email package. The mail package you're using will determine who provides support. I prefer postfix and don't know sendmail well enough to provide assistance.
Hi,
Can you help me out in configuring postfix for bugzilla.Can you tell me what are the parameters i need to change in the configuration file so as to send mails to the users of some other domains.Thanks
 
Old 06-10-2009, 05:09 AM   #6
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
What have you tried?
Is something not working?
Have you looked in the log files (/var/log/maillog)?
Have you Googled for HowTo documents?

Seriously, have a go yourself before reaching out

Happy to help when (if) you hit a wall, but not with open ended request like this. Sorry...
 
Old 06-15-2009, 12:21 AM   #7
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blacky_5251 View Post
What have you tried?
Is something not working?
Have you looked in the log files (/var/log/maillog)?
Have you Googled for HowTo documents?

Seriously, have a go yourself before reaching out

Happy to help when (if) you hit a wall, but not with open ended request like this. Sorry...

Hey blacky i am not with the intention of getting help without doing anything from my end.I was working on postfix and since you said you have experience in it i asked you for documentation if any.I have configured postfix but i am getting errors in maillog file.Can you help me in this..
I would like to send mail to my local exchange server 2003 mail accounts.When i type mutt command it prompts me for the 'To address'
Subject and after that a "/tmp/mutt-bugs-0-3282-0" 0L, 0C at a bottom comes in the new screen i typed 'i' for insert typed some text and saved the text(if i didnt save the message gets aborted.After saving it gives me options

y:Send q:Abort t:To c:CC s:Subj a:Attach file descrip ?:Help
From: root <root@bugs.equadriga.com>
To: yousuff@equadriga.com
Cc:
Bcc:
Subject: Test
Reply-To:
Fcc: ~/sent
Security: Clear


-- Attachments
- I 1 /tmp/mutt-bugs-0-3282-1 [text/plain, 7bit, us-ascii, 0.1K]

I clicked send but i didnt get any mail.

The /var/log/maillog is as follows

Jun 15 10:40:58 bugs postfix/postfix-script[3216]: stopping the Postfix mail system
Jun 15 10:40:59 bugs postfix/master[1732]: terminating on signal 15
Jun 15 10:40:59 bugs postfix/postfix-script[3275]: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ
Jun 15 10:40:59 bugs postfix/postfix-script[3276]: warning: Replace one by a symbolic link to the other
Jun 15 10:40:59 bugs postfix/postfix-script[3277]: starting the Postfix mail system
Jun 15 10:40:59 bugs postfix/master[3278]: daemon started -- version 2.5.1, configuration /etc/postfix
Jun 15 10:48:34 bugs postfix/pickup[3280]: 941E2A4DF: uid=0 from=<root>
Jun 15 10:48:34 bugs postfix/cleanup[3289]: 941E2A4DF: message-id=<20090615051834.GA3282@bugs.equadriga.com>
Jun 15 10:48:34 bugs postfix/qmgr[3281]: 941E2A4DF: from=<root@equadriga.com>, size=411, nrcpt=1 (queue active)
Jun 15 10:48:34 bugs postfix/local[3292]: 941E2A4DF: to=<yousuff@equadriga.com>, relay=local, delay=0.37, delays=0.22/0.04/0/0.12, dsn=5.1.1, status=bounced (unknown user: "yousuff")
Jun 15 10:48:34 bugs postfix/cleanup[3289]: DFF73A4E0: message-id=<20090615051834.DFF73A4E0@bugs>
Jun 15 10:48:34 bugs postfix/qmgr[3281]: DFF73A4E0: from=<>, size=1984, nrcpt=1 (queue active)
Jun 15 10:48:34 bugs postfix/bounce[3293]: 941E2A4DF: sender non-delivery notification: DFF73A4E0
Jun 15 10:48:34 bugs postfix/qmgr[3281]: 941E2A4DF: removed
Jun 15 10:48:35 bugs postfix/local[3292]: DFF73A4E0: to=<root@equadriga.com>, relay=local, delay=0.13, delays=0/0/0/0.13, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 15 10:48:35 bugs postfix/qmgr[3281]: DFF73A4E0: removed

What i am trying to do is to configure postfix so as to send mail from bugzilla Thanks
 
Old 06-17-2009, 01:53 AM   #8
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
On you terminal screen, do this:-
Code:
tail -f /var/log/maillog
On another screen, while watching the log file, do this:-
Code:
echo Hello | mutt -x -s "A test message" your@email.address.not.mine
Post the output from the log file if you like.

Have you followed any HowTo documents yet?
 
Old 06-21-2009, 11:32 PM   #9
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blacky_5251 View Post
On you terminal screen, do this:-
Code:
tail -f /var/log/maillog
On another screen, while watching the log file, do this:-
Code:
echo Hello | mutt -x -s "A test message" your@email.address.not.mine
Post the output from the log file if you like.

Have you followed any HowTo documents yet?
Hi blacky i have finished configuring postfix and i am able to send mails.Now i have another problem.My bugzilla is working fine locally ie i am able to access the url http://localhost/bugzilla..But not from another machine.If i try with the url http://bugzilla_machine_ip/bugzilla its is telling connection refused .sometimes it goes to sify isp website(The ISP what i am presently using).This means that it is not able to get access the link properly.I tried with changing the server name in the httpd configuration file to the ip address of the machine.It didnt work.And also giving the name or ip address while accessing the bugzilla locally doesnt work..ie http://bugzilla_ip/bugzilla or http://bugzilla_machine_name/bugzilla doesnt work..ANy suggestions..

Last edited by fizeelinux; 06-22-2009 at 01:42 AM.
 
Old 06-22-2009, 01:21 AM   #10
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 573

Rep: Reputation: 61
Do you have any other HTML pages on the server that you can test? For example http://bugzilla_machine_ip/testpage.html.

It could be your firewall blocking all external access on port 80.
 
Old 06-23-2009, 02:49 AM   #11
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blacky_5251 View Post
Do you have any other HTML pages on the server that you can test? For example http://bugzilla_machine_ip/testpage.html.

It could be your firewall blocking all external access on port 80.

I have created a html file and checked.I am able to view the html page through http://localhost/index.html but not through http://bugzilla_machine_name/index.html or http://bugzilla_machine_ip/index.html withing that machine itself.So i dont think its due to the firewall.Moreever I have disabled iptables but nothing progress

Please check whether my network configuration is correct(system-->>administration-->>network)

loopbackAddress 127.0.0.1
Hostname bugs.equadriga.com
Aliases bugs

Ip Address 172.24.1.255
Hostname bugs.equadriga.com
Aliases bugs

Address ::1
Hostname localhost6.localdomain6
Aliases localhost6

Should i make any changes to this or in apache configuration file .http://localhost as well as http://localhost/bugzilla works fine but not with the name of the machine or the ip address

Last edited by fizeelinux; 06-23-2009 at 06:10 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Permission denied at /usr/sbin/ndiswrapper-1.9 line 152. CrinkElite Linux - Newbie 4 11-18-2007 06:53 PM
Can't install drakxtools-backend : bootloader-config is permission-denied Laurent-57 Mandriva 12 03-10-2006 12:47 AM
/etc/rc.d/rc.S: line 209: /dev/null: Permission Denied esanchez Slackware 4 01-15-2006 03:27 PM
Mounting via CD icon works, but via command line = permission denied nmoog Linux - Newbie 6 03-07-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration