LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2003, 11:18 PM   #1
another_eric
LQ Newbie
 
Registered: Sep 2003
Location: Los Angeles
Distribution: 9.1
Posts: 7

Rep: Reputation: 0
Angry localhost access denied


I am running Linux, Mandrake v9.1 on ShuttleX w/NVIDIA motherboard. Recently solved no NVIDIA ethernet driver.
Got the driver package and successfully installed nvnet driver, now I have an ethernet interface. BUT, I can't get the browser on the machine to contact localhost. Also attempts to contact from another linux machine via http fails. I'v looked at the error log, access log for httpd (which mysteriously ends Sept 3,03). The error log ends Oct 8 03, The user log has a mysterious recurrent entry for userhelper PAM timestamp. In all places it reports /var/run/sudo/[me]/unknown:root. When I look into[me] directory, there is nothing there. In many places in addition to the unknown:root there is a message as such; "is too old, disallowing access to simple_root_auth for UID 501.(501 being my uid). I presume this is Mozilla trying to contact localhost and failing. Apache cant su to root to gain access to var/www/html/ (the document root)to serve the pages.
In httpd error log therre's an error; cannot allocate shared memory.(17)file exits.
If there is anyone who can interpret these messages and tell me if they actually related to apache and it's root access capabilities. Please let me know. I don't want to spend $50.00 and hour to have some tech rooting around my system.
That's what I'm learning how to do.
 
Old 10-10-2003, 04:03 AM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi there,

Can you post a bit more information to clarify the problem. Its not clear to me whether you have networking running, but apache isn't working right, or whether networking isn't working right at all.

- Is your network interface up and running?
- Can you ping localhost? Can you ping a remote computer?
- Are there httpd processes running?
- From the other machine, can you ping the web server by IP address?
- Are you running a firewall on the web server?

Cheers,

Iain
 
Old 10-10-2003, 08:35 PM   #3
another_eric
LQ Newbie
 
Registered: Sep 2003
Location: Los Angeles
Distribution: 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
- Is your network interface up and running?
- Can you ping localhost? Can you ping a remote computer?
- Are there httpd processes running?
- From the other machine, can you ping the web server by IP address?
- Are you running a firewall on the web server?
I have a web server running on the other linux system and can get into the web content on that machine from this one.
There is one other possibility and that is .Xauthority.
But I havn't a clue about the encrypted cooky associated with it.
Q#1 yes
Q#2 yes, I did while doing tcpdump as with attempts to connect via http.
Q#3 yes several, I even did /etc/rc.d/init.d network restart amd /etc/rc.d/init.d/ httpd restart
Q#4 yes and no
I have iptables and I've done -F to flush the rules.
The second part of the answer I'm not sure if I understand that, would there be firewall working with Apache, specificaly?
I'm thinking it is a problem with PAM.
My drastic solution is to uninstall the OS and reinstall it.
But I hope I can get on top of the problem so I understand it the next time I encounter it. I have solved problems coincideentally, and it bugs me because I didn't understand why the problem and why the solution worked.
 
  


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
Just installed webmin, can't access off localhost jon_k Linux - Software 16 01-30-2012 05:04 PM
Sarge mysql-server Access denied for user: root@localhost infinity432 Linux - Software 2 05-18-2005 11:42 PM
why I got "Access denied for user: 'root@localhost'" likedreamer Red Hat 1 11-09-2003 05:06 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
Not getting Localhost access for CUPS JaseP Linux - Networking 3 12-16-2002 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 AM.

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