Sponsored Content
Top Forums Shell Programming and Scripting Apache webserver troubleshooting Post 302910101 by ajayram_arya on Tuesday 22nd of July 2014 11:54:27 AM
Old 07-22-2014
Corona688: I have no other option than compiling as i dont have root access and engaging administrator is another hassel .
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Logout Apache WebServer!

I've just started an Apache WebServer a few days ago. I'm using a web site interface for uses to interact with when they login. There are only 5 accounts for my server at the moment. How would i create a logout link so that when the user wants to end their session and logout I can see this in... (1 Reply)
Discussion started by: cipher
1 Replies

2. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies

3. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

4. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

5. Ubuntu

Apache Server troubleshooting

I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything. I'm using Ubuntu Server 10.10. a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Discussion started by: lorewap3
1 Replies

6. UNIX for Advanced & Expert Users

apache webserver url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

7. HP-UX

Help troubleshooting new Apache installation on HPUX 11.31

Hi Guys! I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly. The apache version was 2.2.15 Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies

8. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

9. Web Development

How to enable x-client-ip address in apache webserver LogFormat?

how to enable x-client-ip address in apache webserver LogFormat i tried below option, but no luck... 1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3.... (0 Replies)
Discussion started by: raghur77
0 Replies
PIVOT_ROOT(2)							   System Calls 						     PIVOT_ROOT(2)

NAME
pivot_root - change the root file system SYNOPSIS
#include <linux/unistd.h> _syscall2(int,pivot_root,const char *,new_root,const char *,put_old) int pivot_root(const char *new_root, const char *put_old); DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system of the current process. The typical use of pivot_root is during system startup, when the system mounts a temporary root file system (e.g. an initrd), then mounts the real root file system, and eventually turns the latter into the current root of all relevant processes or threads. pivot_root may or may not change the current root and the current working directory (cwd) of any processes or threads which use the old root directory. The caller of pivot_root must ensure that processes with root or cwd at the old root operate correctly in either case. An easy way to ensure this is to change their root and cwd to new_root before invoking pivot_root. The paragraph above is intentionally vague because the implementation of pivot_root may change in the future. At the time of writing, pivot_root changes root and cwd of each process or thread to new_root if they point to the old root directory. This is necessary in order to prevent kernel threads from keeping the old root directory busy with their root and cwd, even if they never access the file system in any way. In the future, there may be a mechanism for kernel threads to explicitly relinquish any access to the file system, such that this fairly intrusive mechanism can be removed from pivot_root. Note that this also applies to the current process: pivot_root may or may not affect its cwd. It is therefore recommended to call chdir("/") immediately after pivot_root. The following restrictions apply to new_root and put_old: - They must be directories. - new_root and put_old must not be on the same file system as the current root. - put_old must be underneath new_root, i.e. adding a non-zero number of /.. to the string pointed to by put_old must yield the same direc- tory as new_root. - No other file system may be mounted on put_old. See also pivot_root(8) for additional usage examples. If the current root is not a mount point (e.g. after chroot(2) or pivot_root, see also below), not the old root directory, but the mount point of that file system is mounted on put_old. NOTES
new_root does not have to be a mount point. In this case, /proc/mounts will show the mount point of the file system containing new_root as root (/). RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
pivot_root may return (in errno) any of the errors returned by stat(2). Additionally, it may return: EBUSY new_root or put_old are on the current root file system, or a file system is already mounted on put_old. EINVAL put_old is not underneath new_root. ENOTDIR new_root or put_old is not a directory. EPERM The current process does not have the administrator capability. BUGS
pivot_root should not have to change root and cwd of all other processes in the system. Some of the more obscure uses of pivot_root may quickly lead to insanity. CONFORMING TO
pivot_root is Linux-specific and hence is not portable. HISTORY
pivot_root was introduced in Linux 2.3.41. SEE ALSO
chdir(2), chroot(2), initrd(4), pivot_root(8), stat(2) Linux 2000-02-23 PIVOT_ROOT(2)
All times are GMT -4. The time now is 03:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy