Re: [users@httpd] quite tricky, I need some serious help here.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the closest i can find to gcore is this post:

http://lists.ssc.com/pipermail/linux-list/1999-May/001466.html

but this is all... I know nothing about gdb, how it works and if it could be usefull for me.

on Fedora Core 3, there is a gcore utility which belongs to package gdb-6.1post-1.20040607.43

I installed the gdb and gdb-debuginfo from my suse distro, and the only thing close to gcore is a gcore.c in package gdb-debuginfo-6.3-20.
I dont know if this would be usefull or how to build it.

Thanks in advance for your help, I really apreciate it!

Vagelis Papadogiannakis


On 8/3/06, Laurent Blume <laurent@xxxxxxxxxx> wrote:
Vagelis Papadogiannakis wrote:
> Ok, after a long night, I finally did the stupid thing...
>
> I accidentally destroyed all the vhost configuration files from the
> vhost.ddirectory.
> This directory contained separete .conf files which described every
> vhost of
> the system
>
> I dont have any backups (this is what I was trying to do when I
> accidentally
> truncated them to empty files).
>
> The apache is running now, but I cannot stop it / restart it / add or edit
> the config
>
> I allready tried at the /proc/{PID} of apache but found nothing usefull.
>
> Any Ideas, are more than welcome, actually u will save me if you can find a
> way around this. I will be your slave forever.
> As you may have noticed, I am desparate.
>
> suse 10 64 bit,
> Apache 2.0.54

What I would do on Solaris:
  - gcore <apache PID>
  - strings core.<pid> > core_apache.txt
  - have a look inside the strings

I just had a look on our web server, it looks promising, the
configuration is there, though it's been parsed and need some work.
</Directory>
/Limit></VirtualHost>
/Direct<VirtualHost
144.204.16.5:80>
DocumentRoot

However, I don't know what's the equivalent of gcore on a GNU/Linux box,
though there must be one.

Laurent

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html > for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux